auto_increment 1.6.1 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +47 -0
- data/.gitignore +2 -1
- data/.rubocop.yml +10 -44
- data/.ruby-version +1 -1
- data/Appraisals +9 -6
- data/CHANGELOG.md +120 -0
- data/Gemfile +15 -1
- data/Gemfile.lock +107 -70
- data/Guardfile +3 -3
- data/README.md +252 -28
- data/Rakefile +2 -2
- data/auto_increment.gemspec +16 -29
- data/gemfiles/rails_7_1.gemfile +16 -2
- data/gemfiles/rails_7_1.gemfile.lock +107 -71
- data/gemfiles/rails_7_2.gemfile +22 -0
- data/gemfiles/rails_7_2.gemfile.lock +187 -0
- data/gemfiles/rails_8_0.gemfile +22 -0
- data/gemfiles/rails_8_0.gemfile.lock +191 -0
- data/gemfiles/rails_8_1.gemfile +22 -0
- data/gemfiles/rails_8_1.gemfile.lock +190 -0
- data/lib/auto_increment/active_record.rb +31 -4
- data/lib/auto_increment/incrementor.rb +37 -29
- data/lib/auto_increment/version.rb +1 -1
- data/lib/auto_increment.rb +8 -8
- data/spec/lib/active_record_spec.rb +85 -23
- data/spec/lib/incrementor_spec.rb +139 -21
- data/spec/models/account.rb +2 -0
- data/spec/models/post.rb +6 -0
- data/spec/models/user.rb +4 -4
- data/spec/spec_helper.rb +14 -8
- data/spec/support/active_record.rb +5 -0
- metadata +20 -184
- data/.circleci/config.yml +0 -62
- data/.coveralls.yml +0 -1
- data/gemfiles/rails_6_0.gemfile +0 -8
- data/gemfiles/rails_6_0.gemfile.lock +0 -144
- data/gemfiles/rails_6_1.gemfile +0 -8
- data/gemfiles/rails_6_1.gemfile.lock +0 -143
- data/gemfiles/rails_7_0.gemfile +0 -8
- data/gemfiles/rails_7_0.gemfile.lock +0 -141
- data/spec/db/sync.db +0 -0
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: ..
|
|
3
|
-
specs:
|
|
4
|
-
auto_increment (1.5.2)
|
|
5
|
-
activerecord (>= 6.0)
|
|
6
|
-
activesupport (>= 6.0)
|
|
7
|
-
|
|
8
|
-
GEM
|
|
9
|
-
remote: https://rubygems.org/
|
|
10
|
-
specs:
|
|
11
|
-
activemodel (7.0.8)
|
|
12
|
-
activesupport (= 7.0.8)
|
|
13
|
-
activerecord (7.0.8)
|
|
14
|
-
activemodel (= 7.0.8)
|
|
15
|
-
activesupport (= 7.0.8)
|
|
16
|
-
activesupport (7.0.8)
|
|
17
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
18
|
-
i18n (>= 1.6, < 2)
|
|
19
|
-
minitest (>= 5.1)
|
|
20
|
-
tzinfo (~> 2.0)
|
|
21
|
-
appraisal (2.5.0)
|
|
22
|
-
bundler
|
|
23
|
-
rake
|
|
24
|
-
thor (>= 0.14.0)
|
|
25
|
-
ast (2.4.2)
|
|
26
|
-
coderay (1.1.3)
|
|
27
|
-
concurrent-ruby (1.2.2)
|
|
28
|
-
database_cleaner (2.0.2)
|
|
29
|
-
database_cleaner-active_record (>= 2, < 3)
|
|
30
|
-
database_cleaner-active_record (2.1.0)
|
|
31
|
-
activerecord (>= 5.a)
|
|
32
|
-
database_cleaner-core (~> 2.0.0)
|
|
33
|
-
database_cleaner-core (2.0.1)
|
|
34
|
-
diff-lcs (1.5.0)
|
|
35
|
-
ffi (1.16.3)
|
|
36
|
-
formatador (1.1.0)
|
|
37
|
-
fuubar (2.5.1)
|
|
38
|
-
rspec-core (~> 3.0)
|
|
39
|
-
ruby-progressbar (~> 1.4)
|
|
40
|
-
guard (2.18.1)
|
|
41
|
-
formatador (>= 0.2.4)
|
|
42
|
-
listen (>= 2.7, < 4.0)
|
|
43
|
-
lumberjack (>= 1.0.12, < 2.0)
|
|
44
|
-
nenv (~> 0.1)
|
|
45
|
-
notiffany (~> 0.0)
|
|
46
|
-
pry (>= 0.13.0)
|
|
47
|
-
shellany (~> 0.0)
|
|
48
|
-
thor (>= 0.18.1)
|
|
49
|
-
guard-compat (1.2.1)
|
|
50
|
-
guard-rspec (4.7.3)
|
|
51
|
-
guard (~> 2.1)
|
|
52
|
-
guard-compat (~> 1.1)
|
|
53
|
-
rspec (>= 2.99.0, < 4.0)
|
|
54
|
-
i18n (1.14.1)
|
|
55
|
-
concurrent-ruby (~> 1.0)
|
|
56
|
-
json (2.7.1)
|
|
57
|
-
language_server-protocol (3.17.0.3)
|
|
58
|
-
listen (3.8.0)
|
|
59
|
-
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
60
|
-
rb-inotify (~> 0.9, >= 0.9.10)
|
|
61
|
-
lumberjack (1.2.10)
|
|
62
|
-
method_source (1.0.0)
|
|
63
|
-
minitest (5.20.0)
|
|
64
|
-
nenv (0.3.0)
|
|
65
|
-
notiffany (0.1.3)
|
|
66
|
-
nenv (~> 0.1)
|
|
67
|
-
shellany (~> 0.0)
|
|
68
|
-
parallel (1.24.0)
|
|
69
|
-
parser (3.2.2.4)
|
|
70
|
-
ast (~> 2.4.1)
|
|
71
|
-
racc
|
|
72
|
-
pry (0.14.2)
|
|
73
|
-
coderay (~> 1.1)
|
|
74
|
-
method_source (~> 1.0)
|
|
75
|
-
racc (1.7.3)
|
|
76
|
-
rainbow (3.1.1)
|
|
77
|
-
rake (13.1.0)
|
|
78
|
-
rb-fsevent (0.11.2)
|
|
79
|
-
rb-inotify (0.10.1)
|
|
80
|
-
ffi (~> 1.0)
|
|
81
|
-
regexp_parser (2.8.3)
|
|
82
|
-
rexml (3.2.6)
|
|
83
|
-
rspec (3.12.0)
|
|
84
|
-
rspec-core (~> 3.12.0)
|
|
85
|
-
rspec-expectations (~> 3.12.0)
|
|
86
|
-
rspec-mocks (~> 3.12.0)
|
|
87
|
-
rspec-core (3.12.2)
|
|
88
|
-
rspec-support (~> 3.12.0)
|
|
89
|
-
rspec-expectations (3.12.3)
|
|
90
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
91
|
-
rspec-support (~> 3.12.0)
|
|
92
|
-
rspec-mocks (3.12.6)
|
|
93
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
94
|
-
rspec-support (~> 3.12.0)
|
|
95
|
-
rspec-nc (0.3.0)
|
|
96
|
-
rspec (>= 3)
|
|
97
|
-
terminal-notifier (>= 1.4)
|
|
98
|
-
rspec-support (3.12.1)
|
|
99
|
-
rubocop (1.59.0)
|
|
100
|
-
json (~> 2.3)
|
|
101
|
-
language_server-protocol (>= 3.17.0)
|
|
102
|
-
parallel (~> 1.10)
|
|
103
|
-
parser (>= 3.2.2.4)
|
|
104
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
105
|
-
regexp_parser (>= 1.8, < 3.0)
|
|
106
|
-
rexml (>= 3.2.5, < 4.0)
|
|
107
|
-
rubocop-ast (>= 1.30.0, < 2.0)
|
|
108
|
-
ruby-progressbar (~> 1.7)
|
|
109
|
-
unicode-display_width (>= 2.4.0, < 3.0)
|
|
110
|
-
rubocop-ast (1.30.0)
|
|
111
|
-
parser (>= 3.2.1.0)
|
|
112
|
-
ruby-progressbar (1.13.0)
|
|
113
|
-
shellany (0.0.1)
|
|
114
|
-
sqlite3 (1.4.2)
|
|
115
|
-
terminal-notifier (2.0.0)
|
|
116
|
-
thor (1.3.0)
|
|
117
|
-
tzinfo (2.0.6)
|
|
118
|
-
concurrent-ruby (~> 1.0)
|
|
119
|
-
unicode-display_width (2.5.0)
|
|
120
|
-
|
|
121
|
-
PLATFORMS
|
|
122
|
-
arm64-darwin-23
|
|
123
|
-
|
|
124
|
-
DEPENDENCIES
|
|
125
|
-
activerecord (= 7.0.8)
|
|
126
|
-
activesupport (= 7.0.8)
|
|
127
|
-
appraisal
|
|
128
|
-
auto_increment!
|
|
129
|
-
bundler
|
|
130
|
-
database_cleaner
|
|
131
|
-
fuubar
|
|
132
|
-
guard
|
|
133
|
-
guard-rspec
|
|
134
|
-
rake
|
|
135
|
-
rspec
|
|
136
|
-
rspec-nc
|
|
137
|
-
rubocop
|
|
138
|
-
sqlite3 (>= 1.3.13)
|
|
139
|
-
|
|
140
|
-
BUNDLED WITH
|
|
141
|
-
2.4.22
|
data/spec/db/sync.db
DELETED
|
Binary file
|