changed test env

This commit is contained in:
404
2012-08-19 02:03:23 +08:00
parent 2dfd3da781
commit 7b628281d3
4 changed files with 5 additions and 11 deletions
+3 -3
View File
@@ -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)
+1 -1
View File
@@ -2,6 +2,6 @@
module Qiniu
module RS
VERSION = "3.0.3"
VERSION = "3.0.4"
end
end
+1 -1
View File
@@ -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"
-6
View File
@@ -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