Skip to content
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
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.4.4
3.4.5
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.4.4
ruby 3.4.5
32 changes: 16 additions & 16 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ PATH
datory (2.2.3)
activesupport (>= 5.1, < 8.1)
i18n (>= 1.14)
servactory (>= 2.15)
servactory (>= 2.16)
terminal-table (>= 3.0)
zeitwerk (>= 2.6)

GEM
remote: https://rubygems.org/
specs:
activesupport (8.0.2)
activesupport (8.0.2.1)
base64
benchmark (>= 0.3)
bigdecimal
Expand All @@ -38,49 +38,49 @@ GEM
drb (2.2.3)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
json (2.12.2)
json (2.13.2)
language_server-protocol (3.17.0.5)
lint_roller (1.1.0)
logger (1.7.0)
minitest (5.25.5)
mutex_m (0.3.0)
parallel (1.27.0)
parser (3.3.8.0)
parser (3.3.9.0)
ast (~> 2.4.1)
racc
prism (1.4.0)
racc (1.8.1)
rack (3.1.16)
rack (3.2.0)
rainbow (3.1.1)
rake (13.3.0)
rbs (3.9.4)
logger
regexp_parser (2.10.0)
regexp_parser (2.11.2)
rspec (3.13.1)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.4)
rspec-core (3.13.5)
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)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.4)
rubocop (1.76.1)
rspec-support (3.13.5)
rubocop (1.80.0)
json (~> 2.3)
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.9.3, < 3.0)
rubocop-ast (>= 1.45.0, < 2.0)
rubocop-ast (>= 1.46.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.45.1)
rubocop-ast (1.46.0)
parser (>= 3.3.7.2)
prism (~> 1.4)
rubocop-factory_bot (2.27.1)
Expand All @@ -90,7 +90,7 @@ GEM
lint_roller (~> 1.1)
rubocop (>= 1.75.0, < 2.0)
rubocop-ast (>= 1.38.0, < 2.0)
rubocop-rails (2.32.0)
rubocop-rails (2.33.3)
activesupport (>= 4.2.0)
lint_roller (~> 1.1)
rack (>= 1.1)
Expand All @@ -108,7 +108,7 @@ GEM
rubocop-rspec (~> 3.5)
ruby-progressbar (1.13.0)
securerandom (0.4.1)
servactory (2.15.0)
servactory (2.16.0)
activesupport (>= 5.1, < 8.1)
base64 (>= 0.2)
bigdecimal (>= 3.1)
Expand All @@ -125,10 +125,10 @@ GEM
rubocop-rspec_rails (>= 2.31)
terminal-table (4.0.0)
unicode-display_width (>= 1.1.1, < 4)
thor (1.3.2)
thor (1.4.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (3.1.4)
unicode-display_width (3.1.5)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
uri (1.0.3)
Expand Down Expand Up @@ -156,4 +156,4 @@ DEPENDENCIES
servactory-rubocop (>= 0.9)

BUNDLED WITH
2.6.9
2.7.1
2 changes: 1 addition & 1 deletion datory.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Gem::Specification.new do |spec|

spec.add_dependency "activesupport", ">= 5.1", "< 8.1"
spec.add_dependency "i18n", ">= 1.14"
spec.add_dependency "servactory", ">= 2.15"
spec.add_dependency "servactory", ">= 2.16"
spec.add_dependency "terminal-table", ">= 3.0"
spec.add_dependency "zeitwerk", ">= 2.6"

Expand Down
1 change: 1 addition & 0 deletions lib/datory/attributes/collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module Datory
module Attributes
class Collection
extend Forwardable

def_delegators :@collection, :<<, :each, :map, :filter, :to_h, :merge, :find

def initialize(collection = Set.new)
Expand Down
20 changes: 10 additions & 10 deletions spec/examples/usual/example3/language_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@

let(:current_version) do
Usual::Example3::Version.new(
name: "3.4.4"
name: "3.4.5"
)
end

Expand All @@ -104,7 +104,7 @@
id: "73031620-be3b-4088-9a78-5589ff7e1f61",
name: "Ruby",
current: {
name: "3.4.4"
name: "3.4.5"
}
}
end
Expand Down Expand Up @@ -138,7 +138,7 @@
id: "73031620-be3b-4088-9a78-5589ff7e1f61",
name: "Ruby",
currentVersion: {
name: "3.4.4",
name: "3.4.5",
releasedAt: nil,
endedAt: nil
},
Expand All @@ -162,7 +162,7 @@
id: "73031620-be3b-4088-9a78-5589ff7e1f61",
name: "Ruby",
currentVersion: {
name: "3.4.4",
name: "3.4.5",
releasedAt: nil,
endedAt: nil
},
Expand Down Expand Up @@ -192,7 +192,7 @@

let(:current_version) do
Usual::Example3::Version.new(
name: "3.4.4"
name: "3.4.5"
)
end

Expand Down Expand Up @@ -222,7 +222,7 @@

let(:current_version) do
{
name: "3.4.4"
name: "3.4.5"
}
end

Expand Down Expand Up @@ -289,7 +289,7 @@

let(:current_version) do
Usual::Example3::Version.deserialization.new(
name: "3.4.4"
name: "3.4.5"
)
end

Expand All @@ -315,7 +315,7 @@
id: "73031620-be3b-4088-9a78-5589ff7e1f61",
name: "Ruby",
currentVersion: {
name: "3.4.4"
name: "3.4.5"
}
}
end
Expand All @@ -342,7 +342,7 @@
id: "73031620-be3b-4088-9a78-5589ff7e1f61",
name: "Ruby",
currentVersion: {
name: "3.4.4"
name: "3.4.5"
}
}.to_json
end
Expand All @@ -356,7 +356,7 @@
id: "73031620-be3b-4088-9a78-5589ff7e1f61",
name: "Ruby",
currentVersion: {
name: "3.4.4"
name: "3.4.5"
}
}.to_json
end
Expand Down