active_type 2.3.1 → 2.3.3
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 +25 -63
- data/.ruby-version +1 -1
- data/CHANGELOG.md +7 -1
- data/Gemfile +1 -1
- data/Gemfile.5.2.mysql2.lock +1 -1
- data/Gemfile.5.2.pg.lock +1 -1
- data/Gemfile.5.2.sqlite3.lock +1 -1
- data/Gemfile.6.0.sqlite3.lock +1 -1
- data/Gemfile.6.1.pg.lock +1 -1
- data/Gemfile.6.1.sqlite3.lock +1 -1
- data/Gemfile.7.0.pg.lock +25 -25
- data/Gemfile.7.0.sqlite3.lock +27 -25
- data/Gemfile.lock +1 -1
- data/README.md +3 -3
- data/active_type.gemspec +6 -1
- data/lib/active_type/util/unmutable_attributes.rb +4 -0
- data/lib/active_type/version.rb +1 -1
- data/lib/active_type/virtual_attributes.rb +8 -4
- metadata +6 -9
- data/Gemfile.4.2.mysql2 +0 -9
- data/Gemfile.4.2.mysql2.lock +0 -61
- data/Gemfile.4.2.pg +0 -9
- data/Gemfile.4.2.pg.lock +0 -61
- data/Gemfile.4.2.sqlite3 +0 -9
- data/Gemfile.4.2.sqlite3.lock +0 -61
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cdcf7c3fd638833572dc67e729b154148f26c7e7dfbe107b9752e1e4aec08c0a
|
|
4
|
+
data.tar.gz: e7909485f8b1147a5d94079e5933bc5ee7f75f0eab32a68b6be9abd0be2d75b8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 93d20dd89b89f2764104074d36624feb091204f3e42f05100e715a1f36374dfcb13cc5f1c023be7fe75eecfdc2875cfb91c7ceeacfcc473ef424ebe7423060ba
|
|
7
|
+
data.tar.gz: 721e41bb1299dbd7ed944c33dae47e10fac3f6e167cb5b31f67faa32a017a6f3e8bbd2b4316d9ed32ea0eed2ba8e995b334df3e7640eb8ec69f3c46726ae36c7
|
data/.github/workflows/test.yml
CHANGED
|
@@ -2,9 +2,9 @@ name: Tests
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
|
-
branches: [
|
|
5
|
+
branches: [main]
|
|
6
6
|
pull_request:
|
|
7
|
-
branches: [
|
|
7
|
+
branches: [main]
|
|
8
8
|
|
|
9
9
|
jobs:
|
|
10
10
|
test_sqlite:
|
|
@@ -15,47 +15,29 @@ jobs:
|
|
|
15
15
|
matrix:
|
|
16
16
|
include:
|
|
17
17
|
- ruby: "2.5.5"
|
|
18
|
-
gemfile: Gemfile.4.2.sqlite3
|
|
19
|
-
- ruby: "2.5.5"
|
|
20
|
-
gemfile: Gemfile.5.2.sqlite3
|
|
21
|
-
- ruby: "2.5.5"
|
|
22
|
-
gemfile: Gemfile.6.0.sqlite3
|
|
23
|
-
- ruby: "2.5.5"
|
|
24
|
-
gemfile: Gemfile.6.1.sqlite3
|
|
25
|
-
- ruby: "2.6.3"
|
|
26
18
|
gemfile: Gemfile.5.2.sqlite3
|
|
27
|
-
- ruby: "2.
|
|
28
|
-
gemfile: Gemfile.6.0.sqlite3
|
|
29
|
-
- ruby: "2.6.3"
|
|
30
|
-
gemfile: Gemfile.6.1.sqlite3
|
|
31
|
-
- ruby: "2.7.4"
|
|
19
|
+
- ruby: "2.7.7"
|
|
32
20
|
gemfile: Gemfile.5.2.sqlite3
|
|
33
|
-
- ruby: "
|
|
21
|
+
- ruby: "3.0.5"
|
|
34
22
|
gemfile: Gemfile.6.0.sqlite3
|
|
35
|
-
- ruby: "
|
|
23
|
+
- ruby: "3.0.5"
|
|
36
24
|
gemfile: Gemfile.6.1.sqlite3
|
|
37
|
-
- ruby: "
|
|
25
|
+
- ruby: "3.0.5"
|
|
38
26
|
gemfile: Gemfile.7.0.sqlite3
|
|
39
|
-
- ruby: "3.
|
|
40
|
-
gemfile: Gemfile.
|
|
41
|
-
- ruby: "3.0
|
|
42
|
-
gemfile: Gemfile.6.1.sqlite3
|
|
43
|
-
- ruby: "3.0.1"
|
|
27
|
+
- ruby: "3.1.3"
|
|
28
|
+
gemfile: Gemfile.7.0.sqlite3
|
|
29
|
+
- ruby: "3.2.0"
|
|
44
30
|
gemfile: Gemfile.7.0.sqlite3
|
|
45
|
-
|
|
46
31
|
env:
|
|
47
32
|
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
|
48
33
|
|
|
49
34
|
steps:
|
|
50
|
-
- uses: actions/checkout@
|
|
35
|
+
- uses: actions/checkout@v3
|
|
51
36
|
- name: Install ruby
|
|
52
37
|
uses: ruby/setup-ruby@v1
|
|
53
38
|
with:
|
|
54
39
|
ruby-version: ${{ matrix.ruby }}
|
|
55
|
-
|
|
56
|
-
run: |
|
|
57
|
-
gem install bundler:2.2.27
|
|
58
|
-
bundle install --no-deployment
|
|
40
|
+
bundler-cache: true
|
|
59
41
|
- name: Run tests
|
|
60
42
|
run: bundle exec rake spec
|
|
61
43
|
|
|
@@ -79,26 +61,18 @@ jobs:
|
|
|
79
61
|
fail-fast: false
|
|
80
62
|
matrix:
|
|
81
63
|
include:
|
|
82
|
-
- ruby: "2.
|
|
83
|
-
gemfile: Gemfile.4.2.mysql2
|
|
84
|
-
- ruby: "2.6.3"
|
|
64
|
+
- ruby: "2.7.7"
|
|
85
65
|
gemfile: Gemfile.5.2.mysql2
|
|
86
|
-
- ruby: "2.7.4"
|
|
87
|
-
gemfile: Gemfile.5.2.mysql2
|
|
88
|
-
|
|
89
66
|
env:
|
|
90
67
|
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
|
91
68
|
|
|
92
69
|
steps:
|
|
93
|
-
- uses: actions/checkout@
|
|
70
|
+
- uses: actions/checkout@v3
|
|
94
71
|
- name: Install ruby
|
|
95
72
|
uses: ruby/setup-ruby@v1
|
|
96
73
|
with:
|
|
97
74
|
ruby-version: ${{ matrix.ruby }}
|
|
98
|
-
|
|
99
|
-
run: |
|
|
100
|
-
gem install bundler:2.2.27
|
|
101
|
-
bundle install --no-deployment
|
|
75
|
+
bundler-cache: true
|
|
102
76
|
- name: Setup databases
|
|
103
77
|
run: |
|
|
104
78
|
mysql -e 'create database IF NOT EXISTS active_type_test;' -u root --password=password -P 3306 -h 127.0.0.1
|
|
@@ -126,42 +100,30 @@ jobs:
|
|
|
126
100
|
matrix:
|
|
127
101
|
include:
|
|
128
102
|
- ruby: "2.5.5"
|
|
129
|
-
gemfile: Gemfile.4.2.pg
|
|
130
|
-
- ruby: "2.5.5"
|
|
131
|
-
gemfile: Gemfile.5.2.pg
|
|
132
|
-
- ruby: "2.5.5"
|
|
133
|
-
gemfile: Gemfile.6.1.pg
|
|
134
|
-
- ruby: "2.6.3"
|
|
135
103
|
gemfile: Gemfile.5.2.pg
|
|
136
|
-
- ruby: "2.
|
|
137
|
-
gemfile: Gemfile.6.1.pg
|
|
138
|
-
- ruby: "2.7.4"
|
|
104
|
+
- ruby: "2.7.7"
|
|
139
105
|
gemfile: Gemfile.5.2.pg
|
|
140
|
-
- ruby: "
|
|
106
|
+
- ruby: "3.0.5"
|
|
141
107
|
gemfile: Gemfile.6.1.pg
|
|
142
|
-
- ruby: "
|
|
108
|
+
- ruby: "3.0.5"
|
|
143
109
|
gemfile: Gemfile.7.0.pg
|
|
144
|
-
- ruby: "3.
|
|
145
|
-
gemfile: Gemfile.
|
|
146
|
-
- ruby: "3.0
|
|
110
|
+
- ruby: "3.1.3"
|
|
111
|
+
gemfile: Gemfile.7.0.pg
|
|
112
|
+
- ruby: "3.2.0"
|
|
147
113
|
gemfile: Gemfile.7.0.pg
|
|
148
|
-
|
|
149
114
|
env:
|
|
150
115
|
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
|
151
116
|
|
|
152
117
|
steps:
|
|
153
|
-
- uses: actions/checkout@
|
|
118
|
+
- uses: actions/checkout@v3
|
|
119
|
+
- name: Install database client
|
|
120
|
+
run: |
|
|
121
|
+
sudo apt-get install -y postgresql-client
|
|
154
122
|
- name: Install ruby
|
|
155
123
|
uses: ruby/setup-ruby@v1
|
|
156
124
|
with:
|
|
157
125
|
ruby-version: ${{ matrix.ruby }}
|
|
158
|
-
|
|
159
|
-
run: |
|
|
160
|
-
sudo apt-get install -y postgresql-client
|
|
161
|
-
- name: Bundle
|
|
162
|
-
run: |
|
|
163
|
-
gem install bundler:2.2.27
|
|
164
|
-
bundle install --no-deployment
|
|
126
|
+
bundler-cache: true
|
|
165
127
|
- name: Setup databases
|
|
166
128
|
run: |
|
|
167
129
|
PGPASSWORD=postgres psql -c 'create database active_type_test;' -U postgres -p 5432 -h localhost
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0
|
|
1
|
+
3.0
|
data/CHANGELOG.md
CHANGED
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 2.3.3 (2023-05-11)
|
|
6
|
+
|
|
7
|
+
* Fixed: `accepts_nested_attributes_for` ignores virtual attributes. Thanks to @nalabjp.
|
|
8
|
+
|
|
9
|
+
## 2.3.2 (2022-11-17)
|
|
10
|
+
|
|
11
|
+
* Fixed: Allowed some more attribute methods on casted objects without causing a UnmutableAttributes error.
|
|
6
12
|
|
|
7
13
|
## 2.3.1 (2022-10-06)
|
|
8
14
|
|
data/Gemfile
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Gemfile.7.0.sqlite3
|
data/Gemfile.5.2.mysql2.lock
CHANGED
data/Gemfile.5.2.pg.lock
CHANGED
data/Gemfile.5.2.sqlite3.lock
CHANGED
data/Gemfile.6.0.sqlite3.lock
CHANGED
data/Gemfile.6.1.pg.lock
CHANGED
data/Gemfile.6.1.sqlite3.lock
CHANGED
data/Gemfile.7.0.pg.lock
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
active_type (2.3.
|
|
4
|
+
active_type (2.3.3)
|
|
5
5
|
activerecord (>= 3.2)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
activemodel (7.0.
|
|
11
|
-
activesupport (= 7.0.
|
|
12
|
-
activerecord (7.0.
|
|
13
|
-
activemodel (= 7.0.
|
|
14
|
-
activesupport (= 7.0.
|
|
15
|
-
activesupport (7.0.
|
|
10
|
+
activemodel (7.0.4.2)
|
|
11
|
+
activesupport (= 7.0.4.2)
|
|
12
|
+
activerecord (7.0.4.2)
|
|
13
|
+
activemodel (= 7.0.4.2)
|
|
14
|
+
activesupport (= 7.0.4.2)
|
|
15
|
+
activesupport (7.0.4.2)
|
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
17
17
|
i18n (>= 1.6, < 2)
|
|
18
18
|
minitest (>= 5.1)
|
|
19
19
|
tzinfo (~> 2.0)
|
|
20
|
-
concurrent-ruby (1.
|
|
20
|
+
concurrent-ruby (1.2.0)
|
|
21
21
|
diff-lcs (1.5.0)
|
|
22
|
-
gemika (0.
|
|
23
|
-
i18n (1.
|
|
22
|
+
gemika (0.8.1)
|
|
23
|
+
i18n (1.12.0)
|
|
24
24
|
concurrent-ruby (~> 1.0)
|
|
25
|
-
minitest (5.
|
|
26
|
-
pg (1.
|
|
25
|
+
minitest (5.17.0)
|
|
26
|
+
pg (1.4.5)
|
|
27
27
|
rake (13.0.6)
|
|
28
|
-
rspec (3.
|
|
29
|
-
rspec-core (~> 3.
|
|
30
|
-
rspec-expectations (~> 3.
|
|
31
|
-
rspec-mocks (~> 3.
|
|
32
|
-
rspec-core (3.
|
|
33
|
-
rspec-support (~> 3.
|
|
34
|
-
rspec-expectations (3.
|
|
28
|
+
rspec (3.12.0)
|
|
29
|
+
rspec-core (~> 3.12.0)
|
|
30
|
+
rspec-expectations (~> 3.12.0)
|
|
31
|
+
rspec-mocks (~> 3.12.0)
|
|
32
|
+
rspec-core (3.12.0)
|
|
33
|
+
rspec-support (~> 3.12.0)
|
|
34
|
+
rspec-expectations (3.12.2)
|
|
35
35
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
36
|
-
rspec-support (~> 3.
|
|
37
|
-
rspec-mocks (3.
|
|
36
|
+
rspec-support (~> 3.12.0)
|
|
37
|
+
rspec-mocks (3.12.3)
|
|
38
38
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
39
|
-
rspec-support (~> 3.
|
|
40
|
-
rspec-support (3.
|
|
41
|
-
tzinfo (2.0.
|
|
39
|
+
rspec-support (~> 3.12.0)
|
|
40
|
+
rspec-support (3.12.0)
|
|
41
|
+
tzinfo (2.0.5)
|
|
42
42
|
concurrent-ruby (~> 1.0)
|
|
43
43
|
|
|
44
44
|
PLATFORMS
|
|
@@ -53,4 +53,4 @@ DEPENDENCIES
|
|
|
53
53
|
rspec (~> 3.4)
|
|
54
54
|
|
|
55
55
|
BUNDLED WITH
|
|
56
|
-
2.
|
|
56
|
+
2.4.5
|
data/Gemfile.7.0.sqlite3.lock
CHANGED
|
@@ -1,44 +1,46 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
active_type (2.3.
|
|
4
|
+
active_type (2.3.3)
|
|
5
5
|
activerecord (>= 3.2)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
activemodel (7.0.3)
|
|
11
|
-
activesupport (= 7.0.3)
|
|
12
|
-
activerecord (7.0.3)
|
|
13
|
-
activemodel (= 7.0.3)
|
|
14
|
-
activesupport (= 7.0.3)
|
|
15
|
-
activesupport (7.0.3)
|
|
10
|
+
activemodel (7.0.4.3)
|
|
11
|
+
activesupport (= 7.0.4.3)
|
|
12
|
+
activerecord (7.0.4.3)
|
|
13
|
+
activemodel (= 7.0.4.3)
|
|
14
|
+
activesupport (= 7.0.4.3)
|
|
15
|
+
activesupport (7.0.4.3)
|
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
17
17
|
i18n (>= 1.6, < 2)
|
|
18
18
|
minitest (>= 5.1)
|
|
19
19
|
tzinfo (~> 2.0)
|
|
20
|
-
concurrent-ruby (1.
|
|
20
|
+
concurrent-ruby (1.2.2)
|
|
21
21
|
diff-lcs (1.5.0)
|
|
22
|
-
gemika (0.
|
|
23
|
-
i18n (1.
|
|
22
|
+
gemika (0.8.1)
|
|
23
|
+
i18n (1.13.0)
|
|
24
24
|
concurrent-ruby (~> 1.0)
|
|
25
|
-
|
|
25
|
+
mini_portile2 (2.8.1)
|
|
26
|
+
minitest (5.18.0)
|
|
26
27
|
rake (13.0.6)
|
|
27
|
-
rspec (3.
|
|
28
|
-
rspec-core (~> 3.
|
|
29
|
-
rspec-expectations (~> 3.
|
|
30
|
-
rspec-mocks (~> 3.
|
|
31
|
-
rspec-core (3.
|
|
32
|
-
rspec-support (~> 3.
|
|
33
|
-
rspec-expectations (3.
|
|
28
|
+
rspec (3.12.0)
|
|
29
|
+
rspec-core (~> 3.12.0)
|
|
30
|
+
rspec-expectations (~> 3.12.0)
|
|
31
|
+
rspec-mocks (~> 3.12.0)
|
|
32
|
+
rspec-core (3.12.0)
|
|
33
|
+
rspec-support (~> 3.12.0)
|
|
34
|
+
rspec-expectations (3.12.2)
|
|
34
35
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
35
|
-
rspec-support (~> 3.
|
|
36
|
-
rspec-mocks (3.
|
|
36
|
+
rspec-support (~> 3.12.0)
|
|
37
|
+
rspec-mocks (3.12.3)
|
|
37
38
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
38
|
-
rspec-support (~> 3.
|
|
39
|
-
rspec-support (3.
|
|
40
|
-
sqlite3 (1.
|
|
41
|
-
|
|
39
|
+
rspec-support (~> 3.12.0)
|
|
40
|
+
rspec-support (3.12.0)
|
|
41
|
+
sqlite3 (1.6.0)
|
|
42
|
+
mini_portile2 (~> 2.8.0)
|
|
43
|
+
tzinfo (2.0.6)
|
|
42
44
|
concurrent-ruby (~> 1.0)
|
|
43
45
|
|
|
44
46
|
PLATFORMS
|
|
@@ -53,4 +55,4 @@ DEPENDENCIES
|
|
|
53
55
|
sqlite3
|
|
54
56
|
|
|
55
57
|
BUNDLED WITH
|
|
56
|
-
2.
|
|
58
|
+
2.4.5
|
data/Gemfile.lock
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
Gemfile.7.0.sqlite3.lock
|
data/README.md
CHANGED
|
@@ -51,7 +51,7 @@ end
|
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
### A note on Rails
|
|
54
|
+
### A note on Rails's own .attribute
|
|
55
55
|
|
|
56
56
|
Rails 5+ comes with its own implementation of `.attribute`. This implementation is functionally very
|
|
57
57
|
similar, but not identical to ActiveType's.
|
|
@@ -407,14 +407,14 @@ Now, if you load `credentials`, you will automatically receive records of type `
|
|
|
407
407
|
Supported Rails versions
|
|
408
408
|
------------------------
|
|
409
409
|
|
|
410
|
-
ActiveType is tested against ActiveRecord
|
|
410
|
+
ActiveType is tested against ActiveRecord 5.2, 6.0, 6.1, and 7.0.
|
|
411
411
|
|
|
412
412
|
Later versions might work, earlier will not.
|
|
413
413
|
|
|
414
414
|
Supported Ruby versions
|
|
415
415
|
------------------------
|
|
416
416
|
|
|
417
|
-
ActiveType is tested against 2.5, 2.
|
|
417
|
+
ActiveType is tested against 2.5, 2.7, 3.0, and 3.1.
|
|
418
418
|
|
|
419
419
|
|
|
420
420
|
Installation
|
data/active_type.gemspec
CHANGED
|
@@ -10,7 +10,12 @@ Gem::Specification.new do |s|
|
|
|
10
10
|
s.summary = 'Make any Ruby object quack like ActiveRecord'
|
|
11
11
|
s.description = s.summary
|
|
12
12
|
s.license = 'MIT'
|
|
13
|
-
s.metadata = {
|
|
13
|
+
s.metadata = {
|
|
14
|
+
'source_code_uri' => s.homepage,
|
|
15
|
+
'bug_tracker_uri' => s.homepage + '/issues',
|
|
16
|
+
'changelog_uri' => s.homepage + '/blob/master/CHANGELOG.md',
|
|
17
|
+
'rubygems_mfa_required' => 'true',
|
|
18
|
+
}
|
|
14
19
|
|
|
15
20
|
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
16
21
|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
data/lib/active_type/version.rb
CHANGED
|
@@ -218,10 +218,6 @@ module ActiveType
|
|
|
218
218
|
end
|
|
219
219
|
end
|
|
220
220
|
|
|
221
|
-
def attribute_names
|
|
222
|
-
super + self.class._virtual_column_names
|
|
223
|
-
end
|
|
224
|
-
|
|
225
221
|
def changed?
|
|
226
222
|
self.class._virtual_column_names.any? { |attr| virtual_attributes_were[attr] != send(attr) } || super
|
|
227
223
|
end
|
|
@@ -287,6 +283,14 @@ module ActiveType
|
|
|
287
283
|
end
|
|
288
284
|
end
|
|
289
285
|
|
|
286
|
+
private
|
|
287
|
+
|
|
288
|
+
if ActiveRecord::Base.private_method_defined?(:attribute_names_for_serialization)
|
|
289
|
+
def attribute_names_for_serialization
|
|
290
|
+
super + self.class._virtual_column_names
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
|
|
290
294
|
|
|
291
295
|
module ClassMethods
|
|
292
296
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_type
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.3.
|
|
4
|
+
version: 2.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tobias Kraze
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2023-05-11 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -65,12 +65,6 @@ files:
|
|
|
65
65
|
- ".ruby-version"
|
|
66
66
|
- CHANGELOG.md
|
|
67
67
|
- Gemfile
|
|
68
|
-
- Gemfile.4.2.mysql2
|
|
69
|
-
- Gemfile.4.2.mysql2.lock
|
|
70
|
-
- Gemfile.4.2.pg
|
|
71
|
-
- Gemfile.4.2.pg.lock
|
|
72
|
-
- Gemfile.4.2.sqlite3
|
|
73
|
-
- Gemfile.4.2.sqlite3.lock
|
|
74
68
|
- Gemfile.5.2.mysql2
|
|
75
69
|
- Gemfile.5.2.mysql2.lock
|
|
76
70
|
- Gemfile.5.2.pg
|
|
@@ -115,6 +109,9 @@ homepage: https://github.com/makandra/active_type
|
|
|
115
109
|
licenses:
|
|
116
110
|
- MIT
|
|
117
111
|
metadata:
|
|
112
|
+
source_code_uri: https://github.com/makandra/active_type
|
|
113
|
+
bug_tracker_uri: https://github.com/makandra/active_type/issues
|
|
114
|
+
changelog_uri: https://github.com/makandra/active_type/blob/master/CHANGELOG.md
|
|
118
115
|
rubygems_mfa_required: 'true'
|
|
119
116
|
post_install_message:
|
|
120
117
|
rdoc_options: []
|
|
@@ -131,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
131
128
|
- !ruby/object:Gem::Version
|
|
132
129
|
version: '0'
|
|
133
130
|
requirements: []
|
|
134
|
-
rubygems_version: 3.2.
|
|
131
|
+
rubygems_version: 3.2.33
|
|
135
132
|
signing_key:
|
|
136
133
|
specification_version: 4
|
|
137
134
|
summary: Make any Ruby object quack like ActiveRecord
|
data/Gemfile.4.2.mysql2
DELETED
data/Gemfile.4.2.mysql2.lock
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
active_type (2.3.1)
|
|
5
|
-
activerecord (>= 3.2)
|
|
6
|
-
|
|
7
|
-
GEM
|
|
8
|
-
remote: https://rubygems.org/
|
|
9
|
-
specs:
|
|
10
|
-
activemodel (4.2.11)
|
|
11
|
-
activesupport (= 4.2.11)
|
|
12
|
-
builder (~> 3.1)
|
|
13
|
-
activerecord (4.2.11)
|
|
14
|
-
activemodel (= 4.2.11)
|
|
15
|
-
activesupport (= 4.2.11)
|
|
16
|
-
arel (~> 6.0)
|
|
17
|
-
activesupport (4.2.11)
|
|
18
|
-
i18n (~> 0.7)
|
|
19
|
-
minitest (~> 5.1)
|
|
20
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
|
21
|
-
tzinfo (~> 1.1)
|
|
22
|
-
arel (6.0.4)
|
|
23
|
-
builder (3.2.3)
|
|
24
|
-
concurrent-ruby (1.1.4)
|
|
25
|
-
diff-lcs (1.2.5)
|
|
26
|
-
gemika (0.4.1)
|
|
27
|
-
i18n (0.9.5)
|
|
28
|
-
concurrent-ruby (~> 1.0)
|
|
29
|
-
minitest (5.11.3)
|
|
30
|
-
mysql2 (0.5.3)
|
|
31
|
-
rake (10.4.2)
|
|
32
|
-
rspec (3.4.0)
|
|
33
|
-
rspec-core (~> 3.4.0)
|
|
34
|
-
rspec-expectations (~> 3.4.0)
|
|
35
|
-
rspec-mocks (~> 3.4.0)
|
|
36
|
-
rspec-core (3.4.1)
|
|
37
|
-
rspec-support (~> 3.4.0)
|
|
38
|
-
rspec-expectations (3.4.0)
|
|
39
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
40
|
-
rspec-support (~> 3.4.0)
|
|
41
|
-
rspec-mocks (3.4.1)
|
|
42
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
43
|
-
rspec-support (~> 3.4.0)
|
|
44
|
-
rspec-support (3.4.1)
|
|
45
|
-
thread_safe (0.3.6)
|
|
46
|
-
tzinfo (1.2.5)
|
|
47
|
-
thread_safe (~> 0.1)
|
|
48
|
-
|
|
49
|
-
PLATFORMS
|
|
50
|
-
ruby
|
|
51
|
-
|
|
52
|
-
DEPENDENCIES
|
|
53
|
-
active_type!
|
|
54
|
-
activerecord (~> 4.2.1)
|
|
55
|
-
gemika
|
|
56
|
-
mysql2
|
|
57
|
-
rake
|
|
58
|
-
rspec (~> 3.4)
|
|
59
|
-
|
|
60
|
-
BUNDLED WITH
|
|
61
|
-
2.2.17
|
data/Gemfile.4.2.pg
DELETED
data/Gemfile.4.2.pg.lock
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
active_type (2.3.1)
|
|
5
|
-
activerecord (>= 3.2)
|
|
6
|
-
|
|
7
|
-
GEM
|
|
8
|
-
remote: https://rubygems.org/
|
|
9
|
-
specs:
|
|
10
|
-
activemodel (4.2.11)
|
|
11
|
-
activesupport (= 4.2.11)
|
|
12
|
-
builder (~> 3.1)
|
|
13
|
-
activerecord (4.2.11)
|
|
14
|
-
activemodel (= 4.2.11)
|
|
15
|
-
activesupport (= 4.2.11)
|
|
16
|
-
arel (~> 6.0)
|
|
17
|
-
activesupport (4.2.11)
|
|
18
|
-
i18n (~> 0.7)
|
|
19
|
-
minitest (~> 5.1)
|
|
20
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
|
21
|
-
tzinfo (~> 1.1)
|
|
22
|
-
arel (6.0.4)
|
|
23
|
-
builder (3.2.3)
|
|
24
|
-
concurrent-ruby (1.1.4)
|
|
25
|
-
diff-lcs (1.2.5)
|
|
26
|
-
gemika (0.4.1)
|
|
27
|
-
i18n (0.9.5)
|
|
28
|
-
concurrent-ruby (~> 1.0)
|
|
29
|
-
minitest (5.11.3)
|
|
30
|
-
pg (0.18.4)
|
|
31
|
-
rake (10.4.2)
|
|
32
|
-
rspec (3.4.0)
|
|
33
|
-
rspec-core (~> 3.4.0)
|
|
34
|
-
rspec-expectations (~> 3.4.0)
|
|
35
|
-
rspec-mocks (~> 3.4.0)
|
|
36
|
-
rspec-core (3.4.1)
|
|
37
|
-
rspec-support (~> 3.4.0)
|
|
38
|
-
rspec-expectations (3.4.0)
|
|
39
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
40
|
-
rspec-support (~> 3.4.0)
|
|
41
|
-
rspec-mocks (3.4.1)
|
|
42
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
43
|
-
rspec-support (~> 3.4.0)
|
|
44
|
-
rspec-support (3.4.1)
|
|
45
|
-
thread_safe (0.3.6)
|
|
46
|
-
tzinfo (1.2.5)
|
|
47
|
-
thread_safe (~> 0.1)
|
|
48
|
-
|
|
49
|
-
PLATFORMS
|
|
50
|
-
ruby
|
|
51
|
-
|
|
52
|
-
DEPENDENCIES
|
|
53
|
-
active_type!
|
|
54
|
-
activerecord (~> 4.2.1)
|
|
55
|
-
gemika
|
|
56
|
-
pg
|
|
57
|
-
rake
|
|
58
|
-
rspec (~> 3.4)
|
|
59
|
-
|
|
60
|
-
BUNDLED WITH
|
|
61
|
-
2.2.17
|
data/Gemfile.4.2.sqlite3
DELETED
data/Gemfile.4.2.sqlite3.lock
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
active_type (2.3.1)
|
|
5
|
-
activerecord (>= 3.2)
|
|
6
|
-
|
|
7
|
-
GEM
|
|
8
|
-
remote: https://rubygems.org/
|
|
9
|
-
specs:
|
|
10
|
-
activemodel (4.2.11)
|
|
11
|
-
activesupport (= 4.2.11)
|
|
12
|
-
builder (~> 3.1)
|
|
13
|
-
activerecord (4.2.11)
|
|
14
|
-
activemodel (= 4.2.11)
|
|
15
|
-
activesupport (= 4.2.11)
|
|
16
|
-
arel (~> 6.0)
|
|
17
|
-
activesupport (4.2.11)
|
|
18
|
-
i18n (~> 0.7)
|
|
19
|
-
minitest (~> 5.1)
|
|
20
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
|
21
|
-
tzinfo (~> 1.1)
|
|
22
|
-
arel (6.0.4)
|
|
23
|
-
builder (3.2.3)
|
|
24
|
-
concurrent-ruby (1.1.4)
|
|
25
|
-
diff-lcs (1.2.5)
|
|
26
|
-
gemika (0.4.1)
|
|
27
|
-
i18n (0.9.5)
|
|
28
|
-
concurrent-ruby (~> 1.0)
|
|
29
|
-
minitest (5.11.3)
|
|
30
|
-
rake (10.4.2)
|
|
31
|
-
rspec (3.4.0)
|
|
32
|
-
rspec-core (~> 3.4.0)
|
|
33
|
-
rspec-expectations (~> 3.4.0)
|
|
34
|
-
rspec-mocks (~> 3.4.0)
|
|
35
|
-
rspec-core (3.4.1)
|
|
36
|
-
rspec-support (~> 3.4.0)
|
|
37
|
-
rspec-expectations (3.4.0)
|
|
38
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
39
|
-
rspec-support (~> 3.4.0)
|
|
40
|
-
rspec-mocks (3.4.1)
|
|
41
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
42
|
-
rspec-support (~> 3.4.0)
|
|
43
|
-
rspec-support (3.4.1)
|
|
44
|
-
sqlite3 (1.3.11)
|
|
45
|
-
thread_safe (0.3.6)
|
|
46
|
-
tzinfo (1.2.5)
|
|
47
|
-
thread_safe (~> 0.1)
|
|
48
|
-
|
|
49
|
-
PLATFORMS
|
|
50
|
-
ruby
|
|
51
|
-
|
|
52
|
-
DEPENDENCIES
|
|
53
|
-
active_type!
|
|
54
|
-
activerecord (~> 4.2.1)
|
|
55
|
-
gemika
|
|
56
|
-
rake
|
|
57
|
-
rspec (~> 3.4)
|
|
58
|
-
sqlite3
|
|
59
|
-
|
|
60
|
-
BUNDLED WITH
|
|
61
|
-
2.2.17
|