Skip to content

Releases: UNC-Libraries/sierra-postgres-utilities

Ruby 3.0 compatibility

18 Sep 16:43
402e97c
Compare
Choose a tag to compare
  • Use Ruby 3.0 compatible keyword arguments
  • Use Ruby 3.0 compatible versions of sequel and marc gems

v0.3.5: Merge pull request #23 from UNC-Libraries/APPDEV-9947-holdings-factories

08 Mar 13:05
f8a6cd0
Compare
Choose a tag to compare

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

02 Mar 17:18
ee02bfb
Compare
Choose a tag to compare

Look for cred/config files in user's home dir

20 Sep 15:48
b4f5b90
Compare
Choose a tag to compare

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

31 Jul 19:10
8f70e08
Compare
Choose a tag to compare
  • 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

30 May 17:34
488e4ba
Compare
Choose a tag to compare

Overwriting of method_missing for DeletedRecord's was off, resulting in an ArgumentError prior to raising the desired DeletedRecordError.

Use Sequel as ORM.

22 May 14:53
daf4433
Compare
Choose a tag to compare
  • 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

30 Jan 11:32
abf678a
Compare
Choose a tag to compare

Only attempt to load win32ole when trying to write to xlsx

Stop stripping 006s

29 Jan 16:26
fab2597
Compare
Choose a tag to compare

Stop rstripping 006 control fields.

Gemify

23 Jan 17:17
20d178a
Compare
Choose a tag to compare

Allows installing as sierra_postgres_utilities gem.
Adds ability to specify credentials prior to initial SierraDB connection/setup, which avoids any use of default credentials.