paperclip-permanent_records 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d3bdbba54470c8648d6c9142341358a972517d28
4
- data.tar.gz: c08220d8ac31b12ac11bc89c58ac102eae0429fa
2
+ SHA256:
3
+ metadata.gz: a3cc4b67b3ac8a02e0405be5da6e0975088ea86eb9f61fcd53f2738440885fee
4
+ data.tar.gz: d9bb55debfeb8e9392b822573eed97ba7799a1119d89ba1a9aaef71584bef1a7
5
5
  SHA512:
6
- metadata.gz: 0889073c9419ff4a7dbeba7dca791e7b54058154b596509ae007f8beaa4124c041d5ddcb923a77336743b7b3f770e229863f3d0f9d41035748d8361e3a963ff2
7
- data.tar.gz: 9db4b49baf4aad4b0a27ada9f2768e635eb34fc7a4d4e2583928f48e474f79656b642d4e4cd99c6ca3f78544a9034da6510cbdc067b48a01dd01b94d8928ae25
6
+ metadata.gz: d0ffedc08fa51d0991e4b2ff29ab993e58a4528ad869f43e86cf61c6f849e1a5d413e4af53c46c69821b6bd8d97504fbf24234cdbab2b37f69c9f03cab50d183
7
+ data.tar.gz: 31252601357c7cca94f29ac0ba72eb7bf8e33f2089d71c446cd435fbc0a40b69a244c64fea9e6dab2cfdcdde81fad63ec8196df98cd8e80b6771747fa0263b8b
data/.rubocop.yml CHANGED
@@ -1,7 +1,13 @@
1
- require: rubocop-rspec
2
-
3
1
  inherit_from: .rubocop_todo.yml
4
2
 
3
+ require:
4
+ - rubocop-performance
5
+ - rubocop-rspec
6
+
7
+ inherit_mode:
8
+ merge:
9
+ - Exclude
10
+
5
11
  AllCops:
6
12
  Include:
7
13
  - 'Appraisals'
@@ -11,22 +17,224 @@ AllCops:
11
17
  - '**/Gemfile'
12
18
  - '**/Rakefile'
13
19
  - '**/Capfile'
14
- TargetRubyVersion: 2.2
20
+ TargetRubyVersion: 2.5
15
21
 
16
- Layout/AlignHash:
17
- EnforcedColonStyle: 'table'
22
+ Gemspec/DateAssignment: # (new in 1.10)
23
+ Enabled: true
18
24
 
19
- Layout/AlignParameters:
25
+ Layout/ArgumentAlignment:
20
26
  EnforcedStyle: 'with_fixed_indentation'
21
27
 
22
28
  Layout/DotPosition:
23
29
  EnforcedStyle: 'trailing'
24
30
 
31
+ Layout/HashAlignment:
32
+ EnforcedColonStyle: 'table'
33
+ EnforcedHashRocketStyle: 'table'
34
+
35
+ Layout/LineEndStringConcatenationIndentation: # (new in 1.18)
36
+ Enabled: true
37
+
38
+ Layout/ParameterAlignment:
39
+ EnforcedStyle: 'with_fixed_indentation'
40
+
41
+ Layout/SpaceBeforeBrackets: # (new in 1.7)
42
+ Enabled: true
43
+
25
44
  Layout/SpaceInsideHashLiteralBraces:
26
45
  EnforcedStyle: 'no_space'
27
46
 
28
- Metrics/LineLength:
29
- Max: 120
47
+ Lint/AmbiguousAssignment: # (new in 1.7)
48
+ Enabled: true
49
+
50
+ Lint/AmbiguousBlockAssociation:
51
+ Exclude:
52
+ - "spec/**/*"
53
+
54
+ Lint/AmbiguousRange: # (new in 1.19)
55
+ Enabled: true
56
+
57
+ Lint/DeprecatedConstants: # (new in 1.8)
58
+ Enabled: true
59
+
60
+ Lint/DuplicateBranch: # (new in 1.3)
61
+ Enabled: true
62
+
63
+ Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)
64
+ Enabled: true
65
+
66
+ Lint/EmptyBlock: # (new in 1.1)
67
+ Enabled: true
68
+
69
+ Lint/EmptyClass: # (new in 1.3)
70
+ Enabled: true
71
+
72
+ Lint/EmptyInPattern: # (new in 1.16)
73
+ Enabled: true
74
+
75
+ Lint/LambdaWithoutLiteralBlock: # (new in 1.8)
76
+ Enabled: true
77
+
78
+ Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
79
+ Enabled: true
80
+
81
+ Lint/NumberedParameterAssignment: # (new in 1.9)
82
+ Enabled: true
83
+
84
+ Lint/OrAssignmentToConstant: # (new in 1.9)
85
+ Enabled: true
86
+
87
+ Lint/RedundantDirGlobSort: # (new in 1.8)
88
+ Enabled: true
89
+
90
+ Lint/SymbolConversion: # (new in 1.9)
91
+ Enabled: true
92
+
93
+ Lint/ToEnumArguments: # (new in 1.1)
94
+ Enabled: true
95
+
96
+ Lint/TripleQuotes: # (new in 1.9)
97
+ Enabled: true
98
+
99
+ Lint/UnexpectedBlockArity: # (new in 1.5)
100
+ Enabled: true
101
+
102
+ Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
103
+ Enabled: true
104
+
105
+ Naming/InclusiveLanguage: # (new in 1.18)
106
+ Enabled: true
107
+
108
+ Performance/AncestorsInclude: # (new in 1.7)
109
+ Enabled: true
110
+
111
+ Performance/BigDecimalWithNumericArgument: # (new in 1.7)
112
+ Enabled: true
113
+
114
+ Performance/BlockGivenWithExplicitBlock: # (new in 1.9)
115
+ Enabled: true
116
+
117
+ Performance/CollectionLiteralInLoop: # (new in 1.8)
118
+ Enabled: true
119
+
120
+ Performance/ConstantRegexp: # (new in 1.9)
121
+ Enabled: true
122
+
123
+ Performance/MapCompact: # (new in 1.11)
124
+ Enabled: true
125
+
126
+ Performance/MethodObjectAsBlock: # (new in 1.9)
127
+ Enabled: true
128
+
129
+ Performance/RedundantEqualityComparisonBlock: # (new in 1.10)
130
+ Enabled: true
131
+
132
+ Performance/RedundantSortBlock: # (new in 1.7)
133
+ Enabled: true
134
+
135
+ Performance/RedundantSplitRegexpArgument: # (new in 1.10)
136
+ Enabled: true
137
+
138
+ Performance/RedundantStringChars: # (new in 1.7)
139
+ Enabled: true
140
+
141
+ Performance/ReverseFirst: # (new in 1.7)
142
+ Enabled: true
143
+
144
+ Performance/SortReverse: # (new in 1.7)
145
+ Enabled: true
146
+
147
+ Performance/Squeeze: # (new in 1.7)
148
+ Enabled: true
149
+
150
+ Performance/StringInclude: # (new in 1.7)
151
+ Enabled: true
152
+
153
+ Performance/Sum: # (new in 1.8)
154
+ Enabled: true
155
+
156
+ RSpec/DescribeClass:
157
+ Exclude:
158
+ - 'spec/features/**/*'
159
+
160
+ RSpec/DescribedClass:
161
+ Enabled: false
162
+
163
+ RSpec/FilePath:
164
+ Enabled: false
165
+
166
+ RSpec/IdenticalEqualityAssertion: # (new in 2.4)
167
+ Enabled: true
168
+
169
+ RSpec/ImplicitSubject:
170
+ EnforcedStyle: 'single_statement_only'
171
+
172
+ RSpec/LetSetup:
173
+ Enabled: false
174
+
175
+ RSpec/Rails/AvoidSetupHook: # (new in 2.4)
176
+ Enabled: true
177
+
178
+ Style/ArgumentsForwarding: # (new in 1.1)
179
+ Enabled: true
180
+
181
+ Style/EndlessMethod: # (new in 1.8)
182
+ Enabled: true
183
+
184
+ Style/CollectionCompact: # (new in 1.2)
185
+ Enabled: true
186
+
187
+ Style/Documentation:
188
+ Exclude:
189
+ - 'db/migrate/**/*'
190
+
191
+ Style/DocumentDynamicEvalDefinition: # (new in 1.1)
192
+ Enabled: true
193
+
194
+ Style/FormatStringToken:
195
+ Enabled: false # too many false positives in version 0.49.1; see e.g. https://github.com/bbatsov/rubocop/issues/4425
196
+
197
+ Style/HashConversion: # (new in 1.10)
198
+ Enabled: true
199
+
200
+ Style/HashExcept: # (new in 1.7)
201
+ Enabled: true
202
+
203
+ Style/IfWithBooleanLiteralBranches: # (new in 1.9)
204
+ Enabled: true
205
+
206
+ Style/InPatternThen: # (new in 1.16)
207
+ Enabled: true
208
+
209
+ Style/MultilineInPatternThen: # (new in 1.16)
210
+ Enabled: true
211
+
212
+ Style/NegatedIfElseCondition: # (new in 1.2)
213
+ Enabled: true
214
+
215
+ Style/NilLambda: # (new in 1.3)
216
+ Enabled: true
217
+
218
+ Style/QuotedSymbols: # (new in 1.16)
219
+ Enabled: true
220
+
221
+ Style/RedundantArgument: # (new in 1.4)
222
+ Enabled: true
223
+
224
+ Style/RedundantSelfAssignmentBranch: # (new in 1.19)
225
+ Enabled: true
226
+
227
+ Style/RescueStandardError:
228
+ Enabled: false
229
+
230
+ Style/SignalException:
231
+ Enabled: false
232
+
233
+ Style/SoleNestedConditional:
234
+ AllowModifier: true
235
+
236
+ Style/StringChars: # (new in 1.12)
237
+ Enabled: true
30
238
 
31
- Naming/VariableNumber:
32
- EnforcedStyle: 'snake_case'
239
+ Style/SwapValues: # (new in 1.1)
240
+ Enabled: true
data/.rubocop_todo.yml CHANGED
@@ -1,45 +1,7 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2018-01-18 16:08:39 +0100 using RuboCop version 0.52.1.
3
+ # on 2021-08-12 11:38:34 UTC using RuboCop version 1.19.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: 3
10
- # Configuration parameters: CountComments, ExcludedMethods.
11
- Metrics/BlockLength:
12
- Max: 82
13
-
14
- # Offense count: 4
15
- # Configuration parameters: Prefixes.
16
- # Prefixes: when, with, without
17
- RSpec/ContextWording:
18
- Exclude:
19
- - 'spec/paperclip/permanent_records_spec.rb'
20
-
21
- # Offense count: 2
22
- # Configuration parameters: Max.
23
- RSpec/ExampleLength:
24
- Exclude:
25
- - 'spec/paperclip/permanent_records_spec.rb'
26
-
27
- # Offense count: 4
28
- # Configuration parameters: AggregateFailuresByDefault.
29
- RSpec/MultipleExpectations:
30
- Max: 4
31
-
32
- # Offense count: 2
33
- # Configuration parameters: Max.
34
- RSpec/NestedGroups:
35
- Exclude:
36
- - 'spec/paperclip/permanent_records_spec.rb'
37
-
38
- # Offense count: 3
39
- Style/Documentation:
40
- Exclude:
41
- - 'spec/**/*'
42
- - 'test/**/*'
43
- - 'lib/paperclip/permanent_records.rb'
44
- - 'lib/paperclip/permanent_records/active_record.rb'
45
- - 'lib/paperclip/permanent_records/paperclip_patch.rb'
data/.travis.yml CHANGED
@@ -1,24 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.9
4
- - 2.3.5
5
- - 2.4.3
6
- - 2.5.0
3
+ - 2.5.9
4
+ - 2.6.8
5
+ - 2.7.4
7
6
  script: "bundle exec rake spec"
8
7
  gemfile:
9
- - gemfiles/rails_4.2_pc_4.1.gemfile
10
- - gemfiles/rails_4.2_pc_4.2.gemfile
11
- - gemfiles/rails_4.2_pc_5.0.gemfile
12
- - gemfiles/rails_4.2_pc_5.1.gemfile
13
- - gemfiles/rails_5.0_pc_5.0.gemfile
14
- - gemfiles/rails_5.1_pc_5.1.gemfile
15
- matrix:
16
- exclude:
17
- - rvm: 2.5.0
18
- gemfile: gemfiles/rails_4.2_pc_4.1.gemfile
19
- - rvm: 2.5.0
20
- gemfile: gemfiles/rails_4.2_pc_4.2.gemfile
21
- - rvm: 2.5.0
22
- gemfile: gemfiles/rails_4.2_pc_5.0.gemfile
23
- - rvm: 2.5.0
24
- gemfile: gemfiles/rails_4.2_pc_5.1.gemfile
8
+ - gemfiles/rails_5.2_pc_6.0.gemfile
9
+ - gemfiles/rails_5.2_pc_6.1.gemfile
data/Appraisals CHANGED
@@ -1,29 +1,11 @@
1
- appraise 'rails_4.2_pc_4.1' do
2
- gem 'rails', '~> 4.2.0'
3
- gem 'paperclip', '~> 4.1.1'
4
- end
5
-
6
- appraise 'rails_4.2_pc_4.2' do
7
- gem 'rails', '~> 4.2.0'
8
- gem 'paperclip', '~> 4.2.4'
9
- end
10
-
11
- appraise 'rails_4.2_pc_5.0' do
12
- gem 'rails', '~> 4.2.0'
13
- gem 'paperclip', '~> 5.0.0'
14
- end
15
-
16
- appraise 'rails_4.2_pc_5.1' do
17
- gem 'rails', '~> 4.2.0'
18
- gem 'paperclip', '~> 5.1.0'
19
- end
1
+ # frozen_string_literal: true
20
2
 
21
- appraise 'rails_5.0_pc_5.0' do
22
- gem 'rails', '~> 5.0.0'
23
- gem 'paperclip', '~> 5.0.0'
3
+ appraise 'rails_5.2_pc_6.0' do
4
+ gem 'rails', '~> 5.2.0'
5
+ gem 'paperclip', '~> 6.0.0'
24
6
  end
25
7
 
26
- appraise 'rails_5.1_pc_5.1' do
27
- gem 'rails', '~> 5.1.0'
28
- gem 'paperclip', '~> 5.1.0'
8
+ appraise 'rails_5.2_pc_6.1' do
9
+ gem 'rails', '~> 5.2.0'
10
+ gem 'paperclip', '~> 6.1.0'
29
11
  end
data/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # 0.5.0 (2021-08-12)
2
+
3
+ * Drop support for rails < 5.2
4
+ * Drop support for ruby < 2.5
5
+ * Test with rails 5.2
6
+ * Test on ruby 2.6 and 2.7
7
+ * Update permanent_records to at least 5.0.0 (currently the latest)
8
+ * paperclip: drop support for < 6.0, test 6.0 and 6.1
9
+ * 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
11
+ installed in all the rubies referenced in .travis.yml)
12
+
1
13
  # 0.4.0 (2018-01-18)
2
14
 
3
15
  * Remove support for rails < 4.2
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
 
3
5
  # Specify your gem's dependencies in paperclip-permanent_records.gemspec
data/README.md CHANGED
@@ -7,9 +7,9 @@ See [paperclip #804](https://github.com/thoughtbot/paperclip/issues/804#issuecom
7
7
 
8
8
  ## Compatibility
9
9
 
10
- * rails 4.2: works with paperclip 4.1 - 5.1 and ruby 2.2 - 2.4.
11
- * rails 5.0 - 5.1 : works with paperclip 5.0 - 5.1 and ruby 2.2 - 2.5.
12
- * all tested with permanent_records 4.2.7.
10
+ * rails 5.2: works with paperclip 6.x and ruby 2.5 or later
11
+ * tested with permanent_records 5.0.0
12
+ * previous versions of ruby/rails/paperclip: please check version 0.4.x of this gem
13
13
 
14
14
  Please see `.travis.yml` and `Appraisals` for what combinations have actually been tested. Usage with other versions
15
15
  might cause data loss.
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/setup'
2
4
  require 'paperclip/permanent_records/gem_tasks'
3
5
  require 'appraisal'
@@ -1,8 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
5
  source 'https://rubygems.org'
4
6
 
5
- gem 'rails', '~> 4.2.0'
6
- gem 'paperclip', '~> 4.1.1'
7
+ gem 'paperclip', '~> 6.0.0'
8
+ gem 'rails', '~> 5.2.0'
7
9
 
8
10
  gemspec path: '../'
@@ -1,8 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
5
  source 'https://rubygems.org'
4
6
 
5
- gem 'rails', '~> 4.2.0'
6
- gem 'paperclip', '~> 4.2.4'
7
+ gem 'paperclip', '~> 6.1.0'
8
+ gem 'rails', '~> 5.2.0'
7
9
 
8
10
  gemspec path: '../'
@@ -1,4 +1,4 @@
1
- # Patch for paperclip >= 3.5.0 (based on 5.1.0)
1
+ # Patch for paperclip >= 3.5.0 (based on 6.1.0)
2
2
 
3
3
  module Paperclip
4
4
  class HasAttachedFile
@@ -1,5 +1,5 @@
1
1
  module Paperclip
2
2
  module PermanentRecords
3
- VERSION = '0.4.0'.freeze
3
+ VERSION = '0.5.0'.freeze
4
4
  end
5
5
  end
@@ -1,4 +1,6 @@
1
- lib = File.expand_path('../lib', __FILE__)
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
2
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
5
  require 'paperclip/permanent_records/version'
4
6
 
@@ -17,17 +19,18 @@ Gem::Specification.new do |spec|
17
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
20
  spec.require_paths = ['lib']
19
21
 
20
- spec.required_ruby_version = '>= 2.2'
22
+ spec.required_ruby_version = '>= 2.5'
21
23
 
22
- spec.add_dependency 'activerecord', '>= 4.2'
23
- spec.add_dependency 'paperclip', '>= 4.1'
24
- spec.add_dependency 'permanent_records', '>= 4.2.7'
24
+ spec.add_dependency 'activerecord', '>= 5.2'
25
+ spec.add_dependency 'paperclip', '>= 6.0'
26
+ spec.add_dependency 'permanent_records', '>= 5.0'
25
27
 
26
28
  spec.add_development_dependency 'appraisal', '~> 2.2'
27
- spec.add_development_dependency 'bundler', '~> 1.15'
29
+ spec.add_development_dependency 'bundler', '~> 2.0'
28
30
  spec.add_development_dependency 'rake', '>= 10.0'
29
- spec.add_development_dependency 'rspec-rails', '~> 3.7'
31
+ spec.add_development_dependency 'rspec-rails', '~> 5.0'
30
32
  spec.add_development_dependency 'rubocop'
33
+ spec.add_development_dependency 'rubocop-performance'
31
34
  spec.add_development_dependency 'rubocop-rspec'
32
35
  spec.add_development_dependency 'sqlite3'
33
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.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maximilian Herold
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-18 00:00:00.000000000 Z
11
+ date: 2021-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.2'
19
+ version: '5.2'
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: '4.2'
26
+ version: '5.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: paperclip
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '4.1'
33
+ version: '6.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: '4.1'
40
+ version: '6.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: permanent_records
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 4.2.7
47
+ version: '5.0'
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: 4.2.7
54
+ version: '5.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: appraisal
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '1.15'
75
+ version: '2.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '1.15'
82
+ version: '2.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +100,14 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '3.7'
103
+ version: '5.0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '3.7'
110
+ version: '5.0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rubocop
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop-performance
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: rubocop-rspec
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -182,12 +196,8 @@ files:
182
196
  - LICENSE.txt
183
197
  - README.md
184
198
  - Rakefile
185
- - gemfiles/rails_4.2_pc_4.1.gemfile
186
- - gemfiles/rails_4.2_pc_4.2.gemfile
187
- - gemfiles/rails_4.2_pc_5.0.gemfile
188
- - gemfiles/rails_4.2_pc_5.1.gemfile
189
- - gemfiles/rails_5.0_pc_5.0.gemfile
190
- - gemfiles/rails_5.1_pc_5.1.gemfile
199
+ - gemfiles/rails_5.2_pc_6.0.gemfile
200
+ - gemfiles/rails_5.2_pc_6.1.gemfile
191
201
  - lib/paperclip/permanent_records.rb
192
202
  - lib/paperclip/permanent_records/active_record.rb
193
203
  - lib/paperclip/permanent_records/gem_helper.rb
@@ -204,7 +214,7 @@ homepage: ''
204
214
  licenses:
205
215
  - MIT
206
216
  metadata: {}
207
- post_install_message:
217
+ post_install_message:
208
218
  rdoc_options: []
209
219
  require_paths:
210
220
  - lib
@@ -212,16 +222,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
212
222
  requirements:
213
223
  - - ">="
214
224
  - !ruby/object:Gem::Version
215
- version: '2.2'
225
+ version: '2.5'
216
226
  required_rubygems_version: !ruby/object:Gem::Requirement
217
227
  requirements:
218
228
  - - ">="
219
229
  - !ruby/object:Gem::Version
220
230
  version: '0'
221
231
  requirements: []
222
- rubyforge_project:
223
- rubygems_version: 2.6.14
224
- signing_key:
232
+ rubygems_version: 3.0.9
233
+ signing_key:
225
234
  specification_version: 4
226
235
  summary: Make paperclip attachments work with permanent_records
227
236
  test_files:
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'rails', '~> 4.2.0'
6
- gem 'paperclip', '~> 5.0.0'
7
-
8
- gemspec path: '../'
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'rails', '~> 4.2.0'
6
- gem 'paperclip', '~> 5.1.0'
7
-
8
- gemspec path: '../'
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'rails', '~> 5.0.0'
6
- gem 'paperclip', '~> 5.0.0'
7
-
8
- gemspec path: '../'
@@ -1,8 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source 'https://rubygems.org'
4
-
5
- gem 'rails', '~> 5.1.0'
6
- gem 'paperclip', '~> 5.1.0'
7
-
8
- gemspec path: '../'