tumugi-plugin-command 0.2.0 → 0.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 47b810036e967cf0ad6a2795e3efc71810abdc3f
4
- data.tar.gz: 36f55157bb7f102641938b3ca4db09e54bd1c9d9
3
+ metadata.gz: d96331d046ef0a2f8aeb41e37ab84970fc2b7725
4
+ data.tar.gz: 7925544f7541d3d3821e181c4bdc7e6f1a131a48
5
5
  SHA512:
6
- metadata.gz: ea299503fd6b14c81ddaab604278413e4a7194d4106a4e00dc07479bf13d8e9d7a5e7171be1d87fe9a787e528cff0977b9ffadf8a051108cd024d444bc98075e
7
- data.tar.gz: c0d2175c8fa2c41f02225ac73e1b367ddb5b8d91ec3bbca5019e6bb4d1a7a5476002085002a32928ca62efa647588bd7797fef2aaea9a6dc96a2ae296d207bb2
6
+ metadata.gz: 485f71c81238963e54d7062775650dab54abfb9c56a79e0ae9657cce9f8cd9088d0e16beed953c1798a7b5be0951edd0acee2f4f747db47885bba02336c74371
7
+ data.tar.gz: bdc6ca60570af1516fbef103ea2ce087059a3c9e5aec58c7c30495aa974d06473fbf8a8771b9a0336ce6c6ecf0ca7bba619e381012e634e7a964549803d6e0b9
data/CHANGELOG.md CHANGED
@@ -1,7 +1,14 @@
1
1
  # Change Log
2
2
 
3
- ## [0.2.0](https://github.com/tumugi/tumugi-plugin-command/tree/0.2.0) (2016-06-04)
4
- [Full Changelog](https://github.com/tumugi/tumugi-plugin-command/compare/v0.1.0...0.2.0)
3
+ ## [0.2.1](https://github.com/tumugi/tumugi-plugin-command/tree/0.2.1) (2016-06-06)
4
+ [Full Changelog](https://github.com/tumugi/tumugi-plugin-command/compare/v0.2.0...0.2.1)
5
+
6
+ **Merged pull requests:**
7
+
8
+ - Cache output [\#8](https://github.com/tumugi/tumugi-plugin-command/pull/8) ([hakobera](https://github.com/hakobera))
9
+
10
+ ## [v0.2.0](https://github.com/tumugi/tumugi-plugin-command/tree/v0.2.0) (2016-06-04)
11
+ [Full Changelog](https://github.com/tumugi/tumugi-plugin-command/compare/v0.1.0...v0.2.0)
5
12
 
6
13
  **Closed issues:**
7
14
 
@@ -9,10 +16,11 @@
9
16
 
10
17
  **Merged pull requests:**
11
18
 
12
- - Change tumugi version dependency for future release [\#6](https://github.com/tumugi/tumugi-plugin-command/pull/6) ([hakobera](https://github.com/hakobera))
13
- - Support env param [\#5](https://github.com/tumugi/tumugi-plugin-command/pull/5) ([hakobera](https://github.com/hakobera))
19
+ - Update changelog [\#7](https://github.com/tumugi/tumugi-plugin-command/pull/7) ([hakobera](https://github.com/hakobera))
14
20
  - Use Thor's invoke instead of system [\#3](https://github.com/tumugi/tumugi-plugin-command/pull/3) ([hakobera](https://github.com/hakobera))
15
21
  - Prepare release for v0.2.0 [\#2](https://github.com/tumugi/tumugi-plugin-command/pull/2) ([hakobera](https://github.com/hakobera))
22
+ - Change tumugi version dependency for future release [\#6](https://github.com/tumugi/tumugi-plugin-command/pull/6) ([hakobera](https://github.com/hakobera))
23
+ - Support env param [\#5](https://github.com/tumugi/tumugi-plugin-command/pull/5) ([hakobera](https://github.com/hakobera))
16
24
  - Update tumugi to v0.5.0 [\#1](https://github.com/tumugi/tumugi-plugin-command/pull/1) ([hakobera](https://github.com/hakobera))
17
25
 
18
26
  ## [v0.1.0](https://github.com/tumugi/tumugi-plugin-command/tree/v0.1.0) (2016-05-17)
@@ -1,7 +1,7 @@
1
1
  module Tumugi
2
2
  module Plugin
3
3
  module Command
4
- VERSION = "0.2.0"
4
+ VERSION = "0.2.1"
5
5
  end
6
6
  end
7
7
  end
@@ -16,7 +16,7 @@ module Tumugi
16
16
 
17
17
  def output
18
18
  unless output_file.nil?
19
- Tumugi::Plugin::LocalFileTarget.new(output_file)
19
+ @output ||= Tumugi::Plugin::LocalFileTarget.new(output_file)
20
20
  else
21
21
  nil
22
22
  end
@@ -35,8 +35,8 @@ module Tumugi
35
35
 
36
36
  if status.exitstatus == 0
37
37
  if output_file && _output
38
- log "Save STDOUT into #{_output.path}"
39
- _output.open('w') do |f|
38
+ log "Save STDOUT into #{output.path}"
39
+ output.open('w') do |f|
40
40
  f.print(out)
41
41
  end
42
42
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tumugi-plugin-command
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kazuyuki Honda
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-04 00:00:00.000000000 Z
11
+ date: 2016-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tumugi