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 +4 -4
- data/.github/workflows/rake.yml +11 -5
- data/.gitignore +6 -7
- data/.ruby-gemset +1 -1
- data/.ruby-version +1 -1
- data/Appraisals +17 -9
- data/Gemfile +3 -2
- data/Gemfile.lock +198 -143
- data/MIT-LICENSE +1 -3
- data/README.md +13 -5
- data/gemfiles/{rails_6.1.gemfile → rails_7.2.gemfile} +4 -4
- data/gemfiles/{rails_7.0.gemfile → rails_8.0.gemfile} +4 -4
- data/lib/relation/version.rb +3 -1
- data/relation.gemspec +1 -1
- metadata +7 -25
- data/gemfiles/rails_7.1.gemfile +0 -15
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,20 +8,26 @@ 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
|
14
|
-
- gemfiles/Gemfile.rails-
|
15
|
-
- gemfiles/Gemfile.rails-7.
|
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@
|
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
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,13 +1,21 @@
|
|
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.
|
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-
|
11
|
-
|
12
|
-
|
13
|
-
|
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
data/Gemfile.lock
CHANGED
@@ -1,117 +1,131 @@
|
|
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 (=
|
21
|
-
mail (>= 2.
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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 (
|
36
|
-
actionview (=
|
37
|
-
activesupport (=
|
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
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
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 (
|
53
|
-
activesupport (=
|
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 (
|
59
|
-
activesupport (=
|
52
|
+
activejob (8.0.2)
|
53
|
+
activesupport (= 8.0.2)
|
60
54
|
globalid (>= 0.3.6)
|
61
|
-
activemodel (
|
62
|
-
activesupport (=
|
63
|
-
activerecord (
|
64
|
-
activemodel (=
|
65
|
-
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)
|
66
60
|
timeout (>= 0.4.0)
|
67
|
-
activestorage (
|
68
|
-
actionpack (=
|
69
|
-
activejob (=
|
70
|
-
activerecord (=
|
71
|
-
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)
|
72
66
|
marcel (~> 1.0)
|
73
|
-
activesupport (
|
67
|
+
activesupport (8.0.2)
|
74
68
|
base64
|
69
|
+
benchmark (>= 0.3)
|
75
70
|
bigdecimal
|
76
|
-
concurrent-ruby (~> 1.0, >= 1.
|
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
|
-
|
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.
|
88
|
-
base64 (0.
|
89
|
-
|
90
|
-
|
91
|
-
|
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.
|
96
|
-
connection_pool (2.
|
93
|
+
concurrent-ruby (1.3.5)
|
94
|
+
connection_pool (2.5.3)
|
97
95
|
crass (1.0.6)
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
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.
|
114
|
+
i18n (1.14.7)
|
106
115
|
concurrent-ruby (~> 1.0)
|
107
|
-
io-console (0.
|
108
|
-
irb (1.
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
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
|
-
|
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.
|
136
|
+
marcel (1.0.4)
|
137
|
+
micro-optparse (1.2.1)
|
123
138
|
mini_mime (1.1.5)
|
124
|
-
minitest (5.
|
125
|
-
minitest-spec-rails (7.
|
139
|
+
minitest (5.25.5)
|
140
|
+
minitest-spec-rails (7.4.1)
|
126
141
|
minitest (>= 5.0)
|
127
142
|
railties (>= 4.1)
|
128
|
-
|
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.
|
150
|
+
net-smtp (0.5.1)
|
137
151
|
net-protocol
|
138
|
-
nio4r (2.7.
|
139
|
-
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)
|
156
|
+
racc (~> 1.4)
|
157
|
+
nokogiri (1.18.8-arm-linux-gnu)
|
140
158
|
racc (~> 1.4)
|
141
|
-
|
142
|
-
|
143
|
-
|
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
|
-
|
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.
|
149
|
-
rack (3.
|
150
|
-
rack-session (2.
|
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.
|
185
|
+
rack-test (2.2.0)
|
153
186
|
rack (>= 1.3)
|
154
|
-
rackup (2.1
|
187
|
+
rackup (2.2.1)
|
155
188
|
rack (>= 3)
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
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 (=
|
171
|
-
rails-dom-testing (2.
|
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.
|
207
|
+
rails-html-sanitizer (1.6.2)
|
176
208
|
loofah (~> 2.21)
|
177
|
-
nokogiri (
|
178
|
-
railties (
|
179
|
-
actionpack (=
|
180
|
-
activesupport (=
|
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.
|
188
|
-
|
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.
|
191
|
-
reline (0.
|
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.
|
230
|
+
rubocop (1.75.8)
|
196
231
|
json (~> 2.3)
|
197
|
-
language_server-protocol (
|
232
|
+
language_server-protocol (~> 3.17.0.2)
|
233
|
+
lint_roller (~> 1.1.0)
|
198
234
|
parallel (~> 1.10)
|
199
|
-
parser (>= 3.
|
235
|
+
parser (>= 3.3.0.2)
|
200
236
|
rainbow (>= 2.2.2, < 4.0)
|
201
|
-
regexp_parser (>=
|
202
|
-
|
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, <
|
206
|
-
rubocop-ast (1.
|
207
|
-
parser (>= 3.
|
208
|
-
|
209
|
-
|
210
|
-
|
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
|
-
|
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.
|
254
|
+
simplecov-html (0.13.1)
|
218
255
|
simplecov_json_formatter (0.1.4)
|
219
|
-
sqlite3 (
|
220
|
-
|
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.
|
267
|
+
rubocop (~> 1.75.5)
|
224
268
|
standard-custom (~> 1.0.0)
|
225
|
-
standard-performance (~> 1.
|
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.
|
273
|
+
standard-performance (1.8.0)
|
230
274
|
lint_roller (~> 1.1)
|
231
|
-
rubocop-performance (~> 1.
|
232
|
-
stringio (3.1.
|
233
|
-
thor (1.3.
|
234
|
-
timeout (0.4.
|
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 (
|
238
|
-
|
239
|
-
|
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.
|
290
|
+
zeitwerk (2.7.3)
|
243
291
|
|
244
292
|
PLATFORMS
|
245
|
-
|
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.
|
316
|
+
2.6.7
|
data/MIT-LICENSE
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
|
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
|
-
|
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/)
|
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
|
94
|
+
## Version 0.5
|
95
|
+
|
96
|
+
Version 0.5.* is intended for Rails 8.
|
97
|
+
|
98
|
+
## Version 0.4
|
91
99
|
|
92
|
-
Version 4
|
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-
|
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
|
-
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 "
|
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", "~>
|
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 "
|
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
|
|
data/lib/relation/version.rb
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
# rubocop: disable all
|
2
2
|
|
3
3
|
module ModRelation
|
4
|
-
VERSION = "0.
|
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
|
+
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
|
@@ -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/
|
93
|
-
- gemfiles/
|
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: '
|
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.
|
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: []
|
data/gemfiles/rails_7.1.gemfile
DELETED
@@ -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: "../"
|