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: c29bc202f5d7ac613cde4b6867d92d9f656d3254
4
- data.tar.gz: a7194967c447bd9fe26ecd4f7dcd078e7baf3e39
3
+ metadata.gz: bbe129ab859d02919ea7cbd2c10452743690a34c
4
+ data.tar.gz: 43b46e686688fb8e59903bcd9c1767e3d41dfe80
5
5
  SHA512:
6
- metadata.gz: e77f37c717b2c3b1787620d37b62a8a696b06b75a4e7e959be0957205b6ea297e8904cacf09aebbaefaaecd70501dd55eaeaf47da51ddbea2a07f1959dc4d316
7
- data.tar.gz: 63115c5445fcfa90168d56636d19559355506b92afa54061464152803adfef94f1a83c7044488453f99d1ecfa8dc494cbe883d0fe340ab941dec1d24f1120a02
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,'_') if repositories_to_check.length > 1
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')
@@ -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
@@ -1,5 +1,5 @@
1
1
  class Cheftacular
2
2
  #major_version.minor_version.bugfixes
3
- VERSION = "2.11.0"
3
+ VERSION = "2.11.1"
4
4
  RUBY_VERSION = "2.2.2"
5
5
  end
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.0
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: '2.7'
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: '2.7'
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: ridley
57
57
  requirement: !ruby/object:Gem::Requirement