diff --git a/Gemfile b/Gemfile index 3bbf2c4..550a6eb 100644 --- a/Gemfile +++ b/Gemfile @@ -3,4 +3,12 @@ source 'https://rubygems.org' # Specify your gem's dependencies in patron.gemspec gemspec +gem "rake", ">= 12.3.3" +gem "rspec", ">= 2.3.0" +gem "simplecov", "~> 0.10" +gem "yard", "~> 0.9.20" +rack_version = RUBY_VERSION >= "3.3" ? "~> 2.2" : "~> 2.1.4" +gem "rack", rack_version +gem "puma", '~> 3.11' +gem "rake-compiler" gem "webrick", "~> 1.8" diff --git a/patron.gemspec b/patron.gemspec index 0c4fb5e..0a8366b 100644 --- a/patron.gemspec +++ b/patron.gemspec @@ -35,12 +35,4 @@ SecureTransport-based builds might cause crashes in forking environment. For more info see https://github.com/curl/curl/issues/788 } - spec.add_development_dependency "rake", ">= 12.3.3" - spec.add_development_dependency "bundler" - spec.add_development_dependency "rspec", ">= 2.3.0" - spec.add_development_dependency "simplecov", "~> 0.10" - spec.add_development_dependency "yard", "~> 0.9.20" - spec.add_development_dependency "rack", "~> 2.1.4" - spec.add_development_dependency "puma", '~> 3.11' - spec.add_development_dependency "rake-compiler" end