cheftacular 2.11.0 → 2.11.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbe129ab859d02919ea7cbd2c10452743690a34c
|
4
|
+
data.tar.gz: 43b46e686688fb8e59903bcd9c1767e3d41dfe80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6233b4d64ea85195bef515458a241440dd97d29a2326bfa3c29f32de05d38889beda87636a84cfea652efafd2937f2165264414f483e430aefad0512993f650
|
7
|
+
data.tar.gz: 69193f44961e51a9aa16a6a5a7c0eafb7494517212be1aa6034089000e85bd5e5383c0246be79adb9cefec4272239a26021cde96a8e854bae03a76ca5bbb1364
|
@@ -62,7 +62,7 @@ class Cheftacular
|
|
62
62
|
end
|
63
63
|
|
64
64
|
headers << "\n#{ 'name'.ljust(20) }"
|
65
|
-
headers << 'repository'.ljust(30
|
65
|
+
headers << 'repository'.ljust(30) if repositories_to_check.length > 1
|
66
66
|
headers << "#{ 'deployed_on'.ljust(22) } #{ 'commit'.ljust(40) }"
|
67
67
|
headers << 'revision'.ljust(21) if have_revisions
|
68
68
|
headers << 'organization'.ljust(30) if have_changed_orgs
|
@@ -74,7 +74,7 @@ class Cheftacular
|
|
74
74
|
if commit_hash[n.name].has_key?(repo) && !commit_hash[n.name][repo].nil?
|
75
75
|
out = []
|
76
76
|
out << n.name.ljust(20, '_')
|
77
|
-
out << repo.ljust(30) if repositories_to_check.length > 1
|
77
|
+
out << repo.ljust(30,'_') if repositories_to_check.length > 1
|
78
78
|
out << commit_hash[n.name][repo]['time'].ljust(22)
|
79
79
|
out << commit_hash[n.name][repo]['name'].ljust(40)
|
80
80
|
out << commit_hash[n.name][repo]['branch'].ljust(21, '_') if commit_hash[n.name][repo].has_key?('branch')
|
data/lib/cheftacular/helper.rb
CHANGED
@@ -288,6 +288,7 @@ class Cheftacular
|
|
288
288
|
org_name_to_check = repo_state_hash.has_key?('deploy_organization') ? repo_state_hash['deploy_organization'] : @config['cheftacular']['TheCheftacularCookbook']['organization_name']
|
289
289
|
|
290
290
|
revision_to_check = nil if revision_to_check == '<use_default>'
|
291
|
+
org_name_to_check = @config['cheftacular']['TheCheftacularCookbook']['organization_name'] if org_name_to_check.nil?
|
291
292
|
|
292
293
|
@config['cheftacular']['TheCheftacularCookbook']['chef_environment_to_app_repo_branch_mappings'].each_pair do |chef_env, app_env|
|
293
294
|
revision_to_check = app_env if @options['env'] == chef_env && revision_to_check.nil?
|
@@ -58,12 +58,16 @@ class Cheftacular
|
|
58
58
|
" 3. The `-z|--unset-github-deploy-args` option will clear your current `-Z` and `-O` flags."
|
59
59
|
]
|
60
60
|
end
|
61
|
+
|
62
|
+
alias_method :flags, :arguments
|
61
63
|
end
|
62
64
|
|
63
65
|
class InitializationAction
|
64
66
|
def arguments
|
65
67
|
|
66
68
|
end
|
69
|
+
|
70
|
+
alias_method :flags, :arguments
|
67
71
|
end
|
68
72
|
|
69
73
|
class StatelessAction
|
data/lib/cheftacular/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cheftacular
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Louis Alridge
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: ridley
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|