genesis_collector 0.1.7 → 0.1.8

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: cf580c6e7c7d908644417461cdd1289c33fafd74
4
- data.tar.gz: e002b3168daf4bb67b3307255d855b80f5a50192
3
+ metadata.gz: 3b276533f13940e9830585a05a66f3dc183a0cc7
4
+ data.tar.gz: bf2cf4a95d6f7c9d7eed20637453e2cdf8b8f095
5
5
  SHA512:
6
- metadata.gz: 24efe9a3a8d1c0df521fc1ea64c2ed9141b5a688b8ba81472d3af79a02ce0a9548fec34fc7a9b1a35b8d7569eeccf2c6bc5f162661be7eeb3fee5ea5316e0bca
7
- data.tar.gz: 15261eab99feae8d834ba6300ea96d88b1516b9a0cc157810c5a18f503fae7f2dfea026a19be05cf40669a2d1a45a41865f6d8ab4c2187bb9dde67714aa11d2d
6
+ metadata.gz: 48bf1a48bcbdd5a4386f8efaa742d03a2f5b9c61a8f8b0572a1c62f612a7afbb9ae9c2bd8434ea0cc0a21dbce37e258c19dd9f93b7c0099cc71893db4a8dd14d
7
+ data.tar.gz: 4950a160d525c905dc2c0d4ec71938c3620ceada148f561bc01e614bfdac19b5dce4bfbdd7f1f4478266fd23283a754057ed87d8293aa0fb95ab0252c7ffd115
@@ -17,11 +17,17 @@ class Chef
17
17
  if defined?(Bugsnag)
18
18
  Bugsnag.configure do |config|
19
19
  config.api_key = @config.delete('bugsnag_api_key')
20
+ config.app_version = GenesisCollector::VERSION
20
21
  end
21
22
  end
22
23
  end
23
24
 
24
25
  def report
26
+ if defined?(Bugsnag)
27
+ Bugsnag.configure do |config|
28
+ config.release_stage = run_context.node.chef_environment
29
+ end
30
+ end
25
31
  prepare_report
26
32
  send_report
27
33
  end
@@ -1,3 +1,3 @@
1
1
  module GenesisCollector
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: genesis_collector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Radcliffe