paperclip-imgur 0.1.3 → 0.1.5

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: 73b0907f207a9bf8e59acdf4fa0ff42a9f8f6f8c
4
- data.tar.gz: f1db66035938ee61613c3c49f8718410b4db7229
3
+ metadata.gz: e017091b6378cd741eee8366844b7597f36c3f45
4
+ data.tar.gz: 7425b91706ed35a7a85163e9b926752f9787edbf
5
5
  SHA512:
6
- metadata.gz: ea2ae272a5fed096079c87c9be56e5382062ec45455ecf8d3cc03c398c9d2730645b40f6e5ff5cc434fead1fdef94a3c91ed187bd6c85c22f49829d0113f2d52
7
- data.tar.gz: 4e5bb6af2eb41d2f2e838d5f7c37f4220d766076508761d98ae5b19a1a47f5d854816c864bef925c44d0bde5bf7cf9263ad804c846f797605ebca9449d89501b
6
+ metadata.gz: 5d96e78307b43af52e19bdc58efa51633cc2e28b85634850b5be10bce30cdd5d1071f06c79b8036ef179d2e1d911d80dd080a379a69abd8973ce75314f2c1daa
7
+ data.tar.gz: b8dad79c637aa36f7ce8a4c65ef8029da5ef44bf60296b388c8c7fd41aa904092d6097ac9994970bbba24ddceb3edd99952a7b0558d777b855c3fd059a628f5d
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Paperclip::Imgur
2
2
 
3
- This gem extends [Paperclip](https://github.com/thoughtbot/paperclip) with [Imgur](http://imgur.com/) storage. It's been tested with Paperclip 3.3.1 and 4.3.
3
+ This gem extends [Paperclip](https://github.com/thoughtbot/paperclip) with [Imgur](http://imgur.com/) storage. It's been tested with Paperclip 3.3.1, 4.3 and 5.1.
4
4
 
5
5
  If you want Paperclip Dropbox support, have a look at this [great gem](https://github.com/janko-m/paperclip-dropbox/).
6
6
 
@@ -1,23 +1,24 @@
1
- # -*- encoding: utf-8 -*-
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
1
+ $:.push File.expand_path('../lib', __FILE__)
4
2
 
5
- Gem::Specification.new do |gem|
6
- gem.name = 'paperclip-imgur'
7
- gem.version = '0.1.3'
8
- gem.authors = ['Daniel Cruz Horts']
9
- gem.description = %q{Extends Paperclip with Imgur storage}
10
- gem.summary = gem.description
11
- gem.homepage = 'https://github.com/dncrht/paperclip-imgur'
12
- gem.license = 'MIT'
3
+ Gem::Specification.new do |s|
4
+ s.name = 'paperclip-imgur'
5
+ s.version = '0.1.5'
6
+ s.authors = ['Daniel Cruz Horts']
7
+ s.description = %q{Extends Paperclip with Imgur storage}
8
+ s.summary = s.description
9
+ s.homepage = 'https://github.com/dncrht/paperclip-imgur'
10
+ s.license = 'MIT'
13
11
 
14
- gem.files = `git ls-files`.split($/)
15
- gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
16
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
17
- gem.require_paths = ['lib']
12
+ s.files = `git ls-files`.split($/)
13
+ s.executables = s.files.grep(%r{^bin/}).map { |f| File.basename(f) }
14
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
15
+ s.require_paths = ['lib']
18
16
 
19
- gem.add_dependency 'imgurapi', '>= 3.0.2'
20
- gem.add_development_dependency 'rspec'
21
- gem.add_dependency 'pry'
22
- gem.add_dependency 'pry-byebug'
17
+ s.add_dependency 'imgurapi', '>= 3.0.2'
18
+ s.add_development_dependency 'paperclip'
19
+ s.add_development_dependency 'activerecord', '>= 5.1'
20
+ s.add_development_dependency 'sqlite3'
21
+ s.add_development_dependency 'rspec'
22
+ s.add_development_dependency 'pry'
23
+ s.add_development_dependency 'pry-byebug'
23
24
  end
@@ -1,7 +1,7 @@
1
- require 'paperclip-imgur'
2
1
  require 'active_record'
2
+ require 'paperclip-imgur'
3
3
 
4
- class CreateUsers < ActiveRecord::Migration
4
+ class CreateUsers < ActiveRecord::Migration[5.1]
5
5
  self.verbose = false
6
6
 
7
7
  def change
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperclip-imgur
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Cruz Horts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-12 00:00:00.000000000 Z
11
+ date: 2017-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: imgurapi
@@ -24,6 +24,48 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.0.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: paperclip
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: activerecord
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '5.1'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '5.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: sqlite3
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
27
69
  - !ruby/object:Gem::Dependency
28
70
  name: rspec
29
71
  requirement: !ruby/object:Gem::Requirement
@@ -45,7 +87,7 @@ dependencies:
45
87
  - - ">="
46
88
  - !ruby/object:Gem::Version
47
89
  version: '0'
48
- type: :runtime
90
+ type: :development
49
91
  prerelease: false
50
92
  version_requirements: !ruby/object:Gem::Requirement
51
93
  requirements:
@@ -59,7 +101,7 @@ dependencies:
59
101
  - - ">="
60
102
  - !ruby/object:Gem::Version
61
103
  version: '0'
62
- type: :runtime
104
+ type: :development
63
105
  prerelease: false
64
106
  version_requirements: !ruby/object:Gem::Requirement
65
107
  requirements: