paperclip-permanent_records 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +7 -0
- data/.rubocop.yml +135 -4
- data/.rubocop_todo.yml +9 -1
- data/.travis.yml +6 -5
- data/Appraisals +14 -4
- data/CHANGELOG.md +12 -2
- data/LICENSE.txt +1 -1
- data/README.md +9 -5
- data/Rakefile +0 -2
- data/gemfiles/{rails_5.2_pc_6.0.gemfile → rails_5.2_pc_6.2.gemfile} +1 -1
- data/gemfiles/{rails_5.2_pc_6.1.gemfile → rails_5.2_pc_6.4.gemfile} +1 -1
- data/gemfiles/rails_5.2_pc_7.0.gemfile +10 -0
- data/gemfiles/rails_5.2_pc_7.1.gemfile +10 -0
- data/lib/paperclip/permanent_records/version.rb +1 -1
- data/paperclip-permanent_records.gemspec +3 -3
- metadata +32 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ffeb5fc675a397442a3944b6e4cfc45d9aaaef0cf6bf9fa5b3fafe7212afb50
|
4
|
+
data.tar.gz: 93653abe4a9d13fa99ea17b059748d2efb2c920c4b0279094de159a2027ddc10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6191decb00d3b24c2a631587da4713ff52b49f9b11c2da656c3c5ba797d0ea8e13377805edb8021b5ace05550986e7d92d5a1fb9722c355da5d14b7d2f4fffa
|
7
|
+
data.tar.gz: f58a7169350d004c4ce858847bff276a7586b12e5cb8631e4ad183be25296afc3076cbf9ec41a6b6dd4790a27e2a79553f4785fa5b7d1f5f71c4a1161a8b33a1
|
data/.editorconfig
ADDED
data/.rubocop.yml
CHANGED
@@ -2,6 +2,7 @@ inherit_from: .rubocop_todo.yml
|
|
2
2
|
|
3
3
|
require:
|
4
4
|
- rubocop-performance
|
5
|
+
- rubocop-rake
|
5
6
|
- rubocop-rspec
|
6
7
|
|
7
8
|
inherit_mode:
|
@@ -17,9 +18,12 @@ AllCops:
|
|
17
18
|
- '**/Gemfile'
|
18
19
|
- '**/Rakefile'
|
19
20
|
- '**/Capfile'
|
20
|
-
TargetRubyVersion: 2.
|
21
|
+
TargetRubyVersion: 2.6
|
21
22
|
|
22
|
-
Gemspec/
|
23
|
+
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
|
24
|
+
Enabled: true
|
25
|
+
|
26
|
+
Gemspec/RequireMFA: # new in 1.23
|
23
27
|
Enabled: true
|
24
28
|
|
25
29
|
Layout/ArgumentAlignment:
|
@@ -32,15 +36,31 @@ Layout/HashAlignment:
|
|
32
36
|
EnforcedColonStyle: 'table'
|
33
37
|
EnforcedHashRocketStyle: 'table'
|
34
38
|
|
39
|
+
Layout/LineContinuationLeadingSpace: # new in 1.31
|
40
|
+
Enabled: true
|
41
|
+
|
42
|
+
Layout/LineContinuationSpacing: # new in 1.31
|
43
|
+
Enabled: true
|
44
|
+
|
35
45
|
Layout/LineEndStringConcatenationIndentation: # (new in 1.18)
|
36
46
|
Enabled: true
|
37
47
|
|
48
|
+
Layout/LineLength:
|
49
|
+
Exclude:
|
50
|
+
- 'app/controllers/**/*'
|
51
|
+
- 'config/initializers/devise.rb'
|
52
|
+
|
38
53
|
Layout/ParameterAlignment:
|
39
54
|
EnforcedStyle: 'with_fixed_indentation'
|
40
55
|
|
41
56
|
Layout/SpaceBeforeBrackets: # (new in 1.7)
|
42
57
|
Enabled: true
|
43
58
|
|
59
|
+
Layout/SpaceBeforeFirstArg:
|
60
|
+
Exclude:
|
61
|
+
- 'config/routes.rb'
|
62
|
+
- 'spec/factories/**/*'
|
63
|
+
|
44
64
|
Layout/SpaceInsideHashLiteralBraces:
|
45
65
|
EnforcedStyle: 'no_space'
|
46
66
|
|
@@ -51,9 +71,15 @@ Lint/AmbiguousBlockAssociation:
|
|
51
71
|
Exclude:
|
52
72
|
- "spec/**/*"
|
53
73
|
|
74
|
+
Lint/AmbiguousOperatorPrecedence: # new in 1.21
|
75
|
+
Enabled: true
|
76
|
+
|
54
77
|
Lint/AmbiguousRange: # (new in 1.19)
|
55
78
|
Enabled: true
|
56
79
|
|
80
|
+
Lint/ConstantOverwrittenInRescue: # new in 1.31
|
81
|
+
Enabled: true
|
82
|
+
|
57
83
|
Lint/DeprecatedConstants: # (new in 1.8)
|
58
84
|
Enabled: true
|
59
85
|
|
@@ -72,9 +98,15 @@ Lint/EmptyClass: # (new in 1.3)
|
|
72
98
|
Lint/EmptyInPattern: # (new in 1.16)
|
73
99
|
Enabled: true
|
74
100
|
|
101
|
+
Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
|
102
|
+
Enabled: true
|
103
|
+
|
75
104
|
Lint/LambdaWithoutLiteralBlock: # (new in 1.8)
|
76
105
|
Enabled: true
|
77
106
|
|
107
|
+
Lint/NonAtomicFileOperation: # new in 1.31
|
108
|
+
Enabled: true
|
109
|
+
|
78
110
|
Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
|
79
111
|
Enabled: true
|
80
112
|
|
@@ -87,6 +119,15 @@ Lint/OrAssignmentToConstant: # (new in 1.9)
|
|
87
119
|
Lint/RedundantDirGlobSort: # (new in 1.8)
|
88
120
|
Enabled: true
|
89
121
|
|
122
|
+
Lint/RefinementImportMethods: # new in 1.27
|
123
|
+
Enabled: true
|
124
|
+
|
125
|
+
Lint/RequireRangeParentheses: # new in 1.32
|
126
|
+
Enabled: true
|
127
|
+
|
128
|
+
Lint/RequireRelativeSelfPath: # new in 1.22
|
129
|
+
Enabled: true
|
130
|
+
|
90
131
|
Lint/SymbolConversion: # (new in 1.9)
|
91
132
|
Enabled: true
|
92
133
|
|
@@ -102,6 +143,12 @@ Lint/UnexpectedBlockArity: # (new in 1.5)
|
|
102
143
|
Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
|
103
144
|
Enabled: true
|
104
145
|
|
146
|
+
Lint/UselessRuby2Keywords: # new in 1.23
|
147
|
+
Enabled: true
|
148
|
+
|
149
|
+
Naming/BlockForwarding: # new in 1.24
|
150
|
+
Enabled: true
|
151
|
+
|
105
152
|
Naming/InclusiveLanguage: # (new in 1.18)
|
106
153
|
Enabled: true
|
107
154
|
|
@@ -117,6 +164,9 @@ Performance/BlockGivenWithExplicitBlock: # (new in 1.9)
|
|
117
164
|
Performance/CollectionLiteralInLoop: # (new in 1.8)
|
118
165
|
Enabled: true
|
119
166
|
|
167
|
+
Performance/ConcurrentMonotonicTime: # new in 1.12
|
168
|
+
Enabled: true
|
169
|
+
|
120
170
|
Performance/ConstantRegexp: # (new in 1.9)
|
121
171
|
Enabled: true
|
122
172
|
|
@@ -147,12 +197,27 @@ Performance/SortReverse: # (new in 1.7)
|
|
147
197
|
Performance/Squeeze: # (new in 1.7)
|
148
198
|
Enabled: true
|
149
199
|
|
200
|
+
Performance/StringIdentifierArgument: # new in 1.13
|
201
|
+
Enabled: true
|
202
|
+
|
150
203
|
Performance/StringInclude: # (new in 1.7)
|
151
204
|
Enabled: true
|
152
205
|
|
153
206
|
Performance/Sum: # (new in 1.8)
|
154
207
|
Enabled: true
|
155
208
|
|
209
|
+
RSpec/BeEq: # new in 2.9.0
|
210
|
+
Enabled: true
|
211
|
+
|
212
|
+
RSpec/BeNil: # new in 2.9.0
|
213
|
+
Enabled: true
|
214
|
+
|
215
|
+
RSpec/Capybara/SpecificMatcher: # new in 2.12
|
216
|
+
Enabled: true
|
217
|
+
|
218
|
+
RSpec/ChangeByZero: # new in 2.11.0
|
219
|
+
Enabled: true
|
220
|
+
|
156
221
|
RSpec/DescribeClass:
|
157
222
|
Exclude:
|
158
223
|
- 'spec/features/**/*'
|
@@ -160,6 +225,12 @@ RSpec/DescribeClass:
|
|
160
225
|
RSpec/DescribedClass:
|
161
226
|
Enabled: false
|
162
227
|
|
228
|
+
RSpec/ExcessiveDocstringSpacing: # new in 2.5
|
229
|
+
Enabled: true
|
230
|
+
|
231
|
+
RSpec/FactoryBot/SyntaxMethods: # new in 2.7
|
232
|
+
Enabled: true
|
233
|
+
|
163
234
|
RSpec/FilePath:
|
164
235
|
Enabled: false
|
165
236
|
|
@@ -175,10 +246,22 @@ RSpec/LetSetup:
|
|
175
246
|
RSpec/Rails/AvoidSetupHook: # (new in 2.4)
|
176
247
|
Enabled: true
|
177
248
|
|
178
|
-
|
249
|
+
RSpec/Rails/HaveHttpStatus: # new in 2.12
|
179
250
|
Enabled: true
|
180
251
|
|
181
|
-
|
252
|
+
RSpec/SubjectDeclaration: # new in 2.5
|
253
|
+
Enabled: true
|
254
|
+
|
255
|
+
RSpec/VerifiedDoubleReference: # new in 2.10.0
|
256
|
+
Enabled: true
|
257
|
+
|
258
|
+
Security/CompoundHash: # new in 1.28
|
259
|
+
Enabled: true
|
260
|
+
|
261
|
+
Security/IoMethods: # new in 1.22
|
262
|
+
Enabled: true
|
263
|
+
|
264
|
+
Style/ArgumentsForwarding: # (new in 1.1)
|
182
265
|
Enabled: true
|
183
266
|
|
184
267
|
Style/CollectionCompact: # (new in 1.2)
|
@@ -191,6 +274,24 @@ Style/Documentation:
|
|
191
274
|
Style/DocumentDynamicEvalDefinition: # (new in 1.1)
|
192
275
|
Enabled: true
|
193
276
|
|
277
|
+
Style/EmptyHeredoc: # new in 1.32
|
278
|
+
Enabled: true
|
279
|
+
|
280
|
+
Style/EndlessMethod: # (new in 1.8)
|
281
|
+
Enabled: true
|
282
|
+
|
283
|
+
Style/EnvHome: # new in 1.29
|
284
|
+
Enabled: true
|
285
|
+
|
286
|
+
Style/FetchEnvVar: # new in 1.28
|
287
|
+
Enabled: true
|
288
|
+
|
289
|
+
Style/FileRead: # new in 1.24
|
290
|
+
Enabled: true
|
291
|
+
|
292
|
+
Style/FileWrite: # new in 1.24
|
293
|
+
Enabled: true
|
294
|
+
|
194
295
|
Style/FormatStringToken:
|
195
296
|
Enabled: false # too many false positives in version 0.49.1; see e.g. https://github.com/bbatsov/rubocop/issues/4425
|
196
297
|
|
@@ -206,27 +307,57 @@ Style/IfWithBooleanLiteralBranches: # (new in 1.9)
|
|
206
307
|
Style/InPatternThen: # (new in 1.16)
|
207
308
|
Enabled: true
|
208
309
|
|
310
|
+
Style/MagicCommentFormat: # new in 1.35
|
311
|
+
Enabled: true
|
312
|
+
|
313
|
+
Style/MapCompactWithConditionalBlock: # new in 1.30
|
314
|
+
Enabled: true
|
315
|
+
|
316
|
+
Style/MapToHash: # new in 1.24
|
317
|
+
Enabled: true
|
318
|
+
|
209
319
|
Style/MultilineInPatternThen: # (new in 1.16)
|
210
320
|
Enabled: true
|
211
321
|
|
212
322
|
Style/NegatedIfElseCondition: # (new in 1.2)
|
213
323
|
Enabled: true
|
214
324
|
|
325
|
+
Style/NestedFileDirname: # new in 1.26
|
326
|
+
Enabled: true
|
327
|
+
|
215
328
|
Style/NilLambda: # (new in 1.3)
|
216
329
|
Enabled: true
|
217
330
|
|
331
|
+
Style/NumberedParameters: # new in 1.22
|
332
|
+
Enabled: true
|
333
|
+
|
334
|
+
Style/NumberedParametersLimit: # new in 1.22
|
335
|
+
Enabled: true
|
336
|
+
|
337
|
+
Style/ObjectThen: # new in 1.28
|
338
|
+
Enabled: true
|
339
|
+
|
340
|
+
Style/OpenStructUse: # new in 1.23
|
341
|
+
Enabled: true
|
342
|
+
|
218
343
|
Style/QuotedSymbols: # (new in 1.16)
|
219
344
|
Enabled: true
|
220
345
|
|
221
346
|
Style/RedundantArgument: # (new in 1.4)
|
222
347
|
Enabled: true
|
223
348
|
|
349
|
+
Style/RedundantInitialize: # new in 1.27
|
350
|
+
Enabled: true
|
351
|
+
|
224
352
|
Style/RedundantSelfAssignmentBranch: # (new in 1.19)
|
225
353
|
Enabled: true
|
226
354
|
|
227
355
|
Style/RescueStandardError:
|
228
356
|
Enabled: false
|
229
357
|
|
358
|
+
Style/SelectByRegexp: # new in 1.22
|
359
|
+
Enabled: true
|
360
|
+
|
230
361
|
Style/SignalException:
|
231
362
|
Enabled: false
|
232
363
|
|
data/.rubocop_todo.yml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on
|
3
|
+
# on 2022-09-02 16:01:17 UTC using RuboCop version 1.36.0.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 1
|
10
|
+
# This cop supports safe autocorrection (--autocorrect).
|
11
|
+
# Configuration parameters: Include.
|
12
|
+
# Include: **/*.gemspec
|
13
|
+
Gemspec/RequireMFA:
|
14
|
+
Exclude:
|
15
|
+
- 'paperclip-permanent_records.gemspec'
|
data/.travis.yml
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
language: ruby
|
2
2
|
rvm:
|
3
|
-
- 2.
|
4
|
-
- 2.6
|
5
|
-
- 2.7.4
|
3
|
+
- 2.6.10
|
4
|
+
- 2.7.6
|
6
5
|
script: "bundle exec rake spec"
|
7
6
|
gemfile:
|
8
|
-
- gemfiles/rails_5.2_pc_6.
|
9
|
-
- gemfiles/rails_5.2_pc_6.
|
7
|
+
- gemfiles/rails_5.2_pc_6.2.gemfile
|
8
|
+
- gemfiles/rails_5.2_pc_6.4.gemfile
|
9
|
+
- gemfiles/rails_5.2_pc_7.0.gemfile
|
10
|
+
- gemfiles/rails_5.2_pc_7.1.gemfile
|
data/Appraisals
CHANGED
@@ -1,11 +1,21 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
appraise 'rails_5.2_pc_6.
|
3
|
+
appraise 'rails_5.2_pc_6.2' do
|
4
4
|
gem 'rails', '~> 5.2.0'
|
5
|
-
gem 'paperclip', '~> 6.
|
5
|
+
gem 'kt-paperclip', '~> 6.2.2'
|
6
6
|
end
|
7
7
|
|
8
|
-
appraise 'rails_5.2_pc_6.
|
8
|
+
appraise 'rails_5.2_pc_6.4' do
|
9
9
|
gem 'rails', '~> 5.2.0'
|
10
|
-
gem 'paperclip', '~> 6.1
|
10
|
+
gem 'kt-paperclip', '~> 6.4.1'
|
11
|
+
end
|
12
|
+
|
13
|
+
appraise 'rails_5.2_pc_7.0' do
|
14
|
+
gem 'rails', '~> 5.2.0'
|
15
|
+
gem 'kt-paperclip', '~> 7.0.1'
|
16
|
+
end
|
17
|
+
|
18
|
+
appraise 'rails_5.2_pc_7.1' do
|
19
|
+
gem 'rails', '~> 5.2.0'
|
20
|
+
gem 'kt-paperclip', '~> 7.1.1'
|
11
21
|
end
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
# 0.6.0 (2022-09-02)
|
2
|
+
|
3
|
+
To upgrade to this version, remove any dependencies to paperclip from your project and switch to kt-paperclip (https://github.com/kreeti/kt-paperclip).
|
4
|
+
|
5
|
+
* Change dependency from the discontinued paperclip to kt-paperclip
|
6
|
+
* Drop support for (kt-)paperclip < 6.2.2
|
7
|
+
* Drop support for ruby < 2.6
|
8
|
+
* (dev) remove rake `local` task (unnecessary alias for `wwtd:local`)
|
9
|
+
* (internal) use current rubocop (1.36) + configs, add rubocop-rake, re-generate todos + fix warnings
|
10
|
+
|
1
11
|
# 0.5.0 (2021-08-12)
|
2
12
|
|
3
13
|
* Drop support for rails < 5.2
|
@@ -7,7 +17,7 @@
|
|
7
17
|
* Update permanent_records to at least 5.0.0 (currently the latest)
|
8
18
|
* paperclip: drop support for < 6.0, test 6.0 and 6.1
|
9
19
|
* Update dev dependencies (+ some code style fixes), incl. bundler to 2.x
|
10
|
-
(UPGRADING: you might need to remove your local Gemfile.lock and check that you have bundler 2.x
|
20
|
+
(UPGRADING: you might need to remove your local Gemfile.lock and check that you have bundler 2.x
|
11
21
|
installed in all the rubies referenced in .travis.yml)
|
12
22
|
|
13
23
|
# 0.4.0 (2018-01-18)
|
@@ -16,7 +26,7 @@
|
|
16
26
|
* Remove support for ruby 2.1
|
17
27
|
* Test with rails 5.0 and 5.1
|
18
28
|
* Test on ruby 2.4 and 2.5
|
19
|
-
* Update permanent_records dependency to at least 4.2.7 (
|
29
|
+
* Update permanent_records dependency to at least 4.2.7 (currently the latest)
|
20
30
|
* paperclip: update patch to its 5.1.0 counterpart, test with 5.0 and 5.1
|
21
31
|
* Don't trigger ActiveRecord loading on requiring this gem
|
22
32
|
* Dev dependencies: update rake and rubocop/rubocop-rspec (+ some code style fixes)
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -5,11 +5,13 @@ when the model is really destroyed.
|
|
5
5
|
|
6
6
|
See [paperclip #804](https://github.com/thoughtbot/paperclip/issues/804#issuecomment-4946231).
|
7
7
|
|
8
|
+
NOTE: Since paperclip is not maintained any more, we have switched the dependency to the fork [kt-paperclip](https://github.com/kreeti/kt-paperclip) in the 0.6+ versions of this gem.
|
9
|
+
|
8
10
|
## Compatibility
|
9
11
|
|
10
|
-
* rails 5.2: works with paperclip 6.
|
12
|
+
* rails 5.2: works with kt-paperclip 6.2.2+/7 and ruby 2.6 or later
|
11
13
|
* tested with permanent_records 5.0.0
|
12
|
-
* previous versions of ruby/rails/paperclip: please check version 0.
|
14
|
+
* previous versions of ruby/rails/paperclip: please check version 0.5.x of this gem
|
13
15
|
|
14
16
|
Please see `.travis.yml` and `Appraisals` for what combinations have actually been tested. Usage with other versions
|
15
17
|
might cause data loss.
|
@@ -30,6 +32,8 @@ Or install it yourself as:
|
|
30
32
|
|
31
33
|
$ gem install paperclip-permanent_records
|
32
34
|
|
35
|
+
Ensure that you don't have any dependencies to the paperclip gem in your project, only to the kt-paperclip gem!
|
36
|
+
|
33
37
|
## Usage
|
34
38
|
|
35
39
|
Nothing to do, this should just work.
|
@@ -47,11 +51,11 @@ This gem does basically two things:
|
|
47
51
|
|
48
52
|
Code style: Please use rubocop before you commit (`bundle exec rubocop`) and fix any warnings.
|
49
53
|
|
50
|
-
To setup tests, make sure all the ruby versions defined in `.travis.yml` are installed on your system.
|
54
|
+
To setup tests, make sure all the ruby versions defined in `.travis.yml` are installed on your system.
|
51
55
|
Use `bundle exec appraisal generate` to generate the gemfiles if you change them in `Appraisals` and `.travis.yml`.
|
52
56
|
|
53
57
|
Run tests via:
|
54
58
|
|
55
|
-
* `rake wwtd` for all combinations of ruby/rails/paperclip versions
|
56
|
-
* `rake wwtd:local` for all rails/paperclip versions, but only on current ruby
|
59
|
+
* `rake wwtd` for all combinations of ruby/rails/kt-paperclip versions
|
60
|
+
* `rake wwtd:local` for all rails/kt-paperclip versions, but only on current ruby
|
57
61
|
* `rake spec` (or e.g. `bundle exec rspec spec --format documentation`) with main Gemfile and only on current ruby
|
data/Rakefile
CHANGED
@@ -16,13 +16,12 @@ Gem::Specification.new do |spec|
|
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0")
|
18
18
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
19
|
spec.require_paths = ['lib']
|
21
20
|
|
22
|
-
spec.required_ruby_version = '>= 2.
|
21
|
+
spec.required_ruby_version = '>= 2.6'
|
23
22
|
|
24
23
|
spec.add_dependency 'activerecord', '>= 5.2'
|
25
|
-
spec.add_dependency 'paperclip', '>= 6.
|
24
|
+
spec.add_dependency 'kt-paperclip', ['>= 6.2.2', '< 8']
|
26
25
|
spec.add_dependency 'permanent_records', '>= 5.0'
|
27
26
|
|
28
27
|
spec.add_development_dependency 'appraisal', '~> 2.2'
|
@@ -31,6 +30,7 @@ Gem::Specification.new do |spec|
|
|
31
30
|
spec.add_development_dependency 'rspec-rails', '~> 5.0'
|
32
31
|
spec.add_development_dependency 'rubocop'
|
33
32
|
spec.add_development_dependency 'rubocop-performance'
|
33
|
+
spec.add_development_dependency 'rubocop-rake'
|
34
34
|
spec.add_development_dependency 'rubocop-rspec'
|
35
35
|
spec.add_development_dependency 'sqlite3'
|
36
36
|
spec.add_development_dependency 'wwtd', '~> 1.3'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: paperclip-permanent_records
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maximilian Herold
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -25,19 +25,25 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '5.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: paperclip
|
28
|
+
name: kt-paperclip
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 6.2.2
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '8'
|
34
37
|
type: :runtime
|
35
38
|
prerelease: false
|
36
39
|
version_requirements: !ruby/object:Gem::Requirement
|
37
40
|
requirements:
|
38
41
|
- - ">="
|
39
42
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
43
|
+
version: 6.2.2
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '8'
|
41
47
|
- !ruby/object:Gem::Dependency
|
42
48
|
name: permanent_records
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,6 +142,20 @@ dependencies:
|
|
136
142
|
- - ">="
|
137
143
|
- !ruby/object:Gem::Version
|
138
144
|
version: '0'
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: rubocop-rake
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0'
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - ">="
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '0'
|
139
159
|
- !ruby/object:Gem::Dependency
|
140
160
|
name: rubocop-rspec
|
141
161
|
requirement: !ruby/object:Gem::Requirement
|
@@ -185,6 +205,7 @@ executables: []
|
|
185
205
|
extensions: []
|
186
206
|
extra_rdoc_files: []
|
187
207
|
files:
|
208
|
+
- ".editorconfig"
|
188
209
|
- ".gitignore"
|
189
210
|
- ".rspec"
|
190
211
|
- ".rubocop.yml"
|
@@ -196,8 +217,10 @@ files:
|
|
196
217
|
- LICENSE.txt
|
197
218
|
- README.md
|
198
219
|
- Rakefile
|
199
|
-
- gemfiles/rails_5.2_pc_6.
|
200
|
-
- gemfiles/rails_5.2_pc_6.
|
220
|
+
- gemfiles/rails_5.2_pc_6.2.gemfile
|
221
|
+
- gemfiles/rails_5.2_pc_6.4.gemfile
|
222
|
+
- gemfiles/rails_5.2_pc_7.0.gemfile
|
223
|
+
- gemfiles/rails_5.2_pc_7.1.gemfile
|
201
224
|
- lib/paperclip/permanent_records.rb
|
202
225
|
- lib/paperclip/permanent_records/active_record.rb
|
203
226
|
- lib/paperclip/permanent_records/gem_helper.rb
|
@@ -222,7 +245,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
222
245
|
requirements:
|
223
246
|
- - ">="
|
224
247
|
- !ruby/object:Gem::Version
|
225
|
-
version: '2.
|
248
|
+
version: '2.6'
|
226
249
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
250
|
requirements:
|
228
251
|
- - ">="
|
@@ -233,9 +256,4 @@ rubygems_version: 3.0.9
|
|
233
256
|
signing_key:
|
234
257
|
specification_version: 4
|
235
258
|
summary: Make paperclip attachments work with permanent_records
|
236
|
-
test_files:
|
237
|
-
- spec/data/models.rb
|
238
|
-
- spec/data/schema.rb
|
239
|
-
- spec/data/test.png
|
240
|
-
- spec/paperclip/permanent_records_spec.rb
|
241
|
-
- spec/spec_helper.rb
|
259
|
+
test_files: []
|