texd 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +13 -0
- data/CHANGELOG.md +35 -1
- data/Gemfile +9 -0
- data/Gemfile.lock +193 -151
- data/Makefile +47 -18
- data/README.md +19 -3
- data/gemfiles/rails-6.0/Gemfile +16 -0
- data/gemfiles/rails-6.0/Gemfile.lock +203 -0
- data/gemfiles/rails-6.1/Gemfile +16 -0
- data/gemfiles/rails-6.1/Gemfile.lock +206 -0
- data/gemfiles/rails-7.0/Gemfile +16 -0
- data/gemfiles/rails-7.0/Gemfile.lock +205 -0
- data/gemfiles/rails-7.1/Gemfile +16 -0
- data/gemfiles/rails-7.1/Gemfile.lock +239 -0
- data/gemfiles/rails-main/Gemfile +15 -0
- data/gemfiles/rails-main/Gemfile.lock +233 -0
- data/lib/texd/client.rb +0 -1
- data/lib/texd/helpers.rb +11 -3
- data/lib/texd/version.rb +1 -1
- data/texd.gemspec +0 -5
- metadata +14 -66
- data/gemfiles/rails-6.0 +0 -7
- data/gemfiles/rails-6.0.lock +0 -186
- data/gemfiles/rails-6.1 +0 -7
- data/gemfiles/rails-6.1.lock +0 -189
- data/gemfiles/rails-7.0 +0 -7
- data/gemfiles/rails-7.0.lock +0 -205
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1a1c4b4906b676b7984b8de4ea61dc5821d03cd107ba9d8b6dc27f61f1724e5
|
4
|
+
data.tar.gz: c62530f487753e892469fac3f4896f393e8c61e9f742f24374b66da30b010ace
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7f7b16b12431596186fdd0545442b5962efb16c8c01ad55a834442123b0200925bd5cbe0d3f2b4c3ce3f2dfde7d5e68b21b7418c9e715ea6f97b5befcc48612
|
7
|
+
data.tar.gz: c8003cddafe5187fe8726f4259847b7d229890250577d8e93261e14870f345a669320e530a2ab611f350aca8d17891b1447ba01edd9e2cb580bd063f9fafe661
|
data/.rubocop.yml
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-rails
|
3
|
+
- rubocop-rake
|
4
|
+
- rubocop-rspec
|
5
|
+
|
1
6
|
AllCops:
|
2
7
|
DisplayCopNames: true
|
3
8
|
StyleGuideCopsOnly: false
|
@@ -329,8 +334,16 @@ Style/TrailingCommaInArrayLiteral:
|
|
329
334
|
Style/TrailingCommaInHashLiteral:
|
330
335
|
EnforcedStyleForMultiline: comma
|
331
336
|
|
337
|
+
Style/SuperWithArgsParentheses:
|
338
|
+
Enabled: false # cop doesn't provide a preferred style option
|
339
|
+
|
332
340
|
## RSpec Cops - https://docs.rubocop.org/rubocop-rspec/cops_rspec.html
|
333
341
|
|
342
|
+
RSpec:
|
343
|
+
Language:
|
344
|
+
Expectations:
|
345
|
+
- expect_escape
|
346
|
+
|
334
347
|
RSpec/ExampleLength:
|
335
348
|
Max: 10
|
336
349
|
CountAsOne: [array, hash, heredoc]
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,40 @@
|
|
1
1
|
## Unreleased
|
2
2
|
|
3
|
-
[Compare changes](https://github.com/digineo/texd-ruby/compare/v0.
|
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)
|
27
|
+
|
28
|
+
## v0.5.1 - 2022-10-10
|
29
|
+
|
30
|
+
**Changes**
|
31
|
+
|
32
|
+
This is a maintenance release. Expect full compatability with v0.5.0.
|
33
|
+
|
34
|
+
- update dependencies
|
35
|
+
- add specs for rails/main
|
36
|
+
|
37
|
+
[Compare changes](https://github.com/digineo/texd-ruby/compare/v0.5.0...v0.5.1)
|
4
38
|
|
5
39
|
## v0.5.0 - 2022-07-22
|
6
40
|
|
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,225 +1,266 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
texd (0.
|
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.
|
12
|
-
actionpack (= 7.
|
13
|
-
activesupport (= 7.
|
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
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
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.
|
27
|
-
actionpack (= 7.
|
28
|
-
actionview (= 7.
|
29
|
-
activejob (= 7.
|
30
|
-
activesupport (= 7.
|
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.
|
36
|
-
actionpack (7.
|
37
|
-
actionview (= 7.
|
38
|
-
activesupport (= 7.
|
39
|
-
|
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.
|
42
|
-
rails-html-sanitizer (~> 1.
|
43
|
-
actiontext (7.
|
44
|
-
actionpack (= 7.
|
45
|
-
activerecord (= 7.
|
46
|
-
activestorage (= 7.
|
47
|
-
activesupport (= 7.
|
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.
|
51
|
-
activesupport (= 7.
|
54
|
+
actionview (7.1.3)
|
55
|
+
activesupport (= 7.1.3)
|
52
56
|
builder (~> 3.1)
|
53
|
-
erubi (~> 1.
|
54
|
-
rails-dom-testing (~> 2.
|
55
|
-
rails-html-sanitizer (~> 1.
|
56
|
-
activejob (7.
|
57
|
-
activesupport (= 7.
|
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.
|
60
|
-
activesupport (= 7.
|
61
|
-
activerecord (7.
|
62
|
-
activemodel (= 7.
|
63
|
-
activesupport (= 7.
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
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
|
-
|
71
|
-
|
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.
|
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.
|
95
|
+
concurrent-ruby (1.2.3)
|
96
|
+
connection_pool (2.4.1)
|
85
97
|
crass (1.0.6)
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
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)
|
92
106
|
concurrent-ruby (~> 1.0)
|
93
|
-
|
94
|
-
|
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)
|
95
114
|
crass (~> 1.0.2)
|
96
|
-
nokogiri (>= 1.
|
97
|
-
mail (2.
|
115
|
+
nokogiri (>= 1.12.0)
|
116
|
+
mail (2.8.1)
|
98
117
|
mini_mime (>= 0.1.1)
|
118
|
+
net-imap
|
119
|
+
net-pop
|
120
|
+
net-smtp
|
99
121
|
marcel (1.0.2)
|
100
122
|
method_source (1.0.0)
|
101
|
-
mini_mime (1.1.
|
102
|
-
mini_portile2 (2.8.
|
103
|
-
minitest (5.
|
104
|
-
multipart-post (2.
|
105
|
-
|
106
|
-
|
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
|
107
130
|
net-protocol
|
108
|
-
|
109
|
-
net-pop (0.1.1)
|
110
|
-
digest
|
131
|
+
net-pop (0.1.2)
|
111
132
|
net-protocol
|
133
|
+
net-protocol (0.2.2)
|
112
134
|
timeout
|
113
|
-
net-
|
114
|
-
timeout
|
115
|
-
net-smtp (0.3.1)
|
116
|
-
digest
|
135
|
+
net-smtp (0.4.0.1)
|
117
136
|
net-protocol
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
mini_portile2 (~> 2.8.0)
|
137
|
+
nio4r (2.7.0)
|
138
|
+
nokogiri (1.15.5)
|
139
|
+
mini_portile2 (~> 2.8.2)
|
122
140
|
racc (~> 1.4)
|
123
|
-
nokogiri (1.
|
141
|
+
nokogiri (1.15.5-x86_64-linux)
|
124
142
|
racc (~> 1.4)
|
125
|
-
parallel (1.
|
126
|
-
parser (3.
|
143
|
+
parallel (1.24.0)
|
144
|
+
parser (3.3.0.5)
|
127
145
|
ast (~> 2.4.1)
|
128
|
-
|
146
|
+
racc
|
147
|
+
pry (0.14.2)
|
129
148
|
coderay (~> 1.1)
|
130
149
|
method_source (~> 1.0)
|
131
|
-
pry-byebug (3.
|
150
|
+
pry-byebug (3.10.1)
|
132
151
|
byebug (~> 11.0)
|
133
|
-
pry (
|
134
|
-
|
135
|
-
|
136
|
-
|
152
|
+
pry (>= 0.13, < 0.15)
|
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)
|
137
160
|
rack (>= 1.3)
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
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)
|
150
176
|
bundler (>= 1.15.0)
|
151
|
-
railties (= 7.
|
152
|
-
rails-dom-testing (2.0
|
153
|
-
activesupport (>=
|
177
|
+
railties (= 7.1.3)
|
178
|
+
rails-dom-testing (2.2.0)
|
179
|
+
activesupport (>= 5.0.0)
|
180
|
+
minitest
|
154
181
|
nokogiri (>= 1.6)
|
155
|
-
rails-html-sanitizer (1.
|
156
|
-
loofah (~> 2.
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
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)
|
161
190
|
rake (>= 12.2)
|
162
|
-
thor (~> 1.0)
|
163
|
-
zeitwerk (~> 2.
|
191
|
+
thor (~> 1.0, >= 1.2.2)
|
192
|
+
zeitwerk (~> 2.6)
|
164
193
|
rainbow (3.1.1)
|
165
|
-
rake (13.0
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
rspec
|
173
|
-
rspec-
|
174
|
-
|
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)
|
175
208
|
diff-lcs (>= 1.2.0, < 2.0)
|
176
|
-
rspec-support (~> 3.
|
177
|
-
rspec-mocks (3.
|
209
|
+
rspec-support (~> 3.13.0)
|
210
|
+
rspec-mocks (3.13.0)
|
178
211
|
diff-lcs (>= 1.2.0, < 2.0)
|
179
|
-
rspec-support (~> 3.
|
180
|
-
rspec-rails (
|
181
|
-
actionpack (>=
|
182
|
-
activesupport (>=
|
183
|
-
railties (>=
|
184
|
-
rspec-core (~> 3.
|
185
|
-
rspec-expectations (~> 3.
|
186
|
-
rspec-mocks (~> 3.
|
187
|
-
rspec-support (~> 3.
|
188
|
-
rspec-support (3.
|
189
|
-
rubocop (1.
|
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)
|
190
223
|
json (~> 2.3)
|
224
|
+
language_server-protocol (>= 3.17.0)
|
191
225
|
parallel (~> 1.10)
|
192
|
-
parser (>= 3.
|
226
|
+
parser (>= 3.3.0.2)
|
193
227
|
rainbow (>= 2.2.2, < 4.0)
|
194
228
|
regexp_parser (>= 1.8, < 3.0)
|
195
229
|
rexml (>= 3.2.5, < 4.0)
|
196
|
-
rubocop-ast (>= 1.
|
230
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
197
231
|
ruby-progressbar (~> 1.7)
|
198
|
-
unicode-display_width (>=
|
199
|
-
rubocop-ast (1.
|
200
|
-
parser (>= 3.
|
201
|
-
rubocop-
|
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)
|
202
240
|
activesupport (>= 4.2.0)
|
203
241
|
rack (>= 1.1)
|
204
|
-
rubocop (>= 1.
|
242
|
+
rubocop (>= 1.33.0, < 2.0)
|
243
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
205
244
|
rubocop-rake (0.6.0)
|
206
245
|
rubocop (~> 1.0)
|
207
|
-
rubocop-rspec (2.
|
208
|
-
rubocop (~> 1.
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
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)
|
214
256
|
concurrent-ruby (~> 1.0)
|
215
|
-
unicode-display_width (2.
|
216
|
-
webrick (1.
|
217
|
-
websocket-driver (0.7.
|
257
|
+
unicode-display_width (2.5.0)
|
258
|
+
webrick (1.8.1)
|
259
|
+
websocket-driver (0.7.6)
|
218
260
|
websocket-extensions (>= 0.1.0)
|
219
261
|
websocket-extensions (0.1.5)
|
220
|
-
yard (0.9.
|
221
|
-
|
222
|
-
zeitwerk (2.6.0)
|
262
|
+
yard (0.9.34)
|
263
|
+
zeitwerk (2.6.13)
|
223
264
|
|
224
265
|
PLATFORMS
|
225
266
|
ruby
|
@@ -227,6 +268,7 @@ PLATFORMS
|
|
227
268
|
|
228
269
|
DEPENDENCIES
|
229
270
|
combustion
|
271
|
+
nokogiri (~> 1.15.5)
|
230
272
|
pry-byebug
|
231
273
|
rails (~> 7.0)
|
232
274
|
rake (~> 13.0)
|
@@ -240,4 +282,4 @@ DEPENDENCIES
|
|
240
282
|
yard
|
241
283
|
|
242
284
|
BUNDLED WITH
|
243
|
-
2.
|
285
|
+
2.4.22
|
data/Makefile
CHANGED
@@ -1,38 +1,64 @@
|
|
1
1
|
SPEC =
|
2
2
|
|
3
3
|
.PHONY: test
|
4
|
-
test:
|
4
|
+
test: test-stable rubocop
|
5
5
|
|
6
|
-
.PHONY:
|
7
|
-
|
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
|
11
|
+
|
12
|
+
# TODO: make rails-* tasks DRY?
|
13
|
+
|
14
|
+
.PHONY: rails-6.0
|
15
|
+
rails-6.0:
|
16
|
+
ifeq ($(SPEC),)
|
17
|
+
export BUNDLE_GEMFILE=gemfiles/rails-6.0/Gemfile && bundle --quiet && bundle exec rake spec
|
18
|
+
else
|
19
|
+
export BUNDLE_GEMFILE=gemfiles/rails-6.0/Gemfile && bundle --quiet && bundle exec rspec $(SPEC)
|
20
|
+
endif
|
21
|
+
|
22
|
+
.PHONY: rails-6.1
|
23
|
+
rails-6.1:
|
24
|
+
ifeq ($(SPEC),)
|
25
|
+
export BUNDLE_GEMFILE=gemfiles/rails-6.1/Gemfile && bundle --quiet && bundle exec rake spec
|
26
|
+
else
|
27
|
+
export BUNDLE_GEMFILE=gemfiles/rails-6.1/Gemfile && bundle --quiet && bundle exec rspec $(SPEC)
|
28
|
+
endif
|
29
|
+
|
30
|
+
.PHONY: rails-7.0
|
31
|
+
rails-7.0:
|
8
32
|
ifeq ($(SPEC),)
|
9
|
-
export BUNDLE_GEMFILE=gemfiles/rails-
|
33
|
+
export BUNDLE_GEMFILE=gemfiles/rails-7.0/Gemfile && bundle --quiet && bundle exec rake spec
|
10
34
|
else
|
11
|
-
export BUNDLE_GEMFILE=gemfiles/rails-
|
35
|
+
export BUNDLE_GEMFILE=gemfiles/rails-7.0/Gemfile && bundle --quiet && bundle exec rspec $(SPEC)
|
12
36
|
endif
|
13
37
|
|
14
|
-
.PHONY:
|
15
|
-
|
38
|
+
.PHONY: rails-7.1
|
39
|
+
rails-7.1:
|
16
40
|
ifeq ($(SPEC),)
|
17
|
-
export BUNDLE_GEMFILE=gemfiles/rails-
|
41
|
+
export BUNDLE_GEMFILE=gemfiles/rails-7.1/Gemfile && bundle --quiet && bundle exec rake spec
|
18
42
|
else
|
19
|
-
export BUNDLE_GEMFILE=gemfiles/rails-
|
43
|
+
export BUNDLE_GEMFILE=gemfiles/rails-7.1/Gemfile && bundle --quiet && bundle exec rspec $(SPEC)
|
20
44
|
endif
|
21
45
|
|
22
|
-
.PHONY:
|
23
|
-
|
46
|
+
.PHONY: rails-main
|
47
|
+
rails-main:
|
24
48
|
ifeq ($(SPEC),)
|
25
|
-
export BUNDLE_GEMFILE=gemfiles/rails-
|
49
|
+
export BUNDLE_GEMFILE=gemfiles/rails-main/Gemfile && bundle --quiet && bundle exec rake spec
|
26
50
|
else
|
27
|
-
export BUNDLE_GEMFILE=gemfiles/rails-
|
51
|
+
export BUNDLE_GEMFILE=gemfiles/rails-main/Gemfile && bundle --quiet && bundle exec rspec $(SPEC)
|
28
52
|
endif
|
29
53
|
|
30
54
|
.PHONY: update
|
31
55
|
update:
|
32
|
-
export BUNDLE_GEMFILE=gemfiles/rails-6.0
|
33
|
-
export BUNDLE_GEMFILE=gemfiles/rails-6.1
|
34
|
-
export BUNDLE_GEMFILE=gemfiles/rails-7.0
|
35
|
-
export BUNDLE_GEMFILE=Gemfile
|
56
|
+
export BUNDLE_GEMFILE=gemfiles/rails-6.0/Gemfile && bundle update
|
57
|
+
export BUNDLE_GEMFILE=gemfiles/rails-6.1/Gemfile && bundle update
|
58
|
+
export BUNDLE_GEMFILE=gemfiles/rails-7.0/Gemfile && bundle update
|
59
|
+
export BUNDLE_GEMFILE=gemfiles/rails-7.1/Gemfile && bundle update
|
60
|
+
export BUNDLE_GEMFILE=gemfiles/rails-main/Gemfile && bundle update
|
61
|
+
export BUNDLE_GEMFILE=Gemfile && bundle update
|
36
62
|
|
37
63
|
.PHONY: rubocop
|
38
64
|
rubocop:
|
@@ -52,4 +78,7 @@ texd-docker:
|
|
52
78
|
-v $$(pwd)/tmp/jobs:/texd \
|
53
79
|
-v $$(pwd)/tmp/refs:/refs \
|
54
80
|
-u $$(id -u):$$(id -g) \
|
55
|
-
|
81
|
+
ghcr.io/digineo/texd \
|
82
|
+
--reference-store dir:///refs \
|
83
|
+
--retention-policy=purge-on-start \
|
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
|
219
|
-
develop/test against the bleeding edge, you can clone and
|
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.
|