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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d7ade0969bd5fcac0a5a316dbe34a6a6c5f34bec62ebeaf669a4dd2f850dfe5
4
- data.tar.gz: a3447f7f237701460af905e9fb7a2427d3da9404ba8f7b36c352fd8c898b8c46
3
+ metadata.gz: d6a85d43f4b865d2062ebfa1d30410f226fedef2c558a687888c798e19e20740
4
+ data.tar.gz: 40710c6d0dd003cdf434bfdddb77156bfc31b8c116f0b5f535080f13a7b428ac
5
5
  SHA512:
6
- metadata.gz: 1699c0bd4f3300103b6c2067a378e74c499a5b6f0faad45ed8fc676d8f425bb92a226c61c631e4459e86c0240c7befdb054f89a88cfcd35cfc8fc5f55fcee77a
7
- data.tar.gz: abe5441a2e239711593e92cf9ab758381255c8db9a0790edbf1a6d8161e91523e8bb37af646c653425f3685ac28c8e971d9f09773ad1ec4ea96563351e4d17f0
6
+ metadata.gz: cc20c831d1a343c80f57ec4036ee198b72c7fe25a193b80d37d4662e3f75527cccf4f24f2cf4bf12f007c7fc464633044e5df88c53e438c59491a20321f9040b
7
+ data.tar.gz: 1dc5c9f45cf301bf0273d1f386993d9ca799ae194962b9ebc788b6951b3fc2804f15025ed0c08d28e12dc5ac176637403ff13c9c231dbdbeb01e6a508382fa9d
@@ -8,20 +8,25 @@ jobs:
8
8
  strategy:
9
9
  fail-fast: false
10
10
  matrix:
11
- ruby_version: ["3.0", 3.2]
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@v3
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
@@ -5,8 +5,7 @@ coverage/
5
5
  *.gem
6
6
  *.log
7
7
  *.lock
8
- *.sqlite3
9
- **/*.gem
10
- **/*.log
11
- **/*.lock
12
- **/*.sqlite3*
8
+
9
+ **/db/test.sqlite3*
10
+ /test/internal/storage/
11
+ /test/internal/tmp/
data/.ruby-gemset CHANGED
@@ -1 +1 @@
1
- rails-7.1
1
+ rails-7.2
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.2.2
1
+ ruby-3.3.5
data/Appraisals CHANGED
@@ -1,13 +1,17 @@
1
- appraise "rails-7.1" do
2
- gem "rails", "~> 7.1"
1
+ appraise "rails-7.2" do
2
+ gem "rails", "~> 7.2"
3
3
  end
4
4
 
5
- appraise "rails-7.0" do
6
- gem "rails", "~> 7.0"
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-6.1" do
11
- gem "rails", "~> 6.1"
12
- gem "dryer-config", "~> 6.0"
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
@@ -4,9 +4,10 @@ gemspec
4
4
  gem "rails"
5
5
 
6
6
  group :test do
7
+ gem "cuco"
7
8
  gem "minitest-spec-rails"
8
- gem "observr"
9
9
  gem "ricecream"
10
10
  gem "simplecov", require: false
11
+ gem "sqlite3"
11
12
  gem "standard", require: false
12
13
  end
data/Gemfile.lock CHANGED
@@ -1,116 +1,128 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relation (0.4.4)
4
+ relation (0.4.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actioncable (7.1.2)
10
- actionpack (= 7.1.2)
11
- activesupport (= 7.1.2)
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.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)
21
- mail (>= 2.7.1)
22
- net-imap
23
- net-pop
24
- net-smtp
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)
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.2)
36
- actionview (= 7.1.2)
37
- activesupport (= 7.1.2)
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
- actiontext (7.1.2)
46
- actionpack (= 7.1.2)
47
- activerecord (= 7.1.2)
48
- activestorage (= 7.1.2)
49
- activesupport (= 7.1.2)
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.2)
53
- activesupport (= 7.1.2)
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.2)
59
- activesupport (= 7.1.2)
53
+ activejob (7.2.1.1)
54
+ activesupport (= 7.2.1.1)
60
55
  globalid (>= 0.3.6)
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)
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.2)
68
- actionpack (= 7.1.2)
69
- activejob (= 7.1.2)
70
- activerecord (= 7.1.2)
71
- activesupport (= 7.1.2)
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.2)
68
+ activesupport (7.2.1.1)
74
69
  base64
75
70
  bigdecimal
76
- concurrent-ruby (~> 1.0, >= 1.0.2)
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
- mutex_m
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.4)
90
- builder (3.2.4)
91
- combustion (1.3.7)
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.2.2)
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.0)
100
- drb (2.2.0)
101
- ruby2_keywords
102
- erubi (1.12.0)
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.1)
113
+ i18n (1.14.6)
106
114
  concurrent-ruby (~> 1.0)
107
- io-console (0.6.0)
108
- irb (1.10.1)
109
- rdoc
110
- reline (>= 0.3.8)
111
- json (2.7.1)
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.2)
134
+ marcel (1.0.4)
135
+ micro-optparse (1.2.1)
123
136
  mini_mime (1.1.5)
124
- minitest (5.20.0)
125
- minitest-spec-rails (7.2.0)
137
+ minitest (5.25.1)
138
+ minitest-spec-rails (7.3.0)
126
139
  minitest (>= 5.0)
127
140
  railties (>= 4.1)
128
- mutex_m (0.2.0)
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.4.0)
148
+ net-smtp (0.5.0)
137
149
  net-protocol
138
- nio4r (2.7.0)
139
- nokogiri (1.15.5-x86_64-linux)
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
- observr (1.0.5)
142
- parallel (1.23.0)
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.1.1)
167
+ psych (5.1.2)
147
168
  stringio
148
- racc (1.7.3)
149
- rack (3.0.8)
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.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)
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.2)
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.2)
179
- actionpack (= 7.1.2)
180
- activesupport (= 7.1.2)
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.0)
188
- rdoc (6.6.1)
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.8.3)
191
- reline (0.4.1)
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.57.2)
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.2.2.4)
222
+ parser (>= 3.3.0.2)
200
223
  rainbow (>= 2.2.2, < 4.0)
201
- regexp_parser (>= 1.8, < 3.0)
202
- rexml (>= 3.2.5, < 4.0)
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.30.0)
207
- parser (>= 3.2.1.0)
208
- rubocop-performance (1.19.1)
209
- rubocop (>= 1.7.0, < 2.0)
210
- rubocop-ast (>= 0.4.0)
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
- ruby2_keywords (0.0.5)
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.12.3)
239
+ simplecov-html (0.13.1)
218
240
  simplecov_json_formatter (0.1.4)
219
- sqlite3 (1.6.9-x86_64-linux)
220
- standard (1.32.1)
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.57.2)
254
+ rubocop (~> 1.66.0)
224
255
  standard-custom (~> 1.0.0)
225
- standard-performance (~> 1.2)
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.2.1)
260
+ standard-performance (1.5.0)
230
261
  lint_roller (~> 1.1)
231
- rubocop-performance (~> 1.19.1)
232
- stringio (3.1.0)
233
- thor (1.3.0)
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.5.0)
238
- webrick (1.8.1)
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.6.12)
274
+ zeitwerk (2.7.1)
243
275
 
244
276
  PLATFORMS
245
- x86_64-linux
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.4.22
305
+ 2.5.22
data/MIT-LICENSE CHANGED
@@ -1,6 +1,4 @@
1
- The MIT License (MIT)
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.png)](http://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.+ is intended for Rails 7.
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-2023 Dittmar Krall (www.matiq.com),
106
+ Copyright (c) 2015-2024 Dittmar Krall (www.matiq.com),
104
107
  released under the [MIT license](https://opensource.org/licenses/MIT).
@@ -5,10 +5,11 @@ source "https://rubygems.org"
5
5
  gem "rails", "~> 7.1"
6
6
 
7
7
  group :test do
8
+ gem "cuco"
8
9
  gem "minitest-spec-rails"
9
- gem "observr"
10
10
  gem "ricecream"
11
11
  gem "simplecov", require: false
12
+ gem "sqlite3"
12
13
  gem "standard", require: false
13
14
  end
14
15
 
@@ -2,14 +2,14 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "~> 6.1"
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
 
@@ -1,7 +1,8 @@
1
1
  # rubocop: disable all
2
2
 
3
3
  module ModRelation
4
- VERSION = "0.4.4" # 2023-12-12
4
+ VERSION = "0.4.5" # 2024-10-21
5
+ # VERSION = "0.4.4" # 2023-12-12
5
6
  # VERSION = "0.4.3" # 2023-04-16
6
7
  # VERSION = "0.4.2" # 2023-01-19
7
8
  # VERSION = "0.4.1" # 2023-01-18
data/relation.gemspec CHANGED
@@ -24,5 +24,4 @@ Gem::Specification.new do |s|
24
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 "sqlite3"
28
27
  end
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
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: 2023-12-12 00:00:00.000000000 Z
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.4.20
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: []
@@ -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: "../"