Skip to content

Commit

Permalink
Declearing net-http-persistent gem requirement in the Gemfile (#3)
Browse files Browse the repository at this point in the history
* Declearing net-http-persistent gem requirement in the Gemfile

* standardrb --fix
  • Loading branch information
MikeRogers0 committed Mar 25, 2021
1 parent cba868e commit abd17e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Gemfile
@@ -1,4 +1,9 @@
# frozen_string_literal: true

source "https://rubygems.org"

# TODO: remove this once v4 is released
options = (RUBY_VERSION.start_with?("3") ? {github: "grosser/net-http-persistent", branch: "grosser/spec"} : {})
gem "net-http-persistent", ">= 3.1", **options

gemspec
2 changes: 1 addition & 1 deletion faraday-net_http_persistent.gemspec
Expand Up @@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
spec.files = Dir.glob("lib/**/*") + %w[README.md LICENSE.md]
spec.require_paths = ["lib"]

spec.add_dependency "net-http-persistent", "~> 3.1"
spec.add_dependency "net-http-persistent", ">= 3.1"

spec.add_development_dependency "bundler", "~> 2.0"
spec.add_development_dependency "faraday", "~> 1.0"
Expand Down

0 comments on commit abd17e6

Please sign in to comment.