tumugi-plugin-command 0.1.0 → 0.2.0

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
  SHA1:
3
- metadata.gz: c9b4591bbbf87266be270751214404f6a471c08a
4
- data.tar.gz: f699a5e914c3b1d54afc23b28da9114960dfb239
3
+ metadata.gz: 47b810036e967cf0ad6a2795e3efc71810abdc3f
4
+ data.tar.gz: 36f55157bb7f102641938b3ca4db09e54bd1c9d9
5
5
  SHA512:
6
- metadata.gz: a2bd5c5872f9815d00504c269dd7fc362f92e5b5169dfd32afa8eccf769c90606fe0d34386fbaeb8455f33b346a12340c4a64f69f6ac0cce97f67ea6435860f7
7
- data.tar.gz: f02742e92853b41027b5974c0086d9a324f7a77051a6af1de6b5210d934e1c82fc8722a49cc77c5e031c58eef1ceeb80ef1adf23da0fbe0338b5bcca9731003a
6
+ metadata.gz: ea299503fd6b14c81ddaab604278413e4a7194d4106a4e00dc07479bf13d8e9d7a5e7171be1d87fe9a787e528cff0977b9ffadf8a051108cd024d444bc98075e
7
+ data.tar.gz: c0d2175c8fa2c41f02225ac73e1b367ddb5b8d91ec3bbca5019e6bb4d1a7a5476002085002a32928ca62efa647588bd7797fef2aaea9a6dc96a2ae296d207bb2
data/.travis.yml CHANGED
@@ -1,13 +1,8 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  rvm:
4
- - 2.1.10
5
- - 2.2.5
4
+ - 2.1
6
5
  - 2.3.1
7
- - ruby-head
8
- - jruby-9.0.5.0
6
+ - jruby-9.1.2.0
9
7
  before_install:
10
8
  - gem install bundler
11
- matrix:
12
- allow_failures:
13
- - rvm: ruby-head
data/CHANGELOG.md ADDED
@@ -0,0 +1,21 @@
1
+ # Change Log
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)
5
+
6
+ **Closed issues:**
7
+
8
+ - Support env param [\#4](https://github.com/tumugi/tumugi-plugin-command/issues/4)
9
+
10
+ **Merged pull requests:**
11
+
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))
14
+ - Use Thor's invoke instead of system [\#3](https://github.com/tumugi/tumugi-plugin-command/pull/3) ([hakobera](https://github.com/hakobera))
15
+ - Prepare release for v0.2.0 [\#2](https://github.com/tumugi/tumugi-plugin-command/pull/2) ([hakobera](https://github.com/hakobera))
16
+ - Update tumugi to v0.5.0 [\#1](https://github.com/tumugi/tumugi-plugin-command/pull/1) ([hakobera](https://github.com/hakobera))
17
+
18
+ ## [v0.1.0](https://github.com/tumugi/tumugi-plugin-command/tree/v0.1.0) (2016-05-17)
19
+
20
+
21
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
@@ -1,7 +1,7 @@
1
1
  module Tumugi
2
2
  module Plugin
3
3
  module Command
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
6
6
  end
7
7
  end
@@ -12,6 +12,7 @@ module Tumugi
12
12
 
13
13
  param :command, type: :string, required: true
14
14
  param :output_file, type: :string
15
+ param :env, type: :hash, default: {}
15
16
 
16
17
  def output
17
18
  unless output_file.nil?
@@ -24,7 +25,7 @@ module Tumugi
24
25
  def run
25
26
  log "Execute command: #{command}"
26
27
  begin
27
- out, err, status = Open3.capture3(*Shellwords.split(command))
28
+ out, err, status = Open3.capture3(env, *Shellwords.split(command))
28
29
  rescue => e
29
30
  raise Tumugi::TumugiError, e.message
30
31
  end
@@ -20,11 +20,12 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.add_runtime_dependency "tumugi", "~> 0.4.5"
23
+ spec.add_runtime_dependency "tumugi", ">= 0.5.0"
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 1.11"
26
26
  spec.add_development_dependency "rake", "~> 10.0"
27
27
  spec.add_development_dependency "test-unit", "~> 3.1"
28
28
  spec.add_development_dependency "test-unit-rr"
29
29
  spec.add_development_dependency 'coveralls'
30
+ spec.add_development_dependency 'github_changelog_generator'
30
31
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tumugi-plugin-command
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
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-05-17 00:00:00.000000000 Z
11
+ date: 2016-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tumugi
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.4.5
19
+ version: 0.5.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.4.5
26
+ version: 0.5.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: github_changelog_generator
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  description:
98
112
  email:
99
113
  - hakobera@gmail.com
@@ -103,6 +117,7 @@ extra_rdoc_files: []
103
117
  files:
104
118
  - ".gitignore"
105
119
  - ".travis.yml"
120
+ - CHANGELOG.md
106
121
  - Gemfile
107
122
  - README.md
108
123
  - Rakefile