paperclip 3.5.4 → 4.3.7

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 (198) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +0 -6
  3. data/.hound.yml +1066 -0
  4. data/.rubocop.yml +1 -0
  5. data/.travis.yml +11 -17
  6. data/Appraisals +6 -14
  7. data/CONTRIBUTING.md +13 -8
  8. data/Gemfile +16 -3
  9. data/LICENSE +1 -3
  10. data/NEWS +167 -49
  11. data/README.md +294 -75
  12. data/RELEASING.md +17 -0
  13. data/Rakefile +6 -8
  14. data/features/basic_integration.feature +24 -6
  15. data/features/step_definitions/attachment_steps.rb +30 -22
  16. data/features/step_definitions/html_steps.rb +2 -2
  17. data/features/step_definitions/rails_steps.rb +44 -14
  18. data/features/step_definitions/web_steps.rb +1 -103
  19. data/features/support/env.rb +2 -2
  20. data/features/support/file_helpers.rb +2 -2
  21. data/features/support/fixtures/gemfile.txt +1 -1
  22. data/features/support/rails.rb +2 -1
  23. data/gemfiles/3.2.gemfile +14 -6
  24. data/gemfiles/4.1.gemfile +19 -0
  25. data/gemfiles/4.2.gemfile +19 -0
  26. data/lib/generators/paperclip/paperclip_generator.rb +0 -2
  27. data/lib/generators/paperclip/templates/paperclip_migration.rb.erb +1 -1
  28. data/lib/paperclip/attachment.rb +132 -38
  29. data/lib/paperclip/attachment_registry.rb +1 -1
  30. data/lib/paperclip/callbacks.rb +11 -1
  31. data/lib/paperclip/content_type_detector.rb +25 -22
  32. data/lib/paperclip/deprecations.rb +42 -0
  33. data/lib/paperclip/errors.rb +5 -0
  34. data/lib/paperclip/file_command_content_type_detector.rb +6 -8
  35. data/lib/paperclip/geometry_detector_factory.rb +3 -1
  36. data/lib/paperclip/geometry_parser_factory.rb +1 -1
  37. data/lib/paperclip/has_attached_file.rb +10 -0
  38. data/lib/paperclip/interpolations/plural_cache.rb +6 -5
  39. data/lib/paperclip/interpolations.rb +25 -12
  40. data/lib/paperclip/io_adapters/abstract_adapter.rb +3 -1
  41. data/lib/paperclip/io_adapters/attachment_adapter.rb +4 -4
  42. data/lib/paperclip/io_adapters/data_uri_adapter.rb +5 -10
  43. data/lib/paperclip/io_adapters/stringio_adapter.rb +6 -10
  44. data/lib/paperclip/io_adapters/uri_adapter.rb +30 -11
  45. data/lib/paperclip/locales/de.yml +18 -0
  46. data/lib/paperclip/locales/en.yml +1 -0
  47. data/lib/paperclip/locales/es.yml +18 -0
  48. data/lib/paperclip/locales/ja.yml +18 -0
  49. data/lib/paperclip/locales/pt-BR.yml +18 -0
  50. data/lib/paperclip/locales/zh-CN.yml +18 -0
  51. data/lib/paperclip/locales/zh-HK.yml +18 -0
  52. data/lib/paperclip/locales/zh-TW.yml +18 -0
  53. data/lib/paperclip/matchers/have_attached_file_matcher.rb +2 -1
  54. data/lib/paperclip/matchers/validate_attachment_presence_matcher.rb +2 -1
  55. data/lib/paperclip/matchers/validate_attachment_size_matcher.rb +2 -1
  56. data/lib/paperclip/media_type_spoof_detector.rb +89 -0
  57. data/lib/paperclip/processor.rb +0 -37
  58. data/lib/paperclip/processor_helpers.rb +50 -0
  59. data/lib/paperclip/rails_environment.rb +25 -0
  60. data/lib/paperclip/schema.rb +10 -2
  61. data/lib/paperclip/storage/filesystem.rb +1 -1
  62. data/lib/paperclip/storage/fog.rb +18 -7
  63. data/lib/paperclip/storage/s3.rb +53 -22
  64. data/lib/paperclip/style.rb +8 -2
  65. data/lib/paperclip/tempfile_factory.rb +5 -1
  66. data/lib/paperclip/thumbnail.rb +12 -10
  67. data/lib/paperclip/url_generator.rb +11 -3
  68. data/lib/paperclip/validators/attachment_content_type_validator.rb +4 -0
  69. data/lib/paperclip/validators/attachment_file_name_validator.rb +80 -0
  70. data/lib/paperclip/validators/attachment_file_type_ignorance_validator.rb +29 -0
  71. data/lib/paperclip/validators/attachment_presence_validator.rb +4 -0
  72. data/lib/paperclip/validators/attachment_size_validator.rb +11 -3
  73. data/lib/paperclip/validators/media_type_spoof_detection_validator.rb +27 -0
  74. data/lib/paperclip/validators.rb +10 -3
  75. data/lib/paperclip/version.rb +1 -1
  76. data/lib/paperclip.rb +26 -8
  77. data/lib/tasks/paperclip.rake +17 -2
  78. data/paperclip.gemspec +16 -14
  79. data/shoulda_macros/paperclip.rb +0 -1
  80. data/spec/paperclip/attachment_definitions_spec.rb +13 -0
  81. data/{test/attachment_processing_test.rb → spec/paperclip/attachment_processing_spec.rb} +20 -21
  82. data/spec/paperclip/attachment_registry_spec.rb +130 -0
  83. data/{test/attachment_test.rb → spec/paperclip/attachment_spec.rb} +438 -397
  84. data/{test/content_type_detector_test.rb → spec/paperclip/content_type_detector_spec.rb} +16 -19
  85. data/spec/paperclip/deprecations_spec.rb +65 -0
  86. data/{test/file_command_content_type_detector_test.rb → spec/paperclip/file_command_content_type_detector_spec.rb} +5 -6
  87. data/spec/paperclip/filename_cleaner_spec.rb +14 -0
  88. data/spec/paperclip/geometry_detector_spec.rb +39 -0
  89. data/{test/geometry_parser_test.rb → spec/paperclip/geometry_parser_spec.rb} +27 -27
  90. data/{test/geometry_test.rb → spec/paperclip/geometry_spec.rb} +50 -52
  91. data/spec/paperclip/glue_spec.rb +44 -0
  92. data/{test/has_attached_file_test.rb → spec/paperclip/has_attached_file_spec.rb} +45 -28
  93. data/{test/integration_test.rb → spec/paperclip/integration_spec.rb} +134 -126
  94. data/{test/interpolations_test.rb → spec/paperclip/interpolations_spec.rb} +70 -46
  95. data/spec/paperclip/io_adapters/abstract_adapter_spec.rb +78 -0
  96. data/{test/io_adapters/attachment_adapter_test.rb → spec/paperclip/io_adapters/attachment_adapter_spec.rb} +27 -29
  97. data/{test/io_adapters/data_uri_adapter_test.rb → spec/paperclip/io_adapters/data_uri_adapter_spec.rb} +26 -17
  98. data/spec/paperclip/io_adapters/empty_string_adapter_spec.rb +17 -0
  99. data/{test/io_adapters/file_adapter_test.rb → spec/paperclip/io_adapters/file_adapter_spec.rb} +36 -40
  100. data/{test/io_adapters/http_url_proxy_adapter_test.rb → spec/paperclip/io_adapters/http_url_proxy_adapter_spec.rb} +31 -29
  101. data/spec/paperclip/io_adapters/identity_adapter_spec.rb +8 -0
  102. data/{test/io_adapters/nil_adapter_test.rb → spec/paperclip/io_adapters/nil_adapter_spec.rb} +7 -7
  103. data/{test/io_adapters/registry_test.rb → spec/paperclip/io_adapters/registry_spec.rb} +10 -7
  104. data/{test/io_adapters/stringio_adapter_test.rb → spec/paperclip/io_adapters/stringio_adapter_spec.rb} +20 -17
  105. data/{test/io_adapters/uploaded_file_adapter_test.rb → spec/paperclip/io_adapters/uploaded_file_adapter_spec.rb} +41 -41
  106. data/{test/io_adapters/uri_adapter_test.rb → spec/paperclip/io_adapters/uri_adapter_spec.rb} +53 -28
  107. data/spec/paperclip/matchers/have_attached_file_matcher_spec.rb +19 -0
  108. data/spec/paperclip/matchers/validate_attachment_content_type_matcher_spec.rb +99 -0
  109. data/spec/paperclip/matchers/validate_attachment_presence_matcher_spec.rb +69 -0
  110. data/spec/paperclip/matchers/validate_attachment_size_matcher_spec.rb +88 -0
  111. data/spec/paperclip/media_type_spoof_detector_spec.rb +79 -0
  112. data/spec/paperclip/meta_class_spec.rb +30 -0
  113. data/spec/paperclip/paperclip_missing_attachment_styles_spec.rb +84 -0
  114. data/{test/paperclip_test.rb → spec/paperclip/paperclip_spec.rb} +53 -48
  115. data/spec/paperclip/plural_cache_spec.rb +37 -0
  116. data/spec/paperclip/processor_helpers_spec.rb +57 -0
  117. data/{test/processor_test.rb → spec/paperclip/processor_spec.rb} +5 -5
  118. data/spec/paperclip/rails_environment_spec.rb +33 -0
  119. data/{test/rake_test.rb → spec/paperclip/rake_spec.rb} +15 -15
  120. data/spec/paperclip/schema_spec.rb +248 -0
  121. data/{test/storage/filesystem_test.rb → spec/paperclip/storage/filesystem_spec.rb} +18 -18
  122. data/spec/paperclip/storage/fog_spec.rb +535 -0
  123. data/spec/paperclip/storage/s3_live_spec.rb +182 -0
  124. data/spec/paperclip/storage/s3_spec.rb +1526 -0
  125. data/spec/paperclip/style_spec.rb +255 -0
  126. data/spec/paperclip/tempfile_factory_spec.rb +33 -0
  127. data/{test/thumbnail_test.rb → spec/paperclip/thumbnail_spec.rb} +123 -107
  128. data/spec/paperclip/url_generator_spec.rb +211 -0
  129. data/spec/paperclip/validators/attachment_content_type_validator_spec.rb +322 -0
  130. data/spec/paperclip/validators/attachment_file_name_validator_spec.rb +160 -0
  131. data/{test/validators/attachment_presence_validator_test.rb → spec/paperclip/validators/attachment_presence_validator_spec.rb} +20 -20
  132. data/{test/validators/attachment_size_validator_test.rb → spec/paperclip/validators/attachment_size_validator_spec.rb} +65 -58
  133. data/spec/paperclip/validators/media_type_spoof_detection_validator_spec.rb +52 -0
  134. data/spec/paperclip/validators_spec.rb +164 -0
  135. data/spec/spec_helper.rb +43 -0
  136. data/spec/support/assertions.rb +71 -0
  137. data/spec/support/deprecations.rb +9 -0
  138. data/spec/support/fake_model.rb +25 -0
  139. data/spec/support/fake_rails.rb +12 -0
  140. data/spec/support/fixtures/empty.html +1 -0
  141. data/spec/support/fixtures/empty.xlsx +0 -0
  142. data/spec/support/fixtures/spaced file.jpg +0 -0
  143. data/spec/support/matchers/accept.rb +5 -0
  144. data/spec/support/matchers/exist.rb +5 -0
  145. data/spec/support/matchers/have_column.rb +23 -0
  146. data/spec/support/model_reconstruction.rb +60 -0
  147. data/spec/support/rails_helpers.rb +7 -0
  148. data/spec/support/test_data.rb +13 -0
  149. data/spec/support/version_helper.rb +9 -0
  150. metadata +334 -219
  151. data/RUNNING_TESTS.md +0 -4
  152. data/gemfiles/3.0.gemfile +0 -11
  153. data/gemfiles/3.1.gemfile +0 -11
  154. data/gemfiles/4.0.gemfile +0 -11
  155. data/test/attachment_definitions_test.rb +0 -12
  156. data/test/attachment_registry_test.rb +0 -88
  157. data/test/filename_cleaner_test.rb +0 -14
  158. data/test/generator_test.rb +0 -84
  159. data/test/geometry_detector_test.rb +0 -24
  160. data/test/helper.rb +0 -232
  161. data/test/io_adapters/abstract_adapter_test.rb +0 -58
  162. data/test/io_adapters/empty_string_adapter_test.rb +0 -18
  163. data/test/io_adapters/identity_adapter_test.rb +0 -8
  164. data/test/matchers/have_attached_file_matcher_test.rb +0 -24
  165. data/test/matchers/validate_attachment_content_type_matcher_test.rb +0 -110
  166. data/test/matchers/validate_attachment_presence_matcher_test.rb +0 -69
  167. data/test/matchers/validate_attachment_size_matcher_test.rb +0 -86
  168. data/test/meta_class_test.rb +0 -32
  169. data/test/paperclip_missing_attachment_styles_test.rb +0 -90
  170. data/test/plural_cache_test.rb +0 -36
  171. data/test/schema_test.rb +0 -200
  172. data/test/storage/fog_test.rb +0 -473
  173. data/test/storage/s3_live_test.rb +0 -179
  174. data/test/storage/s3_test.rb +0 -1356
  175. data/test/style_test.rb +0 -213
  176. data/test/support/mock_model.rb +0 -2
  177. data/test/tempfile_factory_test.rb +0 -17
  178. data/test/url_generator_test.rb +0 -187
  179. data/test/validators/attachment_content_type_validator_test.rb +0 -324
  180. data/test/validators_test.rb +0 -61
  181. /data/{test → spec}/database.yml +0 -0
  182. /data/{test → spec/support}/fixtures/12k.png +0 -0
  183. /data/{test → spec/support}/fixtures/50x50.png +0 -0
  184. /data/{test → spec/support}/fixtures/5k.png +0 -0
  185. /data/{test → spec/support}/fixtures/animated +0 -0
  186. /data/{test → spec/support}/fixtures/animated.gif +0 -0
  187. /data/{test → spec/support}/fixtures/animated.unknown +0 -0
  188. /data/{test → spec/support}/fixtures/bad.png +0 -0
  189. /data/{test → spec/support}/fixtures/fog.yml +0 -0
  190. /data/{test → spec/support}/fixtures/rotated.jpg +0 -0
  191. /data/{test → spec/support}/fixtures/s3.yml +0 -0
  192. /data/{test → spec/support}/fixtures/spaced file.png +0 -0
  193. /data/{test → spec/support}/fixtures/text.txt +0 -0
  194. /data/{test → spec/support}/fixtures/twopage.pdf +0 -0
  195. /data/{test → spec/support}/fixtures/uppercase.PNG +0 -0
  196. /data/{test → spec}/support/mock_attachment.rb +0 -0
  197. /data/{test → spec}/support/mock_interpolator.rb +0 -0
  198. /data/{test → spec}/support/mock_url_generator_builder.rb +0 -0
metadata CHANGED
@@ -1,323 +1,385 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperclip
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.4
4
+ version: 4.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Yurek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-07 00:00:00.000000000 Z
11
+ date: 2016-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.0
19
+ version: 3.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 3.0.0
26
+ version: 3.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 3.0.0
33
+ version: 3.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 3.0.0
40
+ version: 3.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cocaine
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.5.3
47
+ version: 0.5.5
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.5.3
54
+ version: 0.5.5
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: mime-types
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: mimemagic
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '='
74
+ - !ruby/object:Gem::Version
75
+ version: 0.3.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '='
81
+ - !ruby/object:Gem::Version
82
+ version: 0.3.0
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: activerecord
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
- - - '>='
87
+ - - ">="
74
88
  - !ruby/object:Gem::Version
75
- version: 3.0.0
89
+ version: 3.2.0
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
- - - '>='
94
+ - - ">="
81
95
  - !ruby/object:Gem::Version
82
- version: 3.0.0
96
+ version: 3.2.0
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: shoulda
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
- - - '>='
101
+ - - ">="
88
102
  - !ruby/object:Gem::Version
89
103
  version: '0'
90
104
  type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
- - - '>='
108
+ - - ">="
95
109
  - !ruby/object:Gem::Version
96
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rspec
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '3.0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '3.0'
97
125
  - !ruby/object:Gem::Dependency
98
126
  name: appraisal
99
127
  requirement: !ruby/object:Gem::Requirement
100
128
  requirements:
101
- - - '>='
129
+ - - ">="
102
130
  - !ruby/object:Gem::Version
103
131
  version: '0'
104
132
  type: :development
105
133
  prerelease: false
106
134
  version_requirements: !ruby/object:Gem::Requirement
107
135
  requirements:
108
- - - '>='
136
+ - - ">="
109
137
  - !ruby/object:Gem::Version
110
138
  version: '0'
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: mocha
113
141
  requirement: !ruby/object:Gem::Requirement
114
142
  requirements:
115
- - - '>='
143
+ - - ">="
116
144
  - !ruby/object:Gem::Version
117
145
  version: '0'
118
146
  type: :development
119
147
  prerelease: false
120
148
  version_requirements: !ruby/object:Gem::Requirement
121
149
  requirements:
122
- - - '>='
150
+ - - ">="
123
151
  - !ruby/object:Gem::Version
124
152
  version: '0'
125
153
  - !ruby/object:Gem::Dependency
126
154
  name: aws-sdk
127
155
  requirement: !ruby/object:Gem::Requirement
128
156
  requirements:
129
- - - '>='
157
+ - - ">="
130
158
  - !ruby/object:Gem::Version
131
159
  version: 1.5.7
160
+ - - "<="
161
+ - !ruby/object:Gem::Version
162
+ version: '2.0'
132
163
  type: :development
133
164
  prerelease: false
134
165
  version_requirements: !ruby/object:Gem::Requirement
135
166
  requirements:
136
- - - '>='
167
+ - - ">="
137
168
  - !ruby/object:Gem::Version
138
169
  version: 1.5.7
170
+ - - "<="
171
+ - !ruby/object:Gem::Version
172
+ version: '2.0'
139
173
  - !ruby/object:Gem::Dependency
140
174
  name: bourne
141
175
  requirement: !ruby/object:Gem::Requirement
142
176
  requirements:
143
- - - '>='
177
+ - - ">="
144
178
  - !ruby/object:Gem::Version
145
179
  version: '0'
146
180
  type: :development
147
181
  prerelease: false
148
182
  version_requirements: !ruby/object:Gem::Requirement
149
183
  requirements:
150
- - - '>='
184
+ - - ">="
151
185
  - !ruby/object:Gem::Version
152
186
  version: '0'
153
187
  - !ruby/object:Gem::Dependency
154
- name: sqlite3
188
+ name: cucumber
155
189
  requirement: !ruby/object:Gem::Requirement
156
190
  requirements:
157
- - - ~>
191
+ - - "~>"
158
192
  - !ruby/object:Gem::Version
159
- version: 1.3.4
193
+ version: 1.3.18
160
194
  type: :development
161
195
  prerelease: false
162
196
  version_requirements: !ruby/object:Gem::Requirement
163
197
  requirements:
164
- - - ~>
198
+ - - "~>"
165
199
  - !ruby/object:Gem::Version
166
- version: 1.3.4
200
+ version: 1.3.18
167
201
  - !ruby/object:Gem::Dependency
168
- name: cucumber
202
+ name: aruba
169
203
  requirement: !ruby/object:Gem::Requirement
170
204
  requirements:
171
- - - ~>
205
+ - - "~>"
172
206
  - !ruby/object:Gem::Version
173
- version: 1.2.1
207
+ version: 0.9.0
174
208
  type: :development
175
209
  prerelease: false
176
210
  version_requirements: !ruby/object:Gem::Requirement
177
211
  requirements:
178
- - - ~>
212
+ - - "~>"
179
213
  - !ruby/object:Gem::Version
180
- version: 1.2.1
214
+ version: 0.9.0
181
215
  - !ruby/object:Gem::Dependency
182
- name: aruba
216
+ name: nokogiri
183
217
  requirement: !ruby/object:Gem::Requirement
184
218
  requirements:
185
- - - '>='
219
+ - - ">="
186
220
  - !ruby/object:Gem::Version
187
221
  version: '0'
188
222
  type: :development
189
223
  prerelease: false
190
224
  version_requirements: !ruby/object:Gem::Requirement
191
225
  requirements:
192
- - - '>='
226
+ - - ">="
193
227
  - !ruby/object:Gem::Version
194
228
  version: '0'
195
229
  - !ruby/object:Gem::Dependency
196
- name: nokogiri
230
+ name: capybara
197
231
  requirement: !ruby/object:Gem::Requirement
198
232
  requirements:
199
- - - '>='
233
+ - - ">="
200
234
  - !ruby/object:Gem::Version
201
235
  version: '0'
202
236
  type: :development
203
237
  prerelease: false
204
238
  version_requirements: !ruby/object:Gem::Requirement
205
239
  requirements:
206
- - - '>='
240
+ - - ">="
207
241
  - !ruby/object:Gem::Version
208
242
  version: '0'
209
243
  - !ruby/object:Gem::Dependency
210
- name: capybara
244
+ name: bundler
211
245
  requirement: !ruby/object:Gem::Requirement
212
246
  requirements:
213
- - - '='
247
+ - - ">="
214
248
  - !ruby/object:Gem::Version
215
- version: 2.0.3
249
+ version: '0'
216
250
  type: :development
217
251
  prerelease: false
218
252
  version_requirements: !ruby/object:Gem::Requirement
219
253
  requirements:
220
- - - '='
254
+ - - ">="
221
255
  - !ruby/object:Gem::Version
222
- version: 2.0.3
256
+ version: '0'
223
257
  - !ruby/object:Gem::Dependency
224
- name: bundler
258
+ name: fog-aws
225
259
  requirement: !ruby/object:Gem::Requirement
226
260
  requirements:
227
- - - '>='
261
+ - - ">="
228
262
  - !ruby/object:Gem::Version
229
263
  version: '0'
230
264
  type: :development
231
265
  prerelease: false
232
266
  version_requirements: !ruby/object:Gem::Requirement
233
267
  requirements:
234
- - - '>='
268
+ - - ">="
235
269
  - !ruby/object:Gem::Version
236
270
  version: '0'
237
271
  - !ruby/object:Gem::Dependency
238
- name: fog
272
+ name: fog-local
239
273
  requirement: !ruby/object:Gem::Requirement
240
274
  requirements:
241
- - - ~>
275
+ - - ">="
242
276
  - !ruby/object:Gem::Version
243
- version: '1.0'
277
+ version: '0'
244
278
  type: :development
245
279
  prerelease: false
246
280
  version_requirements: !ruby/object:Gem::Requirement
247
281
  requirements:
248
- - - ~>
282
+ - - ">="
249
283
  - !ruby/object:Gem::Version
250
- version: '1.0'
284
+ version: '0'
251
285
  - !ruby/object:Gem::Dependency
252
286
  name: launchy
253
287
  requirement: !ruby/object:Gem::Requirement
254
288
  requirements:
255
- - - '>='
289
+ - - ">="
256
290
  - !ruby/object:Gem::Version
257
291
  version: '0'
258
292
  type: :development
259
293
  prerelease: false
260
294
  version_requirements: !ruby/object:Gem::Requirement
261
295
  requirements:
262
- - - '>='
296
+ - - ">="
263
297
  - !ruby/object:Gem::Version
264
298
  version: '0'
265
299
  - !ruby/object:Gem::Dependency
266
300
  name: rake
267
301
  requirement: !ruby/object:Gem::Requirement
268
302
  requirements:
269
- - - '>='
303
+ - - ">="
270
304
  - !ruby/object:Gem::Version
271
305
  version: '0'
272
306
  type: :development
273
307
  prerelease: false
274
308
  version_requirements: !ruby/object:Gem::Requirement
275
309
  requirements:
276
- - - '>='
310
+ - - ">="
277
311
  - !ruby/object:Gem::Version
278
312
  version: '0'
279
313
  - !ruby/object:Gem::Dependency
280
314
  name: fakeweb
281
315
  requirement: !ruby/object:Gem::Requirement
282
316
  requirements:
283
- - - '>='
317
+ - - ">="
284
318
  - !ruby/object:Gem::Version
285
319
  version: '0'
286
320
  type: :development
287
321
  prerelease: false
288
322
  version_requirements: !ruby/object:Gem::Requirement
289
323
  requirements:
290
- - - '>='
324
+ - - ">="
291
325
  - !ruby/object:Gem::Version
292
326
  version: '0'
293
327
  - !ruby/object:Gem::Dependency
294
328
  name: railties
295
329
  requirement: !ruby/object:Gem::Requirement
296
330
  requirements:
297
- - - '>='
331
+ - - ">="
298
332
  - !ruby/object:Gem::Version
299
333
  version: '0'
300
334
  type: :development
301
335
  prerelease: false
302
336
  version_requirements: !ruby/object:Gem::Requirement
303
337
  requirements:
304
- - - '>='
338
+ - - ">="
305
339
  - !ruby/object:Gem::Version
306
340
  version: '0'
307
341
  - !ruby/object:Gem::Dependency
308
342
  name: actionmailer
309
343
  requirement: !ruby/object:Gem::Requirement
310
344
  requirements:
311
- - - '>='
345
+ - - ">="
346
+ - !ruby/object:Gem::Version
347
+ version: 3.2.0
348
+ type: :development
349
+ prerelease: false
350
+ version_requirements: !ruby/object:Gem::Requirement
351
+ requirements:
352
+ - - ">="
353
+ - !ruby/object:Gem::Version
354
+ version: 3.2.0
355
+ - !ruby/object:Gem::Dependency
356
+ name: generator_spec
357
+ requirement: !ruby/object:Gem::Requirement
358
+ requirements:
359
+ - - ">="
312
360
  - !ruby/object:Gem::Version
313
- version: 3.0.0
361
+ version: '0'
314
362
  type: :development
315
363
  prerelease: false
316
364
  version_requirements: !ruby/object:Gem::Requirement
317
365
  requirements:
318
- - - '>='
366
+ - - ">="
367
+ - !ruby/object:Gem::Version
368
+ version: '0'
369
+ - !ruby/object:Gem::Dependency
370
+ name: timecop
371
+ requirement: !ruby/object:Gem::Requirement
372
+ requirements:
373
+ - - ">="
319
374
  - !ruby/object:Gem::Version
320
- version: 3.0.0
375
+ version: '0'
376
+ type: :development
377
+ prerelease: false
378
+ version_requirements: !ruby/object:Gem::Requirement
379
+ requirements:
380
+ - - ">="
381
+ - !ruby/object:Gem::Version
382
+ version: '0'
321
383
  description: Easy upload management for ActiveRecord
322
384
  email:
323
385
  - jyurek@thoughtbot.com
@@ -325,15 +387,17 @@ executables: []
325
387
  extensions: []
326
388
  extra_rdoc_files: []
327
389
  files:
328
- - .gitignore
329
- - .travis.yml
390
+ - ".gitignore"
391
+ - ".hound.yml"
392
+ - ".rubocop.yml"
393
+ - ".travis.yml"
330
394
  - Appraisals
331
395
  - CONTRIBUTING.md
332
396
  - Gemfile
333
397
  - LICENSE
334
398
  - NEWS
335
399
  - README.md
336
- - RUNNING_TESTS.md
400
+ - RELEASING.md
337
401
  - Rakefile
338
402
  - UPGRADING
339
403
  - cucumber/paperclip_steps.rb
@@ -354,10 +418,9 @@ files:
354
418
  - features/support/paths.rb
355
419
  - features/support/rails.rb
356
420
  - features/support/selectors.rb
357
- - gemfiles/3.0.gemfile
358
- - gemfiles/3.1.gemfile
359
421
  - gemfiles/3.2.gemfile
360
- - gemfiles/4.0.gemfile
422
+ - gemfiles/4.1.gemfile
423
+ - gemfiles/4.2.gemfile
361
424
  - lib/generators/paperclip/USAGE
362
425
  - lib/generators/paperclip/paperclip_generator.rb
363
426
  - lib/generators/paperclip/templates/paperclip_migration.rb.erb
@@ -366,6 +429,7 @@ files:
366
429
  - lib/paperclip/attachment_registry.rb
367
430
  - lib/paperclip/callbacks.rb
368
431
  - lib/paperclip/content_type_detector.rb
432
+ - lib/paperclip/deprecations.rb
369
433
  - lib/paperclip/errors.rb
370
434
  - lib/paperclip/file_command_content_type_detector.rb
371
435
  - lib/paperclip/filename_cleaner.rb
@@ -389,15 +453,25 @@ files:
389
453
  - lib/paperclip/io_adapters/stringio_adapter.rb
390
454
  - lib/paperclip/io_adapters/uploaded_file_adapter.rb
391
455
  - lib/paperclip/io_adapters/uri_adapter.rb
456
+ - lib/paperclip/locales/de.yml
392
457
  - lib/paperclip/locales/en.yml
458
+ - lib/paperclip/locales/es.yml
459
+ - lib/paperclip/locales/ja.yml
460
+ - lib/paperclip/locales/pt-BR.yml
461
+ - lib/paperclip/locales/zh-CN.yml
462
+ - lib/paperclip/locales/zh-HK.yml
463
+ - lib/paperclip/locales/zh-TW.yml
393
464
  - lib/paperclip/logger.rb
394
465
  - lib/paperclip/matchers.rb
395
466
  - lib/paperclip/matchers/have_attached_file_matcher.rb
396
467
  - lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
397
468
  - lib/paperclip/matchers/validate_attachment_presence_matcher.rb
398
469
  - lib/paperclip/matchers/validate_attachment_size_matcher.rb
470
+ - lib/paperclip/media_type_spoof_detector.rb
399
471
  - lib/paperclip/missing_attachment_styles.rb
400
472
  - lib/paperclip/processor.rb
473
+ - lib/paperclip/processor_helpers.rb
474
+ - lib/paperclip/rails_environment.rb
401
475
  - lib/paperclip/railtie.rb
402
476
  - lib/paperclip/schema.rb
403
477
  - lib/paperclip/storage.rb
@@ -411,81 +485,103 @@ files:
411
485
  - lib/paperclip/url_generator.rb
412
486
  - lib/paperclip/validators.rb
413
487
  - lib/paperclip/validators/attachment_content_type_validator.rb
488
+ - lib/paperclip/validators/attachment_file_name_validator.rb
489
+ - lib/paperclip/validators/attachment_file_type_ignorance_validator.rb
414
490
  - lib/paperclip/validators/attachment_presence_validator.rb
415
491
  - lib/paperclip/validators/attachment_size_validator.rb
492
+ - lib/paperclip/validators/media_type_spoof_detection_validator.rb
416
493
  - lib/paperclip/version.rb
417
494
  - lib/tasks/paperclip.rake
418
495
  - paperclip.gemspec
419
496
  - shoulda_macros/paperclip.rb
420
- - test/attachment_definitions_test.rb
421
- - test/attachment_processing_test.rb
422
- - test/attachment_registry_test.rb
423
- - test/attachment_test.rb
424
- - test/content_type_detector_test.rb
425
- - test/database.yml
426
- - test/file_command_content_type_detector_test.rb
427
- - test/filename_cleaner_test.rb
428
- - test/fixtures/12k.png
429
- - test/fixtures/50x50.png
430
- - test/fixtures/5k.png
431
- - test/fixtures/animated
432
- - test/fixtures/animated.gif
433
- - test/fixtures/animated.unknown
434
- - test/fixtures/bad.png
435
- - test/fixtures/fog.yml
436
- - test/fixtures/rotated.jpg
437
- - test/fixtures/s3.yml
438
- - test/fixtures/spaced file.png
439
- - test/fixtures/text.txt
440
- - test/fixtures/twopage.pdf
441
- - test/fixtures/uppercase.PNG
442
- - test/generator_test.rb
443
- - test/geometry_detector_test.rb
444
- - test/geometry_parser_test.rb
445
- - test/geometry_test.rb
446
- - test/has_attached_file_test.rb
447
- - test/helper.rb
448
- - test/integration_test.rb
449
- - test/interpolations_test.rb
450
- - test/io_adapters/abstract_adapter_test.rb
451
- - test/io_adapters/attachment_adapter_test.rb
452
- - test/io_adapters/data_uri_adapter_test.rb
453
- - test/io_adapters/empty_string_adapter_test.rb
454
- - test/io_adapters/file_adapter_test.rb
455
- - test/io_adapters/http_url_proxy_adapter_test.rb
456
- - test/io_adapters/identity_adapter_test.rb
457
- - test/io_adapters/nil_adapter_test.rb
458
- - test/io_adapters/registry_test.rb
459
- - test/io_adapters/stringio_adapter_test.rb
460
- - test/io_adapters/uploaded_file_adapter_test.rb
461
- - test/io_adapters/uri_adapter_test.rb
462
- - test/matchers/have_attached_file_matcher_test.rb
463
- - test/matchers/validate_attachment_content_type_matcher_test.rb
464
- - test/matchers/validate_attachment_presence_matcher_test.rb
465
- - test/matchers/validate_attachment_size_matcher_test.rb
466
- - test/meta_class_test.rb
467
- - test/paperclip_missing_attachment_styles_test.rb
468
- - test/paperclip_test.rb
469
- - test/plural_cache_test.rb
470
- - test/processor_test.rb
471
- - test/rake_test.rb
472
- - test/schema_test.rb
473
- - test/storage/filesystem_test.rb
474
- - test/storage/fog_test.rb
475
- - test/storage/s3_live_test.rb
476
- - test/storage/s3_test.rb
477
- - test/style_test.rb
478
- - test/support/mock_attachment.rb
479
- - test/support/mock_interpolator.rb
480
- - test/support/mock_model.rb
481
- - test/support/mock_url_generator_builder.rb
482
- - test/tempfile_factory_test.rb
483
- - test/thumbnail_test.rb
484
- - test/url_generator_test.rb
485
- - test/validators/attachment_content_type_validator_test.rb
486
- - test/validators/attachment_presence_validator_test.rb
487
- - test/validators/attachment_size_validator_test.rb
488
- - test/validators_test.rb
497
+ - spec/database.yml
498
+ - spec/paperclip/attachment_definitions_spec.rb
499
+ - spec/paperclip/attachment_processing_spec.rb
500
+ - spec/paperclip/attachment_registry_spec.rb
501
+ - spec/paperclip/attachment_spec.rb
502
+ - spec/paperclip/content_type_detector_spec.rb
503
+ - spec/paperclip/deprecations_spec.rb
504
+ - spec/paperclip/file_command_content_type_detector_spec.rb
505
+ - spec/paperclip/filename_cleaner_spec.rb
506
+ - spec/paperclip/geometry_detector_spec.rb
507
+ - spec/paperclip/geometry_parser_spec.rb
508
+ - spec/paperclip/geometry_spec.rb
509
+ - spec/paperclip/glue_spec.rb
510
+ - spec/paperclip/has_attached_file_spec.rb
511
+ - spec/paperclip/integration_spec.rb
512
+ - spec/paperclip/interpolations_spec.rb
513
+ - spec/paperclip/io_adapters/abstract_adapter_spec.rb
514
+ - spec/paperclip/io_adapters/attachment_adapter_spec.rb
515
+ - spec/paperclip/io_adapters/data_uri_adapter_spec.rb
516
+ - spec/paperclip/io_adapters/empty_string_adapter_spec.rb
517
+ - spec/paperclip/io_adapters/file_adapter_spec.rb
518
+ - spec/paperclip/io_adapters/http_url_proxy_adapter_spec.rb
519
+ - spec/paperclip/io_adapters/identity_adapter_spec.rb
520
+ - spec/paperclip/io_adapters/nil_adapter_spec.rb
521
+ - spec/paperclip/io_adapters/registry_spec.rb
522
+ - spec/paperclip/io_adapters/stringio_adapter_spec.rb
523
+ - spec/paperclip/io_adapters/uploaded_file_adapter_spec.rb
524
+ - spec/paperclip/io_adapters/uri_adapter_spec.rb
525
+ - spec/paperclip/matchers/have_attached_file_matcher_spec.rb
526
+ - spec/paperclip/matchers/validate_attachment_content_type_matcher_spec.rb
527
+ - spec/paperclip/matchers/validate_attachment_presence_matcher_spec.rb
528
+ - spec/paperclip/matchers/validate_attachment_size_matcher_spec.rb
529
+ - spec/paperclip/media_type_spoof_detector_spec.rb
530
+ - spec/paperclip/meta_class_spec.rb
531
+ - spec/paperclip/paperclip_missing_attachment_styles_spec.rb
532
+ - spec/paperclip/paperclip_spec.rb
533
+ - spec/paperclip/plural_cache_spec.rb
534
+ - spec/paperclip/processor_helpers_spec.rb
535
+ - spec/paperclip/processor_spec.rb
536
+ - spec/paperclip/rails_environment_spec.rb
537
+ - spec/paperclip/rake_spec.rb
538
+ - spec/paperclip/schema_spec.rb
539
+ - spec/paperclip/storage/filesystem_spec.rb
540
+ - spec/paperclip/storage/fog_spec.rb
541
+ - spec/paperclip/storage/s3_live_spec.rb
542
+ - spec/paperclip/storage/s3_spec.rb
543
+ - spec/paperclip/style_spec.rb
544
+ - spec/paperclip/tempfile_factory_spec.rb
545
+ - spec/paperclip/thumbnail_spec.rb
546
+ - spec/paperclip/url_generator_spec.rb
547
+ - spec/paperclip/validators/attachment_content_type_validator_spec.rb
548
+ - spec/paperclip/validators/attachment_file_name_validator_spec.rb
549
+ - spec/paperclip/validators/attachment_presence_validator_spec.rb
550
+ - spec/paperclip/validators/attachment_size_validator_spec.rb
551
+ - spec/paperclip/validators/media_type_spoof_detection_validator_spec.rb
552
+ - spec/paperclip/validators_spec.rb
553
+ - spec/spec_helper.rb
554
+ - spec/support/assertions.rb
555
+ - spec/support/deprecations.rb
556
+ - spec/support/fake_model.rb
557
+ - spec/support/fake_rails.rb
558
+ - spec/support/fixtures/12k.png
559
+ - spec/support/fixtures/50x50.png
560
+ - spec/support/fixtures/5k.png
561
+ - spec/support/fixtures/animated
562
+ - spec/support/fixtures/animated.gif
563
+ - spec/support/fixtures/animated.unknown
564
+ - spec/support/fixtures/bad.png
565
+ - spec/support/fixtures/empty.html
566
+ - spec/support/fixtures/empty.xlsx
567
+ - spec/support/fixtures/fog.yml
568
+ - spec/support/fixtures/rotated.jpg
569
+ - spec/support/fixtures/s3.yml
570
+ - spec/support/fixtures/spaced file.jpg
571
+ - spec/support/fixtures/spaced file.png
572
+ - spec/support/fixtures/text.txt
573
+ - spec/support/fixtures/twopage.pdf
574
+ - spec/support/fixtures/uppercase.PNG
575
+ - spec/support/matchers/accept.rb
576
+ - spec/support/matchers/exist.rb
577
+ - spec/support/matchers/have_column.rb
578
+ - spec/support/mock_attachment.rb
579
+ - spec/support/mock_interpolator.rb
580
+ - spec/support/mock_url_generator_builder.rb
581
+ - spec/support/model_reconstruction.rb
582
+ - spec/support/rails_helpers.rb
583
+ - spec/support/test_data.rb
584
+ - spec/support/version_helper.rb
489
585
  homepage: https://github.com/thoughtbot/paperclip
490
586
  licenses:
491
587
  - MIT
@@ -496,18 +592,18 @@ require_paths:
496
592
  - lib
497
593
  required_ruby_version: !ruby/object:Gem::Requirement
498
594
  requirements:
499
- - - '>='
595
+ - - ">="
500
596
  - !ruby/object:Gem::Version
501
597
  version: 1.9.2
502
598
  required_rubygems_version: !ruby/object:Gem::Requirement
503
599
  requirements:
504
- - - '>='
600
+ - - ">="
505
601
  - !ruby/object:Gem::Version
506
602
  version: '0'
507
603
  requirements:
508
604
  - ImageMagick
509
- rubyforge_project: paperclip
510
- rubygems_version: 2.0.14
605
+ rubyforge_project:
606
+ rubygems_version: 2.6.2
511
607
  signing_key:
512
608
  specification_version: 4
513
609
  summary: File attachments as attributes for ActiveRecord
@@ -529,72 +625,91 @@ test_files:
529
625
  - features/support/paths.rb
530
626
  - features/support/rails.rb
531
627
  - features/support/selectors.rb
532
- - test/attachment_definitions_test.rb
533
- - test/attachment_processing_test.rb
534
- - test/attachment_registry_test.rb
535
- - test/attachment_test.rb
536
- - test/content_type_detector_test.rb
537
- - test/database.yml
538
- - test/file_command_content_type_detector_test.rb
539
- - test/filename_cleaner_test.rb
540
- - test/fixtures/12k.png
541
- - test/fixtures/50x50.png
542
- - test/fixtures/5k.png
543
- - test/fixtures/animated
544
- - test/fixtures/animated.gif
545
- - test/fixtures/animated.unknown
546
- - test/fixtures/bad.png
547
- - test/fixtures/fog.yml
548
- - test/fixtures/rotated.jpg
549
- - test/fixtures/s3.yml
550
- - test/fixtures/spaced file.png
551
- - test/fixtures/text.txt
552
- - test/fixtures/twopage.pdf
553
- - test/fixtures/uppercase.PNG
554
- - test/generator_test.rb
555
- - test/geometry_detector_test.rb
556
- - test/geometry_parser_test.rb
557
- - test/geometry_test.rb
558
- - test/has_attached_file_test.rb
559
- - test/helper.rb
560
- - test/integration_test.rb
561
- - test/interpolations_test.rb
562
- - test/io_adapters/abstract_adapter_test.rb
563
- - test/io_adapters/attachment_adapter_test.rb
564
- - test/io_adapters/data_uri_adapter_test.rb
565
- - test/io_adapters/empty_string_adapter_test.rb
566
- - test/io_adapters/file_adapter_test.rb
567
- - test/io_adapters/http_url_proxy_adapter_test.rb
568
- - test/io_adapters/identity_adapter_test.rb
569
- - test/io_adapters/nil_adapter_test.rb
570
- - test/io_adapters/registry_test.rb
571
- - test/io_adapters/stringio_adapter_test.rb
572
- - test/io_adapters/uploaded_file_adapter_test.rb
573
- - test/io_adapters/uri_adapter_test.rb
574
- - test/matchers/have_attached_file_matcher_test.rb
575
- - test/matchers/validate_attachment_content_type_matcher_test.rb
576
- - test/matchers/validate_attachment_presence_matcher_test.rb
577
- - test/matchers/validate_attachment_size_matcher_test.rb
578
- - test/meta_class_test.rb
579
- - test/paperclip_missing_attachment_styles_test.rb
580
- - test/paperclip_test.rb
581
- - test/plural_cache_test.rb
582
- - test/processor_test.rb
583
- - test/rake_test.rb
584
- - test/schema_test.rb
585
- - test/storage/filesystem_test.rb
586
- - test/storage/fog_test.rb
587
- - test/storage/s3_live_test.rb
588
- - test/storage/s3_test.rb
589
- - test/style_test.rb
590
- - test/support/mock_attachment.rb
591
- - test/support/mock_interpolator.rb
592
- - test/support/mock_model.rb
593
- - test/support/mock_url_generator_builder.rb
594
- - test/tempfile_factory_test.rb
595
- - test/thumbnail_test.rb
596
- - test/url_generator_test.rb
597
- - test/validators/attachment_content_type_validator_test.rb
598
- - test/validators/attachment_presence_validator_test.rb
599
- - test/validators/attachment_size_validator_test.rb
600
- - test/validators_test.rb
628
+ - spec/database.yml
629
+ - spec/paperclip/attachment_definitions_spec.rb
630
+ - spec/paperclip/attachment_processing_spec.rb
631
+ - spec/paperclip/attachment_registry_spec.rb
632
+ - spec/paperclip/attachment_spec.rb
633
+ - spec/paperclip/content_type_detector_spec.rb
634
+ - spec/paperclip/deprecations_spec.rb
635
+ - spec/paperclip/file_command_content_type_detector_spec.rb
636
+ - spec/paperclip/filename_cleaner_spec.rb
637
+ - spec/paperclip/geometry_detector_spec.rb
638
+ - spec/paperclip/geometry_parser_spec.rb
639
+ - spec/paperclip/geometry_spec.rb
640
+ - spec/paperclip/glue_spec.rb
641
+ - spec/paperclip/has_attached_file_spec.rb
642
+ - spec/paperclip/integration_spec.rb
643
+ - spec/paperclip/interpolations_spec.rb
644
+ - spec/paperclip/io_adapters/abstract_adapter_spec.rb
645
+ - spec/paperclip/io_adapters/attachment_adapter_spec.rb
646
+ - spec/paperclip/io_adapters/data_uri_adapter_spec.rb
647
+ - spec/paperclip/io_adapters/empty_string_adapter_spec.rb
648
+ - spec/paperclip/io_adapters/file_adapter_spec.rb
649
+ - spec/paperclip/io_adapters/http_url_proxy_adapter_spec.rb
650
+ - spec/paperclip/io_adapters/identity_adapter_spec.rb
651
+ - spec/paperclip/io_adapters/nil_adapter_spec.rb
652
+ - spec/paperclip/io_adapters/registry_spec.rb
653
+ - spec/paperclip/io_adapters/stringio_adapter_spec.rb
654
+ - spec/paperclip/io_adapters/uploaded_file_adapter_spec.rb
655
+ - spec/paperclip/io_adapters/uri_adapter_spec.rb
656
+ - spec/paperclip/matchers/have_attached_file_matcher_spec.rb
657
+ - spec/paperclip/matchers/validate_attachment_content_type_matcher_spec.rb
658
+ - spec/paperclip/matchers/validate_attachment_presence_matcher_spec.rb
659
+ - spec/paperclip/matchers/validate_attachment_size_matcher_spec.rb
660
+ - spec/paperclip/media_type_spoof_detector_spec.rb
661
+ - spec/paperclip/meta_class_spec.rb
662
+ - spec/paperclip/paperclip_missing_attachment_styles_spec.rb
663
+ - spec/paperclip/paperclip_spec.rb
664
+ - spec/paperclip/plural_cache_spec.rb
665
+ - spec/paperclip/processor_helpers_spec.rb
666
+ - spec/paperclip/processor_spec.rb
667
+ - spec/paperclip/rails_environment_spec.rb
668
+ - spec/paperclip/rake_spec.rb
669
+ - spec/paperclip/schema_spec.rb
670
+ - spec/paperclip/storage/filesystem_spec.rb
671
+ - spec/paperclip/storage/fog_spec.rb
672
+ - spec/paperclip/storage/s3_live_spec.rb
673
+ - spec/paperclip/storage/s3_spec.rb
674
+ - spec/paperclip/style_spec.rb
675
+ - spec/paperclip/tempfile_factory_spec.rb
676
+ - spec/paperclip/thumbnail_spec.rb
677
+ - spec/paperclip/url_generator_spec.rb
678
+ - spec/paperclip/validators/attachment_content_type_validator_spec.rb
679
+ - spec/paperclip/validators/attachment_file_name_validator_spec.rb
680
+ - spec/paperclip/validators/attachment_presence_validator_spec.rb
681
+ - spec/paperclip/validators/attachment_size_validator_spec.rb
682
+ - spec/paperclip/validators/media_type_spoof_detection_validator_spec.rb
683
+ - spec/paperclip/validators_spec.rb
684
+ - spec/spec_helper.rb
685
+ - spec/support/assertions.rb
686
+ - spec/support/deprecations.rb
687
+ - spec/support/fake_model.rb
688
+ - spec/support/fake_rails.rb
689
+ - spec/support/fixtures/12k.png
690
+ - spec/support/fixtures/50x50.png
691
+ - spec/support/fixtures/5k.png
692
+ - spec/support/fixtures/animated
693
+ - spec/support/fixtures/animated.gif
694
+ - spec/support/fixtures/animated.unknown
695
+ - spec/support/fixtures/bad.png
696
+ - spec/support/fixtures/empty.html
697
+ - spec/support/fixtures/empty.xlsx
698
+ - spec/support/fixtures/fog.yml
699
+ - spec/support/fixtures/rotated.jpg
700
+ - spec/support/fixtures/s3.yml
701
+ - spec/support/fixtures/spaced file.jpg
702
+ - spec/support/fixtures/spaced file.png
703
+ - spec/support/fixtures/text.txt
704
+ - spec/support/fixtures/twopage.pdf
705
+ - spec/support/fixtures/uppercase.PNG
706
+ - spec/support/matchers/accept.rb
707
+ - spec/support/matchers/exist.rb
708
+ - spec/support/matchers/have_column.rb
709
+ - spec/support/mock_attachment.rb
710
+ - spec/support/mock_interpolator.rb
711
+ - spec/support/mock_url_generator_builder.rb
712
+ - spec/support/model_reconstruction.rb
713
+ - spec/support/rails_helpers.rb
714
+ - spec/support/test_data.rb
715
+ - spec/support/version_helper.rb