texd 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 8adfd41b8474299e99aabf34619decaf04acd780093e53edeef3df4d7373dbe8
4
+ data.tar.gz: 817ea60570bfecc734cfc7ea4500401f136076d0d7cebf8b5d1a8e95b900eed6
5
+ SHA512:
6
+ metadata.gz: 5945f91f78c4d4b7386b5ea109a7306f24573223f1e9e6c5b2a4ce85d766b5564c0c2feb87d682e539560765ed12c65d7f316604ae45b325a2dfcbe1cdc61f76
7
+ data.tar.gz: 351d90cadc208506ddc33446dfd182e1a544b2f9cce1fa243d6316515e87d557bcbb759e112bf8f5c6daf2586288e66b9a7fafa70bb516f4567a8651b659a3f9
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,325 @@
1
+ AllCops:
2
+ DisplayCopNames: true
3
+ StyleGuideCopsOnly: false
4
+ TargetRubyVersion: 2.7
5
+ NewCops: enable
6
+
7
+ ## Layout Cops - https://docs.rubocop.org/rubocop/cops_layout.html
8
+
9
+ Layout/ArgumentAlignment:
10
+ EnforcedStyle: with_fixed_indentation
11
+ IndentationWidth: 2
12
+
13
+ Layout/CaseIndentation:
14
+ EnforcedStyle: end
15
+
16
+ Layout/EmptyLinesAroundArguments:
17
+ Enabled: false
18
+
19
+ Layout/EmptyLinesAroundAttributeAccessor:
20
+ Enabled: false
21
+
22
+ Layout/EndAlignment:
23
+ EnforcedStyleAlignWith: start_of_line
24
+
25
+ Layout/ExtraSpacing:
26
+ AllowBeforeTrailingComments: true
27
+ ForceEqualSignAlignment: true
28
+
29
+ Layout/FirstArrayElementIndentation:
30
+ EnforcedStyle: consistent
31
+
32
+ Layout/FirstHashElementIndentation:
33
+ EnforcedStyle: consistent
34
+
35
+ Layout/HashAlignment:
36
+ EnforcedColonStyle: table
37
+ EnforcedHashRocketStyle: table
38
+
39
+ Layout/LineLength:
40
+ Max: 120
41
+
42
+ Layout/MultilineMethodCallIndentation:
43
+ EnforcedStyle: indented
44
+ IndentationWidth: 2
45
+
46
+ Layout/SpaceAroundMethodCallOperator:
47
+ Enabled: true
48
+
49
+ Layout/SpaceBeforeBlockBraces:
50
+ EnforcedStyleForEmptyBraces: space
51
+
52
+ Layout/SpaceBeforeBrackets:
53
+ Enabled: true
54
+
55
+ Layout/SpaceInsideBlockBraces:
56
+ SpaceBeforeBlockParameters: true
57
+
58
+ ## Lint Cops - https://docs.rubocop.org/rubocop/cops_lint.html
59
+
60
+ Lint/DeprecatedConstants:
61
+ Enabled: true
62
+
63
+ Lint/LambdaWithoutLiteralBlock:
64
+ Enabled: true
65
+
66
+ Lint/RedundantDirGlobSort:
67
+ Enabled: false # this is only redundant in Ruby 3.0+
68
+
69
+ Lint/AmbiguousAssignment:
70
+ Enabled: true
71
+
72
+ Lint/DuplicateBranch:
73
+ Enabled: true
74
+
75
+ Lint/DuplicateRegexpCharacterClassElement:
76
+ Enabled: true
77
+
78
+ Lint/EmptyBlock:
79
+ Enabled: true
80
+ AllowComments: true
81
+ AllowEmptyLambdas: true # sometimes needed as fallback
82
+
83
+ Lint/EmptyClass:
84
+ Enabled: true
85
+
86
+ Lint/NoReturnInBeginEndBlocks:
87
+ Enabled: true
88
+
89
+ Lint/ToEnumArguments:
90
+ Enabled: true
91
+
92
+ Lint/UnexpectedBlockArity:
93
+ Enabled: true
94
+
95
+ Lint/UnmodifiedReduceAccumulator:
96
+ Enabled: true
97
+
98
+ Lint/BinaryOperatorWithIdenticalOperands:
99
+ Enabled: false # generates false positives
100
+
101
+ Lint/DeprecatedOpenSSLConstant:
102
+ Enabled: true
103
+
104
+ Lint/DuplicateElsifCondition:
105
+ Enabled: true
106
+
107
+ Lint/DuplicateRescueException:
108
+ Enabled: true
109
+
110
+ Lint/EmptyConditionalBody:
111
+ AllowComments: false
112
+ Enabled: true
113
+
114
+ Lint/FloatComparison:
115
+ Enabled: true
116
+
117
+ Lint/MissingSuper:
118
+ Enabled: true
119
+
120
+ Lint/MixedRegexpCaptureTypes:
121
+ Enabled: true
122
+
123
+ Lint/OutOfRangeRegexpRef:
124
+ Enabled: true
125
+
126
+ Lint/RaiseException:
127
+ Enabled: true
128
+
129
+ Lint/SelfAssignment:
130
+ Enabled: true
131
+
132
+ Lint/StructNewOverride:
133
+ Enabled: true
134
+
135
+ Lint/SuppressedException:
136
+ AllowComments: true
137
+
138
+ Lint/TopLevelReturnWithArgument:
139
+ Enabled: true
140
+
141
+ Lint/UnreachableLoop:
142
+ Enabled: true
143
+
144
+
145
+ ## Metrics Cops - https://docs.rubocop.org/rubocop/cops_metrics.html
146
+
147
+ Metrics/AbcSize:
148
+ Exclude:
149
+ - spec/**/*.rb
150
+
151
+ Metrics/BlockLength:
152
+ Exclude:
153
+ - "*.gemspec"
154
+ - spec/**/*.rb
155
+ - config/**/*.rb
156
+
157
+ Metrics/ModuleLength:
158
+ CountComments: false # count full line comments?
159
+
160
+ Metrics/ParameterLists:
161
+ Max: 6
162
+
163
+ Metrics/MethodLength:
164
+ Max: 20
165
+
166
+ ## Naming Cops - https://docs.rubocop.org/rubocop/cops_naming.html
167
+
168
+ Naming/AccessorMethodName:
169
+ Exclude:
170
+ - 'app/controllers/**/*.rb' # sigh, InheritedResources...
171
+
172
+ Naming/MemoizedInstanceVariableName:
173
+ Enabled: false
174
+
175
+ Naming/MethodParameterName:
176
+ AllowedNames: [io, id, db, ex]
177
+
178
+ Naming/RescuedExceptionsVariableName:
179
+ PreferredName: err
180
+
181
+ ## Style Cops - https://docs.rubocop.org/rubocop/cops_style.html
182
+
183
+ Style/EndlessMethod:
184
+ Enabled: true
185
+
186
+ Style/ArgumentsForwarding:
187
+ Enabled: true
188
+ AllowOnlyRestArgument: true
189
+
190
+ Style/CollectionCompact:
191
+ Enabled: true
192
+
193
+ Style/DocumentDynamicEvalDefinition:
194
+ Enabled: true
195
+
196
+ Style/HashExcept:
197
+ Enabled: true
198
+
199
+ Style/IfUnlessModifier:
200
+ Enabled: false # use best judgement, prefer readability over compactness
201
+
202
+ Style/NegatedIfElseCondition:
203
+ Enabled: true
204
+
205
+ Style/NilLambda:
206
+ Enabled: true
207
+
208
+ Style/RedundantArgument:
209
+ Enabled: false # does not make code clearer
210
+
211
+ Style/SwapValues:
212
+ Enabled: true
213
+
214
+ Style/AccessorGrouping:
215
+ Enabled: false
216
+
217
+ Style/ArrayCoercion:
218
+ Enabled: true
219
+
220
+ Style/AsciiComments:
221
+ Enabled: false
222
+
223
+ Style/BisectedAttrAccessor:
224
+ Enabled: true
225
+
226
+ Style/BlockDelimiters:
227
+ AllowBracesOnProceduralOneLiners: true
228
+ EnforcedStyle: semantic
229
+
230
+ Style/CaseLikeIf:
231
+ Enabled: true
232
+
233
+ Style/ClassAndModuleChildren:
234
+ Exclude:
235
+ - app/models/**/*.rb
236
+ - app/controllers/**/*.rb
237
+
238
+ Style/Documentation:
239
+ Enabled: false
240
+
241
+ Style/EmptyMethod:
242
+ EnforcedStyle: expanded
243
+
244
+ Style/ExplicitBlockArgument:
245
+ Enabled: true
246
+
247
+ Style/ExponentialNotation:
248
+ Enabled: true
249
+ EnforcedStyle: engineering
250
+
251
+ Style/FormatStringToken:
252
+ Enabled: false
253
+
254
+ Style/FrozenStringLiteralComment:
255
+ Enabled: true
256
+
257
+ Style/GlobalStdStream:
258
+ Enabled: true
259
+
260
+ Style/HashAsLastArrayItem:
261
+ Enabled: true
262
+
263
+ Style/HashEachMethods:
264
+ Enabled: true
265
+
266
+ Style/HashLikeCase:
267
+ Enabled: true
268
+
269
+ Style/HashTransformKeys:
270
+ Enabled: true
271
+
272
+ Style/HashTransformValues:
273
+ Enabled: true
274
+
275
+ Style/Lambda:
276
+ EnforcedStyle: literal
277
+
278
+ Style/ModuleFunction:
279
+ Enabled: false
280
+
281
+ Style/NumericPredicate:
282
+ Enabled: false
283
+
284
+ Style/OptionalBooleanParameter:
285
+ Enabled: true
286
+
287
+ Style/RedundantAssignment:
288
+ Enabled: true
289
+
290
+ Style/RedundantFetchBlock:
291
+ Enabled: true
292
+
293
+ Style/RedundantFileExtensionInRequire:
294
+ Enabled: true
295
+
296
+ Style/RedundantRegexpCharacterClass:
297
+ Enabled: true
298
+
299
+ Style/RedundantRegexpEscape:
300
+ Enabled: true
301
+
302
+ Style/RescueModifier:
303
+ Enabled: false
304
+
305
+ Style/SingleArgumentDig:
306
+ Enabled: true
307
+
308
+ Style/SlicingWithRange:
309
+ Enabled: true
310
+
311
+ Style/StringConcatenation:
312
+ Enabled: true
313
+
314
+ Style/StringLiterals:
315
+ EnforcedStyle: double_quotes
316
+
317
+ Style/TrailingCommaInArguments:
318
+ EnforcedStyleForMultiline: comma
319
+
320
+ Style/TrailingCommaInArrayLiteral:
321
+ EnforcedStyleForMultiline: comma
322
+
323
+ Style/TrailingCommaInHashLiteral:
324
+ EnforcedStyleForMultiline: comma
325
+
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2022-03-14
4
+
5
+ - Initial release
data/Gemfile ADDED
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+ gemspec
5
+
6
+ gem "pry-byebug"
7
+ gem "rails", "~> 7.0"
8
+
9
+ gem "yard", group: :docs
10
+
11
+ group :development do
12
+ gem "rubocop"
13
+ gem "rubocop-rails"
14
+ gem "rubocop-rake"
15
+ gem "rubocop-rspec"
16
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,238 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ texd (0.1.0)
5
+ multipart-post (~> 2.0)
6
+ rails (>= 6.0, < 8)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (7.0.2.3)
12
+ actionpack (= 7.0.2.3)
13
+ activesupport (= 7.0.2.3)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ actionmailbox (7.0.2.3)
17
+ actionpack (= 7.0.2.3)
18
+ activejob (= 7.0.2.3)
19
+ activerecord (= 7.0.2.3)
20
+ activestorage (= 7.0.2.3)
21
+ activesupport (= 7.0.2.3)
22
+ mail (>= 2.7.1)
23
+ net-imap
24
+ net-pop
25
+ net-smtp
26
+ actionmailer (7.0.2.3)
27
+ actionpack (= 7.0.2.3)
28
+ actionview (= 7.0.2.3)
29
+ activejob (= 7.0.2.3)
30
+ activesupport (= 7.0.2.3)
31
+ mail (~> 2.5, >= 2.5.4)
32
+ net-imap
33
+ net-pop
34
+ net-smtp
35
+ rails-dom-testing (~> 2.0)
36
+ actionpack (7.0.2.3)
37
+ actionview (= 7.0.2.3)
38
+ activesupport (= 7.0.2.3)
39
+ rack (~> 2.0, >= 2.2.0)
40
+ rack-test (>= 0.6.3)
41
+ rails-dom-testing (~> 2.0)
42
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
43
+ actiontext (7.0.2.3)
44
+ actionpack (= 7.0.2.3)
45
+ activerecord (= 7.0.2.3)
46
+ activestorage (= 7.0.2.3)
47
+ activesupport (= 7.0.2.3)
48
+ globalid (>= 0.6.0)
49
+ nokogiri (>= 1.8.5)
50
+ actionview (7.0.2.3)
51
+ activesupport (= 7.0.2.3)
52
+ 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.2.3)
57
+ activesupport (= 7.0.2.3)
58
+ globalid (>= 0.3.6)
59
+ activemodel (7.0.2.3)
60
+ activesupport (= 7.0.2.3)
61
+ activerecord (7.0.2.3)
62
+ activemodel (= 7.0.2.3)
63
+ activesupport (= 7.0.2.3)
64
+ activestorage (7.0.2.3)
65
+ actionpack (= 7.0.2.3)
66
+ activejob (= 7.0.2.3)
67
+ activerecord (= 7.0.2.3)
68
+ activesupport (= 7.0.2.3)
69
+ marcel (~> 1.0)
70
+ mini_mime (>= 1.1.0)
71
+ activesupport (7.0.2.3)
72
+ concurrent-ruby (~> 1.0, >= 1.0.2)
73
+ i18n (>= 1.6, < 2)
74
+ minitest (>= 5.1)
75
+ tzinfo (~> 2.0)
76
+ ast (2.4.2)
77
+ builder (3.2.4)
78
+ byebug (11.1.3)
79
+ coderay (1.1.3)
80
+ combustion (1.3.5)
81
+ activesupport (>= 3.0.0)
82
+ railties (>= 3.0.0)
83
+ thor (>= 0.14.6)
84
+ concurrent-ruby (1.1.9)
85
+ crass (1.0.6)
86
+ diff-lcs (1.5.0)
87
+ digest (3.1.0)
88
+ erubi (1.10.0)
89
+ globalid (1.0.0)
90
+ activesupport (>= 5.0)
91
+ i18n (1.10.0)
92
+ concurrent-ruby (~> 1.0)
93
+ io-wait (0.2.1)
94
+ loofah (2.15.0)
95
+ crass (~> 1.0.2)
96
+ nokogiri (>= 1.5.9)
97
+ mail (2.7.1)
98
+ mini_mime (>= 0.1.1)
99
+ marcel (1.0.2)
100
+ method_source (1.0.0)
101
+ mini_mime (1.1.2)
102
+ minitest (5.15.0)
103
+ multipart-post (2.1.1)
104
+ net-imap (0.2.3)
105
+ digest
106
+ net-protocol
107
+ strscan
108
+ net-pop (0.1.1)
109
+ digest
110
+ net-protocol
111
+ timeout
112
+ net-protocol (0.1.2)
113
+ io-wait
114
+ timeout
115
+ net-smtp (0.3.1)
116
+ digest
117
+ net-protocol
118
+ timeout
119
+ nio4r (2.5.8)
120
+ nokogiri (1.13.3-x86_64-linux)
121
+ racc (~> 1.4)
122
+ parallel (1.22.0)
123
+ parser (3.1.1.0)
124
+ ast (~> 2.4.1)
125
+ pry (0.13.1)
126
+ coderay (~> 1.1)
127
+ method_source (~> 1.0)
128
+ pry-byebug (3.9.0)
129
+ byebug (~> 11.0)
130
+ pry (~> 0.13.0)
131
+ racc (1.6.0)
132
+ rack (2.2.3)
133
+ rack-test (1.1.0)
134
+ rack (>= 1.0, < 3)
135
+ rails (7.0.2.3)
136
+ actioncable (= 7.0.2.3)
137
+ actionmailbox (= 7.0.2.3)
138
+ actionmailer (= 7.0.2.3)
139
+ actionpack (= 7.0.2.3)
140
+ actiontext (= 7.0.2.3)
141
+ actionview (= 7.0.2.3)
142
+ activejob (= 7.0.2.3)
143
+ activemodel (= 7.0.2.3)
144
+ activerecord (= 7.0.2.3)
145
+ activestorage (= 7.0.2.3)
146
+ activesupport (= 7.0.2.3)
147
+ bundler (>= 1.15.0)
148
+ railties (= 7.0.2.3)
149
+ rails-dom-testing (2.0.3)
150
+ activesupport (>= 4.2.0)
151
+ nokogiri (>= 1.6)
152
+ rails-html-sanitizer (1.4.2)
153
+ loofah (~> 2.3)
154
+ railties (7.0.2.3)
155
+ actionpack (= 7.0.2.3)
156
+ activesupport (= 7.0.2.3)
157
+ method_source
158
+ rake (>= 12.2)
159
+ thor (~> 1.0)
160
+ zeitwerk (~> 2.5)
161
+ rainbow (3.1.1)
162
+ rake (13.0.6)
163
+ regexp_parser (2.2.1)
164
+ rexml (3.2.5)
165
+ rspec (3.11.0)
166
+ rspec-core (~> 3.11.0)
167
+ rspec-expectations (~> 3.11.0)
168
+ rspec-mocks (~> 3.11.0)
169
+ rspec-core (3.11.0)
170
+ rspec-support (~> 3.11.0)
171
+ rspec-expectations (3.11.0)
172
+ diff-lcs (>= 1.2.0, < 2.0)
173
+ rspec-support (~> 3.11.0)
174
+ rspec-mocks (3.11.0)
175
+ diff-lcs (>= 1.2.0, < 2.0)
176
+ rspec-support (~> 3.11.0)
177
+ rspec-rails (5.1.1)
178
+ actionpack (>= 5.2)
179
+ activesupport (>= 5.2)
180
+ railties (>= 5.2)
181
+ rspec-core (~> 3.10)
182
+ rspec-expectations (~> 3.10)
183
+ rspec-mocks (~> 3.10)
184
+ rspec-support (~> 3.10)
185
+ rspec-support (3.11.0)
186
+ rubocop (1.26.0)
187
+ parallel (~> 1.10)
188
+ parser (>= 3.1.0.0)
189
+ rainbow (>= 2.2.2, < 4.0)
190
+ regexp_parser (>= 1.8, < 3.0)
191
+ rexml
192
+ rubocop-ast (>= 1.16.0, < 2.0)
193
+ ruby-progressbar (~> 1.7)
194
+ unicode-display_width (>= 1.4.0, < 3.0)
195
+ rubocop-ast (1.16.0)
196
+ parser (>= 3.1.1.0)
197
+ rubocop-rails (2.14.2)
198
+ activesupport (>= 4.2.0)
199
+ rack (>= 1.1)
200
+ rubocop (>= 1.7.0, < 2.0)
201
+ rubocop-rake (0.6.0)
202
+ rubocop (~> 1.0)
203
+ rubocop-rspec (2.9.0)
204
+ rubocop (~> 1.19)
205
+ ruby-progressbar (1.11.0)
206
+ strscan (3.0.1)
207
+ thor (1.2.1)
208
+ timeout (0.2.0)
209
+ tzinfo (2.0.4)
210
+ concurrent-ruby (~> 1.0)
211
+ unicode-display_width (2.1.0)
212
+ webrick (1.7.0)
213
+ websocket-driver (0.7.5)
214
+ websocket-extensions (>= 0.1.0)
215
+ websocket-extensions (0.1.5)
216
+ yard (0.9.27)
217
+ webrick (~> 1.7.0)
218
+ zeitwerk (2.5.4)
219
+
220
+ PLATFORMS
221
+ x86_64-linux
222
+
223
+ DEPENDENCIES
224
+ combustion
225
+ pry-byebug
226
+ rails (~> 7.0)
227
+ rake (~> 13.0)
228
+ rspec (~> 3.0)
229
+ rspec-rails
230
+ rubocop
231
+ rubocop-rails
232
+ rubocop-rake
233
+ rubocop-rspec
234
+ texd!
235
+ yard
236
+
237
+ BUNDLED WITH
238
+ 2.3.9
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2022, Dominik Menke
4
+ Copyright (c) 2010-2015, Geoff Jacobsen, Jan Baier and contributors
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
data/Makefile ADDED
@@ -0,0 +1,54 @@
1
+ SPEC =
2
+
3
+ .PHONY: test
4
+ test: rails60 rails61 rails70 rubocop
5
+
6
+ .PHONY: rails60
7
+ rails60:
8
+ ifeq ($(SPEC),)
9
+ export BUNDLE_GEMFILE=gemfiles/rails-6.0 && bundle --quiet && bundle exec rake spec
10
+ else
11
+ export BUNDLE_GEMFILE=gemfiles/rails-6.0 && bundle --quiet && bundle exec rspec $(SPEC)
12
+ endif
13
+
14
+ .PHONY: rails61
15
+ rails61:
16
+ ifeq ($(SPEC),)
17
+ export BUNDLE_GEMFILE=gemfiles/rails-6.1 && bundle --quiet && bundle exec rake spec
18
+ else
19
+ export BUNDLE_GEMFILE=gemfiles/rails-6.1 && bundle --quiet && bundle exec rspec $(SPEC)
20
+ endif
21
+
22
+ .PHONY: rails70
23
+ rails70:
24
+ ifeq ($(SPEC),)
25
+ export BUNDLE_GEMFILE=gemfiles/rails-7.0 && bundle --quiet && bundle exec rake spec
26
+ else
27
+ export BUNDLE_GEMFILE=gemfiles/rails-7.0 && bundle --quiet && bundle exec rspec $(SPEC)
28
+ endif
29
+
30
+ .PHONY: update
31
+ update:
32
+ export BUNDLE_GEMFILE=gemfiles/rails-6.0 && bundle update
33
+ export BUNDLE_GEMFILE=gemfiles/rails-6.1 && bundle update
34
+ export BUNDLE_GEMFILE=gemfiles/rails-7.0 && bundle update
35
+ export BUNDLE_GEMFILE=Gemfile && bundle update
36
+
37
+ .PHONY: rubocop
38
+ rubocop:
39
+ export BUNDLE_GEMFILE=Gemfile && bundle --quiet && bundle exec rake rubocop:auto_correct
40
+
41
+ .PHONY: docs
42
+ docs:
43
+ export BUNDLE_GEMFILE=Gemfile && bundle --quiet && bundle exec yard doc --markup markdown 'lib/**/*.rb' - README.md CHANGELOG.md LICENSE
44
+
45
+ .PHONY: texd-docker
46
+ texd-docker:
47
+ mkdir -p tmp/jobs tmp/refs
48
+ docker run --rm \
49
+ --name texd-dev \
50
+ -p 127.0.0.1:2201:2201 \
51
+ -v $$(pwd)/tmp/jobs:/texd \
52
+ -v $$(pwd)/tmp/refs:/refs \
53
+ --user=$(id -u):$(id -g) \
54
+ digineode/texd --reference-store dir:///refs