Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
fbf0c71
Adjust to main branch
kspurgin Apr 11, 2025
3f5c538
Use Ruby 3.4.1; Update dependencies
kspurgin Apr 9, 2025
eb4760f
Use data-toolkit branch of collectionspace-refcache
kspurgin Apr 11, 2025
91a4752
Add SingleRecordType::Handler
kspurgin Apr 9, 2025
3ca2178
build: Update collectionspace-refcache
kspurgin May 28, 2025
4c0e50e
refactor: Extract case_swap method to its own module
kspurgin May 28, 2025
2afc7c3
refactor: Extract type_subtype method to mixin
kspurgin May 28, 2025
9466a4f
feat: Add case_swap_element method
kspurgin May 28, 2025
878cfab
feat: Add support for allinone cache in extracted Cacheable methods
kspurgin May 28, 2025
f72dc52
refactor: Comment unused code intended for later use
kspurgin May 28, 2025
23bd14f
refactor: Extract caching of unknown terms to Cacheable
kspurgin May 28, 2025
d72b5a5
refactor: Delete unused instance variables from ValueTransformer
kspurgin May 28, 2025
22560cd
docs: Add note to support all caching methods if implemented
kspurgin May 28, 2025
44ec501
refactor: Remove unused ivar and ensure both caching approaches work
kspurgin May 28, 2025
de7dff8
test: Add combined cache helper for non-core profiles
kspurgin May 28, 2025
bade01d
test: Verify this works with allinone caching
kspurgin May 28, 2025
3569f3f
ci: Test data-toolkit branch on ruby 3.4 only
kspurgin Dec 11, 2025
5065d61
build: Update dependencies
kspurgin Dec 11, 2025
1b7b205
style: Rubocop autocorrects and appeasements
kspurgin Dec 11, 2025
bce081b
bugfix: Allow + and - at beginning of integer and float data types
kspurgin Jan 22, 2026
e8eaf4d
build: Bundle on new computer
kspurgin Jan 22, 2026
2604d94
build: Bump to 6.3.1
kspurgin Jan 22, 2026
879ed15
refactor: Do not require all of active_support
kspurgin Jan 23, 2026
05155c9
Use Ruby 3.4.1; Update dependencies
kspurgin Apr 9, 2025
fbfed90
Use data-toolkit branch of collectionspace-refcache
kspurgin Apr 11, 2025
4f2f782
build: Update dependencies
kspurgin Dec 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ['3.2', '3.0']
ruby-version: ['3.4']
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
inherit_gem:
almost_standard: .rubocop.yml
AllCops:
TargetRubyVersion: 3.0
TargetRubyVersion: 3.4
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.6
3.4.1
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ This project bumps the version number for any changes (including documentation u
## [Unreleased] - i.e. pushed to main branch but not yet tagged as a release

- none

## [6.3.1] - 2026-01-22
- Allow `+` and `-` at the beginning of float and integer data types.

## [6.3.0] - 2025-12-11
- Validate values in fields with boolean, float, integer data types. Add an error to the Response with category = invalid_value_for_data_type if any invalid values are detected.

Expand Down
6 changes: 5 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ gem "collectionspace-client",
github: "collectionspace/collectionspace-client",
branch: "main"

gem "collectionspace-refcache",
github: "collectionspace/collectionspace-refcache",
branch: "data-toolkit"

gem "almost_standard",
github: "kspurgin/almost_standard",
tag: "1.0.0",
tag: "1.0.1",
group: :development

gemspec
225 changes: 134 additions & 91 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
GIT
remote: https://github.com/collectionspace/collectionspace-client.git
revision: 1c2507961a4c851a917bee31f130e4cd471dad61
revision: 373a1f0057e994d5f87ec36f5dfe2a2e98e6a64e
branch: main
specs:
collectionspace-client (1.0.0)
collectionspace-client (1.1.0)
httparty
json
nokogiri

GIT
remote: https://github.com/collectionspace/collectionspace-refcache.git
revision: 2e7996249a31ee2cf8146b0ef57c28b821d959ae
branch: data-toolkit
specs:
collectionspace-refcache (1.0.1)
redis (~> 4.2.1)
zache (~> 0.12.0)

GIT
remote: https://github.com/kspurgin/almost_standard.git
revision: 418bea721ba1c0144d55f2588a4120c1eb4d4b1c
tag: 1.0.0
revision: 2778fd70246404e9f285a1a41eff3099cdade9ff
tag: 1.0.1
specs:
almost_standard (1.0.0)
almost_standard (1.0.1)
bundler
rubocop
rubocop-rspec
Expand All @@ -22,12 +31,11 @@ GIT
PATH
remote: .
specs:
collectionspace-mapper (6.3.0)
activesupport (= 6.0.4.7)
collectionspace-mapper (6.3.1)
activesupport
chronic
collectionspace-refcache
dry-configurable (~> 0.14)
dry-monads (~> 1.4)
dry-configurable
dry-monads
memo_wise
net-http
nokogiri
Expand All @@ -37,159 +45,194 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activesupport (6.0.4.7)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
ast (2.4.2)
base64 (0.2.0)
activesupport (8.1.1)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
json
logger (>= 1.4.2)
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
uri (>= 0.13.1)
addressable (2.8.8)
public_suffix (>= 2.0.2, < 8.0)
ast (2.4.3)
base64 (0.3.0)
bigdecimal (3.3.1)
chronic (0.10.2)
coderay (1.1.3)
collectionspace-refcache (1.0.0)
redis (~> 4.2.1)
zache (~> 0.12.0)
concurrent-ruby (1.2.2)
crack (0.4.5)
concurrent-ruby (1.3.5)
connection_pool (3.0.2)
crack (1.0.1)
bigdecimal
rexml
csv (3.3.5)
debug (1.8.0)
irb (>= 1.5.0)
reline (>= 0.3.1)
date (3.5.1)
debug (1.11.0)
irb (~> 1.10)
reline (>= 0.3.8)
diff-lcs (1.6.2)
docile (1.4.0)
dry-configurable (0.16.1)
dry-core (~> 0.6)
docile (1.4.1)
drb (2.2.3)
dry-configurable (1.3.0)
dry-core (~> 1.1)
zeitwerk (~> 2.6)
dry-core (0.9.1)
dry-core (1.1.0)
concurrent-ruby (~> 1.0)
logger
zeitwerk (~> 2.6)
dry-monads (1.5.0)
dry-monads (1.9.0)
concurrent-ruby (~> 1.0)
dry-core (~> 0.9, >= 0.9)
dry-core (~> 1.1)
zeitwerk (~> 2.6)
hashdiff (1.0.1)
httparty (0.23.1)
erb (6.0.0)
hashdiff (1.2.1)
httparty (0.23.2)
csv
mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2)
i18n (1.12.0)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
io-console (0.6.0)
irb (1.8.0)
rdoc (~> 6.5)
reline (>= 0.3.6)
json (2.6.3)
language_server-protocol (3.17.0.3)
io-console (0.8.1)
irb (1.15.3)
pp (>= 0.6.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.18.0)
language_server-protocol (3.17.0.5)
lint_roller (1.1.0)
memo_wise (1.11.0)
logger (1.7.0)
memo_wise (1.13.0)
method_source (1.1.0)
mini_mime (1.1.5)
minitest (5.18.0)
multi_xml (0.6.0)
net-http (0.6.0)
uri
nokogiri (1.17.2-x86_64-darwin)
minitest (5.26.2)
multi_xml (0.7.2)
bigdecimal (~> 3.1)
net-http (0.8.0)
uri (>= 0.11.1)
nokogiri (1.18.10-aarch64-linux-gnu)
racc (~> 1.4)
nokogiri (1.18.10-arm64-darwin)
racc (~> 1.4)
nokogiri (1.17.2-x86_64-linux)
nokogiri (1.18.10-x86_64-darwin)
racc (~> 1.4)
parallel (1.26.3)
parser (3.3.4.2)
nokogiri (1.18.10-x86_64-linux-gnu)
racc (~> 1.4)
parallel (1.27.0)
parser (3.3.10.0)
ast (~> 2.4.1)
racc
pp (0.6.3)
prettyprint
prettyprint (0.2.0)
prism (1.6.0)
pry (0.15.2)
coderay (~> 1.1)
method_source (~> 1.0)
psych (5.1.0)
psych (5.3.0)
date
stringio
public_suffix (5.0.1)
public_suffix (7.0.0)
racc (1.8.1)
rainbow (3.1.1)
rdoc (6.5.0)
rdoc (6.17.0)
erb
psych (>= 4.0.0)
tsort
redis (4.2.5)
regexp_parser (2.9.2)
reline (0.3.8)
regexp_parser (2.11.3)
reline (0.6.3)
io-console (~> 0.5)
rexml (3.2.6)
rspec (3.13.1)
rexml (3.4.4)
rspec (3.13.2)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.5)
rspec-core (3.13.6)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.5)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.5)
rspec-mocks (3.13.7)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.5)
rubocop (1.65.1)
rspec-support (3.13.6)
rubocop (1.81.7)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.31.1, < 2.0)
regexp_parser (>= 2.9.3, < 3.0)
rubocop-ast (>= 1.47.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.1)
parser (>= 3.3.1.0)
rubocop-performance (1.21.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rspec (3.0.4)
rubocop (~> 1.61)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.48.0)
parser (>= 3.3.7.2)
prism (~> 1.4)
rubocop-performance (1.26.1)
lint_roller (~> 1.1)
rubocop (>= 1.75.0, < 2.0)
rubocop-ast (>= 1.47.1, < 2.0)
rubocop-rspec (3.8.0)
lint_roller (~> 1.1)
rubocop (~> 1.81)
ruby-progressbar (1.13.0)
securerandom (0.4.1)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov-html (0.13.2)
simplecov_json_formatter (0.1.4)
standard (1.40.0)
standard (1.52.0)
language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.65.0)
rubocop (~> 1.81.7)
standard-custom (~> 1.0.0)
standard-performance (~> 1.4)
standard-performance (~> 1.8)
standard-custom (1.0.2)
lint_roller (~> 1.0)
rubocop (~> 1.50)
standard-performance (1.4.0)
standard-performance (1.9.0)
lint_roller (~> 1.1)
rubocop-performance (~> 1.21.0)
stringio (3.0.8)
thread_safe (0.3.6)
tzinfo (1.2.10)
thread_safe (~> 0.1)
unicode-display_width (2.5.0)
uri (1.0.3)
rubocop-performance (~> 1.26.0)
stringio (3.1.9)
tsort (0.2.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (3.2.0)
unicode-emoji (~> 4.1)
unicode-emoji (4.1.0)
uri (1.1.1)
vcr (6.3.1)
base64
webmock (3.18.1)
webmock (3.26.1)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
xxhash (0.6.0)
xxhash (0.7.0)
zache (0.12.0)
zeitwerk (2.6.18)
zeitwerk (2.7.3)

PLATFORMS
aarch64-linux
arm64-darwin-25
x86_64-darwin-20
x86_64-darwin-22
x86_64-darwin-24
x86_64-linux

DEPENDENCIES
almost_standard!
collectionspace-client!
collectionspace-mapper!
collectionspace-refcache!
debug
pry
rspec
Expand All @@ -198,4 +241,4 @@ DEPENDENCIES
webmock

BUNDLED WITH
2.4.1
2.7.1
8 changes: 5 additions & 3 deletions bin/rubocop
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ if File.file?(bundle_binstub)
)
load(bundle_binstub)
else
abort("Your `bin/bundle` was not generated by Bundler, so this binstub "\
"cannot run. Replace `bin/bundle` by running `bundle binstubs "\
"bundler --force`, then run this command again.")
abort(
"Your `bin/bundle` was not generated by Bundler, so this binstub "\
"cannot run. Replace `bin/bundle` by running `bundle binstubs "\
"bundler --force`, then run this command again."
)
end
end

Expand Down
Loading