nanoc-tidy.rb 0.8.4 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/lib/nanoc/tidy/spawn.rb +1 -1
- data/lib/nanoc/tidy/version.rb +1 -1
- data/nanoc-tidy.rb.gemspec +1 -0
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1b088226ab17e11139aff7a61e1a3ffede89fd67de030bb8c3165ffd1ec3189
|
4
|
+
data.tar.gz: 91ba5223fa942e74ffcd1bdc6874f77d657ecec66e6358de49542e18f169c390
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f743d376237d37d982444571282730729787bba9b193d467f399e9151c25d449de5ff0f14c824bebcc5caad6f8348b53e8d481c2fb7f76352cf245eae94b1cab
|
7
|
+
data.tar.gz: 04b7aca2d373c2ad1d4d534ae57f2e353e30e05a75b0db39c8adf613cfc8c1350845c424d63ef27258440a4135b0b80f86417fd485ac145ec9ae9250723f24c8
|
data/README.md
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
nanoc-tidy.rb is a
|
4
4
|
[nanoc](https://nanoc.app)
|
5
|
-
filter that
|
5
|
+
filter that adds
|
6
6
|
[tidy-html5](https://github.com/htacg/tidy-html5)
|
7
|
-
|
7
|
+
support to nanoc. <br>
|
8
8
|
The filter can format and validate HTML produced
|
9
9
|
during the
|
10
10
|
[nanoc](https://nanoc.app)
|
@@ -31,9 +31,11 @@ end
|
|
31
31
|
|
32
32
|
__Option: argv__
|
33
33
|
|
34
|
-
The
|
35
|
-
|
36
|
-
[Nanoc::Tidy.default_argv](https://0x1eef.github.io/x/nanoc-tidy.rb/Nanoc/Tidy/Filter#default_argv-class_method)
|
34
|
+
The argv option forwards command line arguments directly to
|
35
|
+
the tidy-html5 executable. <br>
|
36
|
+
[Nanoc::Tidy.default_argv](https://0x1eef.github.io/x/nanoc-tidy.rb/Nanoc/Tidy/Filter#default_argv-class_method)
|
37
|
+
returns the default command line arguments forwarded to
|
38
|
+
tidy-html5:
|
37
39
|
|
38
40
|
```ruby
|
39
41
|
# Rules
|
@@ -65,8 +67,6 @@ end
|
|
65
67
|
|
66
68
|
## Install
|
67
69
|
|
68
|
-
**Rubygems.org**
|
69
|
-
|
70
70
|
nanoc-tidy.rb can be installed via rubygems.org:
|
71
71
|
|
72
72
|
gem install nanoc-tidy.rb
|
data/lib/nanoc/tidy/spawn.rb
CHANGED
@@ -24,7 +24,7 @@ module Nanoc::Tidy
|
|
24
24
|
# * 1: has warnings
|
25
25
|
# * 2: has errors
|
26
26
|
if r.not_found?
|
27
|
-
raise Nanoc::Tidy::Error, "The
|
27
|
+
raise Nanoc::Tidy::Error, "The tidy executable was not found"
|
28
28
|
elsif [0, 1].include?(r.exit_status)
|
29
29
|
r.exit_status
|
30
30
|
else
|
data/lib/nanoc/tidy/version.rb
CHANGED
data/nanoc-tidy.rb.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nanoc-tidy.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- '0x1eef'
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ryo.rb
|
@@ -150,6 +150,20 @@ dependencies:
|
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0.6'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rake
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '13.2'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - "~>"
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '13.2'
|
153
167
|
description: nanoc-tidy.rb = nanoc + tidy-html5
|
154
168
|
email:
|
155
169
|
- 0x1eef@protonmail.com
|
@@ -191,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
205
|
- !ruby/object:Gem::Version
|
192
206
|
version: '0'
|
193
207
|
requirements: []
|
194
|
-
rubygems_version: 3.5.
|
208
|
+
rubygems_version: 3.5.13
|
195
209
|
signing_key:
|
196
210
|
specification_version: 4
|
197
211
|
summary: nanoc-tidy.rb = nanoc + tidy-html5
|