paperclip 2.3.5 → 2.3.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of paperclip might be problematic. Click here for more details.
- data/Rakefile +6 -2
- data/lib/paperclip.rbc +5129 -12
- data/lib/paperclip/attachment.rb +9 -3
- data/lib/paperclip/attachment.rbc +5550 -872
- data/lib/paperclip/callback_compatability.rbc +1649 -0
- data/lib/paperclip/command_line.rbc +1952 -0
- data/lib/paperclip/geometry.rbc +2141 -0
- data/lib/paperclip/glue.rbc +685 -0
- data/lib/paperclip/interpolations.rb +2 -1
- data/lib/paperclip/interpolations.rbc +2205 -0
- data/lib/paperclip/iostream.rbc +905 -0
- data/lib/paperclip/matchers.rbc +267 -0
- data/lib/paperclip/matchers/have_attached_file_matcher.rbc +1258 -0
- data/lib/paperclip/matchers/validate_attachment_content_type_matcher.rbc +1660 -0
- data/lib/paperclip/matchers/validate_attachment_presence_matcher.rbc +1304 -0
- data/lib/paperclip/matchers/validate_attachment_size_matcher.rbc +2160 -0
- data/lib/paperclip/{configuration.rbc → processor.rbc} +471 -569
- data/lib/paperclip/railtie.rbc +680 -0
- data/lib/paperclip/storage.rbc +69 -0
- data/lib/paperclip/storage/filesystem.rbc +1402 -0
- data/lib/paperclip/storage/s3.rb +1 -0
- data/lib/paperclip/storage/s3.rbc +3489 -0
- data/lib/paperclip/style.rbc +1571 -0
- data/lib/paperclip/thumbnail.rbc +1648 -0
- data/lib/paperclip/upfile.rb +0 -7
- data/lib/paperclip/upfile.rbc +1619 -0
- data/lib/paperclip/version.rb +1 -1
- data/lib/paperclip/version.rbc +176 -0
- data/shoulda_macros/paperclip.rbc +2415 -0
- data/test/attachment_test.rb +8 -8
- data/test/attachment_test.rbc +22952 -0
- data/test/command_line_test.rb +1 -1
- data/test/command_line_test.rbc +4307 -0
- data/test/geometry_test.rb +1 -1
- data/test/geometry_test.rbc +5181 -0
- data/test/helper.rb +1 -13
- data/test/helper.rbc +3971 -0
- data/test/integration_test.rb +1 -1
- data/test/integration_test.rbc +13137 -0
- data/test/interpolations_test.rb +1 -1
- data/test/interpolations_test.rbc +3432 -0
- data/test/iostream_test.rb +1 -1
- data/test/iostream_test.rbc +1889 -0
- data/test/matchers/have_attached_file_matcher_test.rb +1 -1
- data/test/matchers/have_attached_file_matcher_test.rbc +622 -0
- data/test/matchers/validate_attachment_content_type_matcher_test.rb +1 -1
- data/test/matchers/validate_attachment_content_type_matcher_test.rbc +1174 -0
- data/test/matchers/validate_attachment_presence_matcher_test.rb +1 -1
- data/test/matchers/validate_attachment_presence_matcher_test.rbc +622 -0
- data/test/matchers/validate_attachment_size_matcher_test.rb +1 -1
- data/test/matchers/validate_attachment_size_matcher_test.rbc +1658 -0
- data/test/paperclip_test.rb +1 -1
- data/test/paperclip_test.rbc +7407 -0
- data/test/processor_test.rb +1 -1
- data/test/processor_test.rbc +314 -0
- data/test/storage_test.rb +1 -1
- data/test/storage_test.rbc +10294 -0
- data/test/style_test.rb +1 -1
- data/test/style_test.rbc +3752 -0
- data/test/thumbnail_test.rb +1 -1
- data/test/thumbnail_test.rbc +6803 -0
- data/test/upfile_test.rb +1 -18
- data/test/upfile_test.rbc +1635 -0
- metadata +77 -26
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paperclip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 2.3.
|
9
|
+
- 6
|
10
|
+
version: 2.3.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jon Yurek
|
@@ -15,13 +15,25 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-11-23 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
|
+
none: false
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
hash: 3
|
28
|
+
segments:
|
29
|
+
- 0
|
30
|
+
version: "0"
|
31
|
+
requirement: *id001
|
32
|
+
type: :runtime
|
22
33
|
name: activerecord
|
23
34
|
prerelease: false
|
24
|
-
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
25
37
|
none: false
|
26
38
|
requirements:
|
27
39
|
- - ">="
|
@@ -30,12 +42,12 @@ dependencies:
|
|
30
42
|
segments:
|
31
43
|
- 0
|
32
44
|
version: "0"
|
45
|
+
requirement: *id002
|
33
46
|
type: :runtime
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
47
|
name: activesupport
|
37
48
|
prerelease: false
|
38
|
-
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
39
51
|
none: false
|
40
52
|
requirements:
|
41
53
|
- - ">="
|
@@ -44,12 +56,12 @@ dependencies:
|
|
44
56
|
segments:
|
45
57
|
- 0
|
46
58
|
version: "0"
|
47
|
-
|
48
|
-
|
49
|
-
- !ruby/object:Gem::Dependency
|
59
|
+
requirement: *id003
|
60
|
+
type: :development
|
50
61
|
name: shoulda
|
51
62
|
prerelease: false
|
52
|
-
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
53
65
|
none: false
|
54
66
|
requirements:
|
55
67
|
- - ">="
|
@@ -58,12 +70,12 @@ dependencies:
|
|
58
70
|
segments:
|
59
71
|
- 0
|
60
72
|
version: "0"
|
73
|
+
requirement: *id004
|
61
74
|
type: :development
|
62
|
-
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
|
-
name: mocha
|
75
|
+
name: appraisal
|
65
76
|
prerelease: false
|
66
|
-
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
67
79
|
none: false
|
68
80
|
requirements:
|
69
81
|
- - ">="
|
@@ -72,12 +84,12 @@ dependencies:
|
|
72
84
|
segments:
|
73
85
|
- 0
|
74
86
|
version: "0"
|
87
|
+
requirement: *id005
|
75
88
|
type: :development
|
76
|
-
|
77
|
-
- !ruby/object:Gem::Dependency
|
78
|
-
name: aws-s3
|
89
|
+
name: mocha
|
79
90
|
prerelease: false
|
80
|
-
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
81
93
|
none: false
|
82
94
|
requirements:
|
83
95
|
- - ">="
|
@@ -86,12 +98,12 @@ dependencies:
|
|
86
98
|
segments:
|
87
99
|
- 0
|
88
100
|
version: "0"
|
101
|
+
requirement: *id006
|
89
102
|
type: :development
|
90
|
-
|
91
|
-
- !ruby/object:Gem::Dependency
|
92
|
-
name: sqlite3-ruby
|
103
|
+
name: aws-s3
|
93
104
|
prerelease: false
|
94
|
-
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
95
107
|
none: false
|
96
108
|
requirements:
|
97
109
|
- - ">="
|
@@ -100,8 +112,10 @@ dependencies:
|
|
100
112
|
segments:
|
101
113
|
- 0
|
102
114
|
version: "0"
|
115
|
+
requirement: *id007
|
103
116
|
type: :development
|
104
|
-
|
117
|
+
name: sqlite3-ruby
|
118
|
+
prerelease: false
|
105
119
|
description: Easy upload management for ActiveRecord
|
106
120
|
email: jyurek@thoughtbot.com
|
107
121
|
executables: []
|
@@ -121,30 +135,51 @@ files:
|
|
121
135
|
- lib/paperclip/attachment.rb
|
122
136
|
- lib/paperclip/attachment.rbc
|
123
137
|
- lib/paperclip/callback_compatability.rb
|
138
|
+
- lib/paperclip/callback_compatability.rbc
|
124
139
|
- lib/paperclip/command_line.rb
|
125
|
-
- lib/paperclip/
|
140
|
+
- lib/paperclip/command_line.rbc
|
126
141
|
- lib/paperclip/geometry.rb
|
142
|
+
- lib/paperclip/geometry.rbc
|
143
|
+
- lib/paperclip/glue.rbc
|
127
144
|
- lib/paperclip/interpolations.rb
|
145
|
+
- lib/paperclip/interpolations.rbc
|
128
146
|
- lib/paperclip/iostream.rb
|
147
|
+
- lib/paperclip/iostream.rbc
|
129
148
|
- lib/paperclip/matchers/have_attached_file_matcher.rb
|
149
|
+
- lib/paperclip/matchers/have_attached_file_matcher.rbc
|
130
150
|
- lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
|
151
|
+
- lib/paperclip/matchers/validate_attachment_content_type_matcher.rbc
|
131
152
|
- lib/paperclip/matchers/validate_attachment_presence_matcher.rb
|
153
|
+
- lib/paperclip/matchers/validate_attachment_presence_matcher.rbc
|
132
154
|
- lib/paperclip/matchers/validate_attachment_size_matcher.rb
|
155
|
+
- lib/paperclip/matchers/validate_attachment_size_matcher.rbc
|
133
156
|
- lib/paperclip/matchers.rb
|
157
|
+
- lib/paperclip/matchers.rbc
|
134
158
|
- lib/paperclip/processor.rb
|
159
|
+
- lib/paperclip/processor.rbc
|
135
160
|
- lib/paperclip/railtie.rb
|
161
|
+
- lib/paperclip/railtie.rbc
|
136
162
|
- lib/paperclip/storage/filesystem.rb
|
163
|
+
- lib/paperclip/storage/filesystem.rbc
|
137
164
|
- lib/paperclip/storage/s3.rb
|
165
|
+
- lib/paperclip/storage/s3.rbc
|
138
166
|
- lib/paperclip/storage.rb
|
167
|
+
- lib/paperclip/storage.rbc
|
139
168
|
- lib/paperclip/style.rb
|
169
|
+
- lib/paperclip/style.rbc
|
140
170
|
- lib/paperclip/thumbnail.rb
|
171
|
+
- lib/paperclip/thumbnail.rbc
|
141
172
|
- lib/paperclip/upfile.rb
|
173
|
+
- lib/paperclip/upfile.rbc
|
142
174
|
- lib/paperclip/version.rb
|
175
|
+
- lib/paperclip/version.rbc
|
143
176
|
- lib/paperclip.rb
|
144
177
|
- lib/paperclip.rbc
|
145
178
|
- lib/tasks/paperclip.rake
|
146
179
|
- test/attachment_test.rb
|
180
|
+
- test/attachment_test.rbc
|
147
181
|
- test/command_line_test.rb
|
182
|
+
- test/command_line_test.rbc
|
148
183
|
- test/database.yml
|
149
184
|
- test/fixtures/12k.png
|
150
185
|
- test/fixtures/50x50.png
|
@@ -154,25 +189,41 @@ files:
|
|
154
189
|
- test/fixtures/text.txt
|
155
190
|
- test/fixtures/twopage.pdf
|
156
191
|
- test/geometry_test.rb
|
192
|
+
- test/geometry_test.rbc
|
157
193
|
- test/helper.rb
|
194
|
+
- test/helper.rbc
|
158
195
|
- test/integration_test.rb
|
196
|
+
- test/integration_test.rbc
|
159
197
|
- test/interpolations_test.rb
|
198
|
+
- test/interpolations_test.rbc
|
160
199
|
- test/iostream_test.rb
|
200
|
+
- test/iostream_test.rbc
|
161
201
|
- test/matchers/have_attached_file_matcher_test.rb
|
202
|
+
- test/matchers/have_attached_file_matcher_test.rbc
|
162
203
|
- test/matchers/validate_attachment_content_type_matcher_test.rb
|
204
|
+
- test/matchers/validate_attachment_content_type_matcher_test.rbc
|
163
205
|
- test/matchers/validate_attachment_presence_matcher_test.rb
|
206
|
+
- test/matchers/validate_attachment_presence_matcher_test.rbc
|
164
207
|
- test/matchers/validate_attachment_size_matcher_test.rb
|
208
|
+
- test/matchers/validate_attachment_size_matcher_test.rbc
|
165
209
|
- test/paperclip_test.rb
|
210
|
+
- test/paperclip_test.rbc
|
166
211
|
- test/processor_test.rb
|
212
|
+
- test/processor_test.rbc
|
167
213
|
- test/storage_test.rb
|
214
|
+
- test/storage_test.rbc
|
168
215
|
- test/style_test.rb
|
216
|
+
- test/style_test.rbc
|
169
217
|
- test/thumbnail_test.rb
|
218
|
+
- test/thumbnail_test.rbc
|
170
219
|
- test/upfile_test.rb
|
220
|
+
- test/upfile_test.rbc
|
171
221
|
- rails/init.rb
|
172
222
|
- generators/paperclip/paperclip_generator.rb
|
173
223
|
- generators/paperclip/templates/paperclip_migration.rb.erb
|
174
224
|
- generators/paperclip/USAGE
|
175
225
|
- shoulda_macros/paperclip.rb
|
226
|
+
- shoulda_macros/paperclip.rbc
|
176
227
|
has_rdoc: true
|
177
228
|
homepage: http://www.thoughtbot.com/projects/paperclip
|
178
229
|
licenses: []
|