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 +4 -4
- data/.github/workflows/rake.yml +3 -2
- data/.gitignore +5 -5
- data/.ruby-gemset +1 -1
- data/.ruby-version +1 -1
- data/Appraisals +8 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +158 -147
- data/MIT-LICENSE +1 -1
- data/README.md +11 -6
- data/gemfiles/rails_7.2.gemfile +1 -1
- data/gemfiles/{rails_7.1.gemfile → rails_8.0.gemfile} +2 -2
- data/lib/relation/version.rb +2 -1
- data/relation.gemspec +1 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6ad01498d7d299c54c8e11541204813af1e533ab86480c24a3469e099aaf567
|
4
|
+
data.tar.gz: ad69932ce009eb992b60899ec1ac4bac425c61ab55aade3713368fa5c538c741
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eae2f1744e881798f98642ce1ce82be6d7d4a42af78d8aad81585a8008e4270af4d35e48266225e94b56f5d171d8f248dbced4baa164e18462380095f804ada
|
7
|
+
data.tar.gz: 9c90cb6760d4bed49d6ae2b490f96fe6803ff0cda51849579880ad579010bd52df8579c6ff6ba4f845117a25e5b3bce277aa6d0dba898dcd21c8a3957d9f19a3
|
data/.github/workflows/rake.yml
CHANGED
@@ -8,11 +8,12 @@ jobs:
|
|
8
8
|
strategy:
|
9
9
|
fail-fast: false
|
10
10
|
matrix:
|
11
|
-
ruby_version: ["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
data/.ruby-gemset
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rails-
|
1
|
+
rails-8.0
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-3.
|
1
|
+
ruby-3.4.4
|
data/Appraisals
CHANGED
@@ -1,11 +1,15 @@
|
|
1
|
-
appraise "rails-
|
2
|
-
gem "rails", "~>
|
1
|
+
appraise "rails-8.0" do
|
2
|
+
gem "rails", "~> 8.0"
|
3
3
|
end
|
4
4
|
|
5
|
-
appraise "rails-7.
|
6
|
-
gem "rails", "~> 7.
|
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
data/Gemfile.lock
CHANGED
@@ -1,72 +1,72 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
relation (0.
|
4
|
+
relation (0.5.0)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
actioncable (
|
10
|
-
actionpack (=
|
11
|
-
activesupport (=
|
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 (
|
16
|
-
actionpack (=
|
17
|
-
activejob (=
|
18
|
-
activerecord (=
|
19
|
-
activestorage (=
|
20
|
-
activesupport (=
|
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 (
|
23
|
-
actionpack (=
|
24
|
-
actionview (=
|
25
|
-
activejob (=
|
26
|
-
activesupport (=
|
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 (
|
30
|
-
actionview (=
|
31
|
-
activesupport (=
|
29
|
+
actionpack (8.0.2)
|
30
|
+
actionview (= 8.0.2)
|
31
|
+
activesupport (= 8.0.2)
|
32
32
|
nokogiri (>= 1.8.5)
|
33
|
-
|
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 (
|
41
|
-
actionpack (=
|
42
|
-
activerecord (=
|
43
|
-
activestorage (=
|
44
|
-
activesupport (=
|
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 (
|
48
|
-
activesupport (=
|
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 (
|
54
|
-
activesupport (=
|
52
|
+
activejob (8.0.2)
|
53
|
+
activesupport (= 8.0.2)
|
55
54
|
globalid (>= 0.3.6)
|
56
|
-
activemodel (
|
57
|
-
activesupport (=
|
58
|
-
activerecord (
|
59
|
-
activemodel (=
|
60
|
-
activesupport (=
|
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 (
|
63
|
-
actionpack (=
|
64
|
-
activejob (=
|
65
|
-
activerecord (=
|
66
|
-
activesupport (=
|
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 (
|
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.
|
84
|
-
base64 (0.
|
85
|
-
|
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.
|
92
|
-
connection_pool (2.
|
93
|
+
concurrent-ruby (1.3.5)
|
94
|
+
connection_pool (2.5.3)
|
93
95
|
crass (1.0.6)
|
94
|
-
cuco (0.1.
|
96
|
+
cuco (0.1.3)
|
95
97
|
listen
|
96
98
|
micro-optparse
|
97
|
-
date (3.
|
99
|
+
date (3.4.1)
|
98
100
|
docile (1.4.1)
|
99
|
-
drb (2.2.
|
100
|
-
|
101
|
-
|
102
|
-
ffi (1.17.
|
103
|
-
ffi (1.17.
|
104
|
-
ffi (1.17.
|
105
|
-
ffi (1.17.
|
106
|
-
ffi (1.17.
|
107
|
-
ffi (1.17.
|
108
|
-
ffi (1.17.
|
109
|
-
ffi (1.17.
|
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.
|
114
|
+
i18n (1.14.7)
|
114
115
|
concurrent-ruby (~> 1.0)
|
115
|
-
io-console (0.
|
116
|
-
irb (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.
|
120
|
-
language_server-protocol (3.17.0.
|
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.
|
126
|
-
loofah (2.
|
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.
|
138
|
-
minitest-spec-rails (7.
|
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.
|
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.
|
150
|
+
net-smtp (0.5.1)
|
149
151
|
net-protocol
|
150
|
-
nio4r (2.7.
|
151
|
-
nokogiri (1.
|
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.
|
157
|
+
nokogiri (1.18.8-arm-linux-gnu)
|
154
158
|
racc (~> 1.4)
|
155
|
-
nokogiri (1.
|
159
|
+
nokogiri (1.18.8-arm-linux-musl)
|
156
160
|
racc (~> 1.4)
|
157
|
-
nokogiri (1.
|
161
|
+
nokogiri (1.18.8-arm64-darwin)
|
158
162
|
racc (~> 1.4)
|
159
|
-
nokogiri (1.
|
163
|
+
nokogiri (1.18.8-x86_64-darwin)
|
160
164
|
racc (~> 1.4)
|
161
|
-
nokogiri (1.
|
165
|
+
nokogiri (1.18.8-x86_64-linux-gnu)
|
162
166
|
racc (~> 1.4)
|
163
|
-
|
164
|
-
|
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
|
-
|
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.
|
171
|
-
rack-session (2.
|
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.
|
185
|
+
rack-test (2.2.0)
|
174
186
|
rack (>= 1.3)
|
175
|
-
rackup (2.1
|
187
|
+
rackup (2.2.1)
|
176
188
|
rack (>= 3)
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
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 (=
|
192
|
-
rails-dom-testing (2.
|
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.
|
207
|
+
rails-html-sanitizer (1.6.2)
|
197
208
|
loofah (~> 2.21)
|
198
|
-
nokogiri (
|
199
|
-
railties (
|
200
|
-
actionpack (=
|
201
|
-
activesupport (=
|
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.
|
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.
|
223
|
+
rdoc (6.14.1)
|
224
|
+
erb
|
213
225
|
psych (>= 4.0.0)
|
214
|
-
regexp_parser (2.
|
215
|
-
reline (0.
|
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.
|
230
|
+
rubocop (1.75.8)
|
219
231
|
json (~> 2.3)
|
220
|
-
language_server-protocol (
|
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.
|
225
|
-
rubocop-ast (>= 1.
|
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, <
|
228
|
-
rubocop-ast (1.
|
229
|
-
parser (>= 3.3.
|
230
|
-
|
231
|
-
|
232
|
-
|
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.
|
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.
|
242
|
-
sqlite3 (2.
|
243
|
-
sqlite3 (2.
|
244
|
-
sqlite3 (2.
|
245
|
-
sqlite3 (2.
|
246
|
-
sqlite3 (2.
|
247
|
-
sqlite3 (2.
|
248
|
-
sqlite3 (2.
|
249
|
-
|
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.
|
267
|
+
rubocop (~> 1.75.5)
|
255
268
|
standard-custom (~> 1.0.0)
|
256
|
-
standard-performance (~> 1.
|
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.
|
273
|
+
standard-performance (1.8.0)
|
261
274
|
lint_roller (~> 1.1)
|
262
|
-
rubocop-performance (~> 1.
|
263
|
-
stringio (3.1.
|
275
|
+
rubocop-performance (~> 1.25.0)
|
276
|
+
stringio (3.1.7)
|
264
277
|
thor (1.3.2)
|
265
|
-
timeout (0.4.
|
278
|
+
timeout (0.4.3)
|
266
279
|
tzinfo (2.0.6)
|
267
280
|
concurrent-ruby (~> 1.0)
|
268
|
-
unicode-display_width (
|
269
|
-
|
270
|
-
|
271
|
-
|
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.
|
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.
|
316
|
+
2.6.7
|
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
# Relation
|
2
|
-
|
3
|
-
[](https://rubygems.org/gems/relation)
|
4
|
+
[](https://rubygems.org/gems/relation)
|
5
|
+
[](https://github.com/matique/relation/actions/workflows/rake.yml)
|
6
|
+
[](https://github.com/standardrb/standard)
|
7
|
+
[](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-
|
111
|
+
Copyright (c) 2015-2025 Dittmar Krall (www.matiq.com),
|
107
112
|
released under the [MIT license](https://opensource.org/licenses/MIT).
|
data/gemfiles/rails_7.2.gemfile
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
-
gem "rails", "~>
|
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
|
data/lib/relation/version.rb
CHANGED
data/relation.gemspec
CHANGED
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
|
+
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:
|
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: '
|
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.
|
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: []
|