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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75a424457999e15e194c8f3554ee093a6c167b43b6e92e8d278761581b223a5c
4
- data.tar.gz: 7df3dceb9b56809423b686cabed730e7364b9969a631d16f607360814393b34b
3
+ metadata.gz: e1b088226ab17e11139aff7a61e1a3ffede89fd67de030bb8c3165ffd1ec3189
4
+ data.tar.gz: 91ba5223fa942e74ffcd1bdc6874f77d657ecec66e6358de49542e18f169c390
5
5
  SHA512:
6
- metadata.gz: 99d9987e8a238e0f4d296b63c279e407affd095554e4cd70298ebe4b0e1938654ba66647b5d23ab59d5bdb3f645349315f0d58172f6c563610949dab630b348e
7
- data.tar.gz: c9af1e3c5fa769f91da03968b73ad28daba8d42af491ae1489d9693af3bfdeb8233a2d0a4e7d7adb54daf011fb11958c455db2d00dce34104b7abaf25797cd2a
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 integrates
5
+ filter that adds
6
6
  [tidy-html5](https://github.com/htacg/tidy-html5)
7
- into nanoc. <br>
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 following example sets the "argv" filter option. <br>
35
- The filter option is combined with
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
@@ -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 #{exe} executable was not found"
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Nanoc
4
4
  module Tidy
5
- VERSION = "0.8.4"
5
+ VERSION = "0.8.5"
6
6
  end
7
7
  end
@@ -22,4 +22,5 @@ Gem::Specification.new do |gem|
22
22
  gem.add_development_dependency "rack", "~> 3.0"
23
23
  gem.add_development_dependency "rackup", "~> 2.1"
24
24
  gem.add_development_dependency "ostruct", "~> 0.6"
25
+ gem.add_development_dependency "rake", "~> 13.2"
25
26
  end
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
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-06-16 00:00:00.000000000 Z
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.9
208
+ rubygems_version: 3.5.13
195
209
  signing_key:
196
210
  specification_version: 4
197
211
  summary: nanoc-tidy.rb = nanoc + tidy-html5