mina-instana 0.1.5 → 0.1.6

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
  SHA1:
3
- metadata.gz: aba6d58aad83bad177aa8c3d28be1992e6683665
4
- data.tar.gz: aec452b20a54ae668c1590a43b68788c936c9244
3
+ metadata.gz: e60aecb3b5375f498336821e184ac08c15331bba
4
+ data.tar.gz: da3e5d9a13a64663ccab547ce1a503acf40c38ee
5
5
  SHA512:
6
- metadata.gz: 68ed57d8cd325e14c88951d1a881f60d58758377d4b9c9019c8e13bc642df9d9f0e352fcb8d98b2dbe313862e2b74bf0a092675e268656abc9902fdefbe97924
7
- data.tar.gz: 1ec4e46167c5476150720a64c2ce31361d495c8645d48c6f45753dfa326d187d0d3a3d5e970b2007a1f350255c3d3c7331338b1a338e73fa1e34d69646dd6a08
6
+ metadata.gz: 8281c16d55fac71b793a228b47e1f10eaf0853a31e44baa15f1996f218bee4b155343aec72ea239f9a6a6ccb9ca426c5aa57f380ebb12d95b7779c5e5df49e27
7
+ data.tar.gz: 59c8bc5784607dac37acd0cbafea79348c097e41e912ab1a8dea8eb3f280bfe660ed1b7bc733448e06e0e2a22bc6496319cded703a8c99fa18d94b9024e907c4
data/README.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # mina-instana
2
2
 
3
- Send [Mina](http://nadarei.co/mina/) deploy events to Instana.
3
+ Send [Mina](http://nadarei.co/mina/) deploy events to [Instana](https://www.instana.com/).
4
+
5
+ ![instana deploy notification started 2017-03-12 at 15 08 10](https://cloud.githubusercontent.com/assets/395132/23832516/063eab12-0736-11e7-9862-071649928131.png)
6
+ ![instana deploy notification finished 2017-03-12 at 15 07 00](https://cloud.githubusercontent.com/assets/395132/23832517/0646b262-0736-11e7-9388-1525329ecd5c.png)
4
7
 
5
8
  ## Installation
6
9
 
@@ -28,6 +31,8 @@ Deploy...
28
31
 
29
32
  Profit!
30
33
 
34
+ _Note: The Instana agent should be running on the same host from where deploys are launched._
35
+
31
36
  ## Development
32
37
 
33
38
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -29,6 +29,8 @@ namespace :instana do
29
29
  Net::HTTP.start(uri.hostname, uri.port) do |http|
30
30
  http.request(req)
31
31
  end
32
+ rescue Errno::ECONNREFUSED
33
+ print_error "The Instana host agent isn't running on localhost. Can't post deploy notifications."
32
34
  rescue => e
33
35
  print_error "Error posting notification to Instana: #{e.inspect}"
34
36
  end
@@ -55,7 +57,9 @@ namespace :instana do
55
57
  Net::HTTP.start(uri.hostname, uri.port) do |http|
56
58
  http.request(req)
57
59
  end
58
- rescue
60
+ rescue Errno::ECONNREFUSED
61
+ print_error "The Instana host agent isn't running on localhost. Can't post deploy notifications."
62
+ rescue => e
59
63
  print_error "Error posting notification to Instana: #{e.inspect}"
60
64
  end
61
65
  end
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module Instana
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-instana
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Giacomo Lombardo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-12 00:00:00.000000000 Z
11
+ date: 2017-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mina