relation 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +9 -4
- data/.gitignore +4 -5
- data/.ruby-gemset +1 -1
- data/.ruby-version +1 -1
- data/Appraisals +13 -9
- data/Gemfile +2 -1
- data/Gemfile.lock +170 -126
- data/MIT-LICENSE +1 -3
- data/README.md +7 -4
- data/gemfiles/rails_7.1.gemfile +2 -1
- data/gemfiles/{rails_6.1.gemfile → rails_7.2.gemfile} +3 -3
- data/lib/relation/version.rb +2 -1
- data/relation.gemspec +0 -1
- metadata +7 -22
- data/gemfiles/rails_7.0.gemfile +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6a85d43f4b865d2062ebfa1d30410f226fedef2c558a687888c798e19e20740
|
4
|
+
data.tar.gz: 40710c6d0dd003cdf434bfdddb77156bfc31b8c116f0b5f535080f13a7b428ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc20c831d1a343c80f57ec4036ee198b72c7fe25a193b80d37d4662e3f75527cccf4f24f2cf4bf12f007c7fc464633044e5df88c53e438c59491a20321f9040b
|
7
|
+
data.tar.gz: 1dc5c9f45cf301bf0273d1f386993d9ca799ae194962b9ebc788b6951b3fc2804f15025ed0c08d28e12dc5ac176637403ff13c9c231dbdbeb01e6a508382fa9d
|
data/.github/workflows/rake.yml
CHANGED
@@ -8,20 +8,25 @@ jobs:
|
|
8
8
|
strategy:
|
9
9
|
fail-fast: false
|
10
10
|
matrix:
|
11
|
-
ruby_version: ["3.
|
11
|
+
ruby_version: ["3.2", "3.3"]
|
12
12
|
gemfile:
|
13
13
|
- Gemfile
|
14
|
+
- gemfiles/Gemfile.rails-7.2
|
14
15
|
- gemfiles/Gemfile.rails-7.1
|
15
|
-
- gemfiles/Gemfile.rails-7.0
|
16
|
-
- gemfiles/Gemfile.rails-6.1
|
17
16
|
runs-on: ubuntu-latest
|
18
17
|
|
19
18
|
steps:
|
20
|
-
- uses: actions/checkout@
|
19
|
+
- uses: actions/checkout@v4
|
21
20
|
- name: Set up Ruby
|
22
21
|
uses: ruby/setup-ruby@v1
|
23
22
|
with:
|
24
23
|
ruby-version: ${{ matrix.ruby_version }}
|
25
24
|
bundler-cache: true
|
25
|
+
- name: Bundle install
|
26
|
+
run: |
|
27
|
+
bundle config set frozen false
|
28
|
+
bundle config path /home/runner/bundle
|
29
|
+
bundle install
|
30
|
+
bundle update
|
26
31
|
- name: Build and test with Rake
|
27
32
|
run: bundle exec rake
|
data/.gitignore
CHANGED
data/.ruby-gemset
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rails-7.
|
1
|
+
rails-7.2
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-3.
|
1
|
+
ruby-3.3.5
|
data/Appraisals
CHANGED
@@ -1,13 +1,17 @@
|
|
1
|
-
appraise "rails-7.
|
2
|
-
gem "rails", "~> 7.
|
1
|
+
appraise "rails-7.2" do
|
2
|
+
gem "rails", "~> 7.2"
|
3
3
|
end
|
4
4
|
|
5
|
-
appraise "rails-7.
|
6
|
-
gem "rails", "~> 7.
|
7
|
-
gem "dryer-config", "~> 7.0"
|
5
|
+
appraise "rails-7.1" do
|
6
|
+
gem "rails", "~> 7.1"
|
8
7
|
end
|
9
8
|
|
10
|
-
appraise "rails-
|
11
|
-
|
12
|
-
|
13
|
-
end
|
9
|
+
# appraise "rails-7.0" do
|
10
|
+
# gem "rails", "~> 7.0"
|
11
|
+
# gem "dryer-config", "~> 7.0"
|
12
|
+
# end
|
13
|
+
#
|
14
|
+
# appraise "rails-6.1" do
|
15
|
+
# gem "rails", "~> 6.1"
|
16
|
+
# gem "dryer-config", "~> 6.0"
|
17
|
+
# end
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,116 +1,128 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
relation (0.4.
|
4
|
+
relation (0.4.5)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
actioncable (7.1.
|
10
|
-
actionpack (= 7.1.
|
11
|
-
activesupport (= 7.1.
|
9
|
+
actioncable (7.2.1.1)
|
10
|
+
actionpack (= 7.2.1.1)
|
11
|
+
activesupport (= 7.2.1.1)
|
12
12
|
nio4r (~> 2.0)
|
13
13
|
websocket-driver (>= 0.6.1)
|
14
14
|
zeitwerk (~> 2.6)
|
15
|
-
actionmailbox (7.1.
|
16
|
-
actionpack (= 7.1.
|
17
|
-
activejob (= 7.1.
|
18
|
-
activerecord (= 7.1.
|
19
|
-
activestorage (= 7.1.
|
20
|
-
activesupport (= 7.1.
|
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 (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)
|
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)
|
27
|
+
mail (>= 2.8.0)
|
34
28
|
rails-dom-testing (~> 2.2)
|
35
|
-
actionpack (7.1.
|
36
|
-
actionview (= 7.1.
|
37
|
-
activesupport (= 7.1.
|
29
|
+
actionpack (7.2.1.1)
|
30
|
+
actionview (= 7.2.1.1)
|
31
|
+
activesupport (= 7.2.1.1)
|
38
32
|
nokogiri (>= 1.8.5)
|
39
33
|
racc
|
40
|
-
rack (>= 2.2.4)
|
34
|
+
rack (>= 2.2.4, < 3.2)
|
41
35
|
rack-session (>= 1.0.1)
|
42
36
|
rack-test (>= 0.6.3)
|
43
37
|
rails-dom-testing (~> 2.2)
|
44
38
|
rails-html-sanitizer (~> 1.6)
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
39
|
+
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)
|
50
45
|
globalid (>= 0.6.0)
|
51
46
|
nokogiri (>= 1.8.5)
|
52
|
-
actionview (7.1.
|
53
|
-
activesupport (= 7.1.
|
47
|
+
actionview (7.2.1.1)
|
48
|
+
activesupport (= 7.2.1.1)
|
54
49
|
builder (~> 3.1)
|
55
50
|
erubi (~> 1.11)
|
56
51
|
rails-dom-testing (~> 2.2)
|
57
52
|
rails-html-sanitizer (~> 1.6)
|
58
|
-
activejob (7.1.
|
59
|
-
activesupport (= 7.1.
|
53
|
+
activejob (7.2.1.1)
|
54
|
+
activesupport (= 7.2.1.1)
|
60
55
|
globalid (>= 0.3.6)
|
61
|
-
activemodel (7.1.
|
62
|
-
activesupport (= 7.1.
|
63
|
-
activerecord (7.1.
|
64
|
-
activemodel (= 7.1.
|
65
|
-
activesupport (= 7.1.
|
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)
|
66
61
|
timeout (>= 0.4.0)
|
67
|
-
activestorage (7.1.
|
68
|
-
actionpack (= 7.1.
|
69
|
-
activejob (= 7.1.
|
70
|
-
activerecord (= 7.1.
|
71
|
-
activesupport (= 7.1.
|
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)
|
72
67
|
marcel (~> 1.0)
|
73
|
-
activesupport (7.1.
|
68
|
+
activesupport (7.2.1.1)
|
74
69
|
base64
|
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)
|
83
79
|
appraisal (2.5.0)
|
84
80
|
bundler
|
85
81
|
rake
|
86
82
|
thor (>= 0.14.0)
|
87
83
|
ast (2.4.2)
|
88
84
|
base64 (0.2.0)
|
89
|
-
bigdecimal (3.1.
|
90
|
-
builder (3.
|
91
|
-
combustion (1.
|
85
|
+
bigdecimal (3.1.8)
|
86
|
+
builder (3.3.0)
|
87
|
+
combustion (1.5.0)
|
92
88
|
activesupport (>= 3.0.0)
|
93
89
|
railties (>= 3.0.0)
|
94
90
|
thor (>= 0.14.6)
|
95
|
-
concurrent-ruby (1.
|
91
|
+
concurrent-ruby (1.3.4)
|
96
92
|
connection_pool (2.4.1)
|
97
93
|
crass (1.0.6)
|
94
|
+
cuco (0.1.2)
|
95
|
+
listen
|
96
|
+
micro-optparse
|
98
97
|
date (3.3.4)
|
99
|
-
docile (1.4.
|
100
|
-
drb (2.2.
|
101
|
-
|
102
|
-
|
98
|
+
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)
|
103
111
|
globalid (1.2.1)
|
104
112
|
activesupport (>= 6.1)
|
105
|
-
i18n (1.14.
|
113
|
+
i18n (1.14.6)
|
106
114
|
concurrent-ruby (~> 1.0)
|
107
|
-
io-console (0.
|
108
|
-
irb (1.
|
109
|
-
rdoc
|
110
|
-
reline (>= 0.
|
111
|
-
json (2.7.
|
115
|
+
io-console (0.7.2)
|
116
|
+
irb (1.14.1)
|
117
|
+
rdoc (>= 4.0.0)
|
118
|
+
reline (>= 0.4.2)
|
119
|
+
json (2.7.2)
|
112
120
|
language_server-protocol (3.17.0.3)
|
113
121
|
lint_roller (1.1.0)
|
122
|
+
listen (3.9.0)
|
123
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
124
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
125
|
+
logger (1.6.1)
|
114
126
|
loofah (2.22.0)
|
115
127
|
crass (~> 1.0.2)
|
116
128
|
nokogiri (>= 1.12.0)
|
@@ -119,34 +131,43 @@ GEM
|
|
119
131
|
net-imap
|
120
132
|
net-pop
|
121
133
|
net-smtp
|
122
|
-
marcel (1.0.
|
134
|
+
marcel (1.0.4)
|
135
|
+
micro-optparse (1.2.1)
|
123
136
|
mini_mime (1.1.5)
|
124
|
-
minitest (5.
|
125
|
-
minitest-spec-rails (7.
|
137
|
+
minitest (5.25.1)
|
138
|
+
minitest-spec-rails (7.3.0)
|
126
139
|
minitest (>= 5.0)
|
127
140
|
railties (>= 4.1)
|
128
|
-
|
129
|
-
net-imap (0.4.8)
|
141
|
+
net-imap (0.5.0)
|
130
142
|
date
|
131
143
|
net-protocol
|
132
144
|
net-pop (0.1.2)
|
133
145
|
net-protocol
|
134
146
|
net-protocol (0.2.2)
|
135
147
|
timeout
|
136
|
-
net-smtp (0.
|
148
|
+
net-smtp (0.5.0)
|
137
149
|
net-protocol
|
138
|
-
nio4r (2.7.
|
139
|
-
nokogiri (1.
|
150
|
+
nio4r (2.7.3)
|
151
|
+
nokogiri (1.16.7-aarch64-linux)
|
152
|
+
racc (~> 1.4)
|
153
|
+
nokogiri (1.16.7-arm-linux)
|
154
|
+
racc (~> 1.4)
|
155
|
+
nokogiri (1.16.7-arm64-darwin)
|
156
|
+
racc (~> 1.4)
|
157
|
+
nokogiri (1.16.7-x86-linux)
|
158
|
+
racc (~> 1.4)
|
159
|
+
nokogiri (1.16.7-x86_64-darwin)
|
160
|
+
racc (~> 1.4)
|
161
|
+
nokogiri (1.16.7-x86_64-linux)
|
140
162
|
racc (~> 1.4)
|
141
|
-
|
142
|
-
|
143
|
-
parser (3.2.2.4)
|
163
|
+
parallel (1.26.3)
|
164
|
+
parser (3.3.5.0)
|
144
165
|
ast (~> 2.4.1)
|
145
166
|
racc
|
146
|
-
psych (5.1.
|
167
|
+
psych (5.1.2)
|
147
168
|
stringio
|
148
|
-
racc (1.
|
149
|
-
rack (3.
|
169
|
+
racc (1.8.1)
|
170
|
+
rack (3.1.8)
|
150
171
|
rack-session (2.0.0)
|
151
172
|
rack (>= 3.0.0)
|
152
173
|
rack-test (2.1.0)
|
@@ -154,20 +175,20 @@ GEM
|
|
154
175
|
rackup (2.1.0)
|
155
176
|
rack (>= 3)
|
156
177
|
webrick (~> 1.8)
|
157
|
-
rails (7.1.
|
158
|
-
actioncable (= 7.1.
|
159
|
-
actionmailbox (= 7.1.
|
160
|
-
actionmailer (= 7.1.
|
161
|
-
actionpack (= 7.1.
|
162
|
-
actiontext (= 7.1.
|
163
|
-
actionview (= 7.1.
|
164
|
-
activejob (= 7.1.
|
165
|
-
activemodel (= 7.1.
|
166
|
-
activerecord (= 7.1.
|
167
|
-
activestorage (= 7.1.
|
168
|
-
activesupport (= 7.1.
|
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)
|
169
190
|
bundler (>= 1.15.0)
|
170
|
-
railties (= 7.1.
|
191
|
+
railties (= 7.2.1.1)
|
171
192
|
rails-dom-testing (2.2.0)
|
172
193
|
activesupport (>= 5.0.0)
|
173
194
|
minitest
|
@@ -175,81 +196,104 @@ GEM
|
|
175
196
|
rails-html-sanitizer (1.6.0)
|
176
197
|
loofah (~> 2.21)
|
177
198
|
nokogiri (~> 1.14)
|
178
|
-
railties (7.1.
|
179
|
-
actionpack (= 7.1.
|
180
|
-
activesupport (= 7.1.
|
181
|
-
irb
|
199
|
+
railties (7.2.1.1)
|
200
|
+
actionpack (= 7.2.1.1)
|
201
|
+
activesupport (= 7.2.1.1)
|
202
|
+
irb (~> 1.13)
|
182
203
|
rackup (>= 1.0.0)
|
183
204
|
rake (>= 12.2)
|
184
205
|
thor (~> 1.0, >= 1.2.2)
|
185
206
|
zeitwerk (~> 2.6)
|
186
207
|
rainbow (3.1.1)
|
187
|
-
rake (13.1
|
188
|
-
|
208
|
+
rake (13.2.1)
|
209
|
+
rb-fsevent (0.11.2)
|
210
|
+
rb-inotify (0.11.1)
|
211
|
+
ffi (~> 1.0)
|
212
|
+
rdoc (6.7.0)
|
189
213
|
psych (>= 4.0.0)
|
190
|
-
regexp_parser (2.
|
191
|
-
reline (0.
|
214
|
+
regexp_parser (2.9.2)
|
215
|
+
reline (0.5.10)
|
192
216
|
io-console (~> 0.5)
|
193
|
-
rexml (3.2.6)
|
194
217
|
ricecream (0.2.1)
|
195
|
-
rubocop (1.
|
218
|
+
rubocop (1.66.1)
|
196
219
|
json (~> 2.3)
|
197
220
|
language_server-protocol (>= 3.17.0)
|
198
221
|
parallel (~> 1.10)
|
199
|
-
parser (>= 3.
|
222
|
+
parser (>= 3.3.0.2)
|
200
223
|
rainbow (>= 2.2.2, < 4.0)
|
201
|
-
regexp_parser (>=
|
202
|
-
|
203
|
-
rubocop-ast (>= 1.28.1, < 2.0)
|
224
|
+
regexp_parser (>= 2.4, < 3.0)
|
225
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
204
226
|
ruby-progressbar (~> 1.7)
|
205
227
|
unicode-display_width (>= 2.4.0, < 3.0)
|
206
|
-
rubocop-ast (1.
|
207
|
-
parser (>= 3.
|
208
|
-
rubocop-performance (1.
|
209
|
-
rubocop (>= 1.
|
210
|
-
rubocop-ast (>=
|
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)
|
211
233
|
ruby-progressbar (1.13.0)
|
212
|
-
|
234
|
+
securerandom (0.3.1)
|
213
235
|
simplecov (0.22.0)
|
214
236
|
docile (~> 1.1)
|
215
237
|
simplecov-html (~> 0.11)
|
216
238
|
simplecov_json_formatter (~> 0.1)
|
217
|
-
simplecov-html (0.
|
239
|
+
simplecov-html (0.13.1)
|
218
240
|
simplecov_json_formatter (0.1.4)
|
219
|
-
sqlite3 (1.
|
220
|
-
|
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)
|
221
252
|
language_server-protocol (~> 3.17.0.2)
|
222
253
|
lint_roller (~> 1.0)
|
223
|
-
rubocop (~> 1.
|
254
|
+
rubocop (~> 1.66.0)
|
224
255
|
standard-custom (~> 1.0.0)
|
225
|
-
standard-performance (~> 1.
|
256
|
+
standard-performance (~> 1.5)
|
226
257
|
standard-custom (1.0.2)
|
227
258
|
lint_roller (~> 1.0)
|
228
259
|
rubocop (~> 1.50)
|
229
|
-
standard-performance (1.
|
260
|
+
standard-performance (1.5.0)
|
230
261
|
lint_roller (~> 1.1)
|
231
|
-
rubocop-performance (~> 1.
|
232
|
-
stringio (3.1.
|
233
|
-
thor (1.3.
|
262
|
+
rubocop-performance (~> 1.22.0)
|
263
|
+
stringio (3.1.1)
|
264
|
+
thor (1.3.2)
|
234
265
|
timeout (0.4.1)
|
235
266
|
tzinfo (2.0.6)
|
236
267
|
concurrent-ruby (~> 1.0)
|
237
|
-
unicode-display_width (2.
|
238
|
-
|
268
|
+
unicode-display_width (2.6.0)
|
269
|
+
useragent (0.16.10)
|
270
|
+
webrick (1.8.2)
|
239
271
|
websocket-driver (0.7.6)
|
240
272
|
websocket-extensions (>= 0.1.0)
|
241
273
|
websocket-extensions (0.1.5)
|
242
|
-
zeitwerk (2.
|
274
|
+
zeitwerk (2.7.1)
|
243
275
|
|
244
276
|
PLATFORMS
|
245
|
-
|
277
|
+
aarch64-linux
|
278
|
+
aarch64-linux-gnu
|
279
|
+
aarch64-linux-musl
|
280
|
+
arm-linux
|
281
|
+
arm-linux-gnu
|
282
|
+
arm-linux-musl
|
283
|
+
arm64-darwin
|
284
|
+
x86-linux
|
285
|
+
x86-linux-gnu
|
286
|
+
x86-linux-musl
|
287
|
+
x86_64-darwin
|
288
|
+
x86_64-linux-gnu
|
289
|
+
x86_64-linux-musl
|
246
290
|
|
247
291
|
DEPENDENCIES
|
248
292
|
appraisal
|
249
293
|
combustion
|
294
|
+
cuco
|
250
295
|
minitest
|
251
296
|
minitest-spec-rails
|
252
|
-
observr
|
253
297
|
rails
|
254
298
|
relation!
|
255
299
|
ricecream
|
@@ -258,4 +302,4 @@ DEPENDENCIES
|
|
258
302
|
standard
|
259
303
|
|
260
304
|
BUNDLED WITH
|
261
|
-
2.
|
305
|
+
2.5.22
|
data/MIT-LICENSE
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
Copyright (c) 2015-2023 Dittmar Krall (www.matiq.com)
|
1
|
+
Copyright (c) 2015-2024 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,9 @@
|
|
1
1
|
# Relation
|
2
|
-
[![Gem Version](https://badge.fury.io/rb/relation.
|
2
|
+
[![Gem Version](https://badge.fury.io/rb/relation.svg)](http://badge.fury.io/rb/relation)
|
3
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/)
|
4
7
|
|
5
8
|
AFAIK, Relation can replace all kind of relationships in a Rails database.
|
6
9
|
The gem stores the relationships in a additional table (named
|
@@ -87,9 +90,9 @@ They may be used for relationships which can not be based on the
|
|
87
90
|
class name of the ActiveRecords.
|
88
91
|
Keep in mind that dangling relations must be handled by yourself.
|
89
92
|
|
90
|
-
## Version 4
|
93
|
+
## Version 0.4
|
91
94
|
|
92
|
-
Version 4
|
95
|
+
Version 0.4.* is intended for Rails 7.
|
93
96
|
|
94
97
|
## Rails 6
|
95
98
|
|
@@ -100,5 +103,5 @@ Older Rails versions may use "gem 'relation', '= 0.1.1'".
|
|
100
103
|
|
101
104
|
## Miscellaneous
|
102
105
|
|
103
|
-
Copyright (c) 2015-
|
106
|
+
Copyright (c) 2015-2024 Dittmar Krall (www.matiq.com),
|
104
107
|
released under the [MIT license](https://opensource.org/licenses/MIT).
|
data/gemfiles/rails_7.1.gemfile
CHANGED
@@ -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 "observr"
|
11
10
|
gem "ricecream"
|
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
data/relation.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dittmar Krall
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-10-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appraisal
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
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
55
|
description: |2
|
70
56
|
A Rails gem that adds simple support for organizing ActiveRecord models.
|
71
57
|
Relationships are stored in one additional database table.
|
@@ -89,9 +75,8 @@ files:
|
|
89
75
|
- app/models/relation.rb
|
90
76
|
- app/models/relation_ext.rb
|
91
77
|
- db/migrate/003_create_relations.rb
|
92
|
-
- gemfiles/rails_6.1.gemfile
|
93
|
-
- gemfiles/rails_7.0.gemfile
|
94
78
|
- gemfiles/rails_7.1.gemfile
|
79
|
+
- gemfiles/rails_7.2.gemfile
|
95
80
|
- lib/relation.rb
|
96
81
|
- lib/relation/engine.rb
|
97
82
|
- lib/relation/version.rb
|
@@ -109,7 +94,7 @@ licenses:
|
|
109
94
|
- MIT
|
110
95
|
metadata:
|
111
96
|
source_code_uri: https://github.com/matique/relation
|
112
|
-
post_install_message:
|
97
|
+
post_install_message:
|
113
98
|
rdoc_options: []
|
114
99
|
require_paths:
|
115
100
|
- lib
|
@@ -125,8 +110,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
110
|
- !ruby/object:Gem::Version
|
126
111
|
version: '0'
|
127
112
|
requirements: []
|
128
|
-
rubygems_version: 3.
|
129
|
-
signing_key:
|
113
|
+
rubygems_version: 3.5.20
|
114
|
+
signing_key:
|
130
115
|
specification_version: 4
|
131
116
|
summary: Rails gem adding relationships between ActiveRecord models.
|
132
117
|
test_files: []
|
data/gemfiles/rails_7.0.gemfile
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "https://rubygems.org"
|
4
|
-
|
5
|
-
gem "rails", "~> 7.0"
|
6
|
-
gem "dryer-config", "~> 7.0"
|
7
|
-
|
8
|
-
group :test do
|
9
|
-
gem "minitest-spec-rails"
|
10
|
-
gem "observr"
|
11
|
-
gem "ricecream"
|
12
|
-
gem "simplecov", require: false
|
13
|
-
gem "standard", require: false
|
14
|
-
end
|
15
|
-
|
16
|
-
gemspec path: "../"
|