comrad 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/comrad.gemspec +2 -2
  3. data/lib/change.rb +1 -1
  4. data/lib/chef.rb +1 -1
  5. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c08f09d9ad560e88eeb41d1f03af82ed514696f
4
- data.tar.gz: 10f8befdd3ef2a86856c95a2cb3269885173460e
3
+ metadata.gz: c025f9b0f7635289a2928c16ecd2abd75aca50ac
4
+ data.tar.gz: d9ad964457654495bc3e72ea4a5089d4c71bc408
5
5
  SHA512:
6
- metadata.gz: e9ec6b7f175bc18fbf22bbb93a0041342d971011c40931e3b189e88ca7cdcf522a5547bc02137ddbccb3154fa1cead87383cea15e05a1d1c557f9f1518da98b7
7
- data.tar.gz: a8561367d76155d69958ebe26e80a67921ea4d2623deecb284c9a5943dfc760cf07375c9f24dd0d4bba39dc458e4ae37ac08a7afdaa3822d7d35065f3fbee9bf
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.1'
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.29.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['BUILD_NUM'] || 5
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['BUILD_NUM'] || 5}:")
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.1
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.29.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.29.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: