doggy 2.0.8 → 2.0.9

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: c755b4bcf93852f55acb5f4bd4d4546b486c6994
4
- data.tar.gz: e9409d4d0a0be0f55567725a19bce86048dcc4c0
3
+ metadata.gz: d1c6227f02f09a3d6278590e0976253c3f8051bc
4
+ data.tar.gz: a360768f119212e44381ef668cba0c8ae21e6e4b
5
5
  SHA512:
6
- metadata.gz: 77e386529dd61b501940c6610688a2b7d607aa46a3e2265d5fc079fc20475c6c8e3d5a6fb26e1ed9480cde616cef3d0ee21991632efbace7e5bd80d2f1702bd9
7
- data.tar.gz: 24c7a09574488964867a6ba771b3201dd8a985e11edfb8fda496134f6a00bd3e1757c38b79c08a76242484133c1b76dd84d09cd1125ab40fee37b0400a9b2ce5
6
+ metadata.gz: d6d14b5a25a4171b4fd769f33c8e66c1c5544ff0c215919bf3eb69aef59e4b867a6cbf0371e252170adc923de153f8e67fef31d3807c85e09101aacabcfa1b29
7
+ data.tar.gz: 5fe040e3d6920e67dad34912cd7976a7f88f91e054a8dcfc90268aa656b5e6a7b63acb54e813f6b10876e8b5054b76ba11518229ac0db3e067c3c1a25eb73fa3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- doggy (2.0.8)
4
+ doggy (2.0.9)
5
5
  json (~> 1.8.3)
6
6
  parallel (~> 1.6.1)
7
7
  rugged (~> 0.23.2)
@@ -10,6 +10,8 @@ module Doggy
10
10
  push_resources('dashboards', Models::Dashboard) if should_push?('dashboards')
11
11
  push_resources('monitors', Models::Monitor) if should_push?('monitors')
12
12
  push_resources('screens', Models::Screen) if should_push?('screens')
13
+
14
+ Doggy.emit_shipit_deployment
13
15
  end
14
16
 
15
17
  private
data/lib/doggy/model.rb CHANGED
@@ -125,6 +125,8 @@ module Doggy
125
125
  end
126
126
 
127
127
  def emit_shipit_deployment
128
+ return unless ENV['SHIPIT']
129
+
128
130
  request(:post, 'https://app.datadoghq.com/api/v1/events', {
129
131
  title: "ShipIt Deployment by #{ENV['USER']}",
130
132
  text: ENV['REVISION'],
data/lib/doggy/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Doggy
4
- VERSION = "2.0.8"
4
+ VERSION = "2.0.9"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doggy
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vlad Gorodetsky