deploy_rubygem 0.60.37 → 0.60.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d7b7ddd45122fc2dd5f7344990aaa13a123e469146f2d1612be29196742e83b
4
- data.tar.gz: dde2749c7504646d51ba67978dbbe8bc4ea683698f775929fa67038403994f12
3
+ metadata.gz: 2cccd7569728b2b9ede4301d183546ec24ad39089db0f6daeb6c390980c7786d
4
+ data.tar.gz: e32b2f6201da5e78cefea517f50264aaf5ab557218274707146dd8d83873f5e6
5
5
  SHA512:
6
- metadata.gz: c94be7a2c5ee004317e5b508c32cf80d62e9f5b7699a69d3b6c27c89a978751bdb2624018011405f92f6185d00b7c7b446464f1318d63cbe7b1f50cd6ed2c08d
7
- data.tar.gz: b09c8856baaedab3184c3ff95e6cb6a7a1d220d18c0310e9a18a1f9a3b029b05332f30e27b50d79a40fc3eaa2fdf12c56a9a683cb942dac3aec45c997bc127f9
6
+ metadata.gz: e9a9e21f0124eb9ec5019d487ebf1c675c3005b9ab0f150d32f3ef4ad25e3fff7d0da2eed84f887e8d1f09f0e0542c60d6d7cfc659df5fedc6809792627c5ef3
7
+ data.tar.gz: 5e08d462a9f2f1f8165942814d9781e68d715ed1e3141b90d24bf9e73dbb06084e9da6ad50646842ba00c6406397f655677ee4cc1be5efaa4a4c65053297bb0d
checksums.yaml.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- " +�Ihup,3I���("���/�C
2
- ��rX��r4����0���[ Je���h�]��;�ȴ`/��;#�D�|/=)��Qa�(�J�ʙ?s��{�#&�o �[�]���o��q��U�/���[�߇4b��P�@*��;Z��
1
+ �r��k;}0��]K�`%�*�z
2
+ �u{�s�����17Śy[���<��]�5�����
3
+ ��
data/exe/deploy_rubygem CHANGED
@@ -2,11 +2,12 @@
2
2
 
3
3
  require 'deploy_rubygem'
4
4
 
5
+ abort DeployRubygem.deployer.no_option_txt if ARGV.empty?
5
6
  case ARGV[0]
6
7
  when 'install'
7
8
  DeployRubygem.deployer.install_chef_workstation
8
9
  when 'bootstrap_chef_workstation'
9
10
  DeployRubygem.deployer.bootstrap_chef_workstation(ARGV[0])
10
11
  else
11
- puts DeployRubygem.deployer.no_option_txt
12
+ puts DeployRubygem.deployer.unknown_option_txt(ARGV[0])
12
13
  end
@@ -35,6 +35,15 @@ module DeployRubygem
35
35
  compliance
36
36
  develop
37
37
  push
38
+ chef_install
39
+ end
40
+
41
+ def chef_install # :nodoc:
42
+ desc "@desc with #{__method__}"
43
+ task :install_chef_workstation do
44
+ extend DeployRubygem
45
+ install_chef_workstation
46
+ end
38
47
  end
39
48
 
40
49
  def test_framework # :nodoc:
@@ -64,7 +73,7 @@ module DeployRubygem
64
73
 
65
74
  def compliance # :nodoc:
66
75
  desc "@desc with #{__method__}"
67
- task :compliance do
76
+ task compliance: :install_chef_workstation do
68
77
  system('inspec exec compliance')
69
78
  end
70
79
  end
@@ -3,5 +3,5 @@
3
3
  # Set version for DeployRubygem
4
4
  module DeployRubygem
5
5
  # VERSION = new_deploy_rubygem.gvb_version.short_version
6
- VERSION = '0.60.37'
6
+ VERSION = '0.60.38'
7
7
  end
@@ -11,6 +11,10 @@ module DeployRubygem
11
11
  'Use "deploy_rubygem install" to install Chef dependencies'
12
12
  end
13
13
 
14
+ def unknown_option_txt(options)
15
+ "#{no_option_txt}\nUnknown options #{options}"
16
+ end
17
+
14
18
  def rubygem_test
15
19
  DeployRubygem.deployer
16
20
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deploy_rubygem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.60.37
4
+ version: 0.60.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Provencher
metadata.gz.sig CHANGED
Binary file