deploy_rubygem 0.58.1 → 0.59.1

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: b017d0bfc97f9467c50bf003535e5184efe702a967ed5962d188a02942338289
4
- data.tar.gz: 3377d10060235bd82c8ebb7fb836ebf762d0759ae0187d54aa7f561687efc2c8
3
+ metadata.gz: 65713c99c2163d9c9d706d4f065a6cc769f9497462b24d041c565b438e769650
4
+ data.tar.gz: 4d2a0654da4b84d68e4c226f2847f469bda078558124daefce003a603d05b343
5
5
  SHA512:
6
- metadata.gz: 1288b8a58165dbbe1741e8ce0e0bf39f7dc7e94e96902ddafdd27f0bdc4952685e6d6f0f0ae08623a9f4a4fda9e6c7a927ec0516e927c08a6b15b5da4d4de129
7
- data.tar.gz: 693e52618b0da9fd3428f5c7679975c7cc278e8ace9360da3997fc5a1039de53cd7a1cfeb459233e0597db016842fed9571aa7a08fb29ad4c2a5093e6c5807b4
6
+ metadata.gz: 6ecb8a00e46c48b607ca94b5763c936f1a85b66d5621f30ebc8b0b9d0239265aa220d6d30e6541e29cdd024e52218da423f4cdd5ebaf27d9624091ee5cf1347c
7
+ data.tar.gz: 11c2cc093e678af8cbf989cac387b90c265c1159d7318f38caad43636c7c93e0971934a0093b950edfd34fd524cf594ddfa2df215c953154ff26a42d6f79b1e2
checksums.yaml.gz.sig CHANGED
Binary file
@@ -4,10 +4,15 @@ require 'deploy_rubygem/cookbook'
4
4
  require 'deploy_rubygem/version'
5
5
 
6
6
  module DeployRubygem
7
+ def self.project_name
8
+ 'deploy_rubygem'
9
+ end
10
+
7
11
  def self.self_project_options
8
- project_name = 'deploy_rubygem'
9
12
  {
10
13
  project_name: project_name,
14
+ git: 'git@github.com:JimboDragonGit/deploy_rubygem.git',
15
+ chefrepo_git: 'git@github.com:JimboDragonGit/jimbodragon.git',
11
16
  binaries: %w(
12
17
  deploy_rubygem
13
18
  prepare_workstation
@@ -56,17 +61,16 @@ module DeployRubygem
56
61
 
57
62
 
58
63
  def self.deploy_rubygem_path
59
- File.join(ENV['HOME'], 'deploy_rubygem')
64
+ File.join(ENV['HOME'], project_name)
60
65
  end
61
66
 
62
67
 
63
68
  def self.jimbo_management_site_path
64
69
  File.join(ENV['HOME'], 'jimbo_management_site')
65
70
  end
66
-
67
71
 
68
72
  def self.chefrepo_path
69
- '/usr/local/chef/repo/jimbodragon'
73
+ "/usr/local/chef/repo/jimbodragon"
70
74
  end
71
75
 
72
76
 
@@ -79,16 +83,17 @@ module DeployRubygem
79
83
  end
80
84
 
81
85
  def self.main
82
- DeployRubygem.change_to_directory(DeployRubygem.chefrepo_path, 'git@github.com:JimboDragonGit/jimbodragon.git')
83
- DeployRubygem.change_to_directory(DeployRubygem.jimbo_management_site_path, 'git@github.com:JimboDragonGit/jimbo_management_site.git')
84
- DeployRubygem.change_to_directory(DeployRubygem.deploy_rubygem_path, 'git@github.com:JimboDragonGit/deploy_rubygem.git')
86
+ DeployRubygem.change_to_directory(DeployRubygem.chefrepo_path, self_project_options[:chefrepo_git])
87
+ DeployRubygem.change_to_directory(DeployRubygem.jimbo_management_site_path, self_project_options[:cookbooks][:jimbo_management_site][:git])
88
+ DeployRubygem.change_to_directory(DeployRubygem.deploy_rubygem_path, self_project_options[:git])
85
89
 
86
90
  DeployRubygem.self_deploy
87
91
  DeployRubygem.deploy_jimbo_management_site
88
92
  end
89
93
 
90
94
  def self.test
91
- DeployRubygem.change_to_directory(DeployRubygem.deploy_rubygem_path, 'git@github.com:JimboDragonGit/deploy_rubygem.git')
95
+ DeployRubygem.change_to_directory(DeployRubygem.deploy_rubygem_path, self_project_options[:git])
96
+ system("rake build")
92
97
  system("rake install:local")
93
98
  system("rake")
94
99
  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.58.1
4
+ version: 0.59.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jimmy Provencher
metadata.gz.sig CHANGED
Binary file