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.
- checksums.yaml +4 -4
- data/.gitignore +0 -6
- data/.hound.yml +1066 -0
- data/.rubocop.yml +1 -0
- data/.travis.yml +11 -17
- data/Appraisals +6 -14
- data/CONTRIBUTING.md +13 -8
- data/Gemfile +16 -3
- data/LICENSE +1 -3
- data/NEWS +167 -49
- data/README.md +294 -75
- data/RELEASING.md +17 -0
- data/Rakefile +6 -8
- data/features/basic_integration.feature +24 -6
- data/features/step_definitions/attachment_steps.rb +30 -22
- data/features/step_definitions/html_steps.rb +2 -2
- data/features/step_definitions/rails_steps.rb +44 -14
- data/features/step_definitions/web_steps.rb +1 -103
- data/features/support/env.rb +2 -2
- data/features/support/file_helpers.rb +2 -2
- data/features/support/fixtures/gemfile.txt +1 -1
- data/features/support/rails.rb +2 -1
- data/gemfiles/3.2.gemfile +14 -6
- data/gemfiles/4.1.gemfile +19 -0
- data/gemfiles/4.2.gemfile +19 -0
- data/lib/generators/paperclip/paperclip_generator.rb +0 -2
- data/lib/generators/paperclip/templates/paperclip_migration.rb.erb +1 -1
- data/lib/paperclip/attachment.rb +132 -38
- data/lib/paperclip/attachment_registry.rb +1 -1
- data/lib/paperclip/callbacks.rb +11 -1
- data/lib/paperclip/content_type_detector.rb +25 -22
- data/lib/paperclip/deprecations.rb +42 -0
- data/lib/paperclip/errors.rb +5 -0
- data/lib/paperclip/file_command_content_type_detector.rb +6 -8
- data/lib/paperclip/geometry_detector_factory.rb +3 -1
- data/lib/paperclip/geometry_parser_factory.rb +1 -1
- data/lib/paperclip/has_attached_file.rb +10 -0
- data/lib/paperclip/interpolations/plural_cache.rb +6 -5
- data/lib/paperclip/interpolations.rb +25 -12
- data/lib/paperclip/io_adapters/abstract_adapter.rb +3 -1
- data/lib/paperclip/io_adapters/attachment_adapter.rb +4 -4
- data/lib/paperclip/io_adapters/data_uri_adapter.rb +5 -10
- data/lib/paperclip/io_adapters/stringio_adapter.rb +6 -10
- data/lib/paperclip/io_adapters/uri_adapter.rb +30 -11
- data/lib/paperclip/locales/de.yml +18 -0
- data/lib/paperclip/locales/en.yml +1 -0
- data/lib/paperclip/locales/es.yml +18 -0
- data/lib/paperclip/locales/ja.yml +18 -0
- data/lib/paperclip/locales/pt-BR.yml +18 -0
- data/lib/paperclip/locales/zh-CN.yml +18 -0
- data/lib/paperclip/locales/zh-HK.yml +18 -0
- data/lib/paperclip/locales/zh-TW.yml +18 -0
- data/lib/paperclip/matchers/have_attached_file_matcher.rb +2 -1
- data/lib/paperclip/matchers/validate_attachment_presence_matcher.rb +2 -1
- data/lib/paperclip/matchers/validate_attachment_size_matcher.rb +2 -1
- data/lib/paperclip/media_type_spoof_detector.rb +89 -0
- data/lib/paperclip/processor.rb +0 -37
- data/lib/paperclip/processor_helpers.rb +50 -0
- data/lib/paperclip/rails_environment.rb +25 -0
- data/lib/paperclip/schema.rb +10 -2
- data/lib/paperclip/storage/filesystem.rb +1 -1
- data/lib/paperclip/storage/fog.rb +18 -7
- data/lib/paperclip/storage/s3.rb +53 -22
- data/lib/paperclip/style.rb +8 -2
- data/lib/paperclip/tempfile_factory.rb +5 -1
- data/lib/paperclip/thumbnail.rb +12 -10
- data/lib/paperclip/url_generator.rb +11 -3
- data/lib/paperclip/validators/attachment_content_type_validator.rb +4 -0
- data/lib/paperclip/validators/attachment_file_name_validator.rb +80 -0
- data/lib/paperclip/validators/attachment_file_type_ignorance_validator.rb +29 -0
- data/lib/paperclip/validators/attachment_presence_validator.rb +4 -0
- data/lib/paperclip/validators/attachment_size_validator.rb +11 -3
- data/lib/paperclip/validators/media_type_spoof_detection_validator.rb +27 -0
- data/lib/paperclip/validators.rb +10 -3
- data/lib/paperclip/version.rb +1 -1
- data/lib/paperclip.rb +26 -8
- data/lib/tasks/paperclip.rake +17 -2
- data/paperclip.gemspec +16 -14
- data/shoulda_macros/paperclip.rb +0 -1
- data/spec/paperclip/attachment_definitions_spec.rb +13 -0
- data/{test/attachment_processing_test.rb → spec/paperclip/attachment_processing_spec.rb} +20 -21
- data/spec/paperclip/attachment_registry_spec.rb +130 -0
- data/{test/attachment_test.rb → spec/paperclip/attachment_spec.rb} +438 -397
- data/{test/content_type_detector_test.rb → spec/paperclip/content_type_detector_spec.rb} +16 -19
- data/spec/paperclip/deprecations_spec.rb +65 -0
- data/{test/file_command_content_type_detector_test.rb → spec/paperclip/file_command_content_type_detector_spec.rb} +5 -6
- data/spec/paperclip/filename_cleaner_spec.rb +14 -0
- data/spec/paperclip/geometry_detector_spec.rb +39 -0
- data/{test/geometry_parser_test.rb → spec/paperclip/geometry_parser_spec.rb} +27 -27
- data/{test/geometry_test.rb → spec/paperclip/geometry_spec.rb} +50 -52
- data/spec/paperclip/glue_spec.rb +44 -0
- data/{test/has_attached_file_test.rb → spec/paperclip/has_attached_file_spec.rb} +45 -28
- data/{test/integration_test.rb → spec/paperclip/integration_spec.rb} +134 -126
- data/{test/interpolations_test.rb → spec/paperclip/interpolations_spec.rb} +70 -46
- data/spec/paperclip/io_adapters/abstract_adapter_spec.rb +78 -0
- data/{test/io_adapters/attachment_adapter_test.rb → spec/paperclip/io_adapters/attachment_adapter_spec.rb} +27 -29
- data/{test/io_adapters/data_uri_adapter_test.rb → spec/paperclip/io_adapters/data_uri_adapter_spec.rb} +26 -17
- data/spec/paperclip/io_adapters/empty_string_adapter_spec.rb +17 -0
- data/{test/io_adapters/file_adapter_test.rb → spec/paperclip/io_adapters/file_adapter_spec.rb} +36 -40
- data/{test/io_adapters/http_url_proxy_adapter_test.rb → spec/paperclip/io_adapters/http_url_proxy_adapter_spec.rb} +31 -29
- data/spec/paperclip/io_adapters/identity_adapter_spec.rb +8 -0
- data/{test/io_adapters/nil_adapter_test.rb → spec/paperclip/io_adapters/nil_adapter_spec.rb} +7 -7
- data/{test/io_adapters/registry_test.rb → spec/paperclip/io_adapters/registry_spec.rb} +10 -7
- data/{test/io_adapters/stringio_adapter_test.rb → spec/paperclip/io_adapters/stringio_adapter_spec.rb} +20 -17
- data/{test/io_adapters/uploaded_file_adapter_test.rb → spec/paperclip/io_adapters/uploaded_file_adapter_spec.rb} +41 -41
- data/{test/io_adapters/uri_adapter_test.rb → spec/paperclip/io_adapters/uri_adapter_spec.rb} +53 -28
- data/spec/paperclip/matchers/have_attached_file_matcher_spec.rb +19 -0
- data/spec/paperclip/matchers/validate_attachment_content_type_matcher_spec.rb +99 -0
- data/spec/paperclip/matchers/validate_attachment_presence_matcher_spec.rb +69 -0
- data/spec/paperclip/matchers/validate_attachment_size_matcher_spec.rb +88 -0
- data/spec/paperclip/media_type_spoof_detector_spec.rb +79 -0
- data/spec/paperclip/meta_class_spec.rb +30 -0
- data/spec/paperclip/paperclip_missing_attachment_styles_spec.rb +84 -0
- data/{test/paperclip_test.rb → spec/paperclip/paperclip_spec.rb} +53 -48
- data/spec/paperclip/plural_cache_spec.rb +37 -0
- data/spec/paperclip/processor_helpers_spec.rb +57 -0
- data/{test/processor_test.rb → spec/paperclip/processor_spec.rb} +5 -5
- data/spec/paperclip/rails_environment_spec.rb +33 -0
- data/{test/rake_test.rb → spec/paperclip/rake_spec.rb} +15 -15
- data/spec/paperclip/schema_spec.rb +248 -0
- data/{test/storage/filesystem_test.rb → spec/paperclip/storage/filesystem_spec.rb} +18 -18
- data/spec/paperclip/storage/fog_spec.rb +535 -0
- data/spec/paperclip/storage/s3_live_spec.rb +182 -0
- data/spec/paperclip/storage/s3_spec.rb +1526 -0
- data/spec/paperclip/style_spec.rb +255 -0
- data/spec/paperclip/tempfile_factory_spec.rb +33 -0
- data/{test/thumbnail_test.rb → spec/paperclip/thumbnail_spec.rb} +123 -107
- data/spec/paperclip/url_generator_spec.rb +211 -0
- data/spec/paperclip/validators/attachment_content_type_validator_spec.rb +322 -0
- data/spec/paperclip/validators/attachment_file_name_validator_spec.rb +160 -0
- data/{test/validators/attachment_presence_validator_test.rb → spec/paperclip/validators/attachment_presence_validator_spec.rb} +20 -20
- data/{test/validators/attachment_size_validator_test.rb → spec/paperclip/validators/attachment_size_validator_spec.rb} +65 -58
- data/spec/paperclip/validators/media_type_spoof_detection_validator_spec.rb +52 -0
- data/spec/paperclip/validators_spec.rb +164 -0
- data/spec/spec_helper.rb +43 -0
- data/spec/support/assertions.rb +71 -0
- data/spec/support/deprecations.rb +9 -0
- data/spec/support/fake_model.rb +25 -0
- data/spec/support/fake_rails.rb +12 -0
- data/spec/support/fixtures/empty.html +1 -0
- data/spec/support/fixtures/empty.xlsx +0 -0
- data/spec/support/fixtures/spaced file.jpg +0 -0
- data/spec/support/matchers/accept.rb +5 -0
- data/spec/support/matchers/exist.rb +5 -0
- data/spec/support/matchers/have_column.rb +23 -0
- data/spec/support/model_reconstruction.rb +60 -0
- data/spec/support/rails_helpers.rb +7 -0
- data/spec/support/test_data.rb +13 -0
- data/spec/support/version_helper.rb +9 -0
- metadata +334 -219
- data/RUNNING_TESTS.md +0 -4
- data/gemfiles/3.0.gemfile +0 -11
- data/gemfiles/3.1.gemfile +0 -11
- data/gemfiles/4.0.gemfile +0 -11
- data/test/attachment_definitions_test.rb +0 -12
- data/test/attachment_registry_test.rb +0 -88
- data/test/filename_cleaner_test.rb +0 -14
- data/test/generator_test.rb +0 -84
- data/test/geometry_detector_test.rb +0 -24
- data/test/helper.rb +0 -232
- data/test/io_adapters/abstract_adapter_test.rb +0 -58
- data/test/io_adapters/empty_string_adapter_test.rb +0 -18
- data/test/io_adapters/identity_adapter_test.rb +0 -8
- data/test/matchers/have_attached_file_matcher_test.rb +0 -24
- data/test/matchers/validate_attachment_content_type_matcher_test.rb +0 -110
- data/test/matchers/validate_attachment_presence_matcher_test.rb +0 -69
- data/test/matchers/validate_attachment_size_matcher_test.rb +0 -86
- data/test/meta_class_test.rb +0 -32
- data/test/paperclip_missing_attachment_styles_test.rb +0 -90
- data/test/plural_cache_test.rb +0 -36
- data/test/schema_test.rb +0 -200
- data/test/storage/fog_test.rb +0 -473
- data/test/storage/s3_live_test.rb +0 -179
- data/test/storage/s3_test.rb +0 -1356
- data/test/style_test.rb +0 -213
- data/test/support/mock_model.rb +0 -2
- data/test/tempfile_factory_test.rb +0 -17
- data/test/url_generator_test.rb +0 -187
- data/test/validators/attachment_content_type_validator_test.rb +0 -324
- data/test/validators_test.rb +0 -61
- /data/{test → spec}/database.yml +0 -0
- /data/{test → spec/support}/fixtures/12k.png +0 -0
- /data/{test → spec/support}/fixtures/50x50.png +0 -0
- /data/{test → spec/support}/fixtures/5k.png +0 -0
- /data/{test → spec/support}/fixtures/animated +0 -0
- /data/{test → spec/support}/fixtures/animated.gif +0 -0
- /data/{test → spec/support}/fixtures/animated.unknown +0 -0
- /data/{test → spec/support}/fixtures/bad.png +0 -0
- /data/{test → spec/support}/fixtures/fog.yml +0 -0
- /data/{test → spec/support}/fixtures/rotated.jpg +0 -0
- /data/{test → spec/support}/fixtures/s3.yml +0 -0
- /data/{test → spec/support}/fixtures/spaced file.png +0 -0
- /data/{test → spec/support}/fixtures/text.txt +0 -0
- /data/{test → spec/support}/fixtures/twopage.pdf +0 -0
- /data/{test → spec/support}/fixtures/uppercase.PNG +0 -0
- /data/{test → spec}/support/mock_attachment.rb +0 -0
- /data/{test → spec}/support/mock_interpolator.rb +0 -0
- /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.
|
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:
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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:
|
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.
|
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.
|
200
|
+
version: 1.3.18
|
167
201
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
202
|
+
name: aruba
|
169
203
|
requirement: !ruby/object:Gem::Requirement
|
170
204
|
requirements:
|
171
|
-
- - ~>
|
205
|
+
- - "~>"
|
172
206
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
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:
|
214
|
+
version: 0.9.0
|
181
215
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
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:
|
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:
|
244
|
+
name: bundler
|
211
245
|
requirement: !ruby/object:Gem::Requirement
|
212
246
|
requirements:
|
213
|
-
- -
|
247
|
+
- - ">="
|
214
248
|
- !ruby/object:Gem::Version
|
215
|
-
version:
|
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:
|
256
|
+
version: '0'
|
223
257
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
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: '
|
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: '
|
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:
|
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:
|
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
|
-
- .
|
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
|
-
-
|
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.
|
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
|
-
-
|
421
|
-
-
|
422
|
-
-
|
423
|
-
-
|
424
|
-
-
|
425
|
-
-
|
426
|
-
-
|
427
|
-
-
|
428
|
-
-
|
429
|
-
-
|
430
|
-
-
|
431
|
-
-
|
432
|
-
-
|
433
|
-
-
|
434
|
-
-
|
435
|
-
-
|
436
|
-
-
|
437
|
-
-
|
438
|
-
-
|
439
|
-
-
|
440
|
-
-
|
441
|
-
-
|
442
|
-
-
|
443
|
-
-
|
444
|
-
-
|
445
|
-
-
|
446
|
-
-
|
447
|
-
-
|
448
|
-
-
|
449
|
-
-
|
450
|
-
-
|
451
|
-
-
|
452
|
-
-
|
453
|
-
-
|
454
|
-
-
|
455
|
-
-
|
456
|
-
-
|
457
|
-
-
|
458
|
-
-
|
459
|
-
-
|
460
|
-
-
|
461
|
-
-
|
462
|
-
-
|
463
|
-
-
|
464
|
-
-
|
465
|
-
-
|
466
|
-
-
|
467
|
-
-
|
468
|
-
-
|
469
|
-
-
|
470
|
-
-
|
471
|
-
-
|
472
|
-
-
|
473
|
-
-
|
474
|
-
-
|
475
|
-
-
|
476
|
-
-
|
477
|
-
-
|
478
|
-
-
|
479
|
-
-
|
480
|
-
-
|
481
|
-
-
|
482
|
-
-
|
483
|
-
-
|
484
|
-
-
|
485
|
-
-
|
486
|
-
-
|
487
|
-
-
|
488
|
-
-
|
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:
|
510
|
-
rubygems_version: 2.
|
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
|
-
-
|
533
|
-
-
|
534
|
-
-
|
535
|
-
-
|
536
|
-
-
|
537
|
-
-
|
538
|
-
-
|
539
|
-
-
|
540
|
-
-
|
541
|
-
-
|
542
|
-
-
|
543
|
-
-
|
544
|
-
-
|
545
|
-
-
|
546
|
-
-
|
547
|
-
-
|
548
|
-
-
|
549
|
-
-
|
550
|
-
-
|
551
|
-
-
|
552
|
-
-
|
553
|
-
-
|
554
|
-
-
|
555
|
-
-
|
556
|
-
-
|
557
|
-
-
|
558
|
-
-
|
559
|
-
-
|
560
|
-
-
|
561
|
-
-
|
562
|
-
-
|
563
|
-
-
|
564
|
-
-
|
565
|
-
-
|
566
|
-
-
|
567
|
-
-
|
568
|
-
-
|
569
|
-
-
|
570
|
-
-
|
571
|
-
-
|
572
|
-
-
|
573
|
-
-
|
574
|
-
-
|
575
|
-
-
|
576
|
-
-
|
577
|
-
-
|
578
|
-
-
|
579
|
-
-
|
580
|
-
-
|
581
|
-
-
|
582
|
-
-
|
583
|
-
-
|
584
|
-
-
|
585
|
-
-
|
586
|
-
-
|
587
|
-
-
|
588
|
-
-
|
589
|
-
-
|
590
|
-
-
|
591
|
-
-
|
592
|
-
-
|
593
|
-
-
|
594
|
-
-
|
595
|
-
-
|
596
|
-
-
|
597
|
-
-
|
598
|
-
-
|
599
|
-
-
|
600
|
-
-
|
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
|