Skip to content

Commit 29c9c13

Browse files
yaauiejordansissel
authored andcommitted
relax json dependency
rubies >= 2.5 ship with JSON 2.x, so allowing bundler to resolve to newer implementations eliminates conflicts with dependency trees that include JSON 2.x. Breaking changes for JSON 2.x include removed support for older rubies [1], so specifying in this manner ensures that older rubies can find 1.x, while newer ones can resolve to 2.x [1]: https://github.com/flori/json/blob/master/CHANGES.md#2015-09-11-200 Resolves: jordansissel#1599
1 parent 93e73c7 commit 29c9c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fpm.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
2424

2525
# For parsing JSON (required for some Python support, etc)
2626
# http://flori.github.com/json/doc/index.html
27-
spec.add_dependency("json", ">= 1.7.7", "< 2.0") # license: Ruby License
27+
spec.add_dependency("json", ">= 1.7.7", "< 3.0") # license: Ruby License
2828

2929
# For logging
3030
# https://github.com/jordansissel/ruby-cabin

0 commit comments

Comments
 (0)