assignable_values 1.1.1 → 2.0.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/test.yml +40 -39
- data/.ruby-version +1 -1
- data/CHANGELOG.md +8 -0
- data/Gemfile +1 -1
- data/{Gemfile.5.0 → Gemfile.7.1.mysql2} +2 -2
- data/Gemfile.7.1.mysql2.lock +88 -0
- data/Gemfile.7.1.pg.lock +2 -2
- data/{Gemfile.5.1 → Gemfile.7.2.mysql2} +2 -2
- data/Gemfile.7.2.mysql2.lock +90 -0
- data/{Gemfile.6.1.pg → Gemfile.7.2.pg} +1 -1
- data/Gemfile.7.2.pg.lock +89 -0
- data/Gemfile.8.0.mysql2 +16 -0
- data/Gemfile.8.0.mysql2.lock +92 -0
- data/Gemfile.8.0.pg.lock +2 -2
- data/Gemfile.8.1.mysql2 +16 -0
- data/Gemfile.8.1.mysql2.lock +91 -0
- data/{Gemfile.5.1.pg → Gemfile.8.1.pg} +3 -3
- data/Gemfile.8.1.pg.lock +91 -0
- data/Gemfile.lock +1 -1
- data/README.md +3 -3
- data/lib/assignable_values/active_record/restriction/base.rb +0 -11
- data/lib/assignable_values/active_record/restriction/scalar_attribute.rb +0 -19
- data/lib/assignable_values/version.rb +1 -1
- data/lib/assignable_values.rb +0 -1
- data/spec/assignable_values/active_record_spec.rb +0 -52
- data/spec/support/database.rb +5 -1
- metadata +15 -15
- data/Gemfile.5.0.lock +0 -68
- data/Gemfile.5.1.lock +0 -68
- data/Gemfile.5.1.pg.lock +0 -68
- data/Gemfile.6.1.pg.lock +0 -67
- data/lib/assignable_values/humanizable_string.rb +0 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7dd2cd63c875a8f672966eef7d0d9e09b5757c4dd159fbcf192b399f935f2772
|
|
4
|
+
data.tar.gz: b49c6d5138469b421e848643973a696b0234eca4eb7a043c8f3bfcfc22b9f313
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 402db365fb249b0d608ef316dc51e35142e1d311da22b256bc16d49ee72fee98d05c4c90aed5ac87c6f0425f7807b7bf6440d6ca14cedcb7bef32df55107a784
|
|
7
|
+
data.tar.gz: eb1bc1abfca96e8fa605caa2d45b4fdcc0e320ace253d6f2c9f2fdd75e3fecfeb0e2aaabeacddcc99282ee21b45f7054f223f01fd94238d1a879b944103fe3bb
|
data/.github/workflows/test.yml
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: Tests
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
on:
|
|
4
5
|
push:
|
|
5
6
|
branches:
|
|
6
7
|
- master
|
|
7
8
|
pull_request:
|
|
8
9
|
branches:
|
|
9
10
|
- master
|
|
11
|
+
|
|
10
12
|
jobs:
|
|
11
13
|
test_mysql:
|
|
12
|
-
runs-on: ubuntu-
|
|
14
|
+
runs-on: ubuntu-24.04
|
|
15
|
+
|
|
13
16
|
services:
|
|
14
17
|
mysql:
|
|
15
18
|
image: mysql:5.7
|
|
@@ -22,77 +25,75 @@ jobs:
|
|
|
22
25
|
--health-interval=10s
|
|
23
26
|
--health-timeout=5s
|
|
24
27
|
--health-retries=3
|
|
28
|
+
|
|
25
29
|
strategy:
|
|
26
30
|
fail-fast: false
|
|
27
31
|
matrix:
|
|
28
32
|
include:
|
|
29
|
-
- ruby:
|
|
30
|
-
gemfile: Gemfile.
|
|
31
|
-
- ruby:
|
|
32
|
-
gemfile: Gemfile.
|
|
33
|
+
- ruby: 3.3.6
|
|
34
|
+
gemfile: Gemfile.7.1.mysql2
|
|
35
|
+
- ruby: 3.3.6
|
|
36
|
+
gemfile: Gemfile.7.2.mysql2
|
|
37
|
+
- ruby: 3.3.6
|
|
38
|
+
gemfile: Gemfile.8.0.mysql2
|
|
39
|
+
- ruby: 3.4.7
|
|
40
|
+
gemfile: Gemfile.8.1.mysql2
|
|
41
|
+
|
|
33
42
|
env:
|
|
34
|
-
BUNDLE_GEMFILE:
|
|
43
|
+
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
|
44
|
+
|
|
35
45
|
steps:
|
|
36
|
-
- uses: actions/checkout@
|
|
46
|
+
- uses: actions/checkout@v3
|
|
37
47
|
- name: Install ruby
|
|
38
48
|
uses: ruby/setup-ruby@v1
|
|
39
49
|
with:
|
|
40
|
-
ruby-version:
|
|
41
|
-
|
|
42
|
-
run: |
|
|
43
|
-
gem install bundler:2.1.4
|
|
44
|
-
bundle install --no-deployment
|
|
50
|
+
ruby-version: ${{ matrix.ruby }}
|
|
51
|
+
bundler-cache: true
|
|
45
52
|
- name: Setup databases
|
|
46
53
|
run: |
|
|
47
54
|
mysql -e 'create database IF NOT EXISTS assignable_values_test;' -u root --password=password -P 3306 -h 127.0.0.1
|
|
48
55
|
- name: Run tests
|
|
49
56
|
run: bundle exec rspec
|
|
57
|
+
|
|
50
58
|
test_pg:
|
|
51
|
-
runs-on: ubuntu-
|
|
59
|
+
runs-on: ubuntu-24.04
|
|
60
|
+
|
|
52
61
|
services:
|
|
53
62
|
postgres:
|
|
54
63
|
image: postgres
|
|
55
64
|
env:
|
|
56
65
|
POSTGRES_PASSWORD: postgres
|
|
57
|
-
|
|
58
|
-
|
|
66
|
+
POSTGRES_DB: assignable_values_test
|
|
67
|
+
options: >-
|
|
68
|
+
--health-cmd pg_isready
|
|
69
|
+
--health-interval 10s
|
|
70
|
+
--health-timeout 5s
|
|
71
|
+
--health-retries 5
|
|
59
72
|
ports:
|
|
60
73
|
- 5432:5432
|
|
74
|
+
|
|
61
75
|
strategy:
|
|
62
76
|
fail-fast: false
|
|
63
77
|
matrix:
|
|
64
78
|
include:
|
|
65
|
-
- ruby:
|
|
66
|
-
gemfile: Gemfile.5.1.pg
|
|
67
|
-
- ruby: 2.5.3
|
|
68
|
-
gemfile: Gemfile.6.1.pg
|
|
69
|
-
- ruby: 2.7.3
|
|
70
|
-
gemfile: Gemfile.6.1.pg
|
|
71
|
-
- ruby: 2.7.3
|
|
72
|
-
gemfile: Gemfile.7.1.pg
|
|
73
|
-
- ruby: 3.3.0
|
|
74
|
-
gemfile: Gemfile.6.1.pg
|
|
75
|
-
- ruby: 3.3.0
|
|
79
|
+
- ruby: 3.3.6
|
|
76
80
|
gemfile: Gemfile.7.1.pg
|
|
81
|
+
- ruby: 3.3.6
|
|
82
|
+
gemfile: Gemfile.7.2.pg
|
|
77
83
|
- ruby: 3.3.6
|
|
78
84
|
gemfile: Gemfile.8.0.pg
|
|
85
|
+
- ruby: 3.4.7
|
|
86
|
+
gemfile: Gemfile.8.1.pg
|
|
79
87
|
|
|
80
88
|
env:
|
|
81
|
-
BUNDLE_GEMFILE:
|
|
89
|
+
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
|
90
|
+
|
|
82
91
|
steps:
|
|
83
|
-
- uses: actions/checkout@
|
|
92
|
+
- uses: actions/checkout@v3
|
|
84
93
|
- name: Install ruby
|
|
85
94
|
uses: ruby/setup-ruby@v1
|
|
86
95
|
with:
|
|
87
|
-
ruby-version:
|
|
88
|
-
|
|
89
|
-
run: |
|
|
90
|
-
sudo apt-get update
|
|
91
|
-
sudo apt-get install -y postgresql-client
|
|
92
|
-
PGPASSWORD=postgres psql -c 'create database assignable_values_test;' -U postgres -p 5432 -h localhost
|
|
93
|
-
- name: Bundle
|
|
94
|
-
run: |
|
|
95
|
-
gem install bundler:2.1.4
|
|
96
|
-
bundle install --no-deployment
|
|
96
|
+
ruby-version: ${{ matrix.ruby }}
|
|
97
|
+
bundler-cache: true
|
|
97
98
|
- name: Run tests
|
|
98
99
|
run: bundle exec rspec
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.
|
|
1
|
+
3.4.7
|
data/CHANGELOG.md
CHANGED
|
@@ -12,6 +12,14 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
|
|
|
12
12
|
|
|
13
13
|
-
|
|
14
14
|
|
|
15
|
+
## 1.2.0 - 2025-12-18
|
|
16
|
+
|
|
17
|
+
### Breaking changes
|
|
18
|
+
|
|
19
|
+
- Drop support for Ruby < 3.1, Rails < 7.
|
|
20
|
+
- Removed legacy accessor methods `humanized_<value>s` (deprecated since 0.15.0). Use `humanized_assignable_<value>s` instead.
|
|
21
|
+
- Removed `humanized` method on string values returned by assignable_values.
|
|
22
|
+
|
|
15
23
|
## 1.1.1 - 2025-01-09
|
|
16
24
|
|
|
17
25
|
### Compatible changes
|
data/Gemfile
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Gemfile.
|
|
1
|
+
Gemfile.8.1.pg
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
source 'https://rubygems.org'
|
|
2
2
|
|
|
3
3
|
# Runtime dependencies
|
|
4
|
-
gem 'activerecord', '~>
|
|
4
|
+
gem 'activerecord', '~>7.1.3'
|
|
5
5
|
gem 'i18n'
|
|
6
6
|
gem 'mysql2'
|
|
7
7
|
|
|
@@ -10,7 +10,7 @@ gem 'rake'
|
|
|
10
10
|
gem 'database_cleaner'
|
|
11
11
|
gem 'rspec'
|
|
12
12
|
gem 'rspec_candy'
|
|
13
|
-
gem 'gemika'
|
|
13
|
+
gem 'gemika', '~> 0.8.0'
|
|
14
14
|
|
|
15
15
|
# Gem under test
|
|
16
16
|
gem 'assignable_values', :path => '.'
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
assignable_values (2.0.0)
|
|
5
|
+
activerecord (>= 2.3)
|
|
6
|
+
|
|
7
|
+
GEM
|
|
8
|
+
remote: https://rubygems.org/
|
|
9
|
+
specs:
|
|
10
|
+
activemodel (7.1.5.1)
|
|
11
|
+
activesupport (= 7.1.5.1)
|
|
12
|
+
activerecord (7.1.5.1)
|
|
13
|
+
activemodel (= 7.1.5.1)
|
|
14
|
+
activesupport (= 7.1.5.1)
|
|
15
|
+
timeout (>= 0.4.0)
|
|
16
|
+
activesupport (7.1.5.1)
|
|
17
|
+
base64
|
|
18
|
+
benchmark (>= 0.3)
|
|
19
|
+
bigdecimal
|
|
20
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
21
|
+
connection_pool (>= 2.2.5)
|
|
22
|
+
drb
|
|
23
|
+
i18n (>= 1.6, < 2)
|
|
24
|
+
logger (>= 1.4.2)
|
|
25
|
+
minitest (>= 5.1)
|
|
26
|
+
mutex_m
|
|
27
|
+
securerandom (>= 0.3)
|
|
28
|
+
tzinfo (~> 2.0)
|
|
29
|
+
base64 (0.2.0)
|
|
30
|
+
benchmark (0.4.0)
|
|
31
|
+
bigdecimal (3.1.9)
|
|
32
|
+
concurrent-ruby (1.3.5)
|
|
33
|
+
connection_pool (2.5.0)
|
|
34
|
+
database_cleaner (2.1.0)
|
|
35
|
+
database_cleaner-active_record (>= 2, < 3)
|
|
36
|
+
database_cleaner-active_record (2.2.0)
|
|
37
|
+
activerecord (>= 5.a)
|
|
38
|
+
database_cleaner-core (~> 2.0.0)
|
|
39
|
+
database_cleaner-core (2.0.1)
|
|
40
|
+
diff-lcs (1.6.0)
|
|
41
|
+
drb (2.2.1)
|
|
42
|
+
gemika (0.8.4)
|
|
43
|
+
i18n (1.14.7)
|
|
44
|
+
concurrent-ruby (~> 1.0)
|
|
45
|
+
logger (1.6.6)
|
|
46
|
+
minitest (5.25.4)
|
|
47
|
+
mutex_m (0.3.0)
|
|
48
|
+
mysql2 (0.5.6)
|
|
49
|
+
rake (13.2.1)
|
|
50
|
+
rspec (3.13.0)
|
|
51
|
+
rspec-core (~> 3.13.0)
|
|
52
|
+
rspec-expectations (~> 3.13.0)
|
|
53
|
+
rspec-mocks (~> 3.13.0)
|
|
54
|
+
rspec-core (3.13.3)
|
|
55
|
+
rspec-support (~> 3.13.0)
|
|
56
|
+
rspec-expectations (3.13.3)
|
|
57
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
58
|
+
rspec-support (~> 3.13.0)
|
|
59
|
+
rspec-mocks (3.13.2)
|
|
60
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
61
|
+
rspec-support (~> 3.13.0)
|
|
62
|
+
rspec-support (3.13.2)
|
|
63
|
+
rspec_candy (0.5.1)
|
|
64
|
+
rspec
|
|
65
|
+
sneaky-save
|
|
66
|
+
securerandom (0.3.2)
|
|
67
|
+
sneaky-save (0.1.3)
|
|
68
|
+
activerecord (>= 3.2.0)
|
|
69
|
+
timeout (0.4.3)
|
|
70
|
+
tzinfo (2.0.6)
|
|
71
|
+
concurrent-ruby (~> 1.0)
|
|
72
|
+
|
|
73
|
+
PLATFORMS
|
|
74
|
+
ruby
|
|
75
|
+
|
|
76
|
+
DEPENDENCIES
|
|
77
|
+
activerecord (~> 7.1.3)
|
|
78
|
+
assignable_values!
|
|
79
|
+
database_cleaner
|
|
80
|
+
gemika (~> 0.8.0)
|
|
81
|
+
i18n
|
|
82
|
+
mysql2
|
|
83
|
+
rake
|
|
84
|
+
rspec
|
|
85
|
+
rspec_candy
|
|
86
|
+
|
|
87
|
+
BUNDLED WITH
|
|
88
|
+
2.7.2
|
data/Gemfile.7.1.pg.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
source 'https://rubygems.org'
|
|
2
2
|
|
|
3
3
|
# Runtime dependencies
|
|
4
|
-
gem 'activerecord', '~>
|
|
4
|
+
gem 'activerecord', '~>7.2.0'
|
|
5
5
|
gem 'i18n'
|
|
6
6
|
gem 'mysql2'
|
|
7
7
|
|
|
@@ -10,7 +10,7 @@ gem 'rake'
|
|
|
10
10
|
gem 'database_cleaner'
|
|
11
11
|
gem 'rspec'
|
|
12
12
|
gem 'rspec_candy'
|
|
13
|
-
gem 'gemika'
|
|
13
|
+
gem 'gemika', '~> 0.8.0'
|
|
14
14
|
|
|
15
15
|
# Gem under test
|
|
16
16
|
gem 'assignable_values', :path => '.'
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
assignable_values (2.0.0)
|
|
5
|
+
activerecord (>= 2.3)
|
|
6
|
+
|
|
7
|
+
GEM
|
|
8
|
+
remote: https://rubygems.org/
|
|
9
|
+
specs:
|
|
10
|
+
activemodel (7.2.3)
|
|
11
|
+
activesupport (= 7.2.3)
|
|
12
|
+
activerecord (7.2.3)
|
|
13
|
+
activemodel (= 7.2.3)
|
|
14
|
+
activesupport (= 7.2.3)
|
|
15
|
+
timeout (>= 0.4.0)
|
|
16
|
+
activesupport (7.2.3)
|
|
17
|
+
base64
|
|
18
|
+
benchmark (>= 0.3)
|
|
19
|
+
bigdecimal
|
|
20
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
21
|
+
connection_pool (>= 2.2.5)
|
|
22
|
+
drb
|
|
23
|
+
i18n (>= 1.6, < 2)
|
|
24
|
+
logger (>= 1.4.2)
|
|
25
|
+
minitest (>= 5.1)
|
|
26
|
+
securerandom (>= 0.3)
|
|
27
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
|
28
|
+
base64 (0.3.0)
|
|
29
|
+
benchmark (0.5.0)
|
|
30
|
+
bigdecimal (4.0.1)
|
|
31
|
+
concurrent-ruby (1.3.6)
|
|
32
|
+
connection_pool (3.0.2)
|
|
33
|
+
database_cleaner (2.1.0)
|
|
34
|
+
database_cleaner-active_record (>= 2, < 3)
|
|
35
|
+
database_cleaner-active_record (2.2.2)
|
|
36
|
+
activerecord (>= 5.a)
|
|
37
|
+
database_cleaner-core (~> 2.0)
|
|
38
|
+
database_cleaner-core (2.0.1)
|
|
39
|
+
diff-lcs (1.6.2)
|
|
40
|
+
drb (2.2.3)
|
|
41
|
+
gemika (0.8.4)
|
|
42
|
+
i18n (1.14.7)
|
|
43
|
+
concurrent-ruby (~> 1.0)
|
|
44
|
+
logger (1.7.0)
|
|
45
|
+
minitest (6.0.0)
|
|
46
|
+
prism (~> 1.5)
|
|
47
|
+
mysql2 (0.5.7)
|
|
48
|
+
bigdecimal
|
|
49
|
+
prism (1.6.0)
|
|
50
|
+
rake (13.3.1)
|
|
51
|
+
rspec (3.13.2)
|
|
52
|
+
rspec-core (~> 3.13.0)
|
|
53
|
+
rspec-expectations (~> 3.13.0)
|
|
54
|
+
rspec-mocks (~> 3.13.0)
|
|
55
|
+
rspec-core (3.13.6)
|
|
56
|
+
rspec-support (~> 3.13.0)
|
|
57
|
+
rspec-expectations (3.13.5)
|
|
58
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
59
|
+
rspec-support (~> 3.13.0)
|
|
60
|
+
rspec-mocks (3.13.7)
|
|
61
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
62
|
+
rspec-support (~> 3.13.0)
|
|
63
|
+
rspec-support (3.13.6)
|
|
64
|
+
rspec_candy (0.5.1)
|
|
65
|
+
rspec
|
|
66
|
+
sneaky-save
|
|
67
|
+
securerandom (0.4.1)
|
|
68
|
+
sneaky-save (0.1.3)
|
|
69
|
+
activerecord (>= 3.2.0)
|
|
70
|
+
timeout (0.6.0)
|
|
71
|
+
tzinfo (2.0.6)
|
|
72
|
+
concurrent-ruby (~> 1.0)
|
|
73
|
+
|
|
74
|
+
PLATFORMS
|
|
75
|
+
ruby
|
|
76
|
+
x86_64-linux
|
|
77
|
+
|
|
78
|
+
DEPENDENCIES
|
|
79
|
+
activerecord (~> 7.2.0)
|
|
80
|
+
assignable_values!
|
|
81
|
+
database_cleaner
|
|
82
|
+
gemika (~> 0.8.0)
|
|
83
|
+
i18n
|
|
84
|
+
mysql2
|
|
85
|
+
rake
|
|
86
|
+
rspec
|
|
87
|
+
rspec_candy
|
|
88
|
+
|
|
89
|
+
BUNDLED WITH
|
|
90
|
+
2.7.2
|
data/Gemfile.7.2.pg.lock
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
assignable_values (2.0.0)
|
|
5
|
+
activerecord (>= 2.3)
|
|
6
|
+
|
|
7
|
+
GEM
|
|
8
|
+
remote: https://rubygems.org/
|
|
9
|
+
specs:
|
|
10
|
+
activemodel (7.2.3)
|
|
11
|
+
activesupport (= 7.2.3)
|
|
12
|
+
activerecord (7.2.3)
|
|
13
|
+
activemodel (= 7.2.3)
|
|
14
|
+
activesupport (= 7.2.3)
|
|
15
|
+
timeout (>= 0.4.0)
|
|
16
|
+
activesupport (7.2.3)
|
|
17
|
+
base64
|
|
18
|
+
benchmark (>= 0.3)
|
|
19
|
+
bigdecimal
|
|
20
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
21
|
+
connection_pool (>= 2.2.5)
|
|
22
|
+
drb
|
|
23
|
+
i18n (>= 1.6, < 2)
|
|
24
|
+
logger (>= 1.4.2)
|
|
25
|
+
minitest (>= 5.1)
|
|
26
|
+
securerandom (>= 0.3)
|
|
27
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
|
28
|
+
base64 (0.3.0)
|
|
29
|
+
benchmark (0.5.0)
|
|
30
|
+
bigdecimal (4.0.1)
|
|
31
|
+
concurrent-ruby (1.3.6)
|
|
32
|
+
connection_pool (3.0.2)
|
|
33
|
+
database_cleaner (2.1.0)
|
|
34
|
+
database_cleaner-active_record (>= 2, < 3)
|
|
35
|
+
database_cleaner-active_record (2.2.2)
|
|
36
|
+
activerecord (>= 5.a)
|
|
37
|
+
database_cleaner-core (~> 2.0)
|
|
38
|
+
database_cleaner-core (2.0.1)
|
|
39
|
+
diff-lcs (1.6.2)
|
|
40
|
+
drb (2.2.3)
|
|
41
|
+
gemika (0.8.4)
|
|
42
|
+
i18n (1.14.7)
|
|
43
|
+
concurrent-ruby (~> 1.0)
|
|
44
|
+
logger (1.7.0)
|
|
45
|
+
minitest (6.0.0)
|
|
46
|
+
prism (~> 1.5)
|
|
47
|
+
pg (1.3.5)
|
|
48
|
+
prism (1.6.0)
|
|
49
|
+
rake (13.3.1)
|
|
50
|
+
rspec (3.13.2)
|
|
51
|
+
rspec-core (~> 3.13.0)
|
|
52
|
+
rspec-expectations (~> 3.13.0)
|
|
53
|
+
rspec-mocks (~> 3.13.0)
|
|
54
|
+
rspec-core (3.13.6)
|
|
55
|
+
rspec-support (~> 3.13.0)
|
|
56
|
+
rspec-expectations (3.13.5)
|
|
57
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
58
|
+
rspec-support (~> 3.13.0)
|
|
59
|
+
rspec-mocks (3.13.7)
|
|
60
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
61
|
+
rspec-support (~> 3.13.0)
|
|
62
|
+
rspec-support (3.13.6)
|
|
63
|
+
rspec_candy (0.5.1)
|
|
64
|
+
rspec
|
|
65
|
+
sneaky-save
|
|
66
|
+
securerandom (0.4.1)
|
|
67
|
+
sneaky-save (0.1.3)
|
|
68
|
+
activerecord (>= 3.2.0)
|
|
69
|
+
timeout (0.6.0)
|
|
70
|
+
tzinfo (2.0.6)
|
|
71
|
+
concurrent-ruby (~> 1.0)
|
|
72
|
+
|
|
73
|
+
PLATFORMS
|
|
74
|
+
ruby
|
|
75
|
+
x86_64-linux
|
|
76
|
+
|
|
77
|
+
DEPENDENCIES
|
|
78
|
+
activerecord (~> 7.2.0)
|
|
79
|
+
assignable_values!
|
|
80
|
+
database_cleaner
|
|
81
|
+
gemika (~> 0.8.0)
|
|
82
|
+
i18n
|
|
83
|
+
pg (~> 1.3.5)
|
|
84
|
+
rake
|
|
85
|
+
rspec
|
|
86
|
+
rspec_candy
|
|
87
|
+
|
|
88
|
+
BUNDLED WITH
|
|
89
|
+
2.7.2
|
data/Gemfile.8.0.mysql2
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
source 'https://rubygems.org'
|
|
2
|
+
|
|
3
|
+
# Runtime dependencies
|
|
4
|
+
gem 'activerecord', '~>8.0.0'
|
|
5
|
+
gem 'i18n'
|
|
6
|
+
gem 'mysql2'
|
|
7
|
+
|
|
8
|
+
# Development dependencies
|
|
9
|
+
gem 'rake'
|
|
10
|
+
gem 'database_cleaner'
|
|
11
|
+
gem 'rspec'
|
|
12
|
+
gem 'rspec_candy'
|
|
13
|
+
gem 'gemika', '~> 0.8.0'
|
|
14
|
+
|
|
15
|
+
# Gem under test
|
|
16
|
+
gem 'assignable_values', :path => '.'
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
assignable_values (2.0.0)
|
|
5
|
+
activerecord (>= 2.3)
|
|
6
|
+
|
|
7
|
+
GEM
|
|
8
|
+
remote: https://rubygems.org/
|
|
9
|
+
specs:
|
|
10
|
+
activemodel (8.0.4)
|
|
11
|
+
activesupport (= 8.0.4)
|
|
12
|
+
activerecord (8.0.4)
|
|
13
|
+
activemodel (= 8.0.4)
|
|
14
|
+
activesupport (= 8.0.4)
|
|
15
|
+
timeout (>= 0.4.0)
|
|
16
|
+
activesupport (8.0.4)
|
|
17
|
+
base64
|
|
18
|
+
benchmark (>= 0.3)
|
|
19
|
+
bigdecimal
|
|
20
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
21
|
+
connection_pool (>= 2.2.5)
|
|
22
|
+
drb
|
|
23
|
+
i18n (>= 1.6, < 2)
|
|
24
|
+
logger (>= 1.4.2)
|
|
25
|
+
minitest (>= 5.1)
|
|
26
|
+
securerandom (>= 0.3)
|
|
27
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
|
28
|
+
uri (>= 0.13.1)
|
|
29
|
+
base64 (0.3.0)
|
|
30
|
+
benchmark (0.5.0)
|
|
31
|
+
bigdecimal (4.0.1)
|
|
32
|
+
concurrent-ruby (1.3.6)
|
|
33
|
+
connection_pool (3.0.2)
|
|
34
|
+
database_cleaner (2.1.0)
|
|
35
|
+
database_cleaner-active_record (>= 2, < 3)
|
|
36
|
+
database_cleaner-active_record (2.2.2)
|
|
37
|
+
activerecord (>= 5.a)
|
|
38
|
+
database_cleaner-core (~> 2.0)
|
|
39
|
+
database_cleaner-core (2.0.1)
|
|
40
|
+
diff-lcs (1.6.2)
|
|
41
|
+
drb (2.2.3)
|
|
42
|
+
gemika (0.8.4)
|
|
43
|
+
i18n (1.14.7)
|
|
44
|
+
concurrent-ruby (~> 1.0)
|
|
45
|
+
logger (1.7.0)
|
|
46
|
+
minitest (6.0.0)
|
|
47
|
+
prism (~> 1.5)
|
|
48
|
+
mysql2 (0.5.7)
|
|
49
|
+
bigdecimal
|
|
50
|
+
prism (1.6.0)
|
|
51
|
+
rake (13.3.1)
|
|
52
|
+
rspec (3.13.2)
|
|
53
|
+
rspec-core (~> 3.13.0)
|
|
54
|
+
rspec-expectations (~> 3.13.0)
|
|
55
|
+
rspec-mocks (~> 3.13.0)
|
|
56
|
+
rspec-core (3.13.6)
|
|
57
|
+
rspec-support (~> 3.13.0)
|
|
58
|
+
rspec-expectations (3.13.5)
|
|
59
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
60
|
+
rspec-support (~> 3.13.0)
|
|
61
|
+
rspec-mocks (3.13.7)
|
|
62
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
63
|
+
rspec-support (~> 3.13.0)
|
|
64
|
+
rspec-support (3.13.6)
|
|
65
|
+
rspec_candy (0.5.1)
|
|
66
|
+
rspec
|
|
67
|
+
sneaky-save
|
|
68
|
+
securerandom (0.4.1)
|
|
69
|
+
sneaky-save (0.1.3)
|
|
70
|
+
activerecord (>= 3.2.0)
|
|
71
|
+
timeout (0.6.0)
|
|
72
|
+
tzinfo (2.0.6)
|
|
73
|
+
concurrent-ruby (~> 1.0)
|
|
74
|
+
uri (1.1.1)
|
|
75
|
+
|
|
76
|
+
PLATFORMS
|
|
77
|
+
ruby
|
|
78
|
+
x86_64-linux
|
|
79
|
+
|
|
80
|
+
DEPENDENCIES
|
|
81
|
+
activerecord (~> 8.0.0)
|
|
82
|
+
assignable_values!
|
|
83
|
+
database_cleaner
|
|
84
|
+
gemika (~> 0.8.0)
|
|
85
|
+
i18n
|
|
86
|
+
mysql2
|
|
87
|
+
rake
|
|
88
|
+
rspec
|
|
89
|
+
rspec_candy
|
|
90
|
+
|
|
91
|
+
BUNDLED WITH
|
|
92
|
+
2.7.2
|
data/Gemfile.8.0.pg.lock
CHANGED
data/Gemfile.8.1.mysql2
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
source 'https://rubygems.org'
|
|
2
|
+
|
|
3
|
+
# Runtime dependencies
|
|
4
|
+
gem 'activerecord', '~>8.1.0'
|
|
5
|
+
gem 'i18n'
|
|
6
|
+
gem 'mysql2'
|
|
7
|
+
|
|
8
|
+
# Development dependencies
|
|
9
|
+
gem 'rake'
|
|
10
|
+
gem 'database_cleaner'
|
|
11
|
+
gem 'rspec'
|
|
12
|
+
gem 'rspec_candy'
|
|
13
|
+
gem 'gemika', '~> 0.8.0'
|
|
14
|
+
|
|
15
|
+
# Gem under test
|
|
16
|
+
gem 'assignable_values', :path => '.'
|