texd 0.5.1 → 0.6.0

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: 13007e535867b117b4f97bd02f3433bbfdc560be407ad6a116fa780cf122a269
4
- data.tar.gz: c7a73f29c57adf00c65a4f60eeaf79c0b1b78256ee05b11740f151a2e028336a
3
+ metadata.gz: f1a1c4b4906b676b7984b8de4ea61dc5821d03cd107ba9d8b6dc27f61f1724e5
4
+ data.tar.gz: c62530f487753e892469fac3f4896f393e8c61e9f742f24374b66da30b010ace
5
5
  SHA512:
6
- metadata.gz: 1c5c48383672de0e8851334fc1456eda171f55567dd184a0b0e3cc43105175eca3486c3cea92239afa1c893d977218265707de757a15ef0b9cbed586e3c0aa95
7
- data.tar.gz: af632a515da1f48ed83cab8a71138cefebbfb0d4f8a30944717993d0f5f5d4b1cc256890f39d0ed96007df78dde847d61377f262e7f1024153e7494485dcc866
6
+ metadata.gz: b7f7b16b12431596186fdd0545442b5962efb16c8c01ad55a834442123b0200925bd5cbe0d3f2b4c3ce3f2dfde7d5e68b21b7418c9e715ea6f97b5befcc48612
7
+ data.tar.gz: c8003cddafe5187fe8726f4259847b7d229890250577d8e93261e14870f345a669320e530a2ab611f350aca8d17891b1447ba01edd9e2cb580bd063f9fafe661
data/.rubocop.yml CHANGED
@@ -334,6 +334,9 @@ Style/TrailingCommaInArrayLiteral:
334
334
  Style/TrailingCommaInHashLiteral:
335
335
  EnforcedStyleForMultiline: comma
336
336
 
337
+ Style/SuperWithArgsParentheses:
338
+ Enabled: false # cop doesn't provide a preferred style option
339
+
337
340
  ## RSpec Cops - https://docs.rubocop.org/rubocop-rspec/cops_rspec.html
338
341
 
339
342
  RSpec:
data/CHANGELOG.md CHANGED
@@ -1,6 +1,29 @@
1
1
  ## Unreleased
2
2
 
3
- [Compare changes](https://github.com/digineo/texd-ruby/compare/v0.5.1...master)
3
+ [Compare changes](https://github.com/digineo/texd-ruby/compare/v0.6.0...master)
4
+
5
+ ## v0.6.0 - 2024-02-13
6
+
7
+ **Changes**
8
+
9
+ - Add another optional argument to the `escape` helper, to disallow replacing
10
+ of hyphens.
11
+
12
+ Previously, `escape(str, typographic: true)` did replace the hyphen between
13
+ word-characters with `"=` (i.e. the babel shorthand for a hard-hyphen in German
14
+ locale).
15
+
16
+ Now it is possible to disable the hyphenation replacement explicitly:
17
+
18
+ ```erb
19
+ <%= escape str, hyphenation: false %>
20
+ ```
21
+
22
+ The default value for the `hyphenation` option defaults to the value given to
23
+ the `typographic` option (which in turn is true by default).
24
+
25
+
26
+ [Compare changes](https://github.com/digineo/texd-ruby/compare/v0.5.1...v0.6.0)
4
27
 
5
28
  ## v0.5.1 - 2022-10-10
6
29
 
data/Gemfile CHANGED
@@ -3,6 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
  gemspec
5
5
 
6
+ gem "nokogiri", "~> 1.15.5" # remove constraint when min. RUBY_VERSION >= 3
6
7
  gem "pry-byebug"
7
8
  gem "rails", "~> 7.0"
8
9
 
@@ -14,3 +15,11 @@ group :development do
14
15
  gem "rubocop-rake"
15
16
  gem "rubocop-rspec"
16
17
  end
18
+
19
+ # keep in sync with gemfiles/*/Gemfile
20
+ group :development, :test do
21
+ gem "combustion"
22
+ gem "rake", "~> 13.0"
23
+ gem "rspec", "~> 3.0"
24
+ gem "rspec-rails"
25
+ end
data/Gemfile.lock CHANGED
@@ -1,217 +1,266 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- texd (0.5.1)
4
+ texd (0.6.0)
5
5
  multipart-post (~> 2.0)
6
6
  rails (>= 6.0, < 8)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (7.0.4)
12
- actionpack (= 7.0.4)
13
- activesupport (= 7.0.4)
11
+ actioncable (7.1.3)
12
+ actionpack (= 7.1.3)
13
+ activesupport (= 7.1.3)
14
14
  nio4r (~> 2.0)
15
15
  websocket-driver (>= 0.6.1)
16
- actionmailbox (7.0.4)
17
- actionpack (= 7.0.4)
18
- activejob (= 7.0.4)
19
- activerecord (= 7.0.4)
20
- activestorage (= 7.0.4)
21
- activesupport (= 7.0.4)
16
+ zeitwerk (~> 2.6)
17
+ actionmailbox (7.1.3)
18
+ actionpack (= 7.1.3)
19
+ activejob (= 7.1.3)
20
+ activerecord (= 7.1.3)
21
+ activestorage (= 7.1.3)
22
+ activesupport (= 7.1.3)
22
23
  mail (>= 2.7.1)
23
24
  net-imap
24
25
  net-pop
25
26
  net-smtp
26
- actionmailer (7.0.4)
27
- actionpack (= 7.0.4)
28
- actionview (= 7.0.4)
29
- activejob (= 7.0.4)
30
- activesupport (= 7.0.4)
27
+ actionmailer (7.1.3)
28
+ actionpack (= 7.1.3)
29
+ actionview (= 7.1.3)
30
+ activejob (= 7.1.3)
31
+ activesupport (= 7.1.3)
31
32
  mail (~> 2.5, >= 2.5.4)
32
33
  net-imap
33
34
  net-pop
34
35
  net-smtp
35
- rails-dom-testing (~> 2.0)
36
- actionpack (7.0.4)
37
- actionview (= 7.0.4)
38
- activesupport (= 7.0.4)
39
- rack (~> 2.0, >= 2.2.0)
36
+ rails-dom-testing (~> 2.2)
37
+ actionpack (7.1.3)
38
+ actionview (= 7.1.3)
39
+ activesupport (= 7.1.3)
40
+ nokogiri (>= 1.8.5)
41
+ racc
42
+ rack (>= 2.2.4)
43
+ rack-session (>= 1.0.1)
40
44
  rack-test (>= 0.6.3)
41
- rails-dom-testing (~> 2.0)
42
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
43
- actiontext (7.0.4)
44
- actionpack (= 7.0.4)
45
- activerecord (= 7.0.4)
46
- activestorage (= 7.0.4)
47
- activesupport (= 7.0.4)
45
+ rails-dom-testing (~> 2.2)
46
+ rails-html-sanitizer (~> 1.6)
47
+ actiontext (7.1.3)
48
+ actionpack (= 7.1.3)
49
+ activerecord (= 7.1.3)
50
+ activestorage (= 7.1.3)
51
+ activesupport (= 7.1.3)
48
52
  globalid (>= 0.6.0)
49
53
  nokogiri (>= 1.8.5)
50
- actionview (7.0.4)
51
- activesupport (= 7.0.4)
54
+ actionview (7.1.3)
55
+ activesupport (= 7.1.3)
52
56
  builder (~> 3.1)
53
- erubi (~> 1.4)
54
- rails-dom-testing (~> 2.0)
55
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
56
- activejob (7.0.4)
57
- activesupport (= 7.0.4)
57
+ erubi (~> 1.11)
58
+ rails-dom-testing (~> 2.2)
59
+ rails-html-sanitizer (~> 1.6)
60
+ activejob (7.1.3)
61
+ activesupport (= 7.1.3)
58
62
  globalid (>= 0.3.6)
59
- activemodel (7.0.4)
60
- activesupport (= 7.0.4)
61
- activerecord (7.0.4)
62
- activemodel (= 7.0.4)
63
- activesupport (= 7.0.4)
64
- activestorage (7.0.4)
65
- actionpack (= 7.0.4)
66
- activejob (= 7.0.4)
67
- activerecord (= 7.0.4)
68
- activesupport (= 7.0.4)
63
+ activemodel (7.1.3)
64
+ activesupport (= 7.1.3)
65
+ activerecord (7.1.3)
66
+ activemodel (= 7.1.3)
67
+ activesupport (= 7.1.3)
68
+ timeout (>= 0.4.0)
69
+ activestorage (7.1.3)
70
+ actionpack (= 7.1.3)
71
+ activejob (= 7.1.3)
72
+ activerecord (= 7.1.3)
73
+ activesupport (= 7.1.3)
69
74
  marcel (~> 1.0)
70
- mini_mime (>= 1.1.0)
71
- activesupport (7.0.4)
75
+ activesupport (7.1.3)
76
+ base64
77
+ bigdecimal
72
78
  concurrent-ruby (~> 1.0, >= 1.0.2)
79
+ connection_pool (>= 2.2.5)
80
+ drb
73
81
  i18n (>= 1.6, < 2)
74
82
  minitest (>= 5.1)
83
+ mutex_m
75
84
  tzinfo (~> 2.0)
76
85
  ast (2.4.2)
86
+ base64 (0.2.0)
87
+ bigdecimal (3.1.6)
77
88
  builder (3.2.4)
78
89
  byebug (11.1.3)
79
90
  coderay (1.1.3)
80
- combustion (1.3.7)
91
+ combustion (1.4.0)
81
92
  activesupport (>= 3.0.0)
82
93
  railties (>= 3.0.0)
83
94
  thor (>= 0.14.6)
84
- concurrent-ruby (1.1.10)
95
+ concurrent-ruby (1.2.3)
96
+ connection_pool (2.4.1)
85
97
  crass (1.0.6)
86
- diff-lcs (1.5.0)
87
- erubi (1.11.0)
88
- globalid (1.0.0)
89
- activesupport (>= 5.0)
90
- i18n (1.12.0)
98
+ date (3.3.4)
99
+ diff-lcs (1.5.1)
100
+ drb (2.2.0)
101
+ ruby2_keywords
102
+ erubi (1.12.0)
103
+ globalid (1.2.1)
104
+ activesupport (>= 6.1)
105
+ i18n (1.14.1)
91
106
  concurrent-ruby (~> 1.0)
92
- json (2.6.2)
93
- loofah (2.19.0)
107
+ io-console (0.7.2)
108
+ irb (1.11.2)
109
+ rdoc
110
+ reline (>= 0.4.2)
111
+ json (2.7.1)
112
+ language_server-protocol (3.17.0.3)
113
+ loofah (2.22.0)
94
114
  crass (~> 1.0.2)
95
- nokogiri (>= 1.5.9)
96
- mail (2.7.1)
115
+ nokogiri (>= 1.12.0)
116
+ mail (2.8.1)
97
117
  mini_mime (>= 0.1.1)
118
+ net-imap
119
+ net-pop
120
+ net-smtp
98
121
  marcel (1.0.2)
99
122
  method_source (1.0.0)
100
- mini_mime (1.1.2)
101
- mini_portile2 (2.8.0)
102
- minitest (5.16.3)
103
- multipart-post (2.2.3)
104
- net-imap (0.3.1)
123
+ mini_mime (1.1.5)
124
+ mini_portile2 (2.8.5)
125
+ minitest (5.22.2)
126
+ multipart-post (2.4.0)
127
+ mutex_m (0.2.0)
128
+ net-imap (0.4.10)
129
+ date
105
130
  net-protocol
106
131
  net-pop (0.1.2)
107
132
  net-protocol
108
- net-protocol (0.1.3)
133
+ net-protocol (0.2.2)
109
134
  timeout
110
- net-smtp (0.3.2)
135
+ net-smtp (0.4.0.1)
111
136
  net-protocol
112
- nio4r (2.5.8)
113
- nokogiri (1.13.8)
114
- mini_portile2 (~> 2.8.0)
137
+ nio4r (2.7.0)
138
+ nokogiri (1.15.5)
139
+ mini_portile2 (~> 2.8.2)
115
140
  racc (~> 1.4)
116
- nokogiri (1.13.8-x86_64-linux)
141
+ nokogiri (1.15.5-x86_64-linux)
117
142
  racc (~> 1.4)
118
- parallel (1.22.1)
119
- parser (3.1.2.1)
143
+ parallel (1.24.0)
144
+ parser (3.3.0.5)
120
145
  ast (~> 2.4.1)
121
- pry (0.14.1)
146
+ racc
147
+ pry (0.14.2)
122
148
  coderay (~> 1.1)
123
149
  method_source (~> 1.0)
124
150
  pry-byebug (3.10.1)
125
151
  byebug (~> 11.0)
126
152
  pry (>= 0.13, < 0.15)
127
- racc (1.6.0)
128
- rack (2.2.4)
129
- rack-test (2.0.2)
153
+ psych (5.1.2)
154
+ stringio
155
+ racc (1.7.3)
156
+ rack (3.0.9)
157
+ rack-session (2.0.0)
158
+ rack (>= 3.0.0)
159
+ rack-test (2.1.0)
130
160
  rack (>= 1.3)
131
- rails (7.0.4)
132
- actioncable (= 7.0.4)
133
- actionmailbox (= 7.0.4)
134
- actionmailer (= 7.0.4)
135
- actionpack (= 7.0.4)
136
- actiontext (= 7.0.4)
137
- actionview (= 7.0.4)
138
- activejob (= 7.0.4)
139
- activemodel (= 7.0.4)
140
- activerecord (= 7.0.4)
141
- activestorage (= 7.0.4)
142
- activesupport (= 7.0.4)
161
+ rackup (2.1.0)
162
+ rack (>= 3)
163
+ webrick (~> 1.8)
164
+ rails (7.1.3)
165
+ actioncable (= 7.1.3)
166
+ actionmailbox (= 7.1.3)
167
+ actionmailer (= 7.1.3)
168
+ actionpack (= 7.1.3)
169
+ actiontext (= 7.1.3)
170
+ actionview (= 7.1.3)
171
+ activejob (= 7.1.3)
172
+ activemodel (= 7.1.3)
173
+ activerecord (= 7.1.3)
174
+ activestorage (= 7.1.3)
175
+ activesupport (= 7.1.3)
143
176
  bundler (>= 1.15.0)
144
- railties (= 7.0.4)
145
- rails-dom-testing (2.0.3)
146
- activesupport (>= 4.2.0)
177
+ railties (= 7.1.3)
178
+ rails-dom-testing (2.2.0)
179
+ activesupport (>= 5.0.0)
180
+ minitest
147
181
  nokogiri (>= 1.6)
148
- rails-html-sanitizer (1.4.3)
149
- loofah (~> 2.3)
150
- railties (7.0.4)
151
- actionpack (= 7.0.4)
152
- activesupport (= 7.0.4)
153
- method_source
182
+ rails-html-sanitizer (1.6.0)
183
+ loofah (~> 2.21)
184
+ nokogiri (~> 1.14)
185
+ railties (7.1.3)
186
+ actionpack (= 7.1.3)
187
+ activesupport (= 7.1.3)
188
+ irb
189
+ rackup (>= 1.0.0)
154
190
  rake (>= 12.2)
155
- thor (~> 1.0)
156
- zeitwerk (~> 2.5)
191
+ thor (~> 1.0, >= 1.2.2)
192
+ zeitwerk (~> 2.6)
157
193
  rainbow (3.1.1)
158
- rake (13.0.6)
159
- regexp_parser (2.6.0)
160
- rexml (3.2.5)
161
- rspec (3.11.0)
162
- rspec-core (~> 3.11.0)
163
- rspec-expectations (~> 3.11.0)
164
- rspec-mocks (~> 3.11.0)
165
- rspec-core (3.11.0)
166
- rspec-support (~> 3.11.0)
167
- rspec-expectations (3.11.1)
194
+ rake (13.1.0)
195
+ rdoc (6.6.2)
196
+ psych (>= 4.0.0)
197
+ regexp_parser (2.9.0)
198
+ reline (0.4.2)
199
+ io-console (~> 0.5)
200
+ rexml (3.2.6)
201
+ rspec (3.13.0)
202
+ rspec-core (~> 3.13.0)
203
+ rspec-expectations (~> 3.13.0)
204
+ rspec-mocks (~> 3.13.0)
205
+ rspec-core (3.13.0)
206
+ rspec-support (~> 3.13.0)
207
+ rspec-expectations (3.13.0)
168
208
  diff-lcs (>= 1.2.0, < 2.0)
169
- rspec-support (~> 3.11.0)
170
- rspec-mocks (3.11.1)
209
+ rspec-support (~> 3.13.0)
210
+ rspec-mocks (3.13.0)
171
211
  diff-lcs (>= 1.2.0, < 2.0)
172
- rspec-support (~> 3.11.0)
173
- rspec-rails (5.1.2)
174
- actionpack (>= 5.2)
175
- activesupport (>= 5.2)
176
- railties (>= 5.2)
177
- rspec-core (~> 3.10)
178
- rspec-expectations (~> 3.10)
179
- rspec-mocks (~> 3.10)
180
- rspec-support (~> 3.10)
181
- rspec-support (3.11.1)
182
- rubocop (1.36.0)
212
+ rspec-support (~> 3.13.0)
213
+ rspec-rails (6.1.1)
214
+ actionpack (>= 6.1)
215
+ activesupport (>= 6.1)
216
+ railties (>= 6.1)
217
+ rspec-core (~> 3.12)
218
+ rspec-expectations (~> 3.12)
219
+ rspec-mocks (~> 3.12)
220
+ rspec-support (~> 3.12)
221
+ rspec-support (3.13.0)
222
+ rubocop (1.60.2)
183
223
  json (~> 2.3)
224
+ language_server-protocol (>= 3.17.0)
184
225
  parallel (~> 1.10)
185
- parser (>= 3.1.2.1)
226
+ parser (>= 3.3.0.2)
186
227
  rainbow (>= 2.2.2, < 4.0)
187
228
  regexp_parser (>= 1.8, < 3.0)
188
229
  rexml (>= 3.2.5, < 4.0)
189
- rubocop-ast (>= 1.20.1, < 2.0)
230
+ rubocop-ast (>= 1.30.0, < 2.0)
190
231
  ruby-progressbar (~> 1.7)
191
- unicode-display_width (>= 1.4.0, < 3.0)
192
- rubocop-ast (1.21.0)
193
- parser (>= 3.1.1.0)
194
- rubocop-rails (2.16.1)
232
+ unicode-display_width (>= 2.4.0, < 3.0)
233
+ rubocop-ast (1.30.0)
234
+ parser (>= 3.2.1.0)
235
+ rubocop-capybara (2.20.0)
236
+ rubocop (~> 1.41)
237
+ rubocop-factory_bot (2.25.1)
238
+ rubocop (~> 1.41)
239
+ rubocop-rails (2.23.1)
195
240
  activesupport (>= 4.2.0)
196
241
  rack (>= 1.1)
197
242
  rubocop (>= 1.33.0, < 2.0)
243
+ rubocop-ast (>= 1.30.0, < 2.0)
198
244
  rubocop-rake (0.6.0)
199
245
  rubocop (~> 1.0)
200
- rubocop-rspec (2.13.2)
201
- rubocop (~> 1.33)
202
- ruby-progressbar (1.11.0)
203
- thor (1.2.1)
204
- timeout (0.3.0)
205
- tzinfo (2.0.5)
246
+ rubocop-rspec (2.26.1)
247
+ rubocop (~> 1.40)
248
+ rubocop-capybara (~> 2.17)
249
+ rubocop-factory_bot (~> 2.22)
250
+ ruby-progressbar (1.13.0)
251
+ ruby2_keywords (0.0.5)
252
+ stringio (3.1.0)
253
+ thor (1.3.0)
254
+ timeout (0.4.1)
255
+ tzinfo (2.0.6)
206
256
  concurrent-ruby (~> 1.0)
207
- unicode-display_width (2.3.0)
208
- webrick (1.7.0)
209
- websocket-driver (0.7.5)
257
+ unicode-display_width (2.5.0)
258
+ webrick (1.8.1)
259
+ websocket-driver (0.7.6)
210
260
  websocket-extensions (>= 0.1.0)
211
261
  websocket-extensions (0.1.5)
212
- yard (0.9.28)
213
- webrick (~> 1.7.0)
214
- zeitwerk (2.6.1)
262
+ yard (0.9.34)
263
+ zeitwerk (2.6.13)
215
264
 
216
265
  PLATFORMS
217
266
  ruby
@@ -219,6 +268,7 @@ PLATFORMS
219
268
 
220
269
  DEPENDENCIES
221
270
  combustion
271
+ nokogiri (~> 1.15.5)
222
272
  pry-byebug
223
273
  rails (~> 7.0)
224
274
  rake (~> 13.0)
@@ -232,4 +282,4 @@ DEPENDENCIES
232
282
  yard
233
283
 
234
284
  BUNDLED WITH
235
- 2.3.9
285
+ 2.4.22
data/Makefile CHANGED
@@ -1,7 +1,13 @@
1
1
  SPEC =
2
2
 
3
3
  .PHONY: test
4
- test: rails-6.0 rails-6.1 rails-7.0 rubocop # exclude rails-main
4
+ test: test-stable rubocop
5
+
6
+ .PHONY: test-stable
7
+ test-stable: rails-6.0 rails-6.1 rails-7.0 rails-7.1
8
+
9
+ .PHONY: test-all
10
+ test-all: test rails-main
5
11
 
6
12
  # TODO: make rails-* tasks DRY?
7
13
 
@@ -29,6 +35,14 @@ else
29
35
  export BUNDLE_GEMFILE=gemfiles/rails-7.0/Gemfile && bundle --quiet && bundle exec rspec $(SPEC)
30
36
  endif
31
37
 
38
+ .PHONY: rails-7.1
39
+ rails-7.1:
40
+ ifeq ($(SPEC),)
41
+ export BUNDLE_GEMFILE=gemfiles/rails-7.1/Gemfile && bundle --quiet && bundle exec rake spec
42
+ else
43
+ export BUNDLE_GEMFILE=gemfiles/rails-7.1/Gemfile && bundle --quiet && bundle exec rspec $(SPEC)
44
+ endif
45
+
32
46
  .PHONY: rails-main
33
47
  rails-main:
34
48
  ifeq ($(SPEC),)
@@ -42,6 +56,7 @@ update:
42
56
  export BUNDLE_GEMFILE=gemfiles/rails-6.0/Gemfile && bundle update
43
57
  export BUNDLE_GEMFILE=gemfiles/rails-6.1/Gemfile && bundle update
44
58
  export BUNDLE_GEMFILE=gemfiles/rails-7.0/Gemfile && bundle update
59
+ export BUNDLE_GEMFILE=gemfiles/rails-7.1/Gemfile && bundle update
45
60
  export BUNDLE_GEMFILE=gemfiles/rails-main/Gemfile && bundle update
46
61
  export BUNDLE_GEMFILE=Gemfile && bundle update
47
62
 
@@ -63,7 +78,7 @@ texd-docker:
63
78
  -v $$(pwd)/tmp/jobs:/texd \
64
79
  -v $$(pwd)/tmp/refs:/refs \
65
80
  -u $$(id -u):$$(id -g) \
66
- digineode/texd \
81
+ ghcr.io/digineo/texd \
67
82
  --reference-store dir:///refs \
68
83
  --retention-policy=purge-on-start \
69
84
  --keep-jobs always
data/README.md CHANGED
@@ -10,15 +10,26 @@ in background jobs.
10
10
 
11
11
  You need to meet the following requirements for this gem to work:
12
12
 
13
- - Ruby 2.7 or later
13
+ - Ruby 2.7 or later[^1]
14
14
  - Rails 6.0 or later
15
15
 
16
16
  Older versions of Ruby and Rails *may* work, but this is not guaranteed.
17
17
 
18
+ (Please note that the current Rails `main` branch, i.e. Rails 7.2-to-be,
19
+ requires Ruby 3.1+[^2].)
20
+
18
21
  Install the gem and add to the application's Gemfile by executing:
19
22
 
20
23
  $ bundle add texd
21
24
 
25
+ [^1]: We're currently tracking the Ruby version shipped with
26
+ [Ubuntu Focal (20.04 LTS)](https://packages.ubuntu.com/focal/ruby).
27
+ This may jump to [Ubuntu Noble (24.04 LTS)](https://packages.ubuntu.com/noble/ruby)
28
+ and Ruby 3.1 in the near future.
29
+
30
+ [^2]: See [commit `6ba2fdb`](https://github.com/rails/rails/commit/6ba2fdb2fe85751b573aadd05608471daf1a44ff)
31
+ and [PR #50491](https://github.com/rails/rails/pull/50491) in the Rails repository.
32
+
22
33
  ## Configuration
23
34
 
24
35
  Before you can use texd, you need to tell it where your instance is located.
@@ -215,8 +226,9 @@ push git commits and the created tag, and push the `.gem` file to
215
226
  [rubygems.org](https://rubygems.org).
216
227
 
217
228
  You may want to run a texd server instance locally. This is easiest done by
218
- calling either `make texd-server` (this requires Docker). If you need to
219
- develop/test against the bleeding edge, you can clone and run texd from source:
229
+ calling `make texd-docker` (which pulls and runs the `ghcr.io/digineo/texd` Docker
230
+ image). If you need to develop/test against the bleeding edge, you can clone and
231
+ run texd from source:
220
232
 
221
233
  ```console
222
234
  $ cd ~/code/github.com/digineo
@@ -226,6 +238,10 @@ $ mkdir -p tmp/refs
226
238
  $ make run-container EXTRA_RUN_ARGS='--reference-store dir://./tmp/refs'
227
239
  ```
228
240
 
241
+ Note: In order to run the tests against the latest `rails/main` commit, you
242
+ need to have Ruby 3.1+ installed. To run the tests against all released Rails
243
+ versions, Ruby 2.7 currently suffices.
244
+
229
245
  ## Contributing
230
246
 
231
247
  Bug reports and pull requests are welcome on GitHub at https://github.com/digineo/texd.
@@ -3,5 +3,14 @@
3
3
  source "https://rubygems.org"
4
4
  gemspec path: "../.."
5
5
 
6
+ gem "nokogiri", "~> 1.15.5" # remove constraint when min. RUBY_VERSION >= 3
6
7
  gem "pry-byebug"
7
- gem "rails", "~> 6.0.0"
8
+ gem "rails", "~> 6.0.6"
9
+
10
+ # keep in sync with ../../Gemfile
11
+ group :development, :test do
12
+ gem "combustion"
13
+ gem "rake", "~> 13.0"
14
+ gem "rspec", "~> 3.0"
15
+ gem "rspec-rails"
16
+ end