kt-paperclip 5.4.0 → 6.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/issue_template.md +3 -0
- data/.hound.yml +27 -32
- data/.travis.yml +23 -2
- data/Appraisals +17 -0
- data/Gemfile +9 -7
- data/NEWS +21 -0
- data/README.md +27 -37
- data/Rakefile +29 -21
- data/UPGRADING +3 -3
- data/features/basic_integration.feature +4 -0
- data/features/migration.feature +10 -51
- data/features/step_definitions/attachment_steps.rb +12 -12
- data/features/step_definitions/html_steps.rb +5 -5
- data/features/step_definitions/rails_steps.rb +29 -9
- data/features/step_definitions/s3_steps.rb +3 -3
- data/features/step_definitions/web_steps.rb +5 -6
- data/features/support/env.rb +4 -4
- data/features/support/fakeweb.rb +3 -5
- data/features/support/file_helpers.rb +2 -2
- data/features/support/paths.rb +4 -4
- data/features/support/rails.rb +7 -7
- data/features/support/selectors.rb +1 -1
- data/gemfiles/4.2.gemfile +7 -4
- data/gemfiles/5.0.gemfile +7 -4
- data/gemfiles/5.1.gemfile +20 -0
- data/gemfiles/5.2.gemfile +20 -0
- data/gemfiles/6.0.gemfile +20 -0
- data/lib/generators/paperclip/paperclip_generator.rb +6 -8
- data/lib/paperclip/attachment.rb +102 -104
- data/lib/paperclip/attachment_registry.rb +2 -2
- data/lib/paperclip/file_command_content_type_detector.rb +1 -3
- data/lib/paperclip/filename_cleaner.rb +0 -1
- data/lib/paperclip/geometry.rb +18 -19
- data/lib/paperclip/geometry_detector_factory.rb +13 -16
- data/lib/paperclip/geometry_parser_factory.rb +5 -5
- data/lib/paperclip/glue.rb +3 -3
- data/lib/paperclip/has_attached_file.rb +5 -4
- data/lib/paperclip/helpers.rb +3 -3
- data/lib/paperclip/interpolations.rb +42 -38
- data/lib/paperclip/io_adapters/abstract_adapter.rb +16 -14
- data/lib/paperclip/io_adapters/attachment_adapter.rb +12 -6
- data/lib/paperclip/io_adapters/data_uri_adapter.rb +1 -1
- data/lib/paperclip/io_adapters/file_adapter.rb +1 -3
- data/lib/paperclip/io_adapters/http_url_proxy_adapter.rb +3 -3
- data/lib/paperclip/io_adapters/identity_adapter.rb +1 -2
- data/lib/paperclip/io_adapters/registry.rb +1 -1
- data/lib/paperclip/io_adapters/stringio_adapter.rb +1 -1
- data/lib/paperclip/io_adapters/uploaded_file_adapter.rb +6 -8
- data/lib/paperclip/io_adapters/uri_adapter.rb +9 -7
- data/lib/paperclip/logger.rb +1 -1
- data/lib/paperclip/matchers/have_attached_file_matcher.rb +4 -4
- data/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb +19 -18
- data/lib/paperclip/matchers/validate_attachment_presence_matcher.rb +4 -4
- data/lib/paperclip/matchers/validate_attachment_size_matcher.rb +11 -10
- data/lib/paperclip/matchers.rb +4 -4
- data/lib/paperclip/media_type_spoof_detector.rb +13 -13
- data/lib/paperclip/missing_attachment_styles.rb +11 -6
- data/lib/paperclip/processor.rb +13 -6
- data/lib/paperclip/processor_helpers.rb +3 -1
- data/lib/paperclip/rails_environment.rb +1 -5
- data/lib/paperclip/railtie.rb +5 -5
- data/lib/paperclip/schema.rb +18 -14
- data/lib/paperclip/storage/filesystem.rb +5 -7
- data/lib/paperclip/storage/fog.rb +36 -32
- data/lib/paperclip/storage/s3.rb +67 -75
- data/lib/paperclip/style.rb +3 -6
- data/lib/paperclip/tempfile.rb +4 -5
- data/lib/paperclip/tempfile_factory.rb +0 -1
- data/lib/paperclip/thumbnail.rb +11 -11
- data/lib/paperclip/url_generator.rb +5 -12
- data/lib/paperclip/validators/attachment_content_type_validator.rb +3 -3
- data/lib/paperclip/validators/attachment_file_name_validator.rb +5 -10
- data/lib/paperclip/validators/attachment_file_type_ignorance_validator.rb +1 -2
- data/lib/paperclip/validators/attachment_presence_validator.rb +3 -5
- data/lib/paperclip/validators/attachment_size_validator.rb +8 -8
- data/lib/paperclip/validators/media_type_spoof_detection_validator.rb +3 -1
- data/lib/paperclip/validators.rb +12 -13
- data/lib/paperclip/version.rb +1 -3
- data/lib/paperclip.rb +49 -48
- data/lib/tasks/paperclip.rake +23 -24
- data/paperclip.gemspec +29 -33
- data/shoulda_macros/paperclip.rb +16 -16
- data/spec/paperclip/attachment_definitions_spec.rb +5 -5
- data/spec/paperclip/attachment_processing_spec.rb +22 -23
- data/spec/paperclip/attachment_registry_spec.rb +15 -15
- data/spec/paperclip/attachment_spec.rb +238 -196
- data/spec/paperclip/content_type_detector_spec.rb +11 -12
- data/spec/paperclip/file_command_content_type_detector_spec.rb +10 -10
- data/spec/paperclip/filename_cleaner_spec.rb +3 -4
- data/spec/paperclip/geometry_detector_spec.rb +7 -8
- data/spec/paperclip/geometry_parser_spec.rb +31 -31
- data/spec/paperclip/geometry_spec.rb +24 -24
- data/spec/paperclip/glue_spec.rb +3 -5
- data/spec/paperclip/has_attached_file_spec.rb +46 -126
- data/spec/paperclip/integration_spec.rb +111 -77
- data/spec/paperclip/interpolations_spec.rb +101 -93
- data/spec/paperclip/io_adapters/abstract_adapter_spec.rb +41 -13
- data/spec/paperclip/io_adapters/attachment_adapter_spec.rb +8 -10
- data/spec/paperclip/io_adapters/data_uri_adapter_spec.rb +13 -14
- data/spec/paperclip/io_adapters/empty_string_adapter_spec.rb +4 -4
- data/spec/paperclip/io_adapters/file_adapter_spec.rb +12 -12
- data/spec/paperclip/io_adapters/http_url_proxy_adapter_spec.rb +42 -26
- data/spec/paperclip/io_adapters/identity_adapter_spec.rb +1 -1
- data/spec/paperclip/io_adapters/nil_adapter_spec.rb +2 -2
- data/spec/paperclip/io_adapters/registry_spec.rb +4 -4
- data/spec/paperclip/io_adapters/stringio_adapter_spec.rb +10 -10
- data/spec/paperclip/io_adapters/uploaded_file_adapter_spec.rb +6 -6
- data/spec/paperclip/io_adapters/uri_adapter_spec.rb +80 -31
- data/spec/paperclip/matchers/have_attached_file_matcher_spec.rb +3 -3
- data/spec/paperclip/matchers/validate_attachment_content_type_matcher_spec.rb +4 -5
- data/spec/paperclip/matchers/validate_attachment_presence_matcher_spec.rb +4 -4
- data/spec/paperclip/matchers/validate_attachment_size_matcher_spec.rb +4 -4
- data/spec/paperclip/media_type_spoof_detector_spec.rb +50 -24
- data/spec/paperclip/meta_class_spec.rb +3 -3
- data/spec/paperclip/paperclip_missing_attachment_styles_spec.rb +28 -24
- data/spec/paperclip/paperclip_spec.rb +15 -11
- data/spec/paperclip/plural_cache_spec.rb +8 -8
- data/spec/paperclip/processor_helpers_spec.rb +35 -35
- data/spec/paperclip/processor_spec.rb +8 -8
- data/spec/paperclip/rails_environment_spec.rb +7 -10
- data/spec/paperclip/rake_spec.rb +39 -39
- data/spec/paperclip/schema_spec.rb +57 -53
- data/spec/paperclip/storage/filesystem_spec.rb +6 -6
- data/spec/paperclip/storage/fog_spec.rb +76 -82
- data/spec/paperclip/storage/s3_live_spec.rb +22 -22
- data/spec/paperclip/storage/s3_spec.rb +585 -583
- data/spec/paperclip/style_spec.rb +67 -71
- data/spec/paperclip/tempfile_factory_spec.rb +5 -5
- data/spec/paperclip/thumbnail_spec.rb +68 -67
- data/spec/paperclip/url_generator_spec.rb +18 -29
- data/spec/paperclip/validators/attachment_content_type_validator_spec.rb +27 -27
- data/spec/paperclip/validators/attachment_file_name_validator_spec.rb +15 -16
- data/spec/paperclip/validators/attachment_presence_validator_spec.rb +5 -5
- data/spec/paperclip/validators/attachment_size_validator_spec.rb +21 -21
- data/spec/paperclip/validators/media_type_spoof_detection_validator_spec.rb +9 -13
- data/spec/paperclip/validators_spec.rb +40 -40
- data/spec/spec_helper.rb +21 -23
- data/spec/support/assertions.rb +8 -6
- data/spec/support/fake_model.rb +1 -2
- data/spec/support/fake_rails.rb +1 -1
- data/spec/support/matchers/exist.rb +1 -1
- data/spec/support/matchers/have_column.rb +1 -1
- data/spec/support/mock_url_generator_builder.rb +2 -3
- data/spec/support/model_reconstruction.rb +16 -12
- data/spec/support/reporting.rb +1 -1
- data/spec/support/test_data.rb +2 -2
- metadata +49 -105
- data/lib/kt-paperclip.rb +0 -1
- data/spec/support/conditional_filter_helper.rb +0 -5
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kt-paperclip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 6.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Surendra Singhi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|
@@ -17,9 +17,6 @@ dependencies:
|
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 4.2.0
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '6.0'
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,9 +24,6 @@ dependencies:
|
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 4.2.0
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '6.0'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: activesupport
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -37,9 +31,6 @@ dependencies:
|
|
37
31
|
- - ">="
|
38
32
|
- !ruby/object:Gem::Version
|
39
33
|
version: 4.2.0
|
40
|
-
- - "<"
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '6.0'
|
43
34
|
type: :runtime
|
44
35
|
prerelease: false
|
45
36
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -47,51 +38,48 @@ dependencies:
|
|
47
38
|
- - ">="
|
48
39
|
- !ruby/object:Gem::Version
|
49
40
|
version: 4.2.0
|
50
|
-
- - "<"
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '6.0'
|
53
41
|
- !ruby/object:Gem::Dependency
|
54
|
-
name:
|
42
|
+
name: mime-types
|
55
43
|
requirement: !ruby/object:Gem::Requirement
|
56
44
|
requirements:
|
57
|
-
- - "
|
45
|
+
- - ">="
|
58
46
|
- !ruby/object:Gem::Version
|
59
|
-
version: 0
|
47
|
+
version: '0'
|
60
48
|
type: :runtime
|
61
49
|
prerelease: false
|
62
50
|
version_requirements: !ruby/object:Gem::Requirement
|
63
51
|
requirements:
|
64
|
-
- - "
|
52
|
+
- - ">="
|
65
53
|
- !ruby/object:Gem::Version
|
66
|
-
version: 0
|
54
|
+
version: '0'
|
67
55
|
- !ruby/object:Gem::Dependency
|
68
|
-
name:
|
56
|
+
name: mimemagic
|
69
57
|
requirement: !ruby/object:Gem::Requirement
|
70
58
|
requirements:
|
71
|
-
- - "
|
59
|
+
- - "~>"
|
72
60
|
- !ruby/object:Gem::Version
|
73
|
-
version:
|
61
|
+
version: 0.3.0
|
74
62
|
type: :runtime
|
75
63
|
prerelease: false
|
76
64
|
version_requirements: !ruby/object:Gem::Requirement
|
77
65
|
requirements:
|
78
|
-
- - "
|
66
|
+
- - "~>"
|
79
67
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
68
|
+
version: 0.3.0
|
81
69
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
70
|
+
name: terrapin
|
83
71
|
requirement: !ruby/object:Gem::Requirement
|
84
72
|
requirements:
|
85
73
|
- - "~>"
|
86
74
|
- !ruby/object:Gem::Version
|
87
|
-
version: 0.
|
75
|
+
version: 0.6.0
|
88
76
|
type: :runtime
|
89
77
|
prerelease: false
|
90
78
|
version_requirements: !ruby/object:Gem::Requirement
|
91
79
|
requirements:
|
92
80
|
- - "~>"
|
93
81
|
- !ruby/object:Gem::Version
|
94
|
-
version: 0.
|
82
|
+
version: 0.6.0
|
95
83
|
- !ruby/object:Gem::Dependency
|
96
84
|
name: activerecord
|
97
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -99,9 +87,6 @@ dependencies:
|
|
99
87
|
- - ">="
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: 4.2.0
|
102
|
-
- - "<"
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: '6.0'
|
105
90
|
type: :development
|
106
91
|
prerelease: false
|
107
92
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -109,11 +94,8 @@ dependencies:
|
|
109
94
|
- - ">="
|
110
95
|
- !ruby/object:Gem::Version
|
111
96
|
version: 4.2.0
|
112
|
-
- - "<"
|
113
|
-
- !ruby/object:Gem::Version
|
114
|
-
version: '6.0'
|
115
97
|
- !ruby/object:Gem::Dependency
|
116
|
-
name:
|
98
|
+
name: appraisal
|
117
99
|
requirement: !ruby/object:Gem::Requirement
|
118
100
|
requirements:
|
119
101
|
- - ">="
|
@@ -127,21 +109,21 @@ dependencies:
|
|
127
109
|
- !ruby/object:Gem::Version
|
128
110
|
version: '0'
|
129
111
|
- !ruby/object:Gem::Dependency
|
130
|
-
name:
|
112
|
+
name: aruba
|
131
113
|
requirement: !ruby/object:Gem::Requirement
|
132
114
|
requirements:
|
133
115
|
- - "~>"
|
134
116
|
- !ruby/object:Gem::Version
|
135
|
-
version:
|
117
|
+
version: 0.9.0
|
136
118
|
type: :development
|
137
119
|
prerelease: false
|
138
120
|
version_requirements: !ruby/object:Gem::Requirement
|
139
121
|
requirements:
|
140
122
|
- - "~>"
|
141
123
|
- !ruby/object:Gem::Version
|
142
|
-
version:
|
124
|
+
version: 0.9.0
|
143
125
|
- !ruby/object:Gem::Dependency
|
144
|
-
name:
|
126
|
+
name: aws-sdk-s3
|
145
127
|
requirement: !ruby/object:Gem::Requirement
|
146
128
|
requirements:
|
147
129
|
- - ">="
|
@@ -155,7 +137,7 @@ dependencies:
|
|
155
137
|
- !ruby/object:Gem::Version
|
156
138
|
version: '0'
|
157
139
|
- !ruby/object:Gem::Dependency
|
158
|
-
name:
|
140
|
+
name: bundler
|
159
141
|
requirement: !ruby/object:Gem::Requirement
|
160
142
|
requirements:
|
161
143
|
- - ">="
|
@@ -169,41 +151,7 @@ dependencies:
|
|
169
151
|
- !ruby/object:Gem::Version
|
170
152
|
version: '0'
|
171
153
|
- !ruby/object:Gem::Dependency
|
172
|
-
name:
|
173
|
-
requirement: !ruby/object:Gem::Requirement
|
174
|
-
requirements:
|
175
|
-
- - ">="
|
176
|
-
- !ruby/object:Gem::Version
|
177
|
-
version: 2.3.0
|
178
|
-
- - "<"
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '3.0'
|
181
|
-
type: :development
|
182
|
-
prerelease: false
|
183
|
-
version_requirements: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - ">="
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: 2.3.0
|
188
|
-
- - "<"
|
189
|
-
- !ruby/object:Gem::Version
|
190
|
-
version: '3.0'
|
191
|
-
- !ruby/object:Gem::Dependency
|
192
|
-
name: bourne
|
193
|
-
requirement: !ruby/object:Gem::Requirement
|
194
|
-
requirements:
|
195
|
-
- - "<"
|
196
|
-
- !ruby/object:Gem::Version
|
197
|
-
version: '1.6'
|
198
|
-
type: :development
|
199
|
-
prerelease: false
|
200
|
-
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
requirements:
|
202
|
-
- - "<"
|
203
|
-
- !ruby/object:Gem::Version
|
204
|
-
version: '1.6'
|
205
|
-
- !ruby/object:Gem::Dependency
|
206
|
-
name: cucumber-rails
|
154
|
+
name: capybara
|
207
155
|
requirement: !ruby/object:Gem::Requirement
|
208
156
|
requirements:
|
209
157
|
- - ">="
|
@@ -231,21 +179,21 @@ dependencies:
|
|
231
179
|
- !ruby/object:Gem::Version
|
232
180
|
version: 4.0.3
|
233
181
|
- !ruby/object:Gem::Dependency
|
234
|
-
name:
|
182
|
+
name: cucumber-rails
|
235
183
|
requirement: !ruby/object:Gem::Requirement
|
236
184
|
requirements:
|
237
|
-
- - "
|
185
|
+
- - ">="
|
238
186
|
- !ruby/object:Gem::Version
|
239
|
-
version: 0
|
187
|
+
version: '0'
|
240
188
|
type: :development
|
241
189
|
prerelease: false
|
242
190
|
version_requirements: !ruby/object:Gem::Requirement
|
243
191
|
requirements:
|
244
|
-
- - "
|
192
|
+
- - ">="
|
245
193
|
- !ruby/object:Gem::Version
|
246
|
-
version: 0
|
194
|
+
version: '0'
|
247
195
|
- !ruby/object:Gem::Dependency
|
248
|
-
name:
|
196
|
+
name: fakeweb
|
249
197
|
requirement: !ruby/object:Gem::Requirement
|
250
198
|
requirements:
|
251
199
|
- - ">="
|
@@ -259,7 +207,7 @@ dependencies:
|
|
259
207
|
- !ruby/object:Gem::Version
|
260
208
|
version: '0'
|
261
209
|
- !ruby/object:Gem::Dependency
|
262
|
-
name:
|
210
|
+
name: fog-aws
|
263
211
|
requirement: !ruby/object:Gem::Requirement
|
264
212
|
requirements:
|
265
213
|
- - ">="
|
@@ -273,7 +221,7 @@ dependencies:
|
|
273
221
|
- !ruby/object:Gem::Version
|
274
222
|
version: '0'
|
275
223
|
- !ruby/object:Gem::Dependency
|
276
|
-
name:
|
224
|
+
name: fog-local
|
277
225
|
requirement: !ruby/object:Gem::Requirement
|
278
226
|
requirements:
|
279
227
|
- - ">="
|
@@ -287,7 +235,7 @@ dependencies:
|
|
287
235
|
- !ruby/object:Gem::Version
|
288
236
|
version: '0'
|
289
237
|
- !ruby/object:Gem::Dependency
|
290
|
-
name:
|
238
|
+
name: generator_spec
|
291
239
|
requirement: !ruby/object:Gem::Requirement
|
292
240
|
requirements:
|
293
241
|
- - ">="
|
@@ -301,7 +249,7 @@ dependencies:
|
|
301
249
|
- !ruby/object:Gem::Version
|
302
250
|
version: '0'
|
303
251
|
- !ruby/object:Gem::Dependency
|
304
|
-
name:
|
252
|
+
name: launchy
|
305
253
|
requirement: !ruby/object:Gem::Requirement
|
306
254
|
requirements:
|
307
255
|
- - ">="
|
@@ -315,7 +263,7 @@ dependencies:
|
|
315
263
|
- !ruby/object:Gem::Version
|
316
264
|
version: '0'
|
317
265
|
- !ruby/object:Gem::Dependency
|
318
|
-
name:
|
266
|
+
name: nokogiri
|
319
267
|
requirement: !ruby/object:Gem::Requirement
|
320
268
|
requirements:
|
321
269
|
- - ">="
|
@@ -329,7 +277,7 @@ dependencies:
|
|
329
277
|
- !ruby/object:Gem::Version
|
330
278
|
version: '0'
|
331
279
|
- !ruby/object:Gem::Dependency
|
332
|
-
name:
|
280
|
+
name: railties
|
333
281
|
requirement: !ruby/object:Gem::Requirement
|
334
282
|
requirements:
|
335
283
|
- - ">="
|
@@ -343,7 +291,7 @@ dependencies:
|
|
343
291
|
- !ruby/object:Gem::Version
|
344
292
|
version: '0'
|
345
293
|
- !ruby/object:Gem::Dependency
|
346
|
-
name:
|
294
|
+
name: rake
|
347
295
|
requirement: !ruby/object:Gem::Requirement
|
348
296
|
requirements:
|
349
297
|
- - ">="
|
@@ -357,27 +305,21 @@ dependencies:
|
|
357
305
|
- !ruby/object:Gem::Version
|
358
306
|
version: '0'
|
359
307
|
- !ruby/object:Gem::Dependency
|
360
|
-
name:
|
308
|
+
name: rspec
|
361
309
|
requirement: !ruby/object:Gem::Requirement
|
362
310
|
requirements:
|
363
|
-
- - "
|
364
|
-
- !ruby/object:Gem::Version
|
365
|
-
version: 4.2.0
|
366
|
-
- - "<"
|
311
|
+
- - "~>"
|
367
312
|
- !ruby/object:Gem::Version
|
368
|
-
version: '
|
313
|
+
version: '3.0'
|
369
314
|
type: :development
|
370
315
|
prerelease: false
|
371
316
|
version_requirements: !ruby/object:Gem::Requirement
|
372
317
|
requirements:
|
373
|
-
- - "
|
374
|
-
- !ruby/object:Gem::Version
|
375
|
-
version: 4.2.0
|
376
|
-
- - "<"
|
318
|
+
- - "~>"
|
377
319
|
- !ruby/object:Gem::Version
|
378
|
-
version: '
|
320
|
+
version: '3.0'
|
379
321
|
- !ruby/object:Gem::Dependency
|
380
|
-
name:
|
322
|
+
name: shoulda
|
381
323
|
requirement: !ruby/object:Gem::Requirement
|
382
324
|
requirements:
|
383
325
|
- - ">="
|
@@ -412,6 +354,7 @@ extensions: []
|
|
412
354
|
extra_rdoc_files: []
|
413
355
|
files:
|
414
356
|
- ".codeclimate.yml"
|
357
|
+
- ".github/issue_template.md"
|
415
358
|
- ".gitignore"
|
416
359
|
- ".hound.yml"
|
417
360
|
- ".rubocop.yml"
|
@@ -444,10 +387,12 @@ files:
|
|
444
387
|
- features/support/selectors.rb
|
445
388
|
- gemfiles/4.2.gemfile
|
446
389
|
- gemfiles/5.0.gemfile
|
390
|
+
- gemfiles/5.1.gemfile
|
391
|
+
- gemfiles/5.2.gemfile
|
392
|
+
- gemfiles/6.0.gemfile
|
447
393
|
- lib/generators/paperclip/USAGE
|
448
394
|
- lib/generators/paperclip/paperclip_generator.rb
|
449
395
|
- lib/generators/paperclip/templates/paperclip_migration.rb.erb
|
450
|
-
- lib/kt-paperclip.rb
|
451
396
|
- lib/paperclip.rb
|
452
397
|
- lib/paperclip/attachment.rb
|
453
398
|
- lib/paperclip/attachment_registry.rb
|
@@ -568,7 +513,6 @@ files:
|
|
568
513
|
- spec/paperclip/validators_spec.rb
|
569
514
|
- spec/spec_helper.rb
|
570
515
|
- spec/support/assertions.rb
|
571
|
-
- spec/support/conditional_filter_helper.rb
|
572
516
|
- spec/support/fake_model.rb
|
573
517
|
- spec/support/fake_rails.rb
|
574
518
|
- spec/support/fixtures/12k.png
|
@@ -598,7 +542,7 @@ files:
|
|
598
542
|
- spec/support/reporting.rb
|
599
543
|
- spec/support/test_data.rb
|
600
544
|
- spec/support/version_helper.rb
|
601
|
-
homepage: https://github.com/kreeti/
|
545
|
+
homepage: https://github.com/kreeti/paperclip
|
602
546
|
licenses:
|
603
547
|
- MIT
|
604
548
|
metadata: {}
|
@@ -607,9 +551,9 @@ post_install_message: |
|
|
607
551
|
# NOTE FOR UPGRADING FROM 4.3.0 OR EARLIER #
|
608
552
|
##################################################
|
609
553
|
|
610
|
-
Paperclip is now compatible with aws-sdk
|
554
|
+
Paperclip is now compatible with aws-sdk-s3.
|
611
555
|
|
612
|
-
If you are using S3 storage, aws-sdk
|
556
|
+
If you are using S3 storage, aws-sdk-s3 requires you to make a few small
|
613
557
|
changes:
|
614
558
|
|
615
559
|
* You must set the `s3_region`
|
@@ -618,7 +562,7 @@ post_install_message: |
|
|
618
562
|
using a hyphen. For example, `:public_read` needs to be changed to
|
619
563
|
`public-read`.
|
620
564
|
|
621
|
-
For a walkthrough of upgrading from 4 to 5 and aws-sdk >= 2.0 you can watch
|
565
|
+
For a walkthrough of upgrading from 4 to *5* (not 6) and aws-sdk >= 2.0 you can watch
|
622
566
|
http://rubythursday.com/episodes/ruby-snack-27-upgrade-paperclip-and-aws-sdk-in-prep-for-rails-5
|
623
567
|
rdoc_options: []
|
624
568
|
require_paths:
|
data/lib/kt-paperclip.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require "paperclip"
|