active_record-associated_object 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.tool-versions +1 -0
- data/Gemfile.lock +99 -62
- data/lib/active_record/associated_object/version.rb +1 -1
- data/lib/active_record/associated_object.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c4701ccba7500ef91ffd5d4c6978c9cef567bb8150a5e8724e6654f22688020
|
4
|
+
data.tar.gz: 8848a32bb16888dfda3a77f11c14c01e14d59532a19aa3a063b38bea7042fd18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6756cbb26cacb5279fa40ddda01f82d9e9a61956f4dafcfa45a8a0c61afa8b62df9a1b2ec86b31a995aef058a1c0989c14fb304680310e8c09e78fab95be7e31
|
7
|
+
data.tar.gz: 78f334424f4df172b084c1fb1c3f42094804a99bec24e5870dd53e95727b28c54f7ad5e36af196f71270ff86dc303f26fe530572b3f5f209865b8d92d9ceb0d1
|
data/.tool-versions
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 3.2.2
|
data/Gemfile.lock
CHANGED
@@ -1,98 +1,135 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
active_record-associated_object (0.4.
|
4
|
+
active_record-associated_object (0.4.1)
|
5
5
|
active_job-performs
|
6
6
|
activerecord (>= 6.1)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actionpack (7.
|
12
|
-
actionview (= 7.
|
13
|
-
activesupport (= 7.
|
14
|
-
|
11
|
+
actionpack (7.1.1)
|
12
|
+
actionview (= 7.1.1)
|
13
|
+
activesupport (= 7.1.1)
|
14
|
+
nokogiri (>= 1.8.5)
|
15
|
+
rack (>= 2.2.4)
|
16
|
+
rack-session (>= 1.0.1)
|
15
17
|
rack-test (>= 0.6.3)
|
16
|
-
rails-dom-testing (~> 2.
|
17
|
-
rails-html-sanitizer (~> 1.
|
18
|
-
actionview (7.
|
19
|
-
activesupport (= 7.
|
18
|
+
rails-dom-testing (~> 2.2)
|
19
|
+
rails-html-sanitizer (~> 1.6)
|
20
|
+
actionview (7.1.1)
|
21
|
+
activesupport (= 7.1.1)
|
20
22
|
builder (~> 3.1)
|
21
|
-
erubi (~> 1.
|
22
|
-
rails-dom-testing (~> 2.
|
23
|
-
rails-html-sanitizer (~> 1.
|
24
|
-
active_job-performs (0.
|
23
|
+
erubi (~> 1.11)
|
24
|
+
rails-dom-testing (~> 2.2)
|
25
|
+
rails-html-sanitizer (~> 1.6)
|
26
|
+
active_job-performs (0.2.0)
|
25
27
|
activejob (>= 6.1)
|
26
|
-
activejob (7.
|
27
|
-
activesupport (= 7.
|
28
|
+
activejob (7.1.1)
|
29
|
+
activesupport (= 7.1.1)
|
28
30
|
globalid (>= 0.3.6)
|
29
|
-
activemodel (7.
|
30
|
-
activesupport (= 7.
|
31
|
-
activerecord (7.
|
32
|
-
activemodel (= 7.
|
33
|
-
activesupport (= 7.
|
34
|
-
|
31
|
+
activemodel (7.1.1)
|
32
|
+
activesupport (= 7.1.1)
|
33
|
+
activerecord (7.1.1)
|
34
|
+
activemodel (= 7.1.1)
|
35
|
+
activesupport (= 7.1.1)
|
36
|
+
timeout (>= 0.4.0)
|
37
|
+
activesupport (7.1.1)
|
38
|
+
base64
|
39
|
+
bigdecimal
|
35
40
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
41
|
+
connection_pool (>= 2.2.5)
|
42
|
+
drb
|
36
43
|
i18n (>= 1.6, < 2)
|
37
44
|
minitest (>= 5.1)
|
45
|
+
mutex_m
|
38
46
|
tzinfo (~> 2.0)
|
47
|
+
base64 (0.1.1)
|
48
|
+
bigdecimal (3.1.4)
|
39
49
|
builder (3.2.4)
|
40
|
-
concurrent-ruby (1.
|
50
|
+
concurrent-ruby (1.2.2)
|
51
|
+
connection_pool (2.4.1)
|
41
52
|
crass (1.0.6)
|
42
|
-
debug (1.
|
43
|
-
irb (>= 1.
|
44
|
-
reline (>= 0.
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
53
|
+
debug (1.8.0)
|
54
|
+
irb (>= 1.5.0)
|
55
|
+
reline (>= 0.3.1)
|
56
|
+
drb (2.1.1)
|
57
|
+
ruby2_keywords
|
58
|
+
erubi (1.12.0)
|
59
|
+
globalid (1.2.1)
|
60
|
+
activesupport (>= 6.1)
|
61
|
+
i18n (1.14.1)
|
49
62
|
concurrent-ruby (~> 1.0)
|
50
|
-
io-console (0.
|
51
|
-
irb (1.
|
52
|
-
|
53
|
-
|
63
|
+
io-console (0.6.0)
|
64
|
+
irb (1.8.3)
|
65
|
+
rdoc
|
66
|
+
reline (>= 0.3.8)
|
67
|
+
kredis (1.6.0)
|
68
|
+
activemodel (>= 6.0.0)
|
54
69
|
activesupport (>= 6.0.0)
|
55
|
-
redis (
|
56
|
-
loofah (2.
|
70
|
+
redis (>= 4.2, < 6)
|
71
|
+
loofah (2.21.4)
|
57
72
|
crass (~> 1.0.2)
|
58
|
-
nokogiri (>= 1.
|
59
|
-
|
60
|
-
minitest (5.15.0)
|
73
|
+
nokogiri (>= 1.12.0)
|
74
|
+
minitest (5.20.0)
|
61
75
|
minitest-sprint (1.2.2)
|
62
76
|
path_expander (~> 1.1)
|
63
|
-
|
77
|
+
mutex_m (0.1.2)
|
78
|
+
nokogiri (1.15.4-arm64-darwin)
|
64
79
|
racc (~> 1.4)
|
65
|
-
nokogiri (1.
|
80
|
+
nokogiri (1.15.4-x86_64-linux)
|
66
81
|
racc (~> 1.4)
|
67
82
|
path_expander (1.1.1)
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
83
|
+
psych (5.1.1.1)
|
84
|
+
stringio
|
85
|
+
racc (1.7.1)
|
86
|
+
rack (3.0.8)
|
87
|
+
rack-session (2.0.0)
|
88
|
+
rack (>= 3.0.0)
|
89
|
+
rack-test (2.1.0)
|
90
|
+
rack (>= 1.3)
|
91
|
+
rackup (2.1.0)
|
92
|
+
rack (>= 3)
|
93
|
+
webrick (~> 1.8)
|
94
|
+
rails-dom-testing (2.2.0)
|
95
|
+
activesupport (>= 5.0.0)
|
96
|
+
minitest
|
74
97
|
nokogiri (>= 1.6)
|
75
|
-
rails-html-sanitizer (1.
|
76
|
-
loofah (~> 2.
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
98
|
+
rails-html-sanitizer (1.6.0)
|
99
|
+
loofah (~> 2.21)
|
100
|
+
nokogiri (~> 1.14)
|
101
|
+
railties (7.1.1)
|
102
|
+
actionpack (= 7.1.1)
|
103
|
+
activesupport (= 7.1.1)
|
104
|
+
irb
|
105
|
+
rackup (>= 1.0.0)
|
81
106
|
rake (>= 12.2)
|
82
|
-
thor (~> 1.0)
|
83
|
-
zeitwerk (~> 2.
|
84
|
-
rake (13.0
|
85
|
-
|
86
|
-
|
107
|
+
thor (~> 1.0, >= 1.2.2)
|
108
|
+
zeitwerk (~> 2.6)
|
109
|
+
rake (13.1.0)
|
110
|
+
rdoc (6.5.0)
|
111
|
+
psych (>= 4.0.0)
|
112
|
+
redis (5.0.8)
|
113
|
+
redis-client (>= 0.17.0)
|
114
|
+
redis-client (0.18.0)
|
115
|
+
connection_pool
|
116
|
+
reline (0.3.9)
|
87
117
|
io-console (~> 0.5)
|
88
|
-
|
89
|
-
|
90
|
-
|
118
|
+
ruby2_keywords (0.0.5)
|
119
|
+
sqlite3 (1.6.7-arm64-darwin)
|
120
|
+
sqlite3 (1.6.7-x86_64-linux)
|
121
|
+
stringio (3.0.8)
|
122
|
+
thor (1.3.0)
|
123
|
+
timeout (0.4.0)
|
124
|
+
tzinfo (2.0.6)
|
91
125
|
concurrent-ruby (~> 1.0)
|
92
|
-
|
126
|
+
webrick (1.8.1)
|
127
|
+
zeitwerk (2.6.12)
|
93
128
|
|
94
129
|
PLATFORMS
|
95
130
|
arm64-darwin-20
|
131
|
+
arm64-darwin-21
|
132
|
+
arm64-darwin-22
|
96
133
|
x86_64-linux
|
97
134
|
|
98
135
|
DEPENDENCIES
|
@@ -107,4 +144,4 @@ DEPENDENCIES
|
|
107
144
|
sqlite3
|
108
145
|
|
109
146
|
BUNDLED WITH
|
110
|
-
2.
|
147
|
+
2.4.21
|
@@ -16,7 +16,7 @@ class ActiveRecord::AssociatedObject
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def respond_to_missing?(...) = record_klass.respond_to?(...) || super
|
19
|
-
delegate :unscoped, :transaction, to: :record_klass
|
19
|
+
delegate :unscoped, :transaction, :primary_key, to: :record_klass
|
20
20
|
|
21
21
|
def method_missing(method, ...)
|
22
22
|
if !record_klass.respond_to?(method) then super else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record-associated_object
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kasper Timm Hansen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -45,6 +45,7 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
+
- ".tool-versions"
|
48
49
|
- CHANGELOG.md
|
49
50
|
- Gemfile
|
50
51
|
- Gemfile.lock
|
@@ -78,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
78
79
|
- !ruby/object:Gem::Version
|
79
80
|
version: '0'
|
80
81
|
requirements: []
|
81
|
-
rubygems_version: 3.
|
82
|
+
rubygems_version: 3.4.19
|
82
83
|
signing_key:
|
83
84
|
specification_version: 4
|
84
85
|
summary: Associate a Ruby PORO with an Active Record class and have it quack like
|