nanoc-external 1.0.3 → 1.0.4

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: f3f6b1c534100b134239172150dae874fc848a1f961b80270426c21ae8e57f1e
4
- data.tar.gz: d8a409bae916ddd4c7cd83d2dba4d25b0e70d316814158389cec1ba3077aac76
3
+ metadata.gz: '049a777f7ca72efd1fd09087670fbd579a93162f2d907f160c54b3c1997824ac'
4
+ data.tar.gz: b2e19796f8c8725a9ca3d94e3eec8f252fcb3ed4698d291af692c4f1b8a1048f
5
5
  SHA512:
6
- metadata.gz: 0a8beae7ae66e4d021388b8edbba6940ea0415ed9b2d9abc163f987e71a0ba7aeb4ecb40f3de07d7a87115aa553076868dee283544877960d173a63155e4fe73
7
- data.tar.gz: c05270f8fdafb6faea1f62d58de562021bb7af476796dde2798d3e5f01e1596a639208d005caf480b9f26c8d3a7ad26af10c348d606daac59f002478e00b7a63
6
+ metadata.gz: 3cdda9607fbb01d71358655a5ec035ca8e8fe98f6255299ca4f7dd7e0399b74ef545cd61e17f41ef4f07c6b775662e2677de7714c11a915477d4e758db00b59e
7
+ data.tar.gz: 856b23c541b23eb0b3b347e3d0f5796476370ebda9402e58a3a3547fb3d066d478bc75bc227b9c11767afc7c97b003ff521372d516358745d5b6f1a19546049b
data/NEWS.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # nanoc-external news
2
2
 
3
+ ## 1.0.4 (2020-03-07)
4
+
5
+ Fixes:
6
+
7
+ * Restored compatibility with Nanoc 4.11.14.
8
+
3
9
  ## 1.0.3 (2019-04-28)
4
10
 
5
11
  Fixes:
@@ -1,15 +1,17 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- module Nanoc::External
4
- class Filter < Nanoc::Filter
5
- identifier :external
3
+ module Nanoc
4
+ module External
5
+ class Filter < Nanoc::Filter
6
+ identifier :external
6
7
 
7
- def run(content, params = {})
8
- cmd = params.fetch(:exec)
9
- opts = params.fetch(:options, [])
8
+ def run(content, params = {})
9
+ cmd = params.fetch(:exec)
10
+ opts = params.fetch(:options, [])
10
11
 
11
- command = TTY::Command.new(printer: :null)
12
- command.run(cmd, *opts, input: content).out
12
+ command = TTY::Command.new(printer: :null)
13
+ command.run(cmd, *opts, input: content).out
14
+ end
13
15
  end
14
16
  end
15
17
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Nanoc
4
4
  module External
5
- VERSION = '1.0.3'
5
+ VERSION = '1.0.4'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc-external
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Defreyne
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-28 00:00:00.000000000 Z
11
+ date: 2020-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: nanoc
14
+ name: nanoc-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '4.11'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 4.11.3
22
+ version: 4.11.14
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '4.11'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 4.11.3
32
+ version: 4.11.14
33
33
  description: Provides an :external filter for Nanoc
34
34
  email: denis+rubygems@denis.ws
35
35
  executables: []
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  requirements: []
64
- rubygems_version: 3.0.3
64
+ rubygems_version: 3.1.2
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: External filter for Nanoc