nanoc-external 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.md +6 -0
- data/README.md +1 -1
- data/lib/nanoc/external/filter.rb +2 -5
- data/lib/nanoc/external/version.rb +1 -1
- metadata +15 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3f6b1c534100b134239172150dae874fc848a1f961b80270426c21ae8e57f1e
|
4
|
+
data.tar.gz: d8a409bae916ddd4c7cd83d2dba4d25b0e70d316814158389cec1ba3077aac76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a8beae7ae66e4d021388b8edbba6940ea0415ed9b2d9abc163f987e71a0ba7aeb4ecb40f3de07d7a87115aa553076868dee283544877960d173a63155e4fe73
|
7
|
+
data.tar.gz: c05270f8fdafb6faea1f62d58de562021bb7af476796dde2798d3e5f01e1596a639208d005caf480b9f26c8d3a7ad26af10c348d606daac59f002478e00b7a63
|
data/NEWS.md
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# nanoc-external
|
2
2
|
|
3
|
-
This provides a filter that allows [Nanoc](
|
3
|
+
This provides a filter that allows [Nanoc](https://nanoc.ws) to process content by executing an external program.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -8,11 +8,8 @@ module Nanoc::External
|
|
8
8
|
cmd = params.fetch(:exec)
|
9
9
|
opts = params.fetch(:options, [])
|
10
10
|
|
11
|
-
|
12
|
-
|
13
|
-
piper = Nanoc::Extra::Piper.new(stdout: out, stderr: $stderr)
|
14
|
-
piper.run(cmd_with_opts, content)
|
15
|
-
out.string
|
11
|
+
command = TTY::Command.new(printer: :null)
|
12
|
+
command.run(cmd, *opts, input: content).out
|
16
13
|
end
|
17
14
|
end
|
18
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nanoc-external
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Defreyne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nanoc
|
@@ -16,15 +16,21 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '4.
|
19
|
+
version: '4.11'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 4.11.3
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - "~>"
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: '4.
|
27
|
-
|
29
|
+
version: '4.11'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 4.11.3
|
33
|
+
description: Provides an :external filter for Nanoc
|
28
34
|
email: denis+rubygems@denis.ws
|
29
35
|
executables: []
|
30
36
|
extensions: []
|
@@ -36,7 +42,7 @@ files:
|
|
36
42
|
- lib/nanoc/external.rb
|
37
43
|
- lib/nanoc/external/filter.rb
|
38
44
|
- lib/nanoc/external/version.rb
|
39
|
-
homepage:
|
45
|
+
homepage: https://nanoc.ws/
|
40
46
|
licenses:
|
41
47
|
- MIT
|
42
48
|
metadata: {}
|
@@ -48,16 +54,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
48
54
|
requirements:
|
49
55
|
- - "~>"
|
50
56
|
- !ruby/object:Gem::Version
|
51
|
-
version: '2.
|
57
|
+
version: '2.4'
|
52
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
53
59
|
requirements:
|
54
60
|
- - ">="
|
55
61
|
- !ruby/object:Gem::Version
|
56
62
|
version: '0'
|
57
63
|
requirements: []
|
58
|
-
|
59
|
-
rubygems_version: 2.7.3
|
64
|
+
rubygems_version: 3.0.3
|
60
65
|
signing_key:
|
61
66
|
specification_version: 4
|
62
|
-
summary: External filter for
|
67
|
+
summary: External filter for Nanoc
|
63
68
|
test_files: []
|