paperclip-new-qiniu 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cfe8283df929d47f7cc902d93b96dc6c5a46c6b8
4
- data.tar.gz: 5d7e5496f297578b3577513b35d688589256b434
3
+ metadata.gz: f15519e33f1a41fe3fea53177eee6acf28089ea6
4
+ data.tar.gz: ad5fb13d06173e03412e932b7ccf945c585fb8ea
5
5
  SHA512:
6
- metadata.gz: cbc793d99b69dd90e85546fbeada5f6688cc44d1b069bb6d4c1445e32d4fc9a6a181a51ed273a0ad1d901112475512ffad7a97eff9d1e75e5a5e8be898329f05
7
- data.tar.gz: 9eeee06c34227074dc57f362b4e993df02a05eabae4065d10723bd1c167b84c67b4617b7ede8efc908892ed3854e42197b53d2be1179bf415e0c66d3a8213d7b
6
+ metadata.gz: c34dde40b675694752604bc6932beba0acb6578d928d4f430b213a765615da932bfddae14b0f2c66278aad51a1de627d9ede61554872be242ec1901dbaf86243
7
+ data.tar.gz: 85dcd19f5c92356b63426dfcc1ab6f40f8a27bca486efb5ec8392f6cd58b15fdd50cf8d5ddc4642fa0a1f2b7d6bf09c3757fd63ea65c8dfec6e2b58fd8a05679
data/.DS_Store CHANGED
Binary file
data/lib/.DS_Store CHANGED
Binary file
@@ -0,0 +1,4 @@
1
+ require "paperclip-qin/version"
2
+ require 'paperclip/storage/qin'
3
+ require 'paperclip/qin/action_view_extensions/qiniu_image_path' if defined?(ActionView)
4
+ require 'paperclip/qin/action_view_extensions/qiniu_image_tag' if defined?(ActionView)
@@ -1,5 +1,5 @@
1
1
  module Paperclip
2
- module Qiniu
2
+ module Qin
3
3
  class Error < StandardError; end
4
4
  class UploadFailed < Error; end
5
5
  end
@@ -0,0 +1,5 @@
1
+ module Paperclip
2
+ module Qin
3
+ VERSION = "0.1.2"
4
+ end
5
+ end
Binary file
@@ -0,0 +1 @@
1
+ require 'paperclip-qin'
@@ -1,5 +1,5 @@
1
1
  module Paperclip
2
- module Qiniu
2
+ module Qin
3
3
  module ActionViewExtensions
4
4
  module QiniuImagePath
5
5
  def qiniu_image_path(source, options={})
@@ -1,5 +1,5 @@
1
1
  module Paperclip
2
- module Qiniu
2
+ module Qin
3
3
  module ActionViewExtensions
4
4
  module QiniuImageTag
5
5
  def qiniu_image_tag(source, options={})
@@ -1,5 +1,5 @@
1
1
  # -*- encoding: utf-8 -*-
2
- require File.expand_path('../lib/paperclip-qiniu/version', __FILE__)
2
+ require File.expand_path('../lib/paperclip-qin/version', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ["gyzclw"]
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
13
13
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
14
  gem.name = "paperclip-new-qiniu"
15
15
  gem.require_paths = ["lib"]
16
- gem.version = Paperclip::Qiniu::VERSION
16
+ gem.version = Paperclip::Qin::VERSION
17
17
  gem.add_dependency "paperclip",'~> 5.0', '>= 5.0.0'
18
18
  gem.add_dependency 'qiniu', '~> 6.8.0', '>= 6.8.0'
19
19
  gem.add_development_dependency 'rspec'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperclip-new-qiniu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - gyzclw
@@ -80,14 +80,14 @@ files:
80
80
  - README.md
81
81
  - Rakefile
82
82
  - lib/.DS_Store
83
- - lib/paperclip-qiniu.rb
84
- - lib/paperclip-qiniu/exceptions.rb
85
- - lib/paperclip-qiniu/version.rb
83
+ - lib/paperclip-qin.rb
84
+ - lib/paperclip-qin/exceptions.rb
85
+ - lib/paperclip-qin/version.rb
86
86
  - lib/paperclip/.DS_Store
87
- - lib/paperclip/qiniu.rb
88
- - lib/paperclip/qiniu/.DS_Store
89
- - lib/paperclip/qiniu/action_view_extensions/qiniu_image_path.rb
90
- - lib/paperclip/qiniu/action_view_extensions/qiniu_image_tag.rb
87
+ - lib/paperclip/qin.rb
88
+ - lib/paperclip/qin/.DS_Store
89
+ - lib/paperclip/qin/action_view_extensions/qiniu_image_path.rb
90
+ - lib/paperclip/qin/action_view_extensions/qiniu_image_tag.rb
91
91
  - lib/paperclip/storage/.DS_Store
92
92
  - lib/paperclip/storage/qin.rb
93
93
  - paperclip-qiniu.gemspec
@@ -1,4 +0,0 @@
1
- require "paperclip-qiniu/version"
2
- require 'paperclip/storage/qin'
3
- require 'paperclip/qiniu/action_view_extensions/qiniu_image_path' if defined?(ActionView)
4
- require 'paperclip/qiniu/action_view_extensions/qiniu_image_tag' if defined?(ActionView)
@@ -1,5 +0,0 @@
1
- module Paperclip
2
- module Qiniu
3
- VERSION = "0.1.1"
4
- end
5
- end
@@ -1 +0,0 @@
1
- require 'paperclip-qiniu'