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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20d91687ec83cbc70efb318377c15ce1e2e79b28d350322b0d91ad6618073cc2
4
- data.tar.gz: 59f19eea143da23bd980f0d6bca5a96670e13c7859d0db860741bf314d949822
3
+ metadata.gz: 2c4701ccba7500ef91ffd5d4c6978c9cef567bb8150a5e8724e6654f22688020
4
+ data.tar.gz: 8848a32bb16888dfda3a77f11c14c01e14d59532a19aa3a063b38bea7042fd18
5
5
  SHA512:
6
- metadata.gz: a41fc155e625c0d04d01f39a55a6c80155b8e275abb1c9be9ef5fac6c927cd6c36b83a13a9f621c73c344b333b246bd86e76bb49773579b2605fb1d2ede636b3
7
- data.tar.gz: 3de159d609ac4ab8eedbe03d681cd6d8295ca4831c7eb4430ca760f86dfa243906bd9c7d62cc2cd60cf44ba0aa271116114703bd59a784780260d4b961f3e725
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.0)
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.0.2.3)
12
- actionview (= 7.0.2.3)
13
- activesupport (= 7.0.2.3)
14
- rack (~> 2.0, >= 2.2.0)
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.0)
17
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
- actionview (7.0.2.3)
19
- activesupport (= 7.0.2.3)
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.4)
22
- rails-dom-testing (~> 2.0)
23
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
- active_job-performs (0.1.1)
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.0.2.3)
27
- activesupport (= 7.0.2.3)
28
+ activejob (7.1.1)
29
+ activesupport (= 7.1.1)
28
30
  globalid (>= 0.3.6)
29
- activemodel (7.0.2.3)
30
- activesupport (= 7.0.2.3)
31
- activerecord (7.0.2.3)
32
- activemodel (= 7.0.2.3)
33
- activesupport (= 7.0.2.3)
34
- activesupport (7.0.2.3)
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.1.10)
50
+ concurrent-ruby (1.2.2)
51
+ connection_pool (2.4.1)
41
52
  crass (1.0.6)
42
- debug (1.5.0)
43
- irb (>= 1.3.6)
44
- reline (>= 0.2.7)
45
- erubi (1.10.0)
46
- globalid (1.0.0)
47
- activesupport (>= 5.0)
48
- i18n (1.10.0)
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.5.11)
51
- irb (1.4.1)
52
- reline (>= 0.3.0)
53
- kredis (1.1.0)
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 (~> 4.2)
56
- loofah (2.16.0)
70
+ redis (>= 4.2, < 6)
71
+ loofah (2.21.4)
57
72
  crass (~> 1.0.2)
58
- nokogiri (>= 1.5.9)
59
- method_source (1.0.0)
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
- nokogiri (1.13.4-arm64-darwin)
77
+ mutex_m (0.1.2)
78
+ nokogiri (1.15.4-arm64-darwin)
64
79
  racc (~> 1.4)
65
- nokogiri (1.13.4-x86_64-linux)
80
+ nokogiri (1.15.4-x86_64-linux)
66
81
  racc (~> 1.4)
67
82
  path_expander (1.1.1)
68
- racc (1.6.0)
69
- rack (2.2.3)
70
- rack-test (1.1.0)
71
- rack (>= 1.0, < 3)
72
- rails-dom-testing (2.0.3)
73
- activesupport (>= 4.2.0)
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.4.2)
76
- loofah (~> 2.3)
77
- railties (7.0.2.3)
78
- actionpack (= 7.0.2.3)
79
- activesupport (= 7.0.2.3)
80
- method_source
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.5)
84
- rake (13.0.6)
85
- redis (4.6.0)
86
- reline (0.3.1)
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
- sqlite3 (1.4.2)
89
- thor (1.2.1)
90
- tzinfo (2.0.4)
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
- zeitwerk (2.5.4)
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.3.11
147
+ 2.4.21
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveRecord
4
4
  class AssociatedObject
5
- VERSION = "0.4.0"
5
+ VERSION = "0.4.1"
6
6
  end
7
7
  end
@@ -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.0
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: 2022-09-27 00:00:00.000000000 Z
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.3.21
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