Releases: UNC-Libraries/sierra-postgres-utilities
Releases · UNC-Libraries/sierra-postgres-utilities
Ruby 3.0 compatibility
v0.3.5: Merge pull request #23 from UNC-Libraries/APPDEV-9947-holdings-factories
Changes are limited to specs/factories:
- Adds holdings_cards and holdings factories (used downstream)
- Use factories in cases of failing specs that were dependent on live data
- Remove some problematic language
Bump rake to 12.3.3
Addresses CVE-2020-8130
Look for cred/config files in user's home dir
The user's home directory replaces the sierra_postgres_utilities install directory as one of the default locations to check for credential/smtp/email config files.
Excise derivative records into addon gem
- Move derivative records into an addon gem: sierra_postgres_utilities/derivatives
- Add spec factory for holds
- Fix reading email addresses from yaml file
- Restore ability to set custom headers in sql reporting functionality
Fix deleted records not raising DeletedRecordError upon method_missing
Overwriting of method_missing for DeletedRecord's was off, resulting in an ArgumentError prior to raising the desired DeletedRecordError.
Use Sequel as ORM.
- Uses Sequel as an ORM.
- Invalid/non-existent records (e.g. "b123a") can no longer be instantiated; they raise an error upfront.
- Deleted records have their own class with access only to appropriate data/logic (e.g
record_metadata
). - More/better documentation.
With the addition of Sequel, performance will be much slower than it had been unless optional sequel_pg
gem is installed (data retrieval might take close to 2x the time it used to take). With sequel_pg
installed, there is no significant change in performance.
Lazy load win32ole
Only attempt to load win32ole when trying to write to xlsx
Stop stripping 006s
Stop rstripping 006 control fields.