Skip to content

Commit

Permalink
Fixing build on Ruby 1.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjeffries committed Aug 9, 2016
1 parent e56f5ee commit 3ef88d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flexirest.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "activesupport", "< 5.0.0"
end
# JSON is an implicit dependency of something, but JSON v2+ requires Ruby 2+
# Same with "tins" which is a dependency of coveralls
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.0.0')
spec.add_runtime_dependency "json", "< 2.0.0"
spec.add_runtime_dependency "tins", "~> 1.6.0"
end
end

0 comments on commit 3ef88d4

Please sign in to comment.