itamae 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/itamae.gemspec +1 -1
- data/lib/itamae/backend.rb +2 -2
- data/lib/itamae/cli.rb +5 -0
- data/lib/itamae/version.txt +1 -1
- data/spec/unit/lib/itamae/resource/base_spec.rb +0 -9
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 695ebf9f7ebb344b40750c528481e0add589f95b
|
4
|
+
data.tar.gz: 96e0796a64cfb046e3859a7cd2ad7e0c2748a9f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eff7cb14160244b020f104b04039219693fc337c43689e437f22caf368b91111453db497d6a5fdb823be6050442864669dc7967025b8e737be4a94483de6740c
|
7
|
+
data.tar.gz: 1fba254f6d7e019d9d6b6129fea557efcbdb9afab3ab4197f4aec5e2bbd1d8e16ffed84332b4673e525ff12d19cd2b5ceab63a76fe83eb91c7b242244abcd4dd
|
data/CHANGELOG.md
CHANGED
data/itamae.gemspec
CHANGED
@@ -18,7 +18,7 @@ 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.26.1", "< 3.0.0"]
|
22
22
|
spec.add_runtime_dependency "hashie"
|
23
23
|
spec.add_runtime_dependency "ansi"
|
24
24
|
spec.add_runtime_dependency "schash", "~> 0.1.0"
|
data/lib/itamae/backend.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
require 'specinfra'
|
1
|
+
require 'specinfra/core'
|
2
2
|
require 'singleton'
|
3
3
|
require 'io/console'
|
4
4
|
|
5
|
-
Specinfra.
|
5
|
+
Specinfra::Configuration.error_on_missing_backend_type = true
|
6
6
|
|
7
7
|
module Specinfra
|
8
8
|
module Configuration
|
data/lib/itamae/cli.rb
CHANGED
@@ -54,6 +54,11 @@ module Itamae
|
|
54
54
|
end
|
55
55
|
|
56
56
|
desc "docker RECIPE [RECIPE...]", "Create Docker image"
|
57
|
+
option :dot, type: :string, default: nil, desc: "Only write dependency graph in DOT", banner: "PATH"
|
58
|
+
option :node_json, type: :string, aliases: ['-j']
|
59
|
+
option :node_yaml, type: :string, aliases: ['-y']
|
60
|
+
option :dry_run, type: :boolean, aliases: ['-n']
|
61
|
+
option :ohai, type: :boolean, default: false
|
57
62
|
option :image, type: :string, required: true
|
58
63
|
option :tls_verify_peer, type: :boolean, default: true
|
59
64
|
def docker(*recipe_files)
|
data/lib/itamae/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.2.
|
1
|
+
1.2.4
|
@@ -97,15 +97,6 @@ describe TestResource do
|
|
97
97
|
r.stub(:runner).and_return(runner)
|
98
98
|
end
|
99
99
|
end
|
100
|
-
let(:backend) do
|
101
|
-
double(:backend).tap do |b|
|
102
|
-
b.stub(:commands).and_return(commands)
|
103
|
-
end
|
104
|
-
end
|
105
|
-
|
106
|
-
before do
|
107
|
-
Backend.stub(:instance).and_return(backend)
|
108
|
-
end
|
109
100
|
|
110
101
|
describe "#run" do
|
111
102
|
before do
|
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.2.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryota Arai
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 2.
|
33
|
+
version: 2.26.1
|
34
34
|
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
36
|
version: 3.0.0
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
requirements:
|
41
41
|
- - ">="
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 2.
|
43
|
+
version: 2.26.1
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: 3.0.0
|