paperclip-document 0.0.10 → 0.0.11

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: ad4fc35c9bbaacd7c35f76007645a0fc1b559b49
4
- data.tar.gz: 0446b4d6c51297634e1ecebcacd83ed3010973a6
3
+ metadata.gz: 49d260285b5eed1fd60641d34a05b911749056d6
4
+ data.tar.gz: 217664c7f3e707d6da0bf10b0db4268af80cc34e
5
5
  SHA512:
6
- metadata.gz: 6095f13d9ee3379c9bb2077db885a41131f330c6d8fdc1fffce59e551c86cb6f87f8a1e10462e79c3d85170f0cee5331bb7303616c98b9cfe2f748eef9f4adab
7
- data.tar.gz: 75850319470348136ebb14e876390b886445ff0943675d8b7653a0143e6b2c84c3415429975359260685874933470b82c6e83da477b8341818654c51d5e61435
6
+ metadata.gz: 82f62ed9cbb955d41f89127c37e7cee9669f85084c72fde551e9bef1e2902025512f9476f8b2239a2f41efdfe0e08fa646c25d674521f2f1a7c5930f741cd4f0
7
+ data.tar.gz: 596de948205d4d0e0a170e17223bcc0dfcc0e9020eb51f6f2be41df22cf80b5b96aaa85186f62eb83ec2a0e0448ae06ff99a3fca4fa66fbada001e57be961cde
@@ -8,7 +8,7 @@ module Paperclip
8
8
  def initialize(file, options = {}, attachment = nil)
9
9
  super(file, options, attachment)
10
10
  @format = (options[:format] || :jpg).to_sym
11
- unless [:jpg, :png].include?(@format)
11
+ unless %i[jpg png].include?(@format)
12
12
  raise Paperclip::Error, 'Valid format must be specified'
13
13
  end
14
14
  unless @size = options[:size]
@@ -1,5 +1,5 @@
1
1
  module Paperclip
2
2
  module Document
3
- VERSION = '0.0.10'.freeze
3
+ VERSION = '0.0.11'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,49 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperclip-document
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brice Texier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-06 00:00:00.000000000 Z
11
+ date: 2018-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: paperclip
14
+ name: burisu-docsplit
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.1'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '5.2'
19
+ version: 0.7.9
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: '3.1'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '5.2'
26
+ version: 0.7.9
33
27
  - !ruby/object:Gem::Dependency
34
- name: burisu-docsplit
28
+ name: paperclip
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - ">="
38
32
  - !ruby/object:Gem::Version
39
- version: 0.7.9
33
+ version: '3.1'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '6.0'
40
37
  type: :runtime
41
38
  prerelease: false
42
39
  version_requirements: !ruby/object:Gem::Requirement
43
40
  requirements:
44
41
  - - ">="
45
42
  - !ruby/object:Gem::Version
46
- version: 0.7.9
43
+ version: '3.1'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '6.0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: bundler
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,7 @@ dependencies:
59
59
  - !ruby/object:Gem::Version
60
60
  version: '1.3'
61
61
  - !ruby/object:Gem::Dependency
62
- name: rake
62
+ name: coveralls
63
63
  requirement: !ruby/object:Gem::Requirement
64
64
  requirements:
65
65
  - - ">="
@@ -73,7 +73,7 @@ dependencies:
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  - !ruby/object:Gem::Dependency
76
- name: coveralls
76
+ name: minitest
77
77
  requirement: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - ">="
@@ -101,7 +101,7 @@ dependencies:
101
101
  - !ruby/object:Gem::Version
102
102
  version: '3.2'
103
103
  - !ruby/object:Gem::Dependency
104
- name: sqlite3
104
+ name: rake
105
105
  requirement: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - ">="
@@ -115,7 +115,7 @@ dependencies:
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  - !ruby/object:Gem::Dependency
118
- name: minitest
118
+ name: sqlite3
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
121
  - - ">="
@@ -166,7 +166,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  version: '0'
167
167
  requirements: []
168
168
  rubyforge_project:
169
- rubygems_version: 2.4.5.1
169
+ rubygems_version: 2.5.2
170
170
  signing_key:
171
171
  specification_version: 4
172
172
  summary: Processors for paperclip