knife-table 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +3 -0
- data/lib/chef/knife/table_order.rb +1 -1
- data/lib/chef/knife/table_serve.rb +1 -1
- data/lib/knife-table/version.rb +1 -1
- metadata +7 -7
data/CHANGELOG.md
CHANGED
@@ -140,7 +140,7 @@ module KnifeTable
|
|
140
140
|
|
141
141
|
def check_config_options
|
142
142
|
%w(upstream_user upstream_branch title foodcritic foodcritic_fail_on).each do |key|
|
143
|
-
config[key.to_sym] ||= Chef::Config[:knife]["
|
143
|
+
config[key.to_sym] ||= Chef::Config[:knife]["table_order_#{key}".to_sym]
|
144
144
|
end
|
145
145
|
@upstream = config[:upstream_user]
|
146
146
|
unless(@upstream)
|
@@ -320,7 +320,7 @@ module KnifeTable
|
|
320
320
|
def check_config_options
|
321
321
|
%w(environments git_autopush git_tag git_branch git_remote_name
|
322
322
|
git_autocommit autoproceed upload_roles upload_data_bags).each do |key|
|
323
|
-
config[key.to_sym] ||= Chef::Config[:knife]["
|
323
|
+
config[key.to_sym] ||= Chef::Config[:knife]["table_serve_#{key}".to_sym]
|
324
324
|
end
|
325
325
|
@environments = config[:environments].is_a?(Array) ? config[:environments] : config[:environments].to_s.split(",").map(&:strip)
|
326
326
|
config[:git_branch] ||= 'master'
|
data/lib/knife-table/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-table
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-07-25 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: knife-spork
|
16
|
-
requirement: &
|
16
|
+
requirement: &21631100 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.1.11
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *21631100
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: hub
|
27
|
-
requirement: &
|
27
|
+
requirement: &21630560 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.10.1
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *21630560
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: foodcritic
|
38
|
-
requirement: &
|
38
|
+
requirement: &21629740 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: 1.4.0
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *21629740
|
47
47
|
description: Chef's table
|
48
48
|
email: chrisroberts.code@gmail.com
|
49
49
|
executables: []
|