From a99243735cfed44e6baf9afc1acbae463873bd06 Mon Sep 17 00:00:00 2001 From: Kip Lehman Date: Mon, 6 Jul 2015 07:58:11 -0600 Subject: [PATCH] upped runtime dependency on httpclient to 2.6.0.1 so that the bogus error message of 'at depth 0 - 20: unable to get local issuer certificate' resulting from a flawed handling of certificate validation gets swallowed --- lib/rally_api/version.rb | 2 +- rally_api.gemspec | 7 ++----- spec/rally_query_spec.rb | 5 +++-- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/lib/rally_api/version.rb b/lib/rally_api/version.rb index 9964fc7..7701575 100644 --- a/lib/rally_api/version.rb +++ b/lib/rally_api/version.rb @@ -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 diff --git a/rally_api.gemspec b/rally_api.gemspec index 5980ef0..60c2a2f 100644 --- a/rally_api.gemspec +++ b/rally_api.gemspec @@ -10,14 +10,11 @@ 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') @@ -25,7 +22,7 @@ Gem::Specification.new do |s| 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"] diff --git a/spec/rally_query_spec.rb b/spec/rally_query_spec.rb index f4491e7..d5a2dd7 100644 --- a/spec/rally_query_spec.rb +++ b/spec/rally_query_spec.rb @@ -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"]}"} @@ -271,4 +272,4 @@ end -end \ No newline at end of file +end