relation 0.4.5 → 0.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6a85d43f4b865d2062ebfa1d30410f226fedef2c558a687888c798e19e20740
4
- data.tar.gz: 40710c6d0dd003cdf434bfdddb77156bfc31b8c116f0b5f535080f13a7b428ac
3
+ metadata.gz: f6ad01498d7d299c54c8e11541204813af1e533ab86480c24a3469e099aaf567
4
+ data.tar.gz: ad69932ce009eb992b60899ec1ac4bac425c61ab55aade3713368fa5c538c741
5
5
  SHA512:
6
- metadata.gz: cc20c831d1a343c80f57ec4036ee198b72c7fe25a193b80d37d4662e3f75527cccf4f24f2cf4bf12f007c7fc464633044e5df88c53e438c59491a20321f9040b
7
- data.tar.gz: 1dc5c9f45cf301bf0273d1f386993d9ca799ae194962b9ebc788b6951b3fc2804f15025ed0c08d28e12dc5ac176637403ff13c9c231dbdbeb01e6a508382fa9d
6
+ metadata.gz: 7eae2f1744e881798f98642ce1ce82be6d7d4a42af78d8aad81585a8008e4270af4d35e48266225e94b56f5d171d8f248dbced4baa164e18462380095f804ada
7
+ data.tar.gz: 9c90cb6760d4bed49d6ae2b490f96fe6803ff0cda51849579880ad579010bd52df8579c6ff6ba4f845117a25e5b3bce277aa6d0dba898dcd21c8a3957d9f19a3
@@ -8,11 +8,12 @@ jobs:
8
8
  strategy:
9
9
  fail-fast: false
10
10
  matrix:
11
- ruby_version: ["3.2", "3.3"]
11
+ # ruby_version: [head, "3.4", "3.2"]
12
+ ruby_version: ["3.4", "3.2"]
12
13
  gemfile:
13
14
  - Gemfile
15
+ - gemfiles/Gemfile.rails-8.0
14
16
  - gemfiles/Gemfile.rails-7.2
15
- - gemfiles/Gemfile.rails-7.1
16
17
  runs-on: ubuntu-latest
17
18
 
18
19
  steps:
data/.gitignore CHANGED
@@ -1,10 +1,10 @@
1
- .bundle/
2
- coverage/
1
+ # ~/.gitignore included
2
+
3
3
  .watchr
4
4
 
5
- *.gem
6
- *.log
7
- *.lock
5
+ **/*.gem
6
+ **/*.log
7
+ **/*.lock
8
8
 
9
9
  **/db/test.sqlite3*
10
10
  /test/internal/storage/
data/.ruby-gemset CHANGED
@@ -1 +1 @@
1
- rails-7.2
1
+ rails-8.0
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.3.5
1
+ ruby-3.4.4
data/Appraisals CHANGED
@@ -1,11 +1,15 @@
1
- appraise "rails-7.2" do
2
- gem "rails", "~> 7.2"
1
+ appraise "rails-8.0" do
2
+ gem "rails", "~> 8.0"
3
3
  end
4
4
 
5
- appraise "rails-7.1" do
6
- gem "rails", "~> 7.1"
5
+ appraise "rails-7.2" do
6
+ gem "rails", "~> 7.2"
7
7
  end
8
8
 
9
+ # appraise "rails-7.1" do
10
+ # gem "rails", "~> 7.1"
11
+ # end
12
+ #
9
13
  # appraise "rails-7.0" do
10
14
  # gem "rails", "~> 7.0"
11
15
  # gem "dryer-config", "~> 7.0"
data/Gemfile CHANGED
@@ -6,7 +6,7 @@ gem "rails"
6
6
  group :test do
7
7
  gem "cuco"
8
8
  gem "minitest-spec-rails"
9
- gem "ricecream"
9
+ gem "ricecream", require: false
10
10
  gem "simplecov", require: false
11
11
  gem "sqlite3"
12
12
  gem "standard", require: false
data/Gemfile.lock CHANGED
@@ -1,72 +1,72 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relation (0.4.5)
4
+ relation (0.5.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actioncable (7.2.1.1)
10
- actionpack (= 7.2.1.1)
11
- activesupport (= 7.2.1.1)
9
+ actioncable (8.0.2)
10
+ actionpack (= 8.0.2)
11
+ activesupport (= 8.0.2)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (>= 0.6.1)
14
14
  zeitwerk (~> 2.6)
15
- actionmailbox (7.2.1.1)
16
- actionpack (= 7.2.1.1)
17
- activejob (= 7.2.1.1)
18
- activerecord (= 7.2.1.1)
19
- activestorage (= 7.2.1.1)
20
- activesupport (= 7.2.1.1)
15
+ actionmailbox (8.0.2)
16
+ actionpack (= 8.0.2)
17
+ activejob (= 8.0.2)
18
+ activerecord (= 8.0.2)
19
+ activestorage (= 8.0.2)
20
+ activesupport (= 8.0.2)
21
21
  mail (>= 2.8.0)
22
- actionmailer (7.2.1.1)
23
- actionpack (= 7.2.1.1)
24
- actionview (= 7.2.1.1)
25
- activejob (= 7.2.1.1)
26
- activesupport (= 7.2.1.1)
22
+ actionmailer (8.0.2)
23
+ actionpack (= 8.0.2)
24
+ actionview (= 8.0.2)
25
+ activejob (= 8.0.2)
26
+ activesupport (= 8.0.2)
27
27
  mail (>= 2.8.0)
28
28
  rails-dom-testing (~> 2.2)
29
- actionpack (7.2.1.1)
30
- actionview (= 7.2.1.1)
31
- activesupport (= 7.2.1.1)
29
+ actionpack (8.0.2)
30
+ actionview (= 8.0.2)
31
+ activesupport (= 8.0.2)
32
32
  nokogiri (>= 1.8.5)
33
- racc
34
- rack (>= 2.2.4, < 3.2)
33
+ rack (>= 2.2.4)
35
34
  rack-session (>= 1.0.1)
36
35
  rack-test (>= 0.6.3)
37
36
  rails-dom-testing (~> 2.2)
38
37
  rails-html-sanitizer (~> 1.6)
39
38
  useragent (~> 0.16)
40
- actiontext (7.2.1.1)
41
- actionpack (= 7.2.1.1)
42
- activerecord (= 7.2.1.1)
43
- activestorage (= 7.2.1.1)
44
- activesupport (= 7.2.1.1)
39
+ actiontext (8.0.2)
40
+ actionpack (= 8.0.2)
41
+ activerecord (= 8.0.2)
42
+ activestorage (= 8.0.2)
43
+ activesupport (= 8.0.2)
45
44
  globalid (>= 0.6.0)
46
45
  nokogiri (>= 1.8.5)
47
- actionview (7.2.1.1)
48
- activesupport (= 7.2.1.1)
46
+ actionview (8.0.2)
47
+ activesupport (= 8.0.2)
49
48
  builder (~> 3.1)
50
49
  erubi (~> 1.11)
51
50
  rails-dom-testing (~> 2.2)
52
51
  rails-html-sanitizer (~> 1.6)
53
- activejob (7.2.1.1)
54
- activesupport (= 7.2.1.1)
52
+ activejob (8.0.2)
53
+ activesupport (= 8.0.2)
55
54
  globalid (>= 0.3.6)
56
- activemodel (7.2.1.1)
57
- activesupport (= 7.2.1.1)
58
- activerecord (7.2.1.1)
59
- activemodel (= 7.2.1.1)
60
- activesupport (= 7.2.1.1)
55
+ activemodel (8.0.2)
56
+ activesupport (= 8.0.2)
57
+ activerecord (8.0.2)
58
+ activemodel (= 8.0.2)
59
+ activesupport (= 8.0.2)
61
60
  timeout (>= 0.4.0)
62
- activestorage (7.2.1.1)
63
- actionpack (= 7.2.1.1)
64
- activejob (= 7.2.1.1)
65
- activerecord (= 7.2.1.1)
66
- activesupport (= 7.2.1.1)
61
+ activestorage (8.0.2)
62
+ actionpack (= 8.0.2)
63
+ activejob (= 8.0.2)
64
+ activerecord (= 8.0.2)
65
+ activesupport (= 8.0.2)
67
66
  marcel (~> 1.0)
68
- activesupport (7.2.1.1)
67
+ activesupport (8.0.2)
69
68
  base64
69
+ benchmark (>= 0.3)
70
70
  bigdecimal
71
71
  concurrent-ruby (~> 1.0, >= 1.3.1)
72
72
  connection_pool (>= 2.2.5)
@@ -76,54 +76,56 @@ GEM
76
76
  minitest (>= 5.1)
77
77
  securerandom (>= 0.3)
78
78
  tzinfo (~> 2.0, >= 2.0.5)
79
+ uri (>= 0.13.1)
79
80
  appraisal (2.5.0)
80
81
  bundler
81
82
  rake
82
83
  thor (>= 0.14.0)
83
- ast (2.4.2)
84
- base64 (0.2.0)
85
- bigdecimal (3.1.8)
84
+ ast (2.4.3)
85
+ base64 (0.3.0)
86
+ benchmark (0.4.1)
87
+ bigdecimal (3.2.2)
86
88
  builder (3.3.0)
87
89
  combustion (1.5.0)
88
90
  activesupport (>= 3.0.0)
89
91
  railties (>= 3.0.0)
90
92
  thor (>= 0.14.6)
91
- concurrent-ruby (1.3.4)
92
- connection_pool (2.4.1)
93
+ concurrent-ruby (1.3.5)
94
+ connection_pool (2.5.3)
93
95
  crass (1.0.6)
94
- cuco (0.1.2)
96
+ cuco (0.1.3)
95
97
  listen
96
98
  micro-optparse
97
- date (3.3.4)
99
+ date (3.4.1)
98
100
  docile (1.4.1)
99
- drb (2.2.1)
100
- erubi (1.13.0)
101
- ffi (1.17.0-aarch64-linux-gnu)
102
- ffi (1.17.0-aarch64-linux-musl)
103
- ffi (1.17.0-arm-linux-gnu)
104
- ffi (1.17.0-arm-linux-musl)
105
- ffi (1.17.0-arm64-darwin)
106
- ffi (1.17.0-x86-linux-gnu)
107
- ffi (1.17.0-x86-linux-musl)
108
- ffi (1.17.0-x86_64-darwin)
109
- ffi (1.17.0-x86_64-linux-gnu)
110
- ffi (1.17.0-x86_64-linux-musl)
101
+ drb (2.2.3)
102
+ erb (5.0.1)
103
+ erubi (1.13.1)
104
+ ffi (1.17.2-aarch64-linux-gnu)
105
+ ffi (1.17.2-aarch64-linux-musl)
106
+ ffi (1.17.2-arm-linux-gnu)
107
+ ffi (1.17.2-arm-linux-musl)
108
+ ffi (1.17.2-arm64-darwin)
109
+ ffi (1.17.2-x86_64-darwin)
110
+ ffi (1.17.2-x86_64-linux-gnu)
111
+ ffi (1.17.2-x86_64-linux-musl)
111
112
  globalid (1.2.1)
112
113
  activesupport (>= 6.1)
113
- i18n (1.14.6)
114
+ i18n (1.14.7)
114
115
  concurrent-ruby (~> 1.0)
115
- io-console (0.7.2)
116
- irb (1.14.1)
116
+ io-console (0.8.0)
117
+ irb (1.15.2)
118
+ pp (>= 0.6.0)
117
119
  rdoc (>= 4.0.0)
118
120
  reline (>= 0.4.2)
119
- json (2.7.2)
120
- language_server-protocol (3.17.0.3)
121
+ json (2.12.2)
122
+ language_server-protocol (3.17.0.5)
121
123
  lint_roller (1.1.0)
122
124
  listen (3.9.0)
123
125
  rb-fsevent (~> 0.10, >= 0.10.3)
124
126
  rb-inotify (~> 0.9, >= 0.9.10)
125
- logger (1.6.1)
126
- loofah (2.22.0)
127
+ logger (1.7.0)
128
+ loofah (2.24.1)
127
129
  crass (~> 1.0.2)
128
130
  nokogiri (>= 1.12.0)
129
131
  mail (2.8.1)
@@ -134,156 +136,165 @@ GEM
134
136
  marcel (1.0.4)
135
137
  micro-optparse (1.2.1)
136
138
  mini_mime (1.1.5)
137
- minitest (5.25.1)
138
- minitest-spec-rails (7.3.0)
139
+ minitest (5.25.5)
140
+ minitest-spec-rails (7.4.1)
139
141
  minitest (>= 5.0)
140
142
  railties (>= 4.1)
141
- net-imap (0.5.0)
143
+ net-imap (0.5.8)
142
144
  date
143
145
  net-protocol
144
146
  net-pop (0.1.2)
145
147
  net-protocol
146
148
  net-protocol (0.2.2)
147
149
  timeout
148
- net-smtp (0.5.0)
150
+ net-smtp (0.5.1)
149
151
  net-protocol
150
- nio4r (2.7.3)
151
- nokogiri (1.16.7-aarch64-linux)
152
+ nio4r (2.7.4)
153
+ nokogiri (1.18.8-aarch64-linux-gnu)
154
+ racc (~> 1.4)
155
+ nokogiri (1.18.8-aarch64-linux-musl)
152
156
  racc (~> 1.4)
153
- nokogiri (1.16.7-arm-linux)
157
+ nokogiri (1.18.8-arm-linux-gnu)
154
158
  racc (~> 1.4)
155
- nokogiri (1.16.7-arm64-darwin)
159
+ nokogiri (1.18.8-arm-linux-musl)
156
160
  racc (~> 1.4)
157
- nokogiri (1.16.7-x86-linux)
161
+ nokogiri (1.18.8-arm64-darwin)
158
162
  racc (~> 1.4)
159
- nokogiri (1.16.7-x86_64-darwin)
163
+ nokogiri (1.18.8-x86_64-darwin)
160
164
  racc (~> 1.4)
161
- nokogiri (1.16.7-x86_64-linux)
165
+ nokogiri (1.18.8-x86_64-linux-gnu)
162
166
  racc (~> 1.4)
163
- parallel (1.26.3)
164
- parser (3.3.5.0)
167
+ nokogiri (1.18.8-x86_64-linux-musl)
168
+ racc (~> 1.4)
169
+ parallel (1.27.0)
170
+ parser (3.3.8.0)
165
171
  ast (~> 2.4.1)
166
172
  racc
167
- psych (5.1.2)
173
+ pp (0.6.2)
174
+ prettyprint
175
+ prettyprint (0.2.0)
176
+ prism (1.4.0)
177
+ psych (5.2.6)
178
+ date
168
179
  stringio
169
180
  racc (1.8.1)
170
- rack (3.1.8)
171
- rack-session (2.0.0)
181
+ rack (3.1.16)
182
+ rack-session (2.1.1)
183
+ base64 (>= 0.1.0)
172
184
  rack (>= 3.0.0)
173
- rack-test (2.1.0)
185
+ rack-test (2.2.0)
174
186
  rack (>= 1.3)
175
- rackup (2.1.0)
187
+ rackup (2.2.1)
176
188
  rack (>= 3)
177
- webrick (~> 1.8)
178
- rails (7.2.1.1)
179
- actioncable (= 7.2.1.1)
180
- actionmailbox (= 7.2.1.1)
181
- actionmailer (= 7.2.1.1)
182
- actionpack (= 7.2.1.1)
183
- actiontext (= 7.2.1.1)
184
- actionview (= 7.2.1.1)
185
- activejob (= 7.2.1.1)
186
- activemodel (= 7.2.1.1)
187
- activerecord (= 7.2.1.1)
188
- activestorage (= 7.2.1.1)
189
- activesupport (= 7.2.1.1)
189
+ rails (8.0.2)
190
+ actioncable (= 8.0.2)
191
+ actionmailbox (= 8.0.2)
192
+ actionmailer (= 8.0.2)
193
+ actionpack (= 8.0.2)
194
+ actiontext (= 8.0.2)
195
+ actionview (= 8.0.2)
196
+ activejob (= 8.0.2)
197
+ activemodel (= 8.0.2)
198
+ activerecord (= 8.0.2)
199
+ activestorage (= 8.0.2)
200
+ activesupport (= 8.0.2)
190
201
  bundler (>= 1.15.0)
191
- railties (= 7.2.1.1)
192
- rails-dom-testing (2.2.0)
202
+ railties (= 8.0.2)
203
+ rails-dom-testing (2.3.0)
193
204
  activesupport (>= 5.0.0)
194
205
  minitest
195
206
  nokogiri (>= 1.6)
196
- rails-html-sanitizer (1.6.0)
207
+ rails-html-sanitizer (1.6.2)
197
208
  loofah (~> 2.21)
198
- nokogiri (~> 1.14)
199
- railties (7.2.1.1)
200
- actionpack (= 7.2.1.1)
201
- activesupport (= 7.2.1.1)
209
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
210
+ railties (8.0.2)
211
+ actionpack (= 8.0.2)
212
+ activesupport (= 8.0.2)
202
213
  irb (~> 1.13)
203
214
  rackup (>= 1.0.0)
204
215
  rake (>= 12.2)
205
216
  thor (~> 1.0, >= 1.2.2)
206
217
  zeitwerk (~> 2.6)
207
218
  rainbow (3.1.1)
208
- rake (13.2.1)
219
+ rake (13.3.0)
209
220
  rb-fsevent (0.11.2)
210
221
  rb-inotify (0.11.1)
211
222
  ffi (~> 1.0)
212
- rdoc (6.7.0)
223
+ rdoc (6.14.1)
224
+ erb
213
225
  psych (>= 4.0.0)
214
- regexp_parser (2.9.2)
215
- reline (0.5.10)
226
+ regexp_parser (2.10.0)
227
+ reline (0.6.1)
216
228
  io-console (~> 0.5)
217
229
  ricecream (0.2.1)
218
- rubocop (1.66.1)
230
+ rubocop (1.75.8)
219
231
  json (~> 2.3)
220
- language_server-protocol (>= 3.17.0)
232
+ language_server-protocol (~> 3.17.0.2)
233
+ lint_roller (~> 1.1.0)
221
234
  parallel (~> 1.10)
222
235
  parser (>= 3.3.0.2)
223
236
  rainbow (>= 2.2.2, < 4.0)
224
- regexp_parser (>= 2.4, < 3.0)
225
- rubocop-ast (>= 1.32.2, < 2.0)
237
+ regexp_parser (>= 2.9.3, < 3.0)
238
+ rubocop-ast (>= 1.44.0, < 2.0)
226
239
  ruby-progressbar (~> 1.7)
227
- unicode-display_width (>= 2.4.0, < 3.0)
228
- rubocop-ast (1.32.3)
229
- parser (>= 3.3.1.0)
230
- rubocop-performance (1.22.1)
231
- rubocop (>= 1.48.1, < 2.0)
232
- rubocop-ast (>= 1.31.1, < 2.0)
240
+ unicode-display_width (>= 2.4.0, < 4.0)
241
+ rubocop-ast (1.45.1)
242
+ parser (>= 3.3.7.2)
243
+ prism (~> 1.4)
244
+ rubocop-performance (1.25.0)
245
+ lint_roller (~> 1.1)
246
+ rubocop (>= 1.75.0, < 2.0)
247
+ rubocop-ast (>= 1.38.0, < 2.0)
233
248
  ruby-progressbar (1.13.0)
234
- securerandom (0.3.1)
249
+ securerandom (0.4.1)
235
250
  simplecov (0.22.0)
236
251
  docile (~> 1.1)
237
252
  simplecov-html (~> 0.11)
238
253
  simplecov_json_formatter (~> 0.1)
239
254
  simplecov-html (0.13.1)
240
255
  simplecov_json_formatter (0.1.4)
241
- sqlite3 (2.1.0-aarch64-linux-gnu)
242
- sqlite3 (2.1.0-aarch64-linux-musl)
243
- sqlite3 (2.1.0-arm-linux-gnu)
244
- sqlite3 (2.1.0-arm-linux-musl)
245
- sqlite3 (2.1.0-arm64-darwin)
246
- sqlite3 (2.1.0-x86-linux-gnu)
247
- sqlite3 (2.1.0-x86-linux-musl)
248
- sqlite3 (2.1.0-x86_64-darwin)
249
- sqlite3 (2.1.0-x86_64-linux-gnu)
250
- sqlite3 (2.1.0-x86_64-linux-musl)
251
- standard (1.41.1)
256
+ sqlite3 (2.7.0-aarch64-linux-gnu)
257
+ sqlite3 (2.7.0-aarch64-linux-musl)
258
+ sqlite3 (2.7.0-arm-linux-gnu)
259
+ sqlite3 (2.7.0-arm-linux-musl)
260
+ sqlite3 (2.7.0-arm64-darwin)
261
+ sqlite3 (2.7.0-x86_64-darwin)
262
+ sqlite3 (2.7.0-x86_64-linux-gnu)
263
+ sqlite3 (2.7.0-x86_64-linux-musl)
264
+ standard (1.50.0)
252
265
  language_server-protocol (~> 3.17.0.2)
253
266
  lint_roller (~> 1.0)
254
- rubocop (~> 1.66.0)
267
+ rubocop (~> 1.75.5)
255
268
  standard-custom (~> 1.0.0)
256
- standard-performance (~> 1.5)
269
+ standard-performance (~> 1.8)
257
270
  standard-custom (1.0.2)
258
271
  lint_roller (~> 1.0)
259
272
  rubocop (~> 1.50)
260
- standard-performance (1.5.0)
273
+ standard-performance (1.8.0)
261
274
  lint_roller (~> 1.1)
262
- rubocop-performance (~> 1.22.0)
263
- stringio (3.1.1)
275
+ rubocop-performance (~> 1.25.0)
276
+ stringio (3.1.7)
264
277
  thor (1.3.2)
265
- timeout (0.4.1)
278
+ timeout (0.4.3)
266
279
  tzinfo (2.0.6)
267
280
  concurrent-ruby (~> 1.0)
268
- unicode-display_width (2.6.0)
269
- useragent (0.16.10)
270
- webrick (1.8.2)
271
- websocket-driver (0.7.6)
281
+ unicode-display_width (3.1.4)
282
+ unicode-emoji (~> 4.0, >= 4.0.4)
283
+ unicode-emoji (4.0.4)
284
+ uri (1.0.3)
285
+ useragent (0.16.11)
286
+ websocket-driver (0.8.0)
287
+ base64
272
288
  websocket-extensions (>= 0.1.0)
273
289
  websocket-extensions (0.1.5)
274
- zeitwerk (2.7.1)
290
+ zeitwerk (2.7.3)
275
291
 
276
292
  PLATFORMS
277
- aarch64-linux
278
293
  aarch64-linux-gnu
279
294
  aarch64-linux-musl
280
- arm-linux
281
295
  arm-linux-gnu
282
296
  arm-linux-musl
283
297
  arm64-darwin
284
- x86-linux
285
- x86-linux-gnu
286
- x86-linux-musl
287
298
  x86_64-darwin
288
299
  x86_64-linux-gnu
289
300
  x86_64-linux-musl
@@ -302,4 +313,4 @@ DEPENDENCIES
302
313
  standard
303
314
 
304
315
  BUNDLED WITH
305
- 2.5.22
316
+ 2.6.7
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015-2024 Dittmar Krall (www.matiq.com)
1
+ Copyright (c) 2015-2025 Dittmar Krall (www.matiq.com)
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  # Relation
2
- [![Gem Version](https://badge.fury.io/rb/relation.svg)](http://badge.fury.io/rb/relation)
3
- [![GEM Downloads](https://img.shields.io/gem/dt/relation?color=168AFE&logo=ruby&logoColor=FE1616)](https://rubygems.org/gems/relation)
4
- [![rake](https://github.com/matique/relation/actions/workflows/rake.yml/badge.svg)](https://github.com/matique/relation/actions/workflows/rake.yml)
5
- [![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/standardrb/standard)
6
- [![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](http://choosealicense.com/licenses/mit/)
2
+
3
+ [![Gem Version](https://img.shields.io/gem/v/relation?color=168AFE&logo=rubygems&logoColor=FE1616)](https://rubygems.org/gems/relation)
4
+ [![Downloads](https://img.shields.io/gem/dt/relation?color=168AFE&logo=rubygems&logoColor=FE1616)](https://rubygems.org/gems/relation)
5
+ [![GitHub Build](https://img.shields.io/github/actions/workflow/status/matique/relation/rake.yml?logo=github)](https://github.com/matique/relation/actions/workflows/rake.yml)
6
+ [![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-168AFE.svg)](https://github.com/standardrb/standard)
7
+ [![MIT License](https://img.shields.io/badge/license-MIT-168AFE.svg)](http://choosealicense.com/licenses/mit/)
7
8
 
8
9
  AFAIK, Relation can replace all kind of relationships in a Rails database.
9
10
  The gem stores the relationships in a additional table (named
@@ -90,6 +91,10 @@ They may be used for relationships which can not be based on the
90
91
  class name of the ActiveRecords.
91
92
  Keep in mind that dangling relations must be handled by yourself.
92
93
 
94
+ ## Version 0.5
95
+
96
+ Version 0.5.* is intended for Rails 8.
97
+
93
98
  ## Version 0.4
94
99
 
95
100
  Version 0.4.* is intended for Rails 7.
@@ -103,5 +108,5 @@ Older Rails versions may use "gem 'relation', '= 0.1.1'".
103
108
 
104
109
  ## Miscellaneous
105
110
 
106
- Copyright (c) 2015-2024 Dittmar Krall (www.matiq.com),
111
+ Copyright (c) 2015-2025 Dittmar Krall (www.matiq.com),
107
112
  released under the [MIT license](https://opensource.org/licenses/MIT).
@@ -7,7 +7,7 @@ gem "rails", "~> 7.2"
7
7
  group :test do
8
8
  gem "cuco"
9
9
  gem "minitest-spec-rails"
10
- gem "ricecream"
10
+ gem "ricecream", require: false
11
11
  gem "simplecov", require: false
12
12
  gem "sqlite3"
13
13
  gem "standard", require: false
@@ -2,12 +2,12 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 7.1"
5
+ gem "rails", "~> 8.0"
6
6
 
7
7
  group :test do
8
8
  gem "cuco"
9
9
  gem "minitest-spec-rails"
10
- gem "ricecream"
10
+ gem "ricecream", require: false
11
11
  gem "simplecov", require: false
12
12
  gem "sqlite3"
13
13
  gem "standard", require: false
@@ -1,7 +1,8 @@
1
1
  # rubocop: disable all
2
2
 
3
3
  module ModRelation
4
- VERSION = "0.4.5" # 2024-10-21
4
+ VERSION = "0.5.0" # 2025-06-18
5
+ # VERSION = "0.4.5" # 2024-10-21
5
6
  # VERSION = "0.4.4" # 2023-12-12
6
7
  # VERSION = "0.4.3" # 2023-04-16
7
8
  # VERSION = "0.4.2" # 2023-01-19
data/relation.gemspec CHANGED
@@ -20,6 +20,7 @@ Gem::Specification.new do |s|
20
20
 
21
21
  s.files = `git ls-files`.split("\n")
22
22
  s.require_paths = ["lib", "app"]
23
+ s.required_ruby_version = "~> 3"
23
24
 
24
25
  s.add_development_dependency "appraisal"
25
26
  s.add_development_dependency "combustion"
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-10-21 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: appraisal
@@ -75,8 +74,8 @@ files:
75
74
  - app/models/relation.rb
76
75
  - app/models/relation_ext.rb
77
76
  - db/migrate/003_create_relations.rb
78
- - gemfiles/rails_7.1.gemfile
79
77
  - gemfiles/rails_7.2.gemfile
78
+ - gemfiles/rails_8.0.gemfile
80
79
  - lib/relation.rb
81
80
  - lib/relation/engine.rb
82
81
  - lib/relation/version.rb
@@ -94,24 +93,22 @@ licenses:
94
93
  - MIT
95
94
  metadata:
96
95
  source_code_uri: https://github.com/matique/relation
97
- post_install_message:
98
96
  rdoc_options: []
99
97
  require_paths:
100
98
  - lib
101
99
  - app
102
100
  required_ruby_version: !ruby/object:Gem::Requirement
103
101
  requirements:
104
- - - ">="
102
+ - - "~>"
105
103
  - !ruby/object:Gem::Version
106
- version: '0'
104
+ version: '3'
107
105
  required_rubygems_version: !ruby/object:Gem::Requirement
108
106
  requirements:
109
107
  - - ">="
110
108
  - !ruby/object:Gem::Version
111
109
  version: '0'
112
110
  requirements: []
113
- rubygems_version: 3.5.20
114
- signing_key:
111
+ rubygems_version: 3.6.7
115
112
  specification_version: 4
116
113
  summary: Rails gem adding relationships between ActiveRecord models.
117
114
  test_files: []