Skip to content

Commit

Permalink
upped runtime dependency on httpclient to 2.6.0.1 so that the bogus e…
Browse files Browse the repository at this point in the history
…rror message of 'at depth 0 - 20: unable to get local issuer certificate' resulting from a flawed handling of certificate validation gets swallowed
  • Loading branch information
klehman-rally committed Jul 6, 2015
1 parent cf29337 commit a992437
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lib/rally_api/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
#of the applicable Subscription Agreement between your company and
#Rally Software Development Corp.
module RallyAPI
VERSION = "1.2.0"
VERSION = "1.2.1"
end
7 changes: 2 additions & 5 deletions rally_api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,19 @@ Gem::Specification.new do |s|
s.homepage = "https://github.com/RallyTools/RallyRestToolkitForRuby"
s.summary = "A wrapper for the Rally Web Services API using json"
s.description = "API wrapper for Rally's JSON REST web services api"

s.rubyforge_project = "rally_api"

s.license = 'MIT'

s.has_rdoc = false

s.add_dependency('httpclient', '2.5.0')
s.add_dependency('httpclient', '2.6.0.1')

s.add_development_dependency('simplecov', '0.9.1')
s.add_development_dependency('rspec', '3.1.0')
s.add_development_dependency('rake', '10.3.2')
s.add_development_dependency('pry', '0.10.1')

#s.files = `git ls-files`.split("\n")
s.files = %w(README.md Rakefile) + Dir.glob("{lib}/**/*.rb")
s.files = %w(README.md LICENSE Gemfile rally_api.gemspec Rakefile) + Dir.glob("{lib}/**/*.rb")
#s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
#s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
Expand Down
5 changes: 3 additions & 2 deletions spec/rally_query_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@

#note -this test assumes a workspace with more than 10 defects
it "find should work with small limits and pagesize" do
qh = {:type => "defect", :fetch => "Name", :page_size => 5, :limit => 10 }
#qh = {:type => "defect", :fetch => "Name", :page_size => 5, :limit => 10 }
qh = {:type => "defect", :fetch => "Name", :pagesize => 4, :limit => 10 }
test_query = RallyAPI::RallyQuery.new(qh)
query_result = @rally.find(test_query)
#query_result.each_with_index { |de, ind| puts "#{ind} - #{de["Name"]}"}
Expand Down Expand Up @@ -271,4 +272,4 @@
end


end
end

1 comment on commit a992437

@ssssSoulEater
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@klehman-rally
Hi, I wonder why the httpclient specified version to be 2.6.0.1, can it be >=2.6.0.1? I'm trying to use the latest rally_api, but met httpclient version compatible problem, since other gem require httpclient to be ~>2.7

Please sign in to comment.