auto_increment 1.5.2 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +62 -0
- data/.gitignore +24 -35
- data/.rubocop.yml +44 -0
- data/.ruby-version +1 -0
- data/Appraisals +10 -13
- data/Gemfile +2 -0
- data/Gemfile.lock +153 -0
- data/Guardfile +2 -0
- data/README.md +11 -10
- data/Rakefile +2 -0
- data/auto_increment.gemspec +13 -13
- data/gemfiles/{rails_6.0.3.4.gemfile → rails_6_0.gemfile} +2 -2
- data/gemfiles/rails_6_0.gemfile.lock +144 -0
- data/gemfiles/{rails_5.0.7.2.gemfile → rails_6_1.gemfile} +2 -3
- data/gemfiles/rails_6_1.gemfile.lock +143 -0
- data/gemfiles/{rails_6.1.0.gemfile → rails_7_0.gemfile} +2 -2
- data/gemfiles/rails_7_0.gemfile.lock +141 -0
- data/gemfiles/{rails_5.1.6.2.gemfile → rails_7_1.gemfile} +2 -3
- data/gemfiles/rails_7_1.gemfile.lock +155 -0
- data/lib/auto_increment/active_record.rb +2 -0
- data/lib/auto_increment/incrementor.rb +16 -6
- data/lib/auto_increment/version.rb +3 -1
- data/lib/auto_increment.rb +3 -1
- data/spec/db/sync.db +0 -0
- data/spec/lib/active_record_spec.rb +3 -1
- data/spec/lib/incrementor_spec.rb +21 -0
- data/spec/models/account.rb +2 -0
- data/spec/models/user.rb +3 -1
- data/spec/spec_helper.rb +1 -2
- data/spec/support/active_record.rb +2 -0
- data/spec/support/database_cleaner.rb +2 -0
- metadata +32 -27
- data/.travis.yml +0 -14
- data/gemfiles/rails_4.2.11.1.gemfile +0 -9
- data/gemfiles/rails_5.2.2.1.gemfile +0 -9
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: auto_increment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felipe Diesel
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '6.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: '
|
26
|
+
version: '6.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: '
|
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: '
|
40
|
+
version: '6.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: appraisal
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: database_cleaner
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -95,7 +95,7 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: fuubar
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name: guard
|
112
|
+
name: guard
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
@@ -123,7 +123,7 @@ dependencies:
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: guard-rspec
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - ">="
|
@@ -137,7 +137,7 @@ dependencies:
|
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: rspec
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - ">="
|
@@ -151,7 +151,7 @@ dependencies:
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
|
-
name:
|
154
|
+
name: rspec-nc
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - ">="
|
@@ -165,7 +165,7 @@ dependencies:
|
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
168
|
+
name: rubocop
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - ">="
|
@@ -192,31 +192,36 @@ dependencies:
|
|
192
192
|
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: 1.3.13
|
195
|
-
description: Automaticaly increments
|
195
|
+
description: Automaticaly increments an ActiveRecord column
|
196
196
|
email:
|
197
197
|
- diesel@hey.com
|
198
198
|
executables: []
|
199
199
|
extensions: []
|
200
200
|
extra_rdoc_files: []
|
201
201
|
files:
|
202
|
+
- ".circleci/config.yml"
|
202
203
|
- ".coveralls.yml"
|
203
204
|
- ".gitignore"
|
204
205
|
- ".rspec"
|
205
|
-
- ".
|
206
|
+
- ".rubocop.yml"
|
207
|
+
- ".ruby-version"
|
206
208
|
- Appraisals
|
207
209
|
- Gemfile
|
210
|
+
- Gemfile.lock
|
208
211
|
- Guardfile
|
209
212
|
- LICENSE.txt
|
210
213
|
- README.md
|
211
214
|
- Rakefile
|
212
215
|
- auto_increment.gemspec
|
213
216
|
- gemfiles/.bundle/config
|
214
|
-
- gemfiles/
|
215
|
-
- gemfiles/
|
216
|
-
- gemfiles/
|
217
|
-
- gemfiles/
|
218
|
-
- gemfiles/
|
219
|
-
- gemfiles/
|
217
|
+
- gemfiles/rails_6_0.gemfile
|
218
|
+
- gemfiles/rails_6_0.gemfile.lock
|
219
|
+
- gemfiles/rails_6_1.gemfile
|
220
|
+
- gemfiles/rails_6_1.gemfile.lock
|
221
|
+
- gemfiles/rails_7_0.gemfile
|
222
|
+
- gemfiles/rails_7_0.gemfile.lock
|
223
|
+
- gemfiles/rails_7_1.gemfile
|
224
|
+
- gemfiles/rails_7_1.gemfile.lock
|
220
225
|
- lib/auto_increment.rb
|
221
226
|
- lib/auto_increment/active_record.rb
|
222
227
|
- lib/auto_increment/incrementor.rb
|
@@ -233,7 +238,7 @@ homepage: http://github.com/felipediesel/auto_increment
|
|
233
238
|
licenses:
|
234
239
|
- MIT
|
235
240
|
metadata: {}
|
236
|
-
post_install_message:
|
241
|
+
post_install_message:
|
237
242
|
rdoc_options: []
|
238
243
|
require_paths:
|
239
244
|
- lib
|
@@ -248,10 +253,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
248
253
|
- !ruby/object:Gem::Version
|
249
254
|
version: '0'
|
250
255
|
requirements: []
|
251
|
-
rubygems_version: 3.
|
252
|
-
signing_key:
|
256
|
+
rubygems_version: 3.4.10
|
257
|
+
signing_key:
|
253
258
|
specification_version: 4
|
254
|
-
summary: Auto increment a string or integer
|
259
|
+
summary: Auto increment a string or integer column
|
255
260
|
test_files:
|
256
261
|
- spec/db/sync.db
|
257
262
|
- spec/lib/active_record_spec.rb
|
data/.travis.yml
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
sudo: false
|
3
|
-
cache: bundler
|
4
|
-
rvm:
|
5
|
-
- 2.6.6
|
6
|
-
before_install:
|
7
|
-
- gem update --system
|
8
|
-
gemfile:
|
9
|
-
- gemfiles/rails_4.2.11.1.gemfile
|
10
|
-
- gemfiles/rails_5.0.7.2.gemfile
|
11
|
-
- gemfiles/rails_5.1.6.2.gemfile
|
12
|
-
- gemfiles/rails_5.2.2.1.gemfile
|
13
|
-
- gemfiles/rails_6.0.3.4.gemfile
|
14
|
-
- gemfiles/rails_6.1.0.gemfile
|