enumbler 0.9.1 → 0.10.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/ruby.yml +35 -30
- data/.rubocop.yml +10 -1
- data/.ruby-version +1 -0
- data/AGENTS.md +13 -0
- data/Gemfile +22 -0
- data/Gemfile.lock +92 -61
- data/Gemfile.rails6.0 +28 -0
- data/Gemfile.rails6.0.lock +99 -0
- data/Gemfile.rails6.1 +28 -0
- data/Gemfile.rails6.1.lock +98 -0
- data/Gemfile.rails7.0 +28 -0
- data/Gemfile.rails7.0.lock +96 -0
- data/Gemfile.rails7.1 +28 -0
- data/Gemfile.rails7.1.lock +114 -0
- data/Gemfile.rails7.2 +28 -0
- data/Gemfile.rails7.2.lock +112 -0
- data/Gemfile.rails8.0 +28 -0
- data/Gemfile.rails8.0.lock +112 -0
- data/README.md +12 -3
- data/bin/pre_commit_rubocop.rb +12 -3
- data/enumbler.gemspec +4 -11
- data/lib/enumbler/collection.rb +2 -2
- data/lib/enumbler/core_ext/symbol/case_equality_operator.rb +2 -2
- data/lib/enumbler/enabler.rb +23 -15
- data/lib/enumbler/enumble.rb +1 -2
- data/lib/enumbler/version.rb +1 -1
- data/lib/enumbler.rb +3 -3
- metadata +27 -113
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 717637e70fa4a5c5b5419945258e2132e2fd0c5d6c9e88f983f17cc00aaabe55
|
4
|
+
data.tar.gz: b5a2a0d6c731fdf14fa260ceea6af15940ed146ee94c7adf6547f972d885dc00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e13f79de97b243c0a914fda812722ffce084e36e15c9930e5f4ec5e6dc7c345a19909351c6da6eeb8113bf97d60eafd7aee8a80cf99ae829d9f929c8ce60c67
|
7
|
+
data.tar.gz: f0bfd2c79d944854af27b2b953c3fdbe7ae2e7d2e88b321d2c7332cff5fcc07f7342c2e4e6fb0be919fd9e377a7e1fce91d4c03cfb15d0de36995bb4d5527bc4
|
data/.github/workflows/ruby.yml
CHANGED
@@ -2,41 +2,49 @@ name: CI Matrix Testing
|
|
2
2
|
|
3
3
|
on:
|
4
4
|
push:
|
5
|
-
branches: [
|
6
|
-
tags:
|
7
|
-
- "*"
|
5
|
+
branches: [ main ]
|
6
|
+
tags: ["*"]
|
8
7
|
pull_request:
|
9
|
-
branches: [ master ]
|
10
8
|
|
11
9
|
jobs:
|
12
10
|
rspec:
|
13
|
-
|
14
11
|
runs-on: ubuntu-latest
|
15
|
-
|
16
12
|
strategy:
|
13
|
+
fail-fast: false
|
17
14
|
matrix:
|
18
|
-
|
15
|
+
ruby: [3.1, 3.2, 3.3, 3.4]
|
16
|
+
rails_version: ["6.0", "6.1", "7.0", "7.1", "7.2", "8.0"]
|
17
|
+
exclude:
|
18
|
+
- ruby: 3.1
|
19
|
+
rails_version: "8.0"
|
20
|
+
- ruby: 3.4
|
21
|
+
rails_version: "6.0"
|
22
|
+
- ruby: 3.4
|
23
|
+
rails_version: "6.1"
|
24
|
+
- ruby: 3.4
|
25
|
+
rails_version: "7.0"
|
19
26
|
|
20
27
|
steps:
|
21
|
-
|
28
|
+
- uses: actions/checkout@v4
|
22
29
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
30
|
+
- name: Set up Ruby
|
31
|
+
uses: ruby/setup-ruby@v1
|
32
|
+
with:
|
33
|
+
ruby-version: ${{ matrix.ruby }}
|
27
34
|
|
28
|
-
|
29
|
-
|
30
|
-
sudo apt-get install libsqlite3-dev
|
35
|
+
- name: Install sqlite3
|
36
|
+
run: sudo apt-get update && sudo apt-get install -y libsqlite3-dev
|
31
37
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
38
|
+
- name: Install dependencies
|
39
|
+
env:
|
40
|
+
BUNDLE_GEMFILE: Gemfile.rails${{ matrix.rails_version }}
|
41
|
+
run: |
|
42
|
+
bundle install --jobs 4 --retry 3
|
36
43
|
|
37
|
-
|
38
|
-
|
39
|
-
|
44
|
+
- name: Run specs
|
45
|
+
env:
|
46
|
+
BUNDLE_GEMFILE: Gemfile.rails${{ matrix.rails_version }}
|
47
|
+
run: bundle exec rspec
|
40
48
|
|
41
49
|
build:
|
42
50
|
needs: rspec
|
@@ -44,21 +52,18 @@ jobs:
|
|
44
52
|
name: Publish Gem
|
45
53
|
runs-on: ubuntu-latest
|
46
54
|
|
55
|
+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
56
|
+
|
47
57
|
steps:
|
48
|
-
- uses: actions/checkout@
|
58
|
+
- uses: actions/checkout@v4
|
49
59
|
|
50
60
|
- name: Set up Ruby
|
51
|
-
uses:
|
61
|
+
uses: ruby/setup-ruby@v1
|
52
62
|
with:
|
53
|
-
ruby-version:
|
63
|
+
ruby-version: 3.4
|
54
64
|
|
55
65
|
- name: Publish to RubyGems
|
56
|
-
if: contains(github.ref, 'refs/tags/')
|
57
66
|
run: |
|
58
|
-
mkdir -p $HOME/.gem
|
59
|
-
touch $HOME/.gem/credentials
|
60
|
-
chmod 0600 $HOME/.gem/credentials
|
61
|
-
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
62
67
|
gem build *.gemspec
|
63
68
|
gem push *.gem
|
64
69
|
env:
|
data/.rubocop.yml
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
AllCops:
|
2
2
|
NewCops: enable
|
3
|
-
TargetRubyVersion:
|
3
|
+
TargetRubyVersion: 3.4
|
4
|
+
Exclude:
|
5
|
+
- 'bin/**/*'
|
6
|
+
|
7
|
+
Gemspec/RequiredRubyVersion:
|
8
|
+
Enabled: false
|
4
9
|
|
5
10
|
Layout/ArgumentAlignment:
|
6
11
|
Enabled: true
|
@@ -40,6 +45,10 @@ Naming/MethodParameterName:
|
|
40
45
|
Naming/PredicateName:
|
41
46
|
Enabled: true
|
42
47
|
|
48
|
+
# Works in 3.4 only
|
49
|
+
Style/ArgumentsForwarding:
|
50
|
+
Enabled: false
|
51
|
+
|
43
52
|
Style/Documentation:
|
44
53
|
Enabled: false
|
45
54
|
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.4.4
|
data/AGENTS.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Instructions for Codex Agents
|
2
|
+
|
3
|
+
## Environment Setup
|
4
|
+
- The codex environment has a setup script that installs system packages.
|
5
|
+
|
6
|
+
## Running Checks
|
7
|
+
- Use Bundler for all commands (`bundle exec`).
|
8
|
+
- Lint changed Ruby files with `bundle exec rspec`.
|
9
|
+
|
10
|
+
## Commit Guidelines
|
11
|
+
- Keep commit messages concise and descriptive.
|
12
|
+
- Open a pull request summarizing the changes and note test results.
|
13
|
+
|
data/Gemfile
CHANGED
@@ -2,5 +2,27 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
+
gem "activemodel", ">= 8"
|
6
|
+
gem "activerecord", ">= 8"
|
7
|
+
gem "activesupport", ">= 8"
|
8
|
+
|
9
|
+
# The 1.3.5 version of concurrent-ruby is causing an issue with rails.
|
10
|
+
# Once that issue is resolved we can unpin this and upgrade > 1.3.5
|
11
|
+
# See: https://github.com/rails/rails/issues/54271
|
12
|
+
gem "concurrent-ruby", "1.3.4"
|
13
|
+
|
5
14
|
# Specify your gem's dependencies in enumbler.gemspec
|
6
15
|
gemspec
|
16
|
+
|
17
|
+
# Specify any additional dependencies that are not in the gemspec
|
18
|
+
# but are needed for development or testing.
|
19
|
+
|
20
|
+
group :development, :test do
|
21
|
+
gem "database_cleaner-active_record", "~> 2.0"
|
22
|
+
gem "fuubar", "~> 2.5"
|
23
|
+
gem "pry"
|
24
|
+
gem "rake", "~> 13.0"
|
25
|
+
gem "rspec", "~> 3.9"
|
26
|
+
gem "rubocop", "~> 1.0", require: false
|
27
|
+
gem "sqlite3", ">= 2.1"
|
28
|
+
end
|
data/Gemfile.lock
CHANGED
@@ -1,93 +1,124 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
enumbler (0.
|
5
|
-
activerecord (>=
|
6
|
-
activesupport (>=
|
4
|
+
enumbler (0.10.0)
|
5
|
+
activerecord (>= 6.0, < 9)
|
6
|
+
activesupport (>= 6.0, < 9)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activemodel (
|
12
|
-
activesupport (=
|
13
|
-
activerecord (
|
14
|
-
activemodel (=
|
15
|
-
activesupport (=
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
11
|
+
activemodel (8.0.2)
|
12
|
+
activesupport (= 8.0.2)
|
13
|
+
activerecord (8.0.2)
|
14
|
+
activemodel (= 8.0.2)
|
15
|
+
activesupport (= 8.0.2)
|
16
|
+
timeout (>= 0.4.0)
|
17
|
+
activesupport (8.0.2)
|
18
|
+
base64
|
19
|
+
benchmark (>= 0.3)
|
20
|
+
bigdecimal
|
21
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
22
|
+
connection_pool (>= 2.2.5)
|
23
|
+
drb
|
24
|
+
i18n (>= 1.6, < 2)
|
25
|
+
logger (>= 1.4.2)
|
26
|
+
minitest (>= 5.1)
|
27
|
+
securerandom (>= 0.3)
|
28
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
29
|
+
uri (>= 0.13.1)
|
30
|
+
ast (2.4.3)
|
31
|
+
base64 (0.2.0)
|
32
|
+
benchmark (0.4.0)
|
33
|
+
bigdecimal (3.1.9)
|
23
34
|
coderay (1.1.2)
|
24
|
-
concurrent-ruby (1.
|
25
|
-
|
26
|
-
database_cleaner-active_record (
|
27
|
-
activerecord
|
28
|
-
database_cleaner (~>
|
29
|
-
|
35
|
+
concurrent-ruby (1.3.4)
|
36
|
+
connection_pool (2.5.3)
|
37
|
+
database_cleaner-active_record (2.2.1)
|
38
|
+
activerecord (>= 5.a)
|
39
|
+
database_cleaner-core (~> 2.0.0)
|
40
|
+
database_cleaner-core (2.0.1)
|
41
|
+
diff-lcs (1.6.2)
|
42
|
+
drb (2.2.3)
|
30
43
|
fuubar (2.5.0)
|
31
44
|
rspec-core (~> 3.0)
|
32
45
|
ruby-progressbar (~> 1.4)
|
33
|
-
i18n (1.
|
46
|
+
i18n (1.14.7)
|
34
47
|
concurrent-ruby (~> 1.0)
|
48
|
+
json (2.12.2)
|
49
|
+
language_server-protocol (3.17.0.5)
|
50
|
+
lint_roller (1.1.0)
|
51
|
+
logger (1.7.0)
|
35
52
|
method_source (1.0.0)
|
36
|
-
|
37
|
-
|
38
|
-
|
53
|
+
mini_portile2 (2.8.9)
|
54
|
+
minitest (5.25.5)
|
55
|
+
parallel (1.27.0)
|
56
|
+
parser (3.3.8.0)
|
39
57
|
ast (~> 2.4.1)
|
58
|
+
racc
|
59
|
+
prism (1.4.0)
|
40
60
|
pry (0.13.1)
|
41
61
|
coderay (~> 1.1)
|
42
62
|
method_source (~> 1.0)
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
rspec (3.
|
48
|
-
rspec-core (~> 3.
|
49
|
-
rspec-expectations (~> 3.
|
50
|
-
rspec-mocks (~> 3.
|
51
|
-
rspec-core (3.
|
52
|
-
rspec-support (~> 3.
|
53
|
-
rspec-expectations (3.
|
63
|
+
racc (1.8.1)
|
64
|
+
rainbow (3.1.1)
|
65
|
+
rake (13.2.1)
|
66
|
+
regexp_parser (2.10.0)
|
67
|
+
rspec (3.13.1)
|
68
|
+
rspec-core (~> 3.13.0)
|
69
|
+
rspec-expectations (~> 3.13.0)
|
70
|
+
rspec-mocks (~> 3.13.0)
|
71
|
+
rspec-core (3.13.4)
|
72
|
+
rspec-support (~> 3.13.0)
|
73
|
+
rspec-expectations (3.13.5)
|
54
74
|
diff-lcs (>= 1.2.0, < 2.0)
|
55
|
-
rspec-support (~> 3.
|
56
|
-
rspec-mocks (3.
|
75
|
+
rspec-support (~> 3.13.0)
|
76
|
+
rspec-mocks (3.13.5)
|
57
77
|
diff-lcs (>= 1.2.0, < 2.0)
|
58
|
-
rspec-support (~> 3.
|
59
|
-
rspec-support (3.
|
60
|
-
rubocop (
|
78
|
+
rspec-support (~> 3.13.0)
|
79
|
+
rspec-support (3.13.4)
|
80
|
+
rubocop (1.75.7)
|
81
|
+
json (~> 2.3)
|
82
|
+
language_server-protocol (~> 3.17.0.2)
|
83
|
+
lint_roller (~> 1.1.0)
|
61
84
|
parallel (~> 1.10)
|
62
|
-
parser (>=
|
85
|
+
parser (>= 3.3.0.2)
|
63
86
|
rainbow (>= 2.2.2, < 4.0)
|
64
|
-
regexp_parser (>=
|
65
|
-
|
66
|
-
rubocop-ast (>= 0.4.0, < 1.0)
|
87
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
88
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
67
89
|
ruby-progressbar (~> 1.7)
|
68
|
-
unicode-display_width (>=
|
69
|
-
rubocop-ast (
|
70
|
-
parser (>=
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
90
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
91
|
+
rubocop-ast (1.44.1)
|
92
|
+
parser (>= 3.3.7.2)
|
93
|
+
prism (~> 1.4)
|
94
|
+
ruby-progressbar (1.13.0)
|
95
|
+
securerandom (0.4.1)
|
96
|
+
sqlite3 (2.6.0)
|
97
|
+
mini_portile2 (~> 2.8.0)
|
98
|
+
timeout (0.4.3)
|
99
|
+
tzinfo (2.0.6)
|
100
|
+
concurrent-ruby (~> 1.0)
|
101
|
+
unicode-display_width (3.1.4)
|
102
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
103
|
+
unicode-emoji (4.0.4)
|
104
|
+
uri (1.0.3)
|
78
105
|
|
79
106
|
PLATFORMS
|
80
107
|
ruby
|
81
108
|
|
82
109
|
DEPENDENCIES
|
83
|
-
|
110
|
+
activemodel (>= 8)
|
111
|
+
activerecord (>= 8)
|
112
|
+
activesupport (>= 8)
|
113
|
+
concurrent-ruby (= 1.3.4)
|
114
|
+
database_cleaner-active_record (~> 2.0)
|
84
115
|
enumbler!
|
85
116
|
fuubar (~> 2.5)
|
86
117
|
pry
|
87
|
-
rake (~>
|
88
|
-
rspec (~> 3.9
|
89
|
-
rubocop (~>
|
90
|
-
sqlite3 (
|
118
|
+
rake (~> 13.0)
|
119
|
+
rspec (~> 3.9)
|
120
|
+
rubocop (~> 1.0)
|
121
|
+
sqlite3 (>= 2.1)
|
91
122
|
|
92
123
|
BUNDLED WITH
|
93
|
-
2.
|
124
|
+
2.6.7
|
data/Gemfile.rails6.0
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "activesupport", "6.0.3.1"
|
6
|
+
gem "activerecord", "6.0.3.1"
|
7
|
+
gem "activemodel", "6.0.3.1"
|
8
|
+
|
9
|
+
# The 1.3.5 version of concurrent-ruby is causing an issue with rails.
|
10
|
+
# Once that issue is resolved we can unpin this and upgrade > 1.3.5
|
11
|
+
# See: https://github.com/rails/rails/issues/54271
|
12
|
+
gem "concurrent-ruby", "1.3.4"
|
13
|
+
|
14
|
+
# Specify your gem's dependencies in enumbler.gemspec
|
15
|
+
gemspec
|
16
|
+
|
17
|
+
# Specify any additional dependencies that are not in the gemspec
|
18
|
+
# but are needed for development or testing.
|
19
|
+
|
20
|
+
group :development, :test do
|
21
|
+
gem "database_cleaner-active_record", "~> 1.8.0"
|
22
|
+
gem "fuubar", "~> 2.5"
|
23
|
+
gem "pry"
|
24
|
+
gem "rake", "~> 12.0"
|
25
|
+
gem "rspec", "~> 3.9.0"
|
26
|
+
gem "rubocop", "~> 0.91.0", require: false
|
27
|
+
gem "sqlite3", "~> 1.6"
|
28
|
+
end
|
@@ -0,0 +1,99 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
enumbler (0.10.0)
|
5
|
+
activerecord (>= 6.0, < 9)
|
6
|
+
activesupport (>= 6.0, < 9)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activemodel (6.0.3.1)
|
12
|
+
activesupport (= 6.0.3.1)
|
13
|
+
activerecord (6.0.3.1)
|
14
|
+
activemodel (= 6.0.3.1)
|
15
|
+
activesupport (= 6.0.3.1)
|
16
|
+
activesupport (6.0.3.1)
|
17
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
|
+
i18n (>= 0.7, < 2)
|
19
|
+
minitest (~> 5.1)
|
20
|
+
tzinfo (~> 1.1)
|
21
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
22
|
+
ast (2.4.1)
|
23
|
+
coderay (1.1.2)
|
24
|
+
concurrent-ruby (1.3.4)
|
25
|
+
database_cleaner (1.8.5)
|
26
|
+
database_cleaner-active_record (1.8.0)
|
27
|
+
activerecord
|
28
|
+
database_cleaner (~> 1.8.0)
|
29
|
+
diff-lcs (1.3)
|
30
|
+
fuubar (2.5.0)
|
31
|
+
rspec-core (~> 3.0)
|
32
|
+
ruby-progressbar (~> 1.4)
|
33
|
+
i18n (1.14.7)
|
34
|
+
concurrent-ruby (~> 1.0)
|
35
|
+
method_source (1.0.0)
|
36
|
+
mini_portile2 (2.8.9)
|
37
|
+
minitest (5.25.5)
|
38
|
+
parallel (1.19.1)
|
39
|
+
parser (2.7.1.4)
|
40
|
+
ast (~> 2.4.1)
|
41
|
+
pry (0.13.1)
|
42
|
+
coderay (~> 1.1)
|
43
|
+
method_source (~> 1.0)
|
44
|
+
rainbow (3.0.0)
|
45
|
+
rake (12.3.3)
|
46
|
+
regexp_parser (1.7.1)
|
47
|
+
rexml (3.2.4)
|
48
|
+
rspec (3.9.0)
|
49
|
+
rspec-core (~> 3.9.0)
|
50
|
+
rspec-expectations (~> 3.9.0)
|
51
|
+
rspec-mocks (~> 3.9.0)
|
52
|
+
rspec-core (3.9.2)
|
53
|
+
rspec-support (~> 3.9.3)
|
54
|
+
rspec-expectations (3.9.2)
|
55
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
56
|
+
rspec-support (~> 3.9.0)
|
57
|
+
rspec-mocks (3.9.1)
|
58
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
59
|
+
rspec-support (~> 3.9.0)
|
60
|
+
rspec-support (3.9.3)
|
61
|
+
rubocop (0.91.0)
|
62
|
+
parallel (~> 1.10)
|
63
|
+
parser (>= 2.7.1.1)
|
64
|
+
rainbow (>= 2.2.2, < 4.0)
|
65
|
+
regexp_parser (>= 1.7)
|
66
|
+
rexml
|
67
|
+
rubocop-ast (>= 0.4.0, < 1.0)
|
68
|
+
ruby-progressbar (~> 1.7)
|
69
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
70
|
+
rubocop-ast (0.4.0)
|
71
|
+
parser (>= 2.7.1.4)
|
72
|
+
ruby-progressbar (1.10.1)
|
73
|
+
sqlite3 (1.7.3)
|
74
|
+
mini_portile2 (~> 2.8.0)
|
75
|
+
thread_safe (0.3.6)
|
76
|
+
tzinfo (1.2.11)
|
77
|
+
thread_safe (~> 0.1)
|
78
|
+
unicode-display_width (1.7.0)
|
79
|
+
zeitwerk (2.6.18)
|
80
|
+
|
81
|
+
PLATFORMS
|
82
|
+
ruby
|
83
|
+
|
84
|
+
DEPENDENCIES
|
85
|
+
activemodel (= 6.0.3.1)
|
86
|
+
activerecord (= 6.0.3.1)
|
87
|
+
activesupport (= 6.0.3.1)
|
88
|
+
concurrent-ruby (= 1.3.4)
|
89
|
+
database_cleaner-active_record (~> 1.8.0)
|
90
|
+
enumbler!
|
91
|
+
fuubar (~> 2.5)
|
92
|
+
pry
|
93
|
+
rake (~> 12.0)
|
94
|
+
rspec (~> 3.9.0)
|
95
|
+
rubocop (~> 0.91.0)
|
96
|
+
sqlite3 (~> 1.6)
|
97
|
+
|
98
|
+
BUNDLED WITH
|
99
|
+
2.4.12
|
data/Gemfile.rails6.1
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "activesupport", "6.1.7.10"
|
6
|
+
gem "activerecord", "6.1.7.10"
|
7
|
+
gem "activemodel", "6.1.7.10"
|
8
|
+
|
9
|
+
# The 1.3.5 version of concurrent-ruby is causing an issue with rails.
|
10
|
+
# Once that issue is resolved we can unpin this and upgrade > 1.3.5
|
11
|
+
# See: https://github.com/rails/rails/issues/54271
|
12
|
+
gem "concurrent-ruby", "1.3.4"
|
13
|
+
|
14
|
+
# Specify your gem's dependencies in enumbler.gemspec
|
15
|
+
gemspec
|
16
|
+
|
17
|
+
# Specify any additional dependencies that are not in the gemspec
|
18
|
+
# but are needed for development or testing.
|
19
|
+
|
20
|
+
group :development, :test do
|
21
|
+
gem "database_cleaner-active_record", "~> 1.8.0"
|
22
|
+
gem "fuubar", "~> 2.5"
|
23
|
+
gem "pry"
|
24
|
+
gem "rake", "~> 12.0"
|
25
|
+
gem "rspec", "~> 3.9.0"
|
26
|
+
gem "rubocop", "~> 0.91.0", require: false
|
27
|
+
gem "sqlite3", "~> 1.6"
|
28
|
+
end
|
@@ -0,0 +1,98 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
enumbler (0.10.0)
|
5
|
+
activerecord (>= 5.2.3, < 7)
|
6
|
+
activesupport (>= 5.2.3, < 7)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
activemodel (6.1.7.10)
|
12
|
+
activesupport (= 6.1.7.10)
|
13
|
+
activerecord (6.1.7.10)
|
14
|
+
activemodel (= 6.1.7.10)
|
15
|
+
activesupport (= 6.1.7.10)
|
16
|
+
activesupport (6.1.7.10)
|
17
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
18
|
+
i18n (>= 1.6, < 2)
|
19
|
+
minitest (>= 5.1)
|
20
|
+
tzinfo (~> 2.0)
|
21
|
+
zeitwerk (~> 2.3)
|
22
|
+
ast (2.4.3)
|
23
|
+
coderay (1.1.3)
|
24
|
+
concurrent-ruby (1.3.4)
|
25
|
+
database_cleaner (1.8.5)
|
26
|
+
database_cleaner-active_record (1.8.0)
|
27
|
+
activerecord
|
28
|
+
database_cleaner (~> 1.8.0)
|
29
|
+
diff-lcs (1.6.2)
|
30
|
+
fuubar (2.5.1)
|
31
|
+
rspec-core (~> 3.0)
|
32
|
+
ruby-progressbar (~> 1.4)
|
33
|
+
i18n (1.14.7)
|
34
|
+
concurrent-ruby (~> 1.0)
|
35
|
+
method_source (1.1.0)
|
36
|
+
minitest (5.25.5)
|
37
|
+
parallel (1.27.0)
|
38
|
+
parser (3.3.8.0)
|
39
|
+
ast (~> 2.4.1)
|
40
|
+
racc
|
41
|
+
pry (0.15.2)
|
42
|
+
coderay (~> 1.1)
|
43
|
+
method_source (~> 1.0)
|
44
|
+
racc (1.8.1)
|
45
|
+
rainbow (3.1.1)
|
46
|
+
rake (12.3.3)
|
47
|
+
regexp_parser (2.10.0)
|
48
|
+
rexml (3.4.1)
|
49
|
+
rspec (3.9.0)
|
50
|
+
rspec-core (~> 3.9.0)
|
51
|
+
rspec-expectations (~> 3.9.0)
|
52
|
+
rspec-mocks (~> 3.9.0)
|
53
|
+
rspec-core (3.9.3)
|
54
|
+
rspec-support (~> 3.9.3)
|
55
|
+
rspec-expectations (3.9.4)
|
56
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
57
|
+
rspec-support (~> 3.9.0)
|
58
|
+
rspec-mocks (3.9.1)
|
59
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
60
|
+
rspec-support (~> 3.9.0)
|
61
|
+
rspec-support (3.9.4)
|
62
|
+
rubocop (0.91.1)
|
63
|
+
parallel (~> 1.10)
|
64
|
+
parser (>= 2.7.1.1)
|
65
|
+
rainbow (>= 2.2.2, < 4.0)
|
66
|
+
regexp_parser (>= 1.7)
|
67
|
+
rexml
|
68
|
+
rubocop-ast (>= 0.4.0, < 1.0)
|
69
|
+
ruby-progressbar (~> 1.7)
|
70
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
71
|
+
rubocop-ast (0.8.0)
|
72
|
+
parser (>= 2.7.1.5)
|
73
|
+
ruby-progressbar (1.13.0)
|
74
|
+
sqlite3 (1.7.3-arm64-darwin)
|
75
|
+
tzinfo (2.0.6)
|
76
|
+
concurrent-ruby (~> 1.0)
|
77
|
+
unicode-display_width (1.8.0)
|
78
|
+
zeitwerk (2.6.18)
|
79
|
+
|
80
|
+
PLATFORMS
|
81
|
+
arm64-darwin-24
|
82
|
+
|
83
|
+
DEPENDENCIES
|
84
|
+
activemodel (= 6.1.7.10)
|
85
|
+
activerecord (= 6.1.7.10)
|
86
|
+
activesupport (= 6.1.7.10)
|
87
|
+
concurrent-ruby (= 1.3.4)
|
88
|
+
database_cleaner-active_record (~> 1.8.0)
|
89
|
+
enumbler!
|
90
|
+
fuubar (~> 2.5)
|
91
|
+
pry
|
92
|
+
rake (~> 12.0)
|
93
|
+
rspec (~> 3.9.0)
|
94
|
+
rubocop (~> 0.91.0)
|
95
|
+
sqlite3 (~> 1.6)
|
96
|
+
|
97
|
+
BUNDLED WITH
|
98
|
+
2.4.12
|
data/Gemfile.rails7.0
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "activesupport", "7.0.8.7"
|
6
|
+
gem "activerecord", "7.0.8.7"
|
7
|
+
gem "activemodel", "7.0.8.7"
|
8
|
+
|
9
|
+
# The 1.3.5 version of concurrent-ruby is causing an issue with rails.
|
10
|
+
# Once that issue is resolved we can unpin this and upgrade > 1.3.5
|
11
|
+
# See: https://github.com/rails/rails/issues/54271
|
12
|
+
gem "concurrent-ruby", "1.3.4"
|
13
|
+
|
14
|
+
# Specify your gem's dependencies in enumbler.gemspec
|
15
|
+
gemspec
|
16
|
+
|
17
|
+
# Specify any additional dependencies that are not in the gemspec
|
18
|
+
# but are needed for development or testing.
|
19
|
+
|
20
|
+
group :development, :test do
|
21
|
+
gem "database_cleaner-active_record", "~> 1.8.0"
|
22
|
+
gem "fuubar", "~> 2.5"
|
23
|
+
gem "pry"
|
24
|
+
gem "rake", "~> 12.0"
|
25
|
+
gem "rspec", "~> 3.9.0"
|
26
|
+
gem "rubocop", "~> 0.91.0", require: false
|
27
|
+
gem "sqlite3", "~> 1.6"
|
28
|
+
end
|