Skip to content

Commit

Permalink
Merge pull request #49 from lcmen/fix-hash-extensions-for-latest-json
Browse files Browse the repository at this point in the history
Explicitely load ostruct so it's compatible with latest JSON gem
  • Loading branch information
ilyazub authored Apr 10, 2024
2 parents b9e812e + 0767720 commit 7031210
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
PATH
remote: .
specs:
turbo_tests (2.2.0)
turbo_tests (2.2.1)
json (~> 2.3)
parallel_tests (>= 3.3.0, < 5)
rspec (>= 3.10)

Expand All @@ -10,6 +11,7 @@ GEM
specs:
coderay (1.1.3)
diff-lcs (1.5.0)
json (2.7.2)
method_source (1.0.0)
parallel (1.22.1)
parallel_tests (4.2.0)
Expand Down
1 change: 1 addition & 0 deletions lib/turbo_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

require "open3"
require "fileutils"
require "ostruct"
require "json"
require "rspec"

Expand Down
2 changes: 1 addition & 1 deletion lib/turbo_tests/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module TurboTests
VERSION = "2.2.0"
VERSION = "2.2.1"
end
2 changes: 1 addition & 1 deletion lib/utils/hash_extension.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ def to_struct
end)
end
end
end
end
1 change: 1 addition & 0 deletions turbo_tests.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Gem::Specification.new do |spec|

spec.add_dependency "rspec", ">= 3.10"
spec.add_dependency "parallel_tests", ">= 3.3.0", "< 5"
spec.add_dependency "json", "~> 2.3"

spec.add_development_dependency "pry", "~> 0.14"

Expand Down

0 comments on commit 7031210

Please sign in to comment.