relation 0.4.2 → 0.4.4
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 +15 -14
- data/.gitignore +1 -0
- data/.ruby-gemset +1 -1
- data/.ruby-version +1 -1
- data/Appraisals +13 -0
- data/Gemfile.lock +166 -117
- data/README.md +4 -5
- data/gemfiles/rails_6.1.gemfile +16 -0
- data/gemfiles/rails_7.0.gemfile +16 -0
- data/gemfiles/rails_7.1.gemfile +15 -0
- data/lib/relation/version.rb +3 -1
- data/relation.gemspec +4 -5
- data/test/internal/db/schema.rb +1 -1
- metadata +9 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d7ade0969bd5fcac0a5a316dbe34a6a6c5f34bec62ebeaf669a4dd2f850dfe5
|
4
|
+
data.tar.gz: a3447f7f237701460af905e9fb7a2427d3da9404ba8f7b36c352fd8c898b8c46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1699c0bd4f3300103b6c2067a378e74c499a5b6f0faad45ed8fc676d8f425bb92a226c61c631e4459e86c0240c7befdb054f89a88cfcd35cfc8fc5f55fcee77a
|
7
|
+
data.tar.gz: abe5441a2e239711593e92cf9ab758381255c8db9a0790edbf1a6d8161e91523e8bb37af646c653425f3685ac28c8e971d9f09773ad1ec4ea96563351e4d17f0
|
data/.github/workflows/rake.yml
CHANGED
@@ -8,19 +8,20 @@ jobs:
|
|
8
8
|
strategy:
|
9
9
|
fail-fast: false
|
10
10
|
matrix:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
ruby_version: ["3.0", 3.2]
|
12
|
+
gemfile:
|
13
|
+
- Gemfile
|
14
|
+
- gemfiles/Gemfile.rails-7.1
|
15
|
+
- gemfiles/Gemfile.rails-7.0
|
16
|
+
- gemfiles/Gemfile.rails-6.1
|
17
|
+
runs-on: ubuntu-latest
|
15
18
|
|
16
19
|
steps:
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
bundle
|
25
|
-
bundle update
|
26
|
-
- run: ${{ matrix.test_command }}
|
20
|
+
- uses: actions/checkout@v3
|
21
|
+
- name: Set up Ruby
|
22
|
+
uses: ruby/setup-ruby@v1
|
23
|
+
with:
|
24
|
+
ruby-version: ${{ matrix.ruby_version }}
|
25
|
+
bundler-cache: true
|
26
|
+
- name: Build and test with Rake
|
27
|
+
run: bundle exec rake
|
data/.gitignore
CHANGED
data/.ruby-gemset
CHANGED
@@ -1 +1 @@
|
|
1
|
-
rails-7.
|
1
|
+
rails-7.1
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-3.2.
|
1
|
+
ruby-3.2.2
|
data/Appraisals
ADDED
data/Gemfile.lock
CHANGED
@@ -1,207 +1,256 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
relation (0.4.
|
4
|
+
relation (0.4.4)
|
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.1.2)
|
10
|
+
actionpack (= 7.1.2)
|
11
|
+
activesupport (= 7.1.2)
|
12
12
|
nio4r (~> 2.0)
|
13
13
|
websocket-driver (>= 0.6.1)
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
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)
|
20
21
|
mail (>= 2.7.1)
|
21
22
|
net-imap
|
22
23
|
net-pop
|
23
24
|
net-smtp
|
24
|
-
actionmailer (7.
|
25
|
-
actionpack (= 7.
|
26
|
-
actionview (= 7.
|
27
|
-
activejob (= 7.
|
28
|
-
activesupport (= 7.
|
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)
|
29
30
|
mail (~> 2.5, >= 2.5.4)
|
30
31
|
net-imap
|
31
32
|
net-pop
|
32
33
|
net-smtp
|
33
|
-
rails-dom-testing (~> 2.
|
34
|
-
actionpack (7.
|
35
|
-
actionview (= 7.
|
36
|
-
activesupport (= 7.
|
37
|
-
|
34
|
+
rails-dom-testing (~> 2.2)
|
35
|
+
actionpack (7.1.2)
|
36
|
+
actionview (= 7.1.2)
|
37
|
+
activesupport (= 7.1.2)
|
38
|
+
nokogiri (>= 1.8.5)
|
39
|
+
racc
|
40
|
+
rack (>= 2.2.4)
|
41
|
+
rack-session (>= 1.0.1)
|
38
42
|
rack-test (>= 0.6.3)
|
39
|
-
rails-dom-testing (~> 2.
|
40
|
-
rails-html-sanitizer (~> 1.
|
41
|
-
actiontext (7.
|
42
|
-
actionpack (= 7.
|
43
|
-
activerecord (= 7.
|
44
|
-
activestorage (= 7.
|
45
|
-
activesupport (= 7.
|
43
|
+
rails-dom-testing (~> 2.2)
|
44
|
+
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)
|
46
50
|
globalid (>= 0.6.0)
|
47
51
|
nokogiri (>= 1.8.5)
|
48
|
-
actionview (7.
|
49
|
-
activesupport (= 7.
|
52
|
+
actionview (7.1.2)
|
53
|
+
activesupport (= 7.1.2)
|
50
54
|
builder (~> 3.1)
|
51
|
-
erubi (~> 1.
|
52
|
-
rails-dom-testing (~> 2.
|
53
|
-
rails-html-sanitizer (~> 1.
|
54
|
-
activejob (7.
|
55
|
-
activesupport (= 7.
|
55
|
+
erubi (~> 1.11)
|
56
|
+
rails-dom-testing (~> 2.2)
|
57
|
+
rails-html-sanitizer (~> 1.6)
|
58
|
+
activejob (7.1.2)
|
59
|
+
activesupport (= 7.1.2)
|
56
60
|
globalid (>= 0.3.6)
|
57
|
-
activemodel (7.
|
58
|
-
activesupport (= 7.
|
59
|
-
activerecord (7.
|
60
|
-
activemodel (= 7.
|
61
|
-
activesupport (= 7.
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
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)
|
66
|
+
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)
|
67
72
|
marcel (~> 1.0)
|
68
|
-
|
69
|
-
|
73
|
+
activesupport (7.1.2)
|
74
|
+
base64
|
75
|
+
bigdecimal
|
70
76
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
77
|
+
connection_pool (>= 2.2.5)
|
78
|
+
drb
|
71
79
|
i18n (>= 1.6, < 2)
|
72
80
|
minitest (>= 5.1)
|
81
|
+
mutex_m
|
73
82
|
tzinfo (~> 2.0)
|
83
|
+
appraisal (2.5.0)
|
84
|
+
bundler
|
85
|
+
rake
|
86
|
+
thor (>= 0.14.0)
|
74
87
|
ast (2.4.2)
|
88
|
+
base64 (0.2.0)
|
89
|
+
bigdecimal (3.1.4)
|
75
90
|
builder (3.2.4)
|
76
91
|
combustion (1.3.7)
|
77
92
|
activesupport (>= 3.0.0)
|
78
93
|
railties (>= 3.0.0)
|
79
94
|
thor (>= 0.14.6)
|
80
|
-
concurrent-ruby (1.
|
95
|
+
concurrent-ruby (1.2.2)
|
96
|
+
connection_pool (2.4.1)
|
81
97
|
crass (1.0.6)
|
82
|
-
date (3.3.
|
98
|
+
date (3.3.4)
|
83
99
|
docile (1.4.0)
|
100
|
+
drb (2.2.0)
|
101
|
+
ruby2_keywords
|
84
102
|
erubi (1.12.0)
|
85
|
-
globalid (1.
|
86
|
-
activesupport (>=
|
87
|
-
i18n (1.
|
103
|
+
globalid (1.2.1)
|
104
|
+
activesupport (>= 6.1)
|
105
|
+
i18n (1.14.1)
|
88
106
|
concurrent-ruby (~> 1.0)
|
89
|
-
|
90
|
-
|
91
|
-
|
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)
|
113
|
+
lint_roller (1.1.0)
|
114
|
+
loofah (2.22.0)
|
92
115
|
crass (~> 1.0.2)
|
93
|
-
nokogiri (>= 1.
|
94
|
-
mail (2.8.
|
116
|
+
nokogiri (>= 1.12.0)
|
117
|
+
mail (2.8.1)
|
95
118
|
mini_mime (>= 0.1.1)
|
96
119
|
net-imap
|
97
120
|
net-pop
|
98
121
|
net-smtp
|
99
122
|
marcel (1.0.2)
|
100
|
-
|
101
|
-
|
102
|
-
minitest (
|
103
|
-
minitest-spec-rails (6.2.0)
|
123
|
+
mini_mime (1.1.5)
|
124
|
+
minitest (5.20.0)
|
125
|
+
minitest-spec-rails (7.2.0)
|
104
126
|
minitest (>= 5.0)
|
105
127
|
railties (>= 4.1)
|
106
|
-
|
128
|
+
mutex_m (0.2.0)
|
129
|
+
net-imap (0.4.8)
|
107
130
|
date
|
108
131
|
net-protocol
|
109
132
|
net-pop (0.1.2)
|
110
133
|
net-protocol
|
111
|
-
net-protocol (0.2.
|
134
|
+
net-protocol (0.2.2)
|
112
135
|
timeout
|
113
|
-
net-smtp (0.
|
136
|
+
net-smtp (0.4.0)
|
114
137
|
net-protocol
|
115
|
-
nio4r (2.
|
116
|
-
nokogiri (1.
|
138
|
+
nio4r (2.7.0)
|
139
|
+
nokogiri (1.15.5-x86_64-linux)
|
117
140
|
racc (~> 1.4)
|
118
141
|
observr (1.0.5)
|
119
|
-
parallel (1.
|
120
|
-
parser (3.2.
|
142
|
+
parallel (1.23.0)
|
143
|
+
parser (3.2.2.4)
|
121
144
|
ast (~> 2.4.1)
|
122
|
-
|
123
|
-
|
124
|
-
|
145
|
+
racc
|
146
|
+
psych (5.1.1.1)
|
147
|
+
stringio
|
148
|
+
racc (1.7.3)
|
149
|
+
rack (3.0.8)
|
150
|
+
rack-session (2.0.0)
|
151
|
+
rack (>= 3.0.0)
|
152
|
+
rack-test (2.1.0)
|
125
153
|
rack (>= 1.3)
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
154
|
+
rackup (2.1.0)
|
155
|
+
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)
|
138
169
|
bundler (>= 1.15.0)
|
139
|
-
railties (= 7.
|
140
|
-
rails-dom-testing (2.0
|
141
|
-
activesupport (>=
|
170
|
+
railties (= 7.1.2)
|
171
|
+
rails-dom-testing (2.2.0)
|
172
|
+
activesupport (>= 5.0.0)
|
173
|
+
minitest
|
142
174
|
nokogiri (>= 1.6)
|
143
|
-
rails-html-sanitizer (1.
|
144
|
-
loofah (~> 2.
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
175
|
+
rails-html-sanitizer (1.6.0)
|
176
|
+
loofah (~> 2.21)
|
177
|
+
nokogiri (~> 1.14)
|
178
|
+
railties (7.1.2)
|
179
|
+
actionpack (= 7.1.2)
|
180
|
+
activesupport (= 7.1.2)
|
181
|
+
irb
|
182
|
+
rackup (>= 1.0.0)
|
149
183
|
rake (>= 12.2)
|
150
|
-
thor (~> 1.0)
|
151
|
-
zeitwerk (~> 2.
|
184
|
+
thor (~> 1.0, >= 1.2.2)
|
185
|
+
zeitwerk (~> 2.6)
|
152
186
|
rainbow (3.1.1)
|
153
|
-
rake (13.0
|
154
|
-
|
155
|
-
|
187
|
+
rake (13.1.0)
|
188
|
+
rdoc (6.6.1)
|
189
|
+
psych (>= 4.0.0)
|
190
|
+
regexp_parser (2.8.3)
|
191
|
+
reline (0.4.1)
|
192
|
+
io-console (~> 0.5)
|
193
|
+
rexml (3.2.6)
|
156
194
|
ricecream (0.2.1)
|
157
|
-
rubocop (1.
|
195
|
+
rubocop (1.57.2)
|
158
196
|
json (~> 2.3)
|
197
|
+
language_server-protocol (>= 3.17.0)
|
159
198
|
parallel (~> 1.10)
|
160
|
-
parser (>= 3.
|
199
|
+
parser (>= 3.2.2.4)
|
161
200
|
rainbow (>= 2.2.2, < 4.0)
|
162
201
|
regexp_parser (>= 1.8, < 3.0)
|
163
202
|
rexml (>= 3.2.5, < 4.0)
|
164
|
-
rubocop-ast (>= 1.
|
203
|
+
rubocop-ast (>= 1.28.1, < 2.0)
|
165
204
|
ruby-progressbar (~> 1.7)
|
166
|
-
unicode-display_width (>=
|
167
|
-
rubocop-ast (1.
|
168
|
-
parser (>= 3.
|
169
|
-
rubocop-performance (1.
|
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)
|
170
209
|
rubocop (>= 1.7.0, < 2.0)
|
171
210
|
rubocop-ast (>= 0.4.0)
|
172
|
-
ruby-progressbar (1.
|
211
|
+
ruby-progressbar (1.13.0)
|
212
|
+
ruby2_keywords (0.0.5)
|
173
213
|
simplecov (0.22.0)
|
174
214
|
docile (~> 1.1)
|
175
215
|
simplecov-html (~> 0.11)
|
176
216
|
simplecov_json_formatter (~> 0.1)
|
177
217
|
simplecov-html (0.12.3)
|
178
218
|
simplecov_json_formatter (0.1.4)
|
179
|
-
sqlite3 (1.6.
|
180
|
-
standard (1.
|
219
|
+
sqlite3 (1.6.9-x86_64-linux)
|
220
|
+
standard (1.32.1)
|
181
221
|
language_server-protocol (~> 3.17.0.2)
|
182
|
-
|
183
|
-
rubocop
|
184
|
-
|
185
|
-
|
186
|
-
|
222
|
+
lint_roller (~> 1.0)
|
223
|
+
rubocop (~> 1.57.2)
|
224
|
+
standard-custom (~> 1.0.0)
|
225
|
+
standard-performance (~> 1.2)
|
226
|
+
standard-custom (1.0.2)
|
227
|
+
lint_roller (~> 1.0)
|
228
|
+
rubocop (~> 1.50)
|
229
|
+
standard-performance (1.2.1)
|
230
|
+
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)
|
235
|
+
tzinfo (2.0.6)
|
187
236
|
concurrent-ruby (~> 1.0)
|
188
|
-
unicode-display_width (2.
|
189
|
-
|
237
|
+
unicode-display_width (2.5.0)
|
238
|
+
webrick (1.8.1)
|
239
|
+
websocket-driver (0.7.6)
|
190
240
|
websocket-extensions (>= 0.1.0)
|
191
241
|
websocket-extensions (0.1.5)
|
192
|
-
zeitwerk (2.6.
|
242
|
+
zeitwerk (2.6.12)
|
193
243
|
|
194
244
|
PLATFORMS
|
195
245
|
x86_64-linux
|
196
246
|
|
197
247
|
DEPENDENCIES
|
198
|
-
|
248
|
+
appraisal
|
199
249
|
combustion
|
200
250
|
minitest
|
201
251
|
minitest-spec-rails
|
202
252
|
observr
|
203
253
|
rails
|
204
|
-
rake
|
205
254
|
relation!
|
206
255
|
ricecream
|
207
256
|
simplecov
|
@@ -209,4 +258,4 @@ DEPENDENCIES
|
|
209
258
|
standard
|
210
259
|
|
211
260
|
BUNDLED WITH
|
212
|
-
2.4.
|
261
|
+
2.4.22
|
data/README.md
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
# Relation
|
2
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)
|
3
4
|
|
4
5
|
AFAIK, Relation can replace all kind of relationships in a Rails database.
|
5
6
|
The gem stores the relationships in a additional table (named
|
6
7
|
"relations") containing
|
7
|
-
triples (name of relationship,
|
8
|
+
triples (name of relationship, from_id, to_id).
|
8
9
|
No additional column/field is required in a particular table.
|
9
10
|
Adding/removing a relationship do not required a migration.
|
10
11
|
|
@@ -86,7 +87,7 @@ They may be used for relationships which can not be based on the
|
|
86
87
|
class name of the ActiveRecords.
|
87
88
|
Keep in mind that dangling relations must be handled by yourself.
|
88
89
|
|
89
|
-
|
90
|
+
## Version 4
|
90
91
|
|
91
92
|
Version 4.+ is intended for Rails 7.
|
92
93
|
|
@@ -100,6 +101,4 @@ Older Rails versions may use "gem 'relation', '= 0.1.1'".
|
|
100
101
|
## Miscellaneous
|
101
102
|
|
102
103
|
Copyright (c) 2015-2023 Dittmar Krall (www.matiq.com),
|
103
|
-
released under the MIT license
|
104
|
-
|
105
|
-
* https://opensource.org/licenses/MIT
|
104
|
+
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", "~> 6.1"
|
6
|
+
gem "dryer-config", "~> 6.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: "../"
|
@@ -0,0 +1,16 @@
|
|
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: "../"
|
@@ -0,0 +1,15 @@
|
|
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: "../"
|
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.4" # 2023-12-12
|
5
|
+
# VERSION = "0.4.3" # 2023-04-16
|
6
|
+
# VERSION = "0.4.2" # 2023-01-19
|
5
7
|
# VERSION = "0.4.1" # 2023-01-18
|
6
8
|
# VERSION = "0.4.0" # 2023-01-12
|
7
9
|
# VERSION = "0.3.8" # 2021-06-22
|
data/relation.gemspec
CHANGED
@@ -3,16 +3,16 @@ require_relative "lib/relation/version"
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "relation"
|
5
5
|
s.version = ModRelation::VERSION
|
6
|
-
s.summary = <<-
|
6
|
+
s.summary = <<-END
|
7
7
|
Rails gem adding relationships between ActiveRecord models.
|
8
8
|
END
|
9
|
-
s.description = <<-
|
9
|
+
s.description = <<-END
|
10
10
|
A Rails gem that adds simple support for organizing ActiveRecord models.
|
11
11
|
Relationships are stored in one additional database table.
|
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,9 +21,8 @@ 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 "
|
24
|
+
s.add_development_dependency "appraisal"
|
25
25
|
s.add_development_dependency "combustion"
|
26
26
|
s.add_development_dependency "minitest"
|
27
|
-
s.add_development_dependency "rake"
|
28
27
|
s.add_development_dependency "sqlite3"
|
29
28
|
end
|
data/test/internal/db/schema.rb
CHANGED
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.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dittmar Krall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-12 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
|
- - ">="
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
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
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: sqlite3
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -93,6 +79,7 @@ files:
|
|
93
79
|
- ".gitignore"
|
94
80
|
- ".ruby-gemset"
|
95
81
|
- ".ruby-version"
|
82
|
+
- Appraisals
|
96
83
|
- Gemfile
|
97
84
|
- Gemfile.lock
|
98
85
|
- MIT-LICENSE
|
@@ -102,6 +89,9 @@ files:
|
|
102
89
|
- app/models/relation.rb
|
103
90
|
- app/models/relation_ext.rb
|
104
91
|
- db/migrate/003_create_relations.rb
|
92
|
+
- gemfiles/rails_6.1.gemfile
|
93
|
+
- gemfiles/rails_7.0.gemfile
|
94
|
+
- gemfiles/rails_7.1.gemfile
|
105
95
|
- lib/relation.rb
|
106
96
|
- lib/relation/engine.rb
|
107
97
|
- lib/relation/version.rb
|
@@ -114,7 +104,7 @@ files:
|
|
114
104
|
- test/relation_ext_test.rb
|
115
105
|
- test/relation_test.rb
|
116
106
|
- test/test_helper.rb
|
117
|
-
homepage: https://
|
107
|
+
homepage: https://github.com/matique/relation
|
118
108
|
licenses:
|
119
109
|
- MIT
|
120
110
|
metadata:
|
@@ -135,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
125
|
- !ruby/object:Gem::Version
|
136
126
|
version: '0'
|
137
127
|
requirements: []
|
138
|
-
rubygems_version: 3.4.
|
128
|
+
rubygems_version: 3.4.20
|
139
129
|
signing_key:
|
140
130
|
specification_version: 4
|
141
131
|
summary: Rails gem adding relationships between ActiveRecord models.
|