From 7b628281d32f4022a967b60b03ba6bc13e97a42d Mon Sep 17 00:00:00 2001 From: 404 Date: Sun, 19 Aug 2012 02:03:23 +0800 Subject: [PATCH] changed test env --- Gemfile.lock | 6 +++--- lib/qiniu/rs/version.rb | 2 +- qiniu-rs.gemspec | 2 +- spec/spec_helper.rb | 6 ------ 4 files changed, 5 insertions(+), 11 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index dfef3d2..9a527ad 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,8 +1,8 @@ PATH remote: . specs: - qiniu-rs (3.0.3) - json (~> 1.7.3) + qiniu-rs (3.0.4) + json (~> 1.7.5) mime-types (~> 1.19) rest-client (~> 1.6.7) ruby-hmac (~> 0.4.0) @@ -12,7 +12,7 @@ GEM specs: diff-lcs (1.1.3) fakeweb (1.3.0) - json (1.7.4) + json (1.7.5) mime-types (1.19) rake (0.9.2.2) rest-client (1.6.7) diff --git a/lib/qiniu/rs/version.rb b/lib/qiniu/rs/version.rb index f5650f6..484b951 100755 --- a/lib/qiniu/rs/version.rb +++ b/lib/qiniu/rs/version.rb @@ -2,6 +2,6 @@ module Qiniu module RS - VERSION = "3.0.3" + VERSION = "3.0.4" end end diff --git a/qiniu-rs.gemspec b/qiniu-rs.gemspec index 2f3e157..8096825 100755 --- a/qiniu-rs.gemspec +++ b/qiniu-rs.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |gem| gem.add_development_dependency "rake", "~> 0.9" gem.add_development_dependency "rspec", "~> 2.11" gem.add_development_dependency "fakeweb", "~> 1.3.0" - gem.add_runtime_dependency "json", "~> 1.7.3" + gem.add_runtime_dependency "json", "~> 1.7.5" gem.add_runtime_dependency "rest-client", "~> 1.6.7" gem.add_runtime_dependency "mime-types", "~> 1.19" gem.add_runtime_dependency "ruby-hmac", "~> 0.4.0" diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 78f5edc..1313d43 100755 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -6,11 +6,6 @@ require 'rspec' RSpec.configure do |config| config.before :all do -#=begin - Qiniu::RS.establish_connection! :access_key => "3fPHl_SLkPXdioqI_A8_NGngPWVJhlDk2ktRjogH", - :secret_key => "bXTPMDJrVYRJUiSDRFtFYwycVD_mjXxYWrCYlDHy" -#=end -=begin Qiniu::RS.establish_connection! :access_key => "bE21M6FW9V7zAFrBY5psgKOKJQLiBj12qMWTpc57", :secret_key => "uMo7Nyq_eDK_CuQ8_FYCxoTHQZqjiaPh-cbiKO7L", :auth_url => "http://m1.qbox.me:13001/oauth2/token", @@ -19,6 +14,5 @@ RSpec.configure do |config| :up_host => "http://m1.qbox.me:13019", :pub_host => "http://m1.qbox.me:13012", :eu_host => "http://m1.qbox.me:13050" -=end end end