Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
ofedoren committed Dec 9, 2024
1 parent dc64c13 commit 4a22a8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 25 deletions.
18 changes: 0 additions & 18 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,6 @@ source "http://rubygems.org"

gemspec

rest_client = if ENV.key?('REST_CLIENT_VERSION')
["~> #{ENV['REST_CLIENT_VERSION']}"]
else
['< 3.0']
end

if RUBY_VERSION < "1.9"
rest_client << '< 1.7'
gem 'mime-types', '~> 1.0'
end

if RUBY_VERSION < "2.0"
gem 'json', '< 2.0.0'
gem 'oauth', '< 0.5.2'
end

gem 'rest-client', rest_client

# load local gemfile
local_gemfile = File.join(File.dirname(__FILE__), 'Gemfile.local')
self.instance_eval(Bundler.read_file(local_gemfile)) if File.exist?(local_gemfile)
1 change: 0 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
require 'rake/testtask'
require 'bundler/gem_tasks'
require 'ci/reporter/rake/minitest'

task :default => :test

Expand Down
10 changes: 4 additions & 6 deletions apipie-bindings.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,15 @@ EOF
s.extra_rdoc_files = `git ls-files -- {doc,config}/* README*`.split("\n")
s.require_paths = ["lib"]

s.add_dependency 'json', '>= 1.2.1'
s.add_dependency 'rest-client', '>= 1.6.5', '< 3.0.0' # lower versions don't allow setting infinite timeouts, higher versions have different api
s.add_dependency 'oauth'
# lower versions don't allow setting infinite timeouts, higher versions have different api
s.add_dependency 'rest-client', '~> 2.0'
s.add_dependency 'oauth', '>= 0.5.5'
s.add_dependency 'gssapi'
s.add_development_dependency 'rake', '>= 12.3.3'
s.add_development_dependency 'thor'
s.add_development_dependency 'minitest', '4.7.4'
s.add_development_dependency 'minitest-spec-context'
s.add_development_dependency 'simplecov'
s.add_development_dependency 'mocha'
s.add_development_dependency 'ci_reporter', '>= 1.6.3', "< 2.0.0"

s.required_ruby_version = '>= 2.0.0'
s.required_ruby_version = '>= 2.7.0'
end

0 comments on commit 4a22a8b

Please sign in to comment.