Skip to content

Commit

Permalink
Don't install the json gem unnecessarily (#155)
Browse files Browse the repository at this point in the history
Fixes #144. The `json` library is bundled with Ruby starting with version 1.9.3. As such, there's no need to specify the `json` gem as a dependency on these Ruby versions.
  • Loading branch information
joshuaspence authored and johnhamelink committed Sep 5, 2017
1 parent 7d75f86 commit 814c51d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diplomat.gemspec
Expand Up @@ -20,6 +20,6 @@ Gem::Specification.new 'diplomat', Diplomat::VERSION do |spec|
spec.add_development_dependency 'cucumber', '~> 2.0'
spec.add_development_dependency 'rubocop', '~> 0.47', '>= 0.47.1'

spec.add_runtime_dependency 'json'
spec.add_runtime_dependency 'json' if RUBY_VERSION < '1.9.3'
spec.add_runtime_dependency 'faraday', '~> 0.9'
end

0 comments on commit 814c51d

Please sign in to comment.