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.

Files changed (64) hide show
  1. data/Rakefile +6 -2
  2. data/lib/paperclip.rbc +5129 -12
  3. data/lib/paperclip/attachment.rb +9 -3
  4. data/lib/paperclip/attachment.rbc +5550 -872
  5. data/lib/paperclip/callback_compatability.rbc +1649 -0
  6. data/lib/paperclip/command_line.rbc +1952 -0
  7. data/lib/paperclip/geometry.rbc +2141 -0
  8. data/lib/paperclip/glue.rbc +685 -0
  9. data/lib/paperclip/interpolations.rb +2 -1
  10. data/lib/paperclip/interpolations.rbc +2205 -0
  11. data/lib/paperclip/iostream.rbc +905 -0
  12. data/lib/paperclip/matchers.rbc +267 -0
  13. data/lib/paperclip/matchers/have_attached_file_matcher.rbc +1258 -0
  14. data/lib/paperclip/matchers/validate_attachment_content_type_matcher.rbc +1660 -0
  15. data/lib/paperclip/matchers/validate_attachment_presence_matcher.rbc +1304 -0
  16. data/lib/paperclip/matchers/validate_attachment_size_matcher.rbc +2160 -0
  17. data/lib/paperclip/{configuration.rbc → processor.rbc} +471 -569
  18. data/lib/paperclip/railtie.rbc +680 -0
  19. data/lib/paperclip/storage.rbc +69 -0
  20. data/lib/paperclip/storage/filesystem.rbc +1402 -0
  21. data/lib/paperclip/storage/s3.rb +1 -0
  22. data/lib/paperclip/storage/s3.rbc +3489 -0
  23. data/lib/paperclip/style.rbc +1571 -0
  24. data/lib/paperclip/thumbnail.rbc +1648 -0
  25. data/lib/paperclip/upfile.rb +0 -7
  26. data/lib/paperclip/upfile.rbc +1619 -0
  27. data/lib/paperclip/version.rb +1 -1
  28. data/lib/paperclip/version.rbc +176 -0
  29. data/shoulda_macros/paperclip.rbc +2415 -0
  30. data/test/attachment_test.rb +8 -8
  31. data/test/attachment_test.rbc +22952 -0
  32. data/test/command_line_test.rb +1 -1
  33. data/test/command_line_test.rbc +4307 -0
  34. data/test/geometry_test.rb +1 -1
  35. data/test/geometry_test.rbc +5181 -0
  36. data/test/helper.rb +1 -13
  37. data/test/helper.rbc +3971 -0
  38. data/test/integration_test.rb +1 -1
  39. data/test/integration_test.rbc +13137 -0
  40. data/test/interpolations_test.rb +1 -1
  41. data/test/interpolations_test.rbc +3432 -0
  42. data/test/iostream_test.rb +1 -1
  43. data/test/iostream_test.rbc +1889 -0
  44. data/test/matchers/have_attached_file_matcher_test.rb +1 -1
  45. data/test/matchers/have_attached_file_matcher_test.rbc +622 -0
  46. data/test/matchers/validate_attachment_content_type_matcher_test.rb +1 -1
  47. data/test/matchers/validate_attachment_content_type_matcher_test.rbc +1174 -0
  48. data/test/matchers/validate_attachment_presence_matcher_test.rb +1 -1
  49. data/test/matchers/validate_attachment_presence_matcher_test.rbc +622 -0
  50. data/test/matchers/validate_attachment_size_matcher_test.rb +1 -1
  51. data/test/matchers/validate_attachment_size_matcher_test.rbc +1658 -0
  52. data/test/paperclip_test.rb +1 -1
  53. data/test/paperclip_test.rbc +7407 -0
  54. data/test/processor_test.rb +1 -1
  55. data/test/processor_test.rbc +314 -0
  56. data/test/storage_test.rb +1 -1
  57. data/test/storage_test.rbc +10294 -0
  58. data/test/style_test.rb +1 -1
  59. data/test/style_test.rbc +3752 -0
  60. data/test/thumbnail_test.rb +1 -1
  61. data/test/thumbnail_test.rbc +6803 -0
  62. data/test/upfile_test.rb +1 -18
  63. data/test/upfile_test.rbc +1635 -0
  64. 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: 9
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 3
9
- - 5
10
- version: 2.3.5
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-10-26 00:00:00 -04:00
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
- requirement: &id001 !ruby/object:Gem::Requirement
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
- requirement: &id002 !ruby/object:Gem::Requirement
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
- type: :runtime
48
- version_requirements: *id002
49
- - !ruby/object:Gem::Dependency
59
+ requirement: *id003
60
+ type: :development
50
61
  name: shoulda
51
62
  prerelease: false
52
- requirement: &id003 !ruby/object:Gem::Requirement
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
- version_requirements: *id003
63
- - !ruby/object:Gem::Dependency
64
- name: mocha
75
+ name: appraisal
65
76
  prerelease: false
66
- requirement: &id004 !ruby/object:Gem::Requirement
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
- version_requirements: *id004
77
- - !ruby/object:Gem::Dependency
78
- name: aws-s3
89
+ name: mocha
79
90
  prerelease: false
80
- requirement: &id005 !ruby/object:Gem::Requirement
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
- version_requirements: *id005
91
- - !ruby/object:Gem::Dependency
92
- name: sqlite3-ruby
103
+ name: aws-s3
93
104
  prerelease: false
94
- requirement: &id006 !ruby/object:Gem::Requirement
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
- version_requirements: *id006
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/configuration.rbc
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: []