Commit c4c8d5ea by LI Daobing

add rspec support

parent d6fb1ff1
...@@ -22,11 +22,12 @@ GEM ...@@ -22,11 +22,12 @@ GEM
arel (3.0.2) arel (3.0.2)
builder (3.0.0) builder (3.0.0)
cocaine (0.2.1) cocaine (0.2.1)
diff-lcs (1.1.3)
i18n (0.6.0) i18n (0.6.0)
json (1.7.3) json (1.7.3)
mime-types (1.19) mime-types (1.19)
multi_json (1.3.6) multi_json (1.3.6)
paperclip (3.1.2) paperclip (3.1.3)
activemodel (>= 3.0.0) activemodel (>= 3.0.0)
activerecord (>= 3.0.0) activerecord (>= 3.0.0)
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
...@@ -39,6 +40,14 @@ GEM ...@@ -39,6 +40,14 @@ GEM
ruby-hmac (~> 0.4.0) ruby-hmac (~> 0.4.0)
rest-client (1.6.7) rest-client (1.6.7)
mime-types (>= 1.16) mime-types (>= 1.16)
rspec (2.11.0)
rspec-core (~> 2.11.0)
rspec-expectations (~> 2.11.0)
rspec-mocks (~> 2.11.0)
rspec-core (2.11.0)
rspec-expectations (2.11.1)
diff-lcs (~> 1.1.3)
rspec-mocks (2.11.1)
ruby-hmac (0.4.0) ruby-hmac (0.4.0)
tzinfo (0.3.33) tzinfo (0.3.33)
...@@ -47,3 +56,4 @@ PLATFORMS ...@@ -47,3 +56,4 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
paperclip-qiniu! paperclip-qiniu!
rspec
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
storage [paperclip](https://github.com/thoughtbot/paperclip/) attachments to http://qiniutek.com storage [paperclip](https://github.com/thoughtbot/paperclip/) attachments to http://qiniutek.com
example project: https://github.com/lidaobing/paperclip-qiniu-example example project: https://github.com/lidaobing/paperclip-qiniu-example
example site: http://stark-cloud-4321.herokuapp.com/ example site: http://stark-cloud-4321.herokuapp.com/
## Usage ## Usage
......
...@@ -16,4 +16,5 @@ Gem::Specification.new do |gem| ...@@ -16,4 +16,5 @@ Gem::Specification.new do |gem|
gem.version = Paperclip::Qiniu::VERSION gem.version = Paperclip::Qiniu::VERSION
gem.add_dependency 'paperclip' gem.add_dependency 'paperclip'
gem.add_dependency 'qiniu-rs' gem.add_dependency 'qiniu-rs'
gem.add_development_dependency 'rspec'
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment