capistrano-graphite 1.0.5 → 1.0.6

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: c881b4ed11b51957684f6cecb76f01c47d9cff6f
4
- data.tar.gz: d2474ae7de12a2da95acf98f2496ce98f7e5663c
3
+ metadata.gz: de13d9df04a1c4ba8792a99f3f89809dd9434d6c
4
+ data.tar.gz: 90c184b60e3cc997856e649e266f3a6eae537b8f
5
5
  SHA512:
6
- metadata.gz: cb66f2f8224eadc3702a7860dbdcbaf45aa6ec9dd0cdf53b8d162a9c8559f34502f536bd9b6c34a61528769da7b828ff2e08f3dc46e27ad93c8a97ba5fc99a87
7
- data.tar.gz: 731a43a5fb5761b6775d6c5a16090dab49e637dbc8839dc81c89ada80e74c2522562e660031a8ae4bce9bc25126cf30ec1bae3713a69efecfbdfc29d62449e5f
6
+ metadata.gz: 52969e59914197344d6a3398726675fe69839066b863d951b8785499e22f0ecd1ea98a9257ab52fbed12855d225077418f8364cfcc56935b7d85d0a96a7b4049
7
+ data.tar.gz: 2817dcb4d65beb3099e17dc52c14db5fbe887a039b9bf67e0f1b34872272d8cd62a1041f3a50ef7b0e22227e0fcfebe73f43c36f4dcb4faac807e100dc9b0ffc
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.0.6 (2015-05-08)
2
+ IMPROVEMENTS
3
+ - Better https/ssl support [GH-30], [GH-31]
4
+
1
5
  ## 1.0.5 (2015-02-27)
2
6
  BUG FIXES:
3
7
  - Fixes bug introduced in 1.0.4 [GH-29]
@@ -14,7 +14,9 @@ class GraphiteInterface
14
14
  req.basic_auth(uri.user, uri.password) if uri.user
15
15
  req.body = event(action).to_json
16
16
 
17
- Net::HTTP.start(uri.host, uri.port) do |http|
17
+ opts = fetch(:graphite_http_options)
18
+
19
+ Net::HTTP.start(uri.host, uri.port, opts) do |http|
18
20
  http.request(req)
19
21
  end
20
22
  end
@@ -64,5 +66,6 @@ namespace :load do
64
66
  set :graphite_event_msg, (lambda do |action|
65
67
  "#{action} #{fetch(:application)} in #{fetch(:stage)}"
66
68
  end)
69
+ set :graphite_http_options, verify_mode: OpenSSL::SSL::VERIFY_PEER
67
70
  end
68
71
  end
@@ -3,6 +3,6 @@
3
3
  module Capistrano
4
4
  # This module holds the capistrano-graphite version information.
5
5
  module Graphite
6
- VERSION = '1.0.5'
6
+ VERSION = '1.0.6'
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-graphite
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - scottsuch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-27 00:00:00.000000000 Z
11
+ date: 2015-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano