relation 0.4.3 → 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 +20 -14
- data/.gitignore +5 -5
- data/.ruby-gemset +1 -1
- data/.ruby-version +1 -1
- data/Appraisals +17 -0
- data/Gemfile +2 -1
- data/Gemfile.lock +227 -132
- data/MIT-LICENSE +1 -3
- data/README.md +9 -7
- data/gemfiles/rails_7.1.gemfile +16 -0
- data/gemfiles/rails_7.2.gemfile +16 -0
- data/lib/relation/version.rb +3 -1
- data/relation.gemspec +2 -2
- metadata +13 -10
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,19 +8,25 @@ jobs:
|
|
8
8
|
strategy:
|
9
9
|
fail-fast: false
|
10
10
|
matrix:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
ruby_version: ["3.2", "3.3"]
|
12
|
+
gemfile:
|
13
|
+
- Gemfile
|
14
|
+
- gemfiles/Gemfile.rails-7.2
|
15
|
+
- gemfiles/Gemfile.rails-7.1
|
16
|
+
runs-on: ubuntu-latest
|
15
17
|
|
16
18
|
steps:
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
19
|
+
- uses: actions/checkout@v4
|
20
|
+
- name: Set up Ruby
|
21
|
+
uses: ruby/setup-ruby@v1
|
22
|
+
with:
|
23
|
+
ruby-version: ${{ matrix.ruby_version }}
|
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
|
31
|
+
- name: Build and test with Rake
|
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
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
appraise "rails-7.2" do
|
2
|
+
gem "rails", "~> 7.2"
|
3
|
+
end
|
4
|
+
|
5
|
+
appraise "rails-7.1" do
|
6
|
+
gem "rails", "~> 7.1"
|
7
|
+
end
|
8
|
+
|
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,204 +1,299 @@
|
|
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.
|
10
|
-
actionpack (= 7.
|
11
|
-
activesupport (= 7.
|
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
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
activesupport (= 7.0.4.3)
|
37
|
-
rack (~> 2.0, >= 2.2.0)
|
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)
|
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)
|
28
|
+
rails-dom-testing (~> 2.2)
|
29
|
+
actionpack (7.2.1.1)
|
30
|
+
actionview (= 7.2.1.1)
|
31
|
+
activesupport (= 7.2.1.1)
|
32
|
+
nokogiri (>= 1.8.5)
|
33
|
+
racc
|
34
|
+
rack (>= 2.2.4, < 3.2)
|
35
|
+
rack-session (>= 1.0.1)
|
38
36
|
rack-test (>= 0.6.3)
|
39
|
-
rails-dom-testing (~> 2.
|
40
|
-
rails-html-sanitizer (~> 1.
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
37
|
+
rails-dom-testing (~> 2.2)
|
38
|
+
rails-html-sanitizer (~> 1.6)
|
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)
|
46
45
|
globalid (>= 0.6.0)
|
47
46
|
nokogiri (>= 1.8.5)
|
48
|
-
actionview (7.
|
49
|
-
activesupport (= 7.
|
47
|
+
actionview (7.2.1.1)
|
48
|
+
activesupport (= 7.2.1.1)
|
50
49
|
builder (~> 3.1)
|
51
|
-
erubi (~> 1.
|
52
|
-
rails-dom-testing (~> 2.
|
53
|
-
rails-html-sanitizer (~> 1.
|
54
|
-
activejob (7.
|
55
|
-
activesupport (= 7.
|
50
|
+
erubi (~> 1.11)
|
51
|
+
rails-dom-testing (~> 2.2)
|
52
|
+
rails-html-sanitizer (~> 1.6)
|
53
|
+
activejob (7.2.1.1)
|
54
|
+
activesupport (= 7.2.1.1)
|
56
55
|
globalid (>= 0.3.6)
|
57
|
-
activemodel (7.
|
58
|
-
activesupport (= 7.
|
59
|
-
activerecord (7.
|
60
|
-
activemodel (= 7.
|
61
|
-
activesupport (= 7.
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
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)
|
61
|
+
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)
|
67
67
|
marcel (~> 1.0)
|
68
|
-
|
69
|
-
|
70
|
-
|
68
|
+
activesupport (7.2.1.1)
|
69
|
+
base64
|
70
|
+
bigdecimal
|
71
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
72
|
+
connection_pool (>= 2.2.5)
|
73
|
+
drb
|
71
74
|
i18n (>= 1.6, < 2)
|
75
|
+
logger (>= 1.4.2)
|
72
76
|
minitest (>= 5.1)
|
73
|
-
|
77
|
+
securerandom (>= 0.3)
|
78
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
79
|
+
appraisal (2.5.0)
|
80
|
+
bundler
|
81
|
+
rake
|
82
|
+
thor (>= 0.14.0)
|
74
83
|
ast (2.4.2)
|
75
|
-
|
76
|
-
|
84
|
+
base64 (0.2.0)
|
85
|
+
bigdecimal (3.1.8)
|
86
|
+
builder (3.3.0)
|
87
|
+
combustion (1.5.0)
|
77
88
|
activesupport (>= 3.0.0)
|
78
89
|
railties (>= 3.0.0)
|
79
90
|
thor (>= 0.14.6)
|
80
|
-
concurrent-ruby (1.
|
91
|
+
concurrent-ruby (1.3.4)
|
92
|
+
connection_pool (2.4.1)
|
81
93
|
crass (1.0.6)
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
94
|
+
cuco (0.1.2)
|
95
|
+
listen
|
96
|
+
micro-optparse
|
97
|
+
date (3.3.4)
|
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)
|
111
|
+
globalid (1.2.1)
|
112
|
+
activesupport (>= 6.1)
|
113
|
+
i18n (1.14.6)
|
88
114
|
concurrent-ruby (~> 1.0)
|
89
|
-
|
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)
|
90
120
|
language_server-protocol (3.17.0.3)
|
91
|
-
|
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)
|
126
|
+
loofah (2.22.0)
|
92
127
|
crass (~> 1.0.2)
|
93
|
-
nokogiri (>= 1.
|
128
|
+
nokogiri (>= 1.12.0)
|
94
129
|
mail (2.8.1)
|
95
130
|
mini_mime (>= 0.1.1)
|
96
131
|
net-imap
|
97
132
|
net-pop
|
98
133
|
net-smtp
|
99
|
-
marcel (1.0.
|
100
|
-
|
101
|
-
mini_mime (1.1.
|
102
|
-
minitest (5.
|
103
|
-
minitest-spec-rails (
|
134
|
+
marcel (1.0.4)
|
135
|
+
micro-optparse (1.2.1)
|
136
|
+
mini_mime (1.1.5)
|
137
|
+
minitest (5.25.1)
|
138
|
+
minitest-spec-rails (7.3.0)
|
104
139
|
minitest (>= 5.0)
|
105
140
|
railties (>= 4.1)
|
106
|
-
net-imap (0.
|
141
|
+
net-imap (0.5.0)
|
107
142
|
date
|
108
143
|
net-protocol
|
109
144
|
net-pop (0.1.2)
|
110
145
|
net-protocol
|
111
|
-
net-protocol (0.2.
|
146
|
+
net-protocol (0.2.2)
|
112
147
|
timeout
|
113
|
-
net-smtp (0.
|
148
|
+
net-smtp (0.5.0)
|
114
149
|
net-protocol
|
115
|
-
nio4r (2.
|
116
|
-
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)
|
117
162
|
racc (~> 1.4)
|
118
|
-
|
119
|
-
|
120
|
-
parser (3.2.2.0)
|
163
|
+
parallel (1.26.3)
|
164
|
+
parser (3.3.5.0)
|
121
165
|
ast (~> 2.4.1)
|
122
|
-
|
123
|
-
|
166
|
+
racc
|
167
|
+
psych (5.1.2)
|
168
|
+
stringio
|
169
|
+
racc (1.8.1)
|
170
|
+
rack (3.1.8)
|
171
|
+
rack-session (2.0.0)
|
172
|
+
rack (>= 3.0.0)
|
124
173
|
rack-test (2.1.0)
|
125
174
|
rack (>= 1.3)
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
175
|
+
rackup (2.1.0)
|
176
|
+
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)
|
138
190
|
bundler (>= 1.15.0)
|
139
|
-
railties (= 7.
|
140
|
-
rails-dom-testing (2.0
|
141
|
-
activesupport (>=
|
191
|
+
railties (= 7.2.1.1)
|
192
|
+
rails-dom-testing (2.2.0)
|
193
|
+
activesupport (>= 5.0.0)
|
194
|
+
minitest
|
142
195
|
nokogiri (>= 1.6)
|
143
|
-
rails-html-sanitizer (1.
|
144
|
-
loofah (~> 2.
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
196
|
+
rails-html-sanitizer (1.6.0)
|
197
|
+
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)
|
202
|
+
irb (~> 1.13)
|
203
|
+
rackup (>= 1.0.0)
|
149
204
|
rake (>= 12.2)
|
150
|
-
thor (~> 1.0)
|
151
|
-
zeitwerk (~> 2.
|
205
|
+
thor (~> 1.0, >= 1.2.2)
|
206
|
+
zeitwerk (~> 2.6)
|
152
207
|
rainbow (3.1.1)
|
153
|
-
rake (13.
|
154
|
-
|
155
|
-
|
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)
|
213
|
+
psych (>= 4.0.0)
|
214
|
+
regexp_parser (2.9.2)
|
215
|
+
reline (0.5.10)
|
216
|
+
io-console (~> 0.5)
|
156
217
|
ricecream (0.2.1)
|
157
|
-
rubocop (1.
|
218
|
+
rubocop (1.66.1)
|
158
219
|
json (~> 2.3)
|
220
|
+
language_server-protocol (>= 3.17.0)
|
159
221
|
parallel (~> 1.10)
|
160
|
-
parser (>= 3.
|
222
|
+
parser (>= 3.3.0.2)
|
161
223
|
rainbow (>= 2.2.2, < 4.0)
|
162
|
-
regexp_parser (>=
|
163
|
-
|
164
|
-
rubocop-ast (>= 1.26.0, < 2.0)
|
224
|
+
regexp_parser (>= 2.4, < 3.0)
|
225
|
+
rubocop-ast (>= 1.32.2, < 2.0)
|
165
226
|
ruby-progressbar (~> 1.7)
|
166
227
|
unicode-display_width (>= 2.4.0, < 3.0)
|
167
|
-
rubocop-ast (1.
|
168
|
-
parser (>= 3.
|
169
|
-
rubocop-performance (1.
|
170
|
-
rubocop (>= 1.
|
171
|
-
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)
|
172
233
|
ruby-progressbar (1.13.0)
|
234
|
+
securerandom (0.3.1)
|
173
235
|
simplecov (0.22.0)
|
174
236
|
docile (~> 1.1)
|
175
237
|
simplecov-html (~> 0.11)
|
176
238
|
simplecov_json_formatter (~> 0.1)
|
177
|
-
simplecov-html (0.
|
239
|
+
simplecov-html (0.13.1)
|
178
240
|
simplecov_json_formatter (0.1.4)
|
179
|
-
sqlite3 (1.
|
180
|
-
|
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)
|
181
252
|
language_server-protocol (~> 3.17.0.2)
|
182
|
-
|
183
|
-
rubocop
|
184
|
-
|
185
|
-
|
253
|
+
lint_roller (~> 1.0)
|
254
|
+
rubocop (~> 1.66.0)
|
255
|
+
standard-custom (~> 1.0.0)
|
256
|
+
standard-performance (~> 1.5)
|
257
|
+
standard-custom (1.0.2)
|
258
|
+
lint_roller (~> 1.0)
|
259
|
+
rubocop (~> 1.50)
|
260
|
+
standard-performance (1.5.0)
|
261
|
+
lint_roller (~> 1.1)
|
262
|
+
rubocop-performance (~> 1.22.0)
|
263
|
+
stringio (3.1.1)
|
264
|
+
thor (1.3.2)
|
265
|
+
timeout (0.4.1)
|
186
266
|
tzinfo (2.0.6)
|
187
267
|
concurrent-ruby (~> 1.0)
|
188
|
-
unicode-display_width (2.
|
189
|
-
|
268
|
+
unicode-display_width (2.6.0)
|
269
|
+
useragent (0.16.10)
|
270
|
+
webrick (1.8.2)
|
271
|
+
websocket-driver (0.7.6)
|
190
272
|
websocket-extensions (>= 0.1.0)
|
191
273
|
websocket-extensions (0.1.5)
|
192
|
-
zeitwerk (2.
|
274
|
+
zeitwerk (2.7.1)
|
193
275
|
|
194
276
|
PLATFORMS
|
195
|
-
|
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
|
196
290
|
|
197
291
|
DEPENDENCIES
|
292
|
+
appraisal
|
198
293
|
combustion
|
294
|
+
cuco
|
199
295
|
minitest
|
200
296
|
minitest-spec-rails
|
201
|
-
observr
|
202
297
|
rails
|
203
298
|
relation!
|
204
299
|
ricecream
|
@@ -207,4 +302,4 @@ DEPENDENCIES
|
|
207
302
|
standard
|
208
303
|
|
209
304
|
BUNDLED WITH
|
210
|
-
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,5 +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
|
+
[![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/)
|
3
7
|
|
4
8
|
AFAIK, Relation can replace all kind of relationships in a Rails database.
|
5
9
|
The gem stores the relationships in a additional table (named
|
@@ -86,9 +90,9 @@ They may be used for relationships which can not be based on the
|
|
86
90
|
class name of the ActiveRecords.
|
87
91
|
Keep in mind that dangling relations must be handled by yourself.
|
88
92
|
|
89
|
-
|
93
|
+
## Version 0.4
|
90
94
|
|
91
|
-
Version 4
|
95
|
+
Version 0.4.* is intended for Rails 7.
|
92
96
|
|
93
97
|
## Rails 6
|
94
98
|
|
@@ -99,7 +103,5 @@ Older Rails versions may use "gem 'relation', '= 0.1.1'".
|
|
99
103
|
|
100
104
|
## Miscellaneous
|
101
105
|
|
102
|
-
Copyright (c) 2015-
|
103
|
-
released under the MIT license
|
104
|
-
|
105
|
-
* https://opensource.org/licenses/MIT
|
106
|
+
Copyright (c) 2015-2024 Dittmar Krall (www.matiq.com),
|
107
|
+
released under the [MIT license](https://opensource.org/licenses/MIT).
|
@@ -0,0 +1,16 @@
|
|
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 "cuco"
|
9
|
+
gem "minitest-spec-rails"
|
10
|
+
gem "ricecream"
|
11
|
+
gem "simplecov", require: false
|
12
|
+
gem "sqlite3"
|
13
|
+
gem "standard", require: false
|
14
|
+
end
|
15
|
+
|
16
|
+
gemspec path: "../"
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "rails", "~> 7.2"
|
6
|
+
|
7
|
+
group :test do
|
8
|
+
gem "cuco"
|
9
|
+
gem "minitest-spec-rails"
|
10
|
+
gem "ricecream"
|
11
|
+
gem "simplecov", require: false
|
12
|
+
gem "sqlite3"
|
13
|
+
gem "standard", require: false
|
14
|
+
end
|
15
|
+
|
16
|
+
gemspec path: "../"
|
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.
|
4
|
+
VERSION = "0.4.5" # 2024-10-21
|
5
|
+
# VERSION = "0.4.4" # 2023-12-12
|
6
|
+
# VERSION = "0.4.3" # 2023-04-16
|
5
7
|
# VERSION = "0.4.2" # 2023-01-19
|
6
8
|
# VERSION = "0.4.1" # 2023-01-18
|
7
9
|
# VERSION = "0.4.0" # 2023-01-12
|
data/relation.gemspec
CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
END
|
13
13
|
s.authors = ["Dittmar Krall"]
|
14
14
|
s.email = ["dittmar.krall@matiq.com"]
|
15
|
-
s.homepage = "https://
|
15
|
+
s.homepage = "https://github.com/matique/relation"
|
16
16
|
s.license = "MIT"
|
17
17
|
s.platform = Gem::Platform::RUBY
|
18
18
|
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.files = `git ls-files`.split("\n")
|
22
22
|
s.require_paths = ["lib", "app"]
|
23
23
|
|
24
|
+
s.add_development_dependency "appraisal"
|
24
25
|
s.add_development_dependency "combustion"
|
25
26
|
s.add_development_dependency "minitest"
|
26
|
-
s.add_development_dependency "sqlite3"
|
27
27
|
end
|
metadata
CHANGED
@@ -1,17 +1,17 @@
|
|
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
|
-
name:
|
14
|
+
name: appraisal
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: combustion
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: minitest
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -65,6 +65,7 @@ files:
|
|
65
65
|
- ".gitignore"
|
66
66
|
- ".ruby-gemset"
|
67
67
|
- ".ruby-version"
|
68
|
+
- Appraisals
|
68
69
|
- Gemfile
|
69
70
|
- Gemfile.lock
|
70
71
|
- MIT-LICENSE
|
@@ -74,6 +75,8 @@ files:
|
|
74
75
|
- app/models/relation.rb
|
75
76
|
- app/models/relation_ext.rb
|
76
77
|
- db/migrate/003_create_relations.rb
|
78
|
+
- gemfiles/rails_7.1.gemfile
|
79
|
+
- gemfiles/rails_7.2.gemfile
|
77
80
|
- lib/relation.rb
|
78
81
|
- lib/relation/engine.rb
|
79
82
|
- lib/relation/version.rb
|
@@ -86,12 +89,12 @@ files:
|
|
86
89
|
- test/relation_ext_test.rb
|
87
90
|
- test/relation_test.rb
|
88
91
|
- test/test_helper.rb
|
89
|
-
homepage: https://
|
92
|
+
homepage: https://github.com/matique/relation
|
90
93
|
licenses:
|
91
94
|
- MIT
|
92
95
|
metadata:
|
93
96
|
source_code_uri: https://github.com/matique/relation
|
94
|
-
post_install_message:
|
97
|
+
post_install_message:
|
95
98
|
rdoc_options: []
|
96
99
|
require_paths:
|
97
100
|
- lib
|
@@ -107,8 +110,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
107
110
|
- !ruby/object:Gem::Version
|
108
111
|
version: '0'
|
109
112
|
requirements: []
|
110
|
-
rubygems_version: 3.
|
111
|
-
signing_key:
|
113
|
+
rubygems_version: 3.5.20
|
114
|
+
signing_key:
|
112
115
|
specification_version: 4
|
113
116
|
summary: Rails gem adding relationships between ActiveRecord models.
|
114
117
|
test_files: []
|