relation 0.4.4 → 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: 6d7ade0969bd5fcac0a5a316dbe34a6a6c5f34bec62ebeaf669a4dd2f850dfe5
4
- data.tar.gz: a3447f7f237701460af905e9fb7a2427d3da9404ba8f7b36c352fd8c898b8c46
3
+ metadata.gz: f6ad01498d7d299c54c8e11541204813af1e533ab86480c24a3469e099aaf567
4
+ data.tar.gz: ad69932ce009eb992b60899ec1ac4bac425c61ab55aade3713368fa5c538c741
5
5
  SHA512:
6
- metadata.gz: 1699c0bd4f3300103b6c2067a378e74c499a5b6f0faad45ed8fc676d8f425bb92a226c61c631e4459e86c0240c7befdb054f89a88cfcd35cfc8fc5f55fcee77a
7
- data.tar.gz: abe5441a2e239711593e92cf9ab758381255c8db9a0790edbf1a6d8161e91523e8bb37af646c653425f3685ac28c8e971d9f09773ad1ec4ea96563351e4d17f0
6
+ metadata.gz: 7eae2f1744e881798f98642ce1ce82be6d7d4a42af78d8aad81585a8008e4270af4d35e48266225e94b56f5d171d8f248dbced4baa164e18462380095f804ada
7
+ data.tar.gz: 9c90cb6760d4bed49d6ae2b490f96fe6803ff0cda51849579880ad579010bd52df8579c6ff6ba4f845117a25e5b3bce277aa6d0dba898dcd21c8a3957d9f19a3
@@ -8,20 +8,26 @@ jobs:
8
8
  strategy:
9
9
  fail-fast: false
10
10
  matrix:
11
- ruby_version: ["3.0", 3.2]
11
+ # ruby_version: [head, "3.4", "3.2"]
12
+ ruby_version: ["3.4", "3.2"]
12
13
  gemfile:
13
14
  - Gemfile
14
- - gemfiles/Gemfile.rails-7.1
15
- - gemfiles/Gemfile.rails-7.0
16
- - gemfiles/Gemfile.rails-6.1
15
+ - gemfiles/Gemfile.rails-8.0
16
+ - gemfiles/Gemfile.rails-7.2
17
17
  runs-on: ubuntu-latest
18
18
 
19
19
  steps:
20
- - uses: actions/checkout@v3
20
+ - uses: actions/checkout@v4
21
21
  - name: Set up Ruby
22
22
  uses: ruby/setup-ruby@v1
23
23
  with:
24
24
  ruby-version: ${{ matrix.ruby_version }}
25
25
  bundler-cache: true
26
+ - name: Bundle install
27
+ run: |
28
+ bundle config set frozen false
29
+ bundle config path /home/runner/bundle
30
+ bundle install
31
+ bundle update
26
32
  - name: Build and test with Rake
27
33
  run: bundle exec rake
data/.gitignore CHANGED
@@ -1,12 +1,11 @@
1
- .bundle/
2
- coverage/
1
+ # ~/.gitignore included
2
+
3
3
  .watchr
4
4
 
5
- *.gem
6
- *.log
7
- *.lock
8
- *.sqlite3
9
5
  **/*.gem
10
6
  **/*.log
11
7
  **/*.lock
12
- **/*.sqlite3*
8
+
9
+ **/db/test.sqlite3*
10
+ /test/internal/storage/
11
+ /test/internal/tmp/
data/.ruby-gemset CHANGED
@@ -1 +1 @@
1
- rails-7.1
1
+ rails-8.0
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.2.2
1
+ ruby-3.4.4
data/Appraisals CHANGED
@@ -1,13 +1,21 @@
1
- appraise "rails-7.1" do
2
- gem "rails", "~> 7.1"
1
+ appraise "rails-8.0" do
2
+ gem "rails", "~> 8.0"
3
3
  end
4
4
 
5
- appraise "rails-7.0" do
6
- gem "rails", "~> 7.0"
7
- gem "dryer-config", "~> 7.0"
5
+ appraise "rails-7.2" do
6
+ gem "rails", "~> 7.2"
8
7
  end
9
8
 
10
- appraise "rails-6.1" do
11
- gem "rails", "~> 6.1"
12
- gem "dryer-config", "~> 6.0"
13
- end
9
+ # appraise "rails-7.1" do
10
+ # gem "rails", "~> 7.1"
11
+ # end
12
+ #
13
+ # appraise "rails-7.0" do
14
+ # gem "rails", "~> 7.0"
15
+ # gem "dryer-config", "~> 7.0"
16
+ # end
17
+ #
18
+ # appraise "rails-6.1" do
19
+ # gem "rails", "~> 6.1"
20
+ # gem "dryer-config", "~> 6.0"
21
+ # end
data/Gemfile CHANGED
@@ -4,9 +4,10 @@ gemspec
4
4
  gem "rails"
5
5
 
6
6
  group :test do
7
+ gem "cuco"
7
8
  gem "minitest-spec-rails"
8
- gem "observr"
9
- gem "ricecream"
9
+ gem "ricecream", require: false
10
10
  gem "simplecov", require: false
11
+ gem "sqlite3"
11
12
  gem "standard", require: false
12
13
  end
data/Gemfile.lock CHANGED
@@ -1,117 +1,131 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relation (0.4.4)
4
+ relation (0.5.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actioncable (7.1.2)
10
- actionpack (= 7.1.2)
11
- activesupport (= 7.1.2)
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.1.2)
16
- actionpack (= 7.1.2)
17
- activejob (= 7.1.2)
18
- activerecord (= 7.1.2)
19
- activestorage (= 7.1.2)
20
- activesupport (= 7.1.2)
21
- mail (>= 2.7.1)
22
- net-imap
23
- net-pop
24
- net-smtp
25
- actionmailer (7.1.2)
26
- actionpack (= 7.1.2)
27
- actionview (= 7.1.2)
28
- activejob (= 7.1.2)
29
- activesupport (= 7.1.2)
30
- mail (~> 2.5, >= 2.5.4)
31
- net-imap
32
- net-pop
33
- net-smtp
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
+ mail (>= 2.8.0)
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
+ mail (>= 2.8.0)
34
28
  rails-dom-testing (~> 2.2)
35
- actionpack (7.1.2)
36
- actionview (= 7.1.2)
37
- activesupport (= 7.1.2)
29
+ actionpack (8.0.2)
30
+ actionview (= 8.0.2)
31
+ activesupport (= 8.0.2)
38
32
  nokogiri (>= 1.8.5)
39
- racc
40
33
  rack (>= 2.2.4)
41
34
  rack-session (>= 1.0.1)
42
35
  rack-test (>= 0.6.3)
43
36
  rails-dom-testing (~> 2.2)
44
37
  rails-html-sanitizer (~> 1.6)
45
- actiontext (7.1.2)
46
- actionpack (= 7.1.2)
47
- activerecord (= 7.1.2)
48
- activestorage (= 7.1.2)
49
- activesupport (= 7.1.2)
38
+ useragent (~> 0.16)
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)
50
44
  globalid (>= 0.6.0)
51
45
  nokogiri (>= 1.8.5)
52
- actionview (7.1.2)
53
- activesupport (= 7.1.2)
46
+ actionview (8.0.2)
47
+ activesupport (= 8.0.2)
54
48
  builder (~> 3.1)
55
49
  erubi (~> 1.11)
56
50
  rails-dom-testing (~> 2.2)
57
51
  rails-html-sanitizer (~> 1.6)
58
- activejob (7.1.2)
59
- activesupport (= 7.1.2)
52
+ activejob (8.0.2)
53
+ activesupport (= 8.0.2)
60
54
  globalid (>= 0.3.6)
61
- activemodel (7.1.2)
62
- activesupport (= 7.1.2)
63
- activerecord (7.1.2)
64
- activemodel (= 7.1.2)
65
- activesupport (= 7.1.2)
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)
66
60
  timeout (>= 0.4.0)
67
- activestorage (7.1.2)
68
- actionpack (= 7.1.2)
69
- activejob (= 7.1.2)
70
- activerecord (= 7.1.2)
71
- activesupport (= 7.1.2)
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)
72
66
  marcel (~> 1.0)
73
- activesupport (7.1.2)
67
+ activesupport (8.0.2)
74
68
  base64
69
+ benchmark (>= 0.3)
75
70
  bigdecimal
76
- concurrent-ruby (~> 1.0, >= 1.0.2)
71
+ concurrent-ruby (~> 1.0, >= 1.3.1)
77
72
  connection_pool (>= 2.2.5)
78
73
  drb
79
74
  i18n (>= 1.6, < 2)
75
+ logger (>= 1.4.2)
80
76
  minitest (>= 5.1)
81
- mutex_m
82
- tzinfo (~> 2.0)
77
+ securerandom (>= 0.3)
78
+ tzinfo (~> 2.0, >= 2.0.5)
79
+ uri (>= 0.13.1)
83
80
  appraisal (2.5.0)
84
81
  bundler
85
82
  rake
86
83
  thor (>= 0.14.0)
87
- ast (2.4.2)
88
- base64 (0.2.0)
89
- bigdecimal (3.1.4)
90
- builder (3.2.4)
91
- combustion (1.3.7)
84
+ ast (2.4.3)
85
+ base64 (0.3.0)
86
+ benchmark (0.4.1)
87
+ bigdecimal (3.2.2)
88
+ builder (3.3.0)
89
+ combustion (1.5.0)
92
90
  activesupport (>= 3.0.0)
93
91
  railties (>= 3.0.0)
94
92
  thor (>= 0.14.6)
95
- concurrent-ruby (1.2.2)
96
- connection_pool (2.4.1)
93
+ concurrent-ruby (1.3.5)
94
+ connection_pool (2.5.3)
97
95
  crass (1.0.6)
98
- date (3.3.4)
99
- docile (1.4.0)
100
- drb (2.2.0)
101
- ruby2_keywords
102
- erubi (1.12.0)
96
+ cuco (0.1.3)
97
+ listen
98
+ micro-optparse
99
+ date (3.4.1)
100
+ docile (1.4.1)
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)
103
112
  globalid (1.2.1)
104
113
  activesupport (>= 6.1)
105
- i18n (1.14.1)
114
+ i18n (1.14.7)
106
115
  concurrent-ruby (~> 1.0)
107
- io-console (0.6.0)
108
- irb (1.10.1)
109
- rdoc
110
- reline (>= 0.3.8)
111
- json (2.7.1)
112
- language_server-protocol (3.17.0.3)
116
+ io-console (0.8.0)
117
+ irb (1.15.2)
118
+ pp (>= 0.6.0)
119
+ rdoc (>= 4.0.0)
120
+ reline (>= 0.4.2)
121
+ json (2.12.2)
122
+ language_server-protocol (3.17.0.5)
113
123
  lint_roller (1.1.0)
114
- loofah (2.22.0)
124
+ listen (3.9.0)
125
+ rb-fsevent (~> 0.10, >= 0.10.3)
126
+ rb-inotify (~> 0.9, >= 0.9.10)
127
+ logger (1.7.0)
128
+ loofah (2.24.1)
115
129
  crass (~> 1.0.2)
116
130
  nokogiri (>= 1.12.0)
117
131
  mail (2.8.1)
@@ -119,137 +133,178 @@ GEM
119
133
  net-imap
120
134
  net-pop
121
135
  net-smtp
122
- marcel (1.0.2)
136
+ marcel (1.0.4)
137
+ micro-optparse (1.2.1)
123
138
  mini_mime (1.1.5)
124
- minitest (5.20.0)
125
- minitest-spec-rails (7.2.0)
139
+ minitest (5.25.5)
140
+ minitest-spec-rails (7.4.1)
126
141
  minitest (>= 5.0)
127
142
  railties (>= 4.1)
128
- mutex_m (0.2.0)
129
- net-imap (0.4.8)
143
+ net-imap (0.5.8)
130
144
  date
131
145
  net-protocol
132
146
  net-pop (0.1.2)
133
147
  net-protocol
134
148
  net-protocol (0.2.2)
135
149
  timeout
136
- net-smtp (0.4.0)
150
+ net-smtp (0.5.1)
137
151
  net-protocol
138
- nio4r (2.7.0)
139
- nokogiri (1.15.5-x86_64-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)
156
+ racc (~> 1.4)
157
+ nokogiri (1.18.8-arm-linux-gnu)
140
158
  racc (~> 1.4)
141
- observr (1.0.5)
142
- parallel (1.23.0)
143
- parser (3.2.2.4)
159
+ nokogiri (1.18.8-arm-linux-musl)
160
+ racc (~> 1.4)
161
+ nokogiri (1.18.8-arm64-darwin)
162
+ racc (~> 1.4)
163
+ nokogiri (1.18.8-x86_64-darwin)
164
+ racc (~> 1.4)
165
+ nokogiri (1.18.8-x86_64-linux-gnu)
166
+ racc (~> 1.4)
167
+ nokogiri (1.18.8-x86_64-linux-musl)
168
+ racc (~> 1.4)
169
+ parallel (1.27.0)
170
+ parser (3.3.8.0)
144
171
  ast (~> 2.4.1)
145
172
  racc
146
- psych (5.1.1.1)
173
+ pp (0.6.2)
174
+ prettyprint
175
+ prettyprint (0.2.0)
176
+ prism (1.4.0)
177
+ psych (5.2.6)
178
+ date
147
179
  stringio
148
- racc (1.7.3)
149
- rack (3.0.8)
150
- rack-session (2.0.0)
180
+ racc (1.8.1)
181
+ rack (3.1.16)
182
+ rack-session (2.1.1)
183
+ base64 (>= 0.1.0)
151
184
  rack (>= 3.0.0)
152
- rack-test (2.1.0)
185
+ rack-test (2.2.0)
153
186
  rack (>= 1.3)
154
- rackup (2.1.0)
187
+ rackup (2.2.1)
155
188
  rack (>= 3)
156
- webrick (~> 1.8)
157
- rails (7.1.2)
158
- actioncable (= 7.1.2)
159
- actionmailbox (= 7.1.2)
160
- actionmailer (= 7.1.2)
161
- actionpack (= 7.1.2)
162
- actiontext (= 7.1.2)
163
- actionview (= 7.1.2)
164
- activejob (= 7.1.2)
165
- activemodel (= 7.1.2)
166
- activerecord (= 7.1.2)
167
- activestorage (= 7.1.2)
168
- activesupport (= 7.1.2)
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)
169
201
  bundler (>= 1.15.0)
170
- railties (= 7.1.2)
171
- rails-dom-testing (2.2.0)
202
+ railties (= 8.0.2)
203
+ rails-dom-testing (2.3.0)
172
204
  activesupport (>= 5.0.0)
173
205
  minitest
174
206
  nokogiri (>= 1.6)
175
- rails-html-sanitizer (1.6.0)
207
+ rails-html-sanitizer (1.6.2)
176
208
  loofah (~> 2.21)
177
- nokogiri (~> 1.14)
178
- railties (7.1.2)
179
- actionpack (= 7.1.2)
180
- activesupport (= 7.1.2)
181
- irb
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)
213
+ irb (~> 1.13)
182
214
  rackup (>= 1.0.0)
183
215
  rake (>= 12.2)
184
216
  thor (~> 1.0, >= 1.2.2)
185
217
  zeitwerk (~> 2.6)
186
218
  rainbow (3.1.1)
187
- rake (13.1.0)
188
- rdoc (6.6.1)
219
+ rake (13.3.0)
220
+ rb-fsevent (0.11.2)
221
+ rb-inotify (0.11.1)
222
+ ffi (~> 1.0)
223
+ rdoc (6.14.1)
224
+ erb
189
225
  psych (>= 4.0.0)
190
- regexp_parser (2.8.3)
191
- reline (0.4.1)
226
+ regexp_parser (2.10.0)
227
+ reline (0.6.1)
192
228
  io-console (~> 0.5)
193
- rexml (3.2.6)
194
229
  ricecream (0.2.1)
195
- rubocop (1.57.2)
230
+ rubocop (1.75.8)
196
231
  json (~> 2.3)
197
- language_server-protocol (>= 3.17.0)
232
+ language_server-protocol (~> 3.17.0.2)
233
+ lint_roller (~> 1.1.0)
198
234
  parallel (~> 1.10)
199
- parser (>= 3.2.2.4)
235
+ parser (>= 3.3.0.2)
200
236
  rainbow (>= 2.2.2, < 4.0)
201
- regexp_parser (>= 1.8, < 3.0)
202
- rexml (>= 3.2.5, < 4.0)
203
- rubocop-ast (>= 1.28.1, < 2.0)
237
+ regexp_parser (>= 2.9.3, < 3.0)
238
+ rubocop-ast (>= 1.44.0, < 2.0)
204
239
  ruby-progressbar (~> 1.7)
205
- unicode-display_width (>= 2.4.0, < 3.0)
206
- rubocop-ast (1.30.0)
207
- parser (>= 3.2.1.0)
208
- rubocop-performance (1.19.1)
209
- rubocop (>= 1.7.0, < 2.0)
210
- rubocop-ast (>= 0.4.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)
211
248
  ruby-progressbar (1.13.0)
212
- ruby2_keywords (0.0.5)
249
+ securerandom (0.4.1)
213
250
  simplecov (0.22.0)
214
251
  docile (~> 1.1)
215
252
  simplecov-html (~> 0.11)
216
253
  simplecov_json_formatter (~> 0.1)
217
- simplecov-html (0.12.3)
254
+ simplecov-html (0.13.1)
218
255
  simplecov_json_formatter (0.1.4)
219
- sqlite3 (1.6.9-x86_64-linux)
220
- standard (1.32.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)
221
265
  language_server-protocol (~> 3.17.0.2)
222
266
  lint_roller (~> 1.0)
223
- rubocop (~> 1.57.2)
267
+ rubocop (~> 1.75.5)
224
268
  standard-custom (~> 1.0.0)
225
- standard-performance (~> 1.2)
269
+ standard-performance (~> 1.8)
226
270
  standard-custom (1.0.2)
227
271
  lint_roller (~> 1.0)
228
272
  rubocop (~> 1.50)
229
- standard-performance (1.2.1)
273
+ standard-performance (1.8.0)
230
274
  lint_roller (~> 1.1)
231
- rubocop-performance (~> 1.19.1)
232
- stringio (3.1.0)
233
- thor (1.3.0)
234
- timeout (0.4.1)
275
+ rubocop-performance (~> 1.25.0)
276
+ stringio (3.1.7)
277
+ thor (1.3.2)
278
+ timeout (0.4.3)
235
279
  tzinfo (2.0.6)
236
280
  concurrent-ruby (~> 1.0)
237
- unicode-display_width (2.5.0)
238
- webrick (1.8.1)
239
- 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
240
288
  websocket-extensions (>= 0.1.0)
241
289
  websocket-extensions (0.1.5)
242
- zeitwerk (2.6.12)
290
+ zeitwerk (2.7.3)
243
291
 
244
292
  PLATFORMS
245
- x86_64-linux
293
+ aarch64-linux-gnu
294
+ aarch64-linux-musl
295
+ arm-linux-gnu
296
+ arm-linux-musl
297
+ arm64-darwin
298
+ x86_64-darwin
299
+ x86_64-linux-gnu
300
+ x86_64-linux-musl
246
301
 
247
302
  DEPENDENCIES
248
303
  appraisal
249
304
  combustion
305
+ cuco
250
306
  minitest
251
307
  minitest-spec-rails
252
- observr
253
308
  rails
254
309
  relation!
255
310
  ricecream
@@ -258,4 +313,4 @@ DEPENDENCIES
258
313
  standard
259
314
 
260
315
  BUNDLED WITH
261
- 2.4.22
316
+ 2.6.7
data/MIT-LICENSE CHANGED
@@ -1,6 +1,4 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2015-2023 Dittmar Krall (www.matiq.com)
1
+ Copyright (c) 2015-2025 Dittmar Krall (www.matiq.com)
4
2
 
5
3
  Permission is hereby granted, free of charge, to any person obtaining
6
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Relation
2
- [![Gem Version](https://badge.fury.io/rb/relation.png)](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)
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/)
4
8
 
5
9
  AFAIK, Relation can replace all kind of relationships in a Rails database.
6
10
  The gem stores the relationships in a additional table (named
@@ -87,9 +91,13 @@ They may be used for relationships which can not be based on the
87
91
  class name of the ActiveRecords.
88
92
  Keep in mind that dangling relations must be handled by yourself.
89
93
 
90
- ## Version 4
94
+ ## Version 0.5
95
+
96
+ Version 0.5.* is intended for Rails 8.
97
+
98
+ ## Version 0.4
91
99
 
92
- Version 4.+ is intended for Rails 7.
100
+ Version 0.4.* is intended for Rails 7.
93
101
 
94
102
  ## Rails 6
95
103
 
@@ -100,5 +108,5 @@ Older Rails versions may use "gem 'relation', '= 0.1.1'".
100
108
 
101
109
  ## Miscellaneous
102
110
 
103
- Copyright (c) 2015-2023 Dittmar Krall (www.matiq.com),
111
+ Copyright (c) 2015-2025 Dittmar Krall (www.matiq.com),
104
112
  released under the [MIT license](https://opensource.org/licenses/MIT).
@@ -2,14 +2,14 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 6.1"
6
- gem "dryer-config", "~> 6.0"
5
+ gem "rails", "~> 7.2"
7
6
 
8
7
  group :test do
8
+ gem "cuco"
9
9
  gem "minitest-spec-rails"
10
- gem "observr"
11
- gem "ricecream"
10
+ gem "ricecream", require: false
12
11
  gem "simplecov", require: false
12
+ gem "sqlite3"
13
13
  gem "standard", require: false
14
14
  end
15
15
 
@@ -2,14 +2,14 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 7.0"
6
- gem "dryer-config", "~> 7.0"
5
+ gem "rails", "~> 8.0"
7
6
 
8
7
  group :test do
8
+ gem "cuco"
9
9
  gem "minitest-spec-rails"
10
- gem "observr"
11
- gem "ricecream"
10
+ gem "ricecream", require: false
12
11
  gem "simplecov", require: false
12
+ gem "sqlite3"
13
13
  gem "standard", require: false
14
14
  end
15
15
 
@@ -1,7 +1,9 @@
1
1
  # rubocop: disable all
2
2
 
3
3
  module ModRelation
4
- VERSION = "0.4.4" # 2023-12-12
4
+ VERSION = "0.5.0" # 2025-06-18
5
+ # VERSION = "0.4.5" # 2024-10-21
6
+ # VERSION = "0.4.4" # 2023-12-12
5
7
  # VERSION = "0.4.3" # 2023-04-16
6
8
  # VERSION = "0.4.2" # 2023-01-19
7
9
  # VERSION = "0.4.1" # 2023-01-18
data/relation.gemspec CHANGED
@@ -20,9 +20,9 @@ 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"
26
27
  s.add_development_dependency "minitest"
27
- s.add_development_dependency "sqlite3"
28
28
  end
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.4
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: 2023-12-12 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
@@ -52,20 +51,6 @@ dependencies:
52
51
  - - ">="
53
52
  - !ruby/object:Gem::Version
54
53
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: sqlite3
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
54
  description: |2
70
55
  A Rails gem that adds simple support for organizing ActiveRecord models.
71
56
  Relationships are stored in one additional database table.
@@ -89,9 +74,8 @@ files:
89
74
  - app/models/relation.rb
90
75
  - app/models/relation_ext.rb
91
76
  - db/migrate/003_create_relations.rb
92
- - gemfiles/rails_6.1.gemfile
93
- - gemfiles/rails_7.0.gemfile
94
- - gemfiles/rails_7.1.gemfile
77
+ - gemfiles/rails_7.2.gemfile
78
+ - gemfiles/rails_8.0.gemfile
95
79
  - lib/relation.rb
96
80
  - lib/relation/engine.rb
97
81
  - lib/relation/version.rb
@@ -109,24 +93,22 @@ licenses:
109
93
  - MIT
110
94
  metadata:
111
95
  source_code_uri: https://github.com/matique/relation
112
- post_install_message:
113
96
  rdoc_options: []
114
97
  require_paths:
115
98
  - lib
116
99
  - app
117
100
  required_ruby_version: !ruby/object:Gem::Requirement
118
101
  requirements:
119
- - - ">="
102
+ - - "~>"
120
103
  - !ruby/object:Gem::Version
121
- version: '0'
104
+ version: '3'
122
105
  required_rubygems_version: !ruby/object:Gem::Requirement
123
106
  requirements:
124
107
  - - ">="
125
108
  - !ruby/object:Gem::Version
126
109
  version: '0'
127
110
  requirements: []
128
- rubygems_version: 3.4.20
129
- signing_key:
111
+ rubygems_version: 3.6.7
130
112
  specification_version: 4
131
113
  summary: Rails gem adding relationships between ActiveRecord models.
132
114
  test_files: []
@@ -1,15 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "~> 7.1"
6
-
7
- group :test do
8
- gem "minitest-spec-rails"
9
- gem "observr"
10
- gem "ricecream"
11
- gem "simplecov", require: false
12
- gem "standard", require: false
13
- end
14
-
15
- gemspec path: "../"