Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies #658

Merged
merged 2 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
20 changes: 11 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ GEM
ast (2.4.2)
attr_extras (7.1.0)
base64 (0.2.0)
bigdecimal (3.1.5)
bindex (0.8.1)
bootsnap (1.17.0)
msgpack (~> 1.2)
Expand Down Expand Up @@ -111,7 +112,7 @@ GEM
rack-test (>= 0.6.3)
regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2)
cocina-models (0.93.0)
cocina-models (0.93.1)
activesupport
deprecation
dry-struct (~> 1.0)
Expand Down Expand Up @@ -173,7 +174,8 @@ GEM
dry-types (>= 1.7, < 2)
ice_nine (~> 0.11)
zeitwerk (~> 2.6)
dry-types (1.7.1)
dry-types (1.7.2)
bigdecimal (~> 3.0)
concurrent-ruby (~> 1.0)
dry-core (~> 1.0)
dry-inflector (~> 1.0)
Expand Down Expand Up @@ -248,7 +250,7 @@ GEM
multi_json (1.15.0)
mutex_m (0.2.0)
mysql2 (0.5.5)
net-imap (0.4.9)
net-imap (0.4.9.1)
date
net-protocol
net-pop (0.1.2)
Expand All @@ -257,7 +259,7 @@ GEM
timeout
net-scp (4.0.0)
net-ssh (>= 2.6.5, < 8.0.0)
net-smtp (0.4.0)
net-smtp (0.4.0.1)
net-protocol
net-ssh (7.2.1)
newrelic_rpm (9.6.0)
Expand All @@ -273,15 +275,15 @@ GEM
openapi_parser (1.0.0)
optimist (3.1.0)
parallel (1.24.0)
parser (3.2.2.4)
parser (3.3.0.2)
ast (~> 2.4.1)
racc
patience_diff (1.2.0)
optimist (~> 3.0)
psych (5.1.2)
stringio
public_suffix (5.0.4)
puma (5.6.7)
puma (5.6.8)
nio4r (~> 2.0)
racc (1.7.3)
racecar (2.9.0)
Expand Down Expand Up @@ -327,7 +329,7 @@ GEM
rdoc (6.6.2)
psych (>= 4.0.0)
regexp_parser (2.8.3)
reline (0.4.1)
reline (0.4.2)
io-console (~> 0.5)
rexml (3.2.6)
rspec-core (3.12.2)
Expand Down Expand Up @@ -364,7 +366,7 @@ GEM
parser (>= 3.2.1.0)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.24.0)
rubocop-factory_bot (2.25.0)
rubocop (~> 1.33)
rubocop-performance (1.20.1)
rubocop (>= 1.48.1, < 2.0)
Expand All @@ -374,7 +376,7 @@ GEM
rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-rspec (2.25.0)
rubocop-rspec (2.26.1)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
Expand Down
4 changes: 2 additions & 2 deletions spec/models/release_tag_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
end

describe '.for' do
it 'will overwrite prior tags' do
it 'overwrites prior tags' do
tag = described_class.for(purl, 'Revs', false)
expect(tag.release_type).to be_falsey # sets type
expect(tag.new_record?).to be_falsey # reuses
expect(tag.changed?).to be_truthy # not saved
expect { tag.save! }.not_to raise_error # saves ok
end

it 'will create new tags' do
it 'creates new tags' do
expect(described_class.find_by(purl_id: purl.id, name: 'SomethingWonderful')).to be_nil
expect(described_class.for(purl, 'SomethingWonderful', false)).to be_an described_class
end
Expand Down