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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/capistrano/graphite.rb +4 -1
- data/lib/capistrano/graphite/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de13d9df04a1c4ba8792a99f3f89809dd9434d6c
|
4
|
+
data.tar.gz: 90c184b60e3cc997856e649e266f3a6eae537b8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52969e59914197344d6a3398726675fe69839066b863d951b8785499e22f0ecd1ea98a9257ab52fbed12855d225077418f8364cfcc56935b7d85d0a96a7b4049
|
7
|
+
data.tar.gz: 2817dcb4d65beb3099e17dc52c14db5fbe887a039b9bf67e0f1b34872272d8cd62a1041f3a50ef7b0e22227e0fcfebe73f43c36f4dcb4faac807e100dc9b0ffc
|
data/CHANGELOG.md
CHANGED
data/lib/capistrano/graphite.rb
CHANGED
@@ -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
|
-
|
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
|
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.
|
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-
|
11
|
+
date: 2015-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|