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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dafdb00f20ba4c9fbd3e810ec8fd5abbea1c8b20ce27a5f9b0d15de20a82a4a0
4
- data.tar.gz: 961c6ca2fd28da3fc86df5232c44fbf794f715abf5fa5a10d4707c7e3ddd3263
3
+ metadata.gz: d6a85d43f4b865d2062ebfa1d30410f226fedef2c558a687888c798e19e20740
4
+ data.tar.gz: 40710c6d0dd003cdf434bfdddb77156bfc31b8c116f0b5f535080f13a7b428ac
5
5
  SHA512:
6
- metadata.gz: 82f66c8fa2f5fe8ce4ee7036db43be7d47838cd9861365f84cd8851a062941c6611132f4ec50c6af1286b193d3273ee5633f3d09a431e2ac62306f02ac045105
7
- data.tar.gz: 8817aab0b713c3e83e986713a9f43f5701138ffcf478fb2dc24f9083093d3f2039ce9de423b2b9b3ac5bc66dfd75e04dd453e11cafb9e8c9cc664b34cf9a258e
6
+ metadata.gz: cc20c831d1a343c80f57ec4036ee198b72c7fe25a193b80d37d4662e3f75527cccf4f24f2cf4bf12f007c7fc464633044e5df88c53e438c59491a20321f9040b
7
+ data.tar.gz: 1dc5c9f45cf301bf0273d1f386993d9ca799ae194962b9ebc788b6951b3fc2804f15025ed0c08d28e12dc5ac176637403ff13c9c231dbdbeb01e6a508382fa9d
@@ -8,19 +8,25 @@ jobs:
8
8
  strategy:
9
9
  fail-fast: false
10
10
  matrix:
11
- os: [ubuntu-latest]
12
- ruby: ["2.7", "3.0", "3.2", head]
13
- test_command: ["bundle exec rake"]
14
- runs-on: ${{ matrix.os }}
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
- - uses: actions/checkout@v3
18
- - uses: ruby/setup-ruby@v1
19
- with:
20
- ruby-version: ${{ matrix.ruby }}
21
- - name: Bundle install
22
- run: |
23
- bundle config path /home/runner/bundle
24
- bundle install
25
- bundle update
26
- - run: ${{ matrix.test_command }}
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
@@ -1,11 +1,11 @@
1
1
  .bundle/
2
2
  coverage/
3
+ .watchr
3
4
 
4
5
  *.gem
5
6
  *.log
6
7
  *.lock
7
- *.sqlite3
8
- **/*.gem
9
- **/*.log
10
- **/*.lock
11
- **/*.sqlite3*
8
+
9
+ **/db/test.sqlite3*
10
+ /test/internal/storage/
11
+ /test/internal/tmp/
data/.ruby-gemset CHANGED
@@ -1 +1 @@
1
- rails-7.0
1
+ rails-7.2
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.2.2
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
@@ -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,204 +1,299 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- relation (0.4.3)
4
+ relation (0.4.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- actioncable (7.0.4.3)
10
- actionpack (= 7.0.4.3)
11
- activesupport (= 7.0.4.3)
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
- actionmailbox (7.0.4.3)
15
- actionpack (= 7.0.4.3)
16
- activejob (= 7.0.4.3)
17
- activerecord (= 7.0.4.3)
18
- activestorage (= 7.0.4.3)
19
- activesupport (= 7.0.4.3)
20
- mail (>= 2.7.1)
21
- net-imap
22
- net-pop
23
- net-smtp
24
- actionmailer (7.0.4.3)
25
- actionpack (= 7.0.4.3)
26
- actionview (= 7.0.4.3)
27
- activejob (= 7.0.4.3)
28
- activesupport (= 7.0.4.3)
29
- mail (~> 2.5, >= 2.5.4)
30
- net-imap
31
- net-pop
32
- net-smtp
33
- rails-dom-testing (~> 2.0)
34
- actionpack (7.0.4.3)
35
- actionview (= 7.0.4.3)
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.0)
40
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
41
- actiontext (7.0.4.3)
42
- actionpack (= 7.0.4.3)
43
- activerecord (= 7.0.4.3)
44
- activestorage (= 7.0.4.3)
45
- activesupport (= 7.0.4.3)
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.0.4.3)
49
- activesupport (= 7.0.4.3)
47
+ actionview (7.2.1.1)
48
+ activesupport (= 7.2.1.1)
50
49
  builder (~> 3.1)
51
- erubi (~> 1.4)
52
- rails-dom-testing (~> 2.0)
53
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
54
- activejob (7.0.4.3)
55
- activesupport (= 7.0.4.3)
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.0.4.3)
58
- activesupport (= 7.0.4.3)
59
- activerecord (7.0.4.3)
60
- activemodel (= 7.0.4.3)
61
- activesupport (= 7.0.4.3)
62
- activestorage (7.0.4.3)
63
- actionpack (= 7.0.4.3)
64
- activejob (= 7.0.4.3)
65
- activerecord (= 7.0.4.3)
66
- activesupport (= 7.0.4.3)
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
- mini_mime (>= 1.1.0)
69
- activesupport (7.0.4.3)
70
- concurrent-ruby (~> 1.0, >= 1.0.2)
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
- tzinfo (~> 2.0)
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
- builder (3.2.4)
76
- combustion (1.3.7)
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.2.2)
91
+ concurrent-ruby (1.3.4)
92
+ connection_pool (2.4.1)
81
93
  crass (1.0.6)
82
- date (3.3.3)
83
- docile (1.4.0)
84
- erubi (1.12.0)
85
- globalid (1.1.0)
86
- activesupport (>= 5.0)
87
- i18n (1.12.0)
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
- json (2.6.3)
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
- loofah (2.20.0)
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.5.9)
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.2)
100
- method_source (1.0.0)
101
- mini_mime (1.1.2)
102
- minitest (5.18.0)
103
- minitest-spec-rails (6.2.0)
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.3.4)
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.1)
146
+ net-protocol (0.2.2)
112
147
  timeout
113
- net-smtp (0.3.3)
148
+ net-smtp (0.5.0)
114
149
  net-protocol
115
- nio4r (2.5.9)
116
- nokogiri (1.14.3-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)
117
162
  racc (~> 1.4)
118
- observr (1.0.5)
119
- parallel (1.22.1)
120
- parser (3.2.2.0)
163
+ parallel (1.26.3)
164
+ parser (3.3.5.0)
121
165
  ast (~> 2.4.1)
122
- racc (1.6.2)
123
- rack (2.2.6.4)
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
- rails (7.0.4.3)
127
- actioncable (= 7.0.4.3)
128
- actionmailbox (= 7.0.4.3)
129
- actionmailer (= 7.0.4.3)
130
- actionpack (= 7.0.4.3)
131
- actiontext (= 7.0.4.3)
132
- actionview (= 7.0.4.3)
133
- activejob (= 7.0.4.3)
134
- activemodel (= 7.0.4.3)
135
- activerecord (= 7.0.4.3)
136
- activestorage (= 7.0.4.3)
137
- activesupport (= 7.0.4.3)
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.0.4.3)
140
- rails-dom-testing (2.0.3)
141
- activesupport (>= 4.2.0)
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.5.0)
144
- loofah (~> 2.19, >= 2.19.1)
145
- railties (7.0.4.3)
146
- actionpack (= 7.0.4.3)
147
- activesupport (= 7.0.4.3)
148
- method_source
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.5)
205
+ thor (~> 1.0, >= 1.2.2)
206
+ zeitwerk (~> 2.6)
152
207
  rainbow (3.1.1)
153
- rake (13.0.6)
154
- regexp_parser (2.7.0)
155
- rexml (3.2.5)
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.48.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.2.0.0)
222
+ parser (>= 3.3.0.2)
161
223
  rainbow (>= 2.2.2, < 4.0)
162
- regexp_parser (>= 1.8, < 3.0)
163
- rexml (>= 3.2.5, < 4.0)
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.28.0)
168
- parser (>= 3.2.1.0)
169
- rubocop-performance (1.16.0)
170
- rubocop (>= 1.7.0, < 2.0)
171
- 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)
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.12.3)
239
+ simplecov-html (0.13.1)
178
240
  simplecov_json_formatter (0.1.4)
179
- sqlite3 (1.6.2-x86_64-linux)
180
- standard (1.26.0)
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
- rubocop (~> 1.48.1)
183
- rubocop-performance (~> 1.16.0)
184
- thor (1.2.1)
185
- timeout (0.3.2)
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.4.2)
189
- websocket-driver (0.7.5)
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.6.7)
274
+ zeitwerk (2.7.1)
193
275
 
194
276
  PLATFORMS
195
- 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
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.4.10
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,5 +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
+ [![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
- ** Version 4
93
+ ## Version 0.4
90
94
 
91
- Version 4.+ is intended for Rails 7.
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-2023 Dittmar Krall (www.matiq.com),
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: "../"
@@ -1,7 +1,9 @@
1
1
  # rubocop: disable all
2
2
 
3
3
  module ModRelation
4
- VERSION = "0.4.3" # 2023-04-16
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://matiq.com"
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.3
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-04-16 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
- name: combustion
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: minitest
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: sqlite3
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://matiq.com
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.4.10
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: []