itamae 1.0.1 → 1.0.2

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: af45ece275b6592d10d5f8755f7fe35aa1e71eb2
4
- data.tar.gz: 80b922edd5d33cc0aa0dcc54cc2c59279556a567
3
+ metadata.gz: ed74bf1092b5988cf06137ddd21a41676c75f67c
4
+ data.tar.gz: 3a7ac5152f570392b2f726e7a2bb8c689b385a38
5
5
  SHA512:
6
- metadata.gz: 2f528ff54f5401dd13f6f6d0caad1dbdec2b18bdb8e24c555a484cf4c09e2b6f6c7f5498f36e2c5ec2ada576211dc9da61c9e578351c78404b1c716577d32ca4
7
- data.tar.gz: 06909847d05c7a12f4367ce8a608a28bd922777519bca95ca9dae909479c9fb6802dbb5b578e74edd09a15ce926edc11d75ac3ad6cbbbd9664fb774ed16610b8
6
+ metadata.gz: 6edad512ce680131eaa005fa888b97a1ef85571333bad5554dc0836b802d16c683f58328a2b6f533a31ddbef65236290b270b8f912b76086f0888ff021acfccf
7
+ data.tar.gz: 3a98bfc818aa19dbf056f63ba8cf16863481ebfc0425519e870e82bb7019ee3457febbbbd1eb0260acbc3d421465661bd3e73d9d328fad128026aba005065c16
data/README.md CHANGED
@@ -59,6 +59,10 @@ Requirements: Vagrant
59
59
  $ bundle exec rake spec
60
60
  ```
61
61
 
62
+ ## Presentations
63
+
64
+ - [(in Japanese) Itamae - Infra as Code 現状確認会](https://speakerdeck.com/ryotarai/itamae-infra-as-code-xian-zhuang-que-ren-hui)
65
+
62
66
  ## Contributing
63
67
 
64
68
  If you have a problem, please [create an issue](https://github.com/ryotarai/itamae/issues/new) or a pull request.
data/itamae.gemspec CHANGED
@@ -18,13 +18,13 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ["lib"]
19
19
 
20
20
  spec.add_runtime_dependency "thor"
21
- spec.add_runtime_dependency "specinfra", "2.0.0"
21
+ spec.add_runtime_dependency "specinfra", "~> 2.1.0"
22
22
  spec.add_runtime_dependency "hashie"
23
23
  spec.add_runtime_dependency "ansi"
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 1.3"
26
26
  spec.add_development_dependency "rake"
27
27
  spec.add_development_dependency "rspec", "~> 3.0"
28
- spec.add_development_dependency "serverspec", "2.0.0"
28
+ spec.add_development_dependency "serverspec", "~> 2.1.0"
29
29
  spec.add_development_dependency "pry-byebug"
30
30
  end
@@ -5,9 +5,10 @@ module Itamae
5
5
  class Execute < Base
6
6
  define_attribute :action, default: :run
7
7
  define_attribute :command, type: String, default_name: true
8
+ define_attribute :cwd, type: String
8
9
 
9
10
  def action_run(options)
10
- run_command(attributes.command)
11
+ run_command(attributes.command, cwd: attributes.cwd)
11
12
  updated!
12
13
  end
13
14
  end
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryota Arai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-03 00:00:00.000000000 Z
11
+ date: 2014-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: specinfra
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.0.0
33
+ version: 2.1.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '='
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 2.0.0
40
+ version: 2.1.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: hashie
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -112,16 +112,16 @@ dependencies:
112
112
  name: serverspec
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '='
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 2.0.0
117
+ version: 2.1.0
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '='
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 2.0.0
124
+ version: 2.1.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: pry-byebug
127
127
  requirement: !ruby/object:Gem::Requirement