comrad 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/comrad.gemspec +2 -2
- data/lib/change.rb +1 -1
- data/lib/chef.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c025f9b0f7635289a2928c16ecd2abd75aca50ac
|
4
|
+
data.tar.gz: d9ad964457654495bc3e72ea4a5089d4c71bc408
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 956d61a82b6afcf60e235acf4ad1b5cdde4e60902eb5c713795f7942c5bcc08d2cc64daeba4451fd041d2abcf815bdcd6b63df61c0e243031fe9087573b08b8f
|
7
|
+
data.tar.gz: 02beca7237741be37ceb76ff74983fa4534f554377310632b76c1da55b4a6126d09254cc6a80343188f416f0513963b4cca89fad0bce69d9bf9f33ec0e3cdb4d
|
data/comrad.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'comrad'
|
3
|
-
s.version = '0.0.
|
3
|
+
s.version = '0.0.2'
|
4
4
|
s.date = Date.today.to_s
|
5
5
|
s.platform = Gem::Platform::RUBY
|
6
6
|
s.extra_rdoc_files = ['README.md', 'LICENSE']
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.add_dependency 'chef', '>= 11.0'
|
17
17
|
s.add_dependency 'ridley', '~> 4.0'
|
18
18
|
s.add_development_dependency 'rake', '~> 10.0'
|
19
|
-
s.add_development_dependency 'rubocop', '~> 0.
|
19
|
+
s.add_development_dependency 'rubocop', '~> 0.30.0'
|
20
20
|
|
21
21
|
s.files = `git ls-files -z`.split("\x0")
|
22
22
|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
data/lib/change.rb
CHANGED
@@ -38,7 +38,7 @@ module Comrad
|
|
38
38
|
@password = @config['jenkins']['password']
|
39
39
|
@job_name = @config['jenkins']['job_name']
|
40
40
|
@jenkins_workspace_path = @config['jenkins']['workspace_dir']
|
41
|
-
@build_num = ENV['
|
41
|
+
@build_num = ENV['BUILD_NUMBER']
|
42
42
|
|
43
43
|
@build_data = query_build_data
|
44
44
|
@changes = create_change_hash(changed_files_array)
|
data/lib/chef.rb
CHANGED
@@ -86,7 +86,7 @@ module Comrad
|
|
86
86
|
|
87
87
|
# called by application to perform actions
|
88
88
|
def run
|
89
|
-
@slack.slack_put("Comrad action for chef repo build # #{ENV['
|
89
|
+
@slack.slack_put("Comrad action for chef repo build # #{ENV['BUILD_NUMBER']}:")
|
90
90
|
take_actions
|
91
91
|
end
|
92
92
|
end # Chef class
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: comrad
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Smith
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.30.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.30.0
|
83
83
|
description: Your rad comrade - Sync changes from git to Chef Server via Jenkins
|
84
84
|
email: tim@cozy.co
|
85
85
|
executables:
|