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 +4 -4
- data/README.md +4 -0
- data/itamae.gemspec +2 -2
- data/lib/itamae/resource/execute.rb +2 -1
- data/lib/itamae/version.txt +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed74bf1092b5988cf06137ddd21a41676c75f67c
|
4
|
+
data.tar.gz: 3a7ac5152f570392b2f726e7a2bb8c689b385a38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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.
|
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
|
data/lib/itamae/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
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.
|
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-
|
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.
|
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.
|
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.
|
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.
|
124
|
+
version: 2.1.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: pry-byebug
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|