Skip to content

Commit 7031210

Browse files
authored
Merge pull request #49 from lcmen/fix-hash-extensions-for-latest-json
Explicitely load ostruct so it's compatible with latest JSON gem
2 parents b9e812e + 0767720 commit 7031210

File tree

5 files changed

+7
-3
lines changed

5 files changed

+7
-3
lines changed

Gemfile.lock

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
PATH
22
remote: .
33
specs:
4-
turbo_tests (2.2.0)
4+
turbo_tests (2.2.1)
5+
json (~> 2.3)
56
parallel_tests (>= 3.3.0, < 5)
67
rspec (>= 3.10)
78

@@ -10,6 +11,7 @@ GEM
1011
specs:
1112
coderay (1.1.3)
1213
diff-lcs (1.5.0)
14+
json (2.7.2)
1315
method_source (1.0.0)
1416
parallel (1.22.1)
1517
parallel_tests (4.2.0)

lib/turbo_tests.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
require "open3"
44
require "fileutils"
5+
require "ostruct"
56
require "json"
67
require "rspec"
78

lib/turbo_tests/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module TurboTests
2-
VERSION = "2.2.0"
2+
VERSION = "2.2.1"
33
end

lib/utils/hash_extension.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ def to_struct
66
end)
77
end
88
end
9-
end
9+
end

turbo_tests.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Gem::Specification.new do |spec|
2121

2222
spec.add_dependency "rspec", ">= 3.10"
2323
spec.add_dependency "parallel_tests", ">= 3.3.0", "< 5"
24+
spec.add_dependency "json", "~> 2.3"
2425

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

0 commit comments

Comments
 (0)