capistrano-graphite 1.0.6 → 1.0.7

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: de13d9df04a1c4ba8792a99f3f89809dd9434d6c
4
- data.tar.gz: 90c184b60e3cc997856e649e266f3a6eae537b8f
3
+ metadata.gz: 252c2cae55df89bf20316773caa34f6cd56b69bf
4
+ data.tar.gz: 447eae0a3273bb51b459bbb0084da09103ab5027
5
5
  SHA512:
6
- metadata.gz: 52969e59914197344d6a3398726675fe69839066b863d951b8785499e22f0ecd1ea98a9257ab52fbed12855d225077418f8364cfcc56935b7d85d0a96a7b4049
7
- data.tar.gz: 2817dcb4d65beb3099e17dc52c14db5fbe887a039b9bf67e0f1b34872272d8cd62a1041f3a50ef7b0e22227e0fcfebe73f43c36f4dcb4faac807e100dc9b0ffc
6
+ metadata.gz: ef908a0665630607209a915564e50946005cfbefc2c932d31f3393183e8373b636c7fa4f88481a13e4487de66b69357652478e15c4b2e823468c0b8931fe6baf
7
+ data.tar.gz: 1eea5599e8bd78c9df8f886dee67221789f7f6d7b920a00a78bc5b9a6c3fc2659d3f150fde71f0f59bb358075ec1a52531629c874fd25666cd072ea7c3fdc524
data/.rubocop_todo.yml CHANGED
@@ -9,6 +9,3 @@
9
9
  Metrics/AbcSize:
10
10
  Max: 20
11
11
 
12
- # Offense count: 2
13
- Style/RegexpLiteral:
14
- MaxSlashes: 0
data/.travis.yml CHANGED
@@ -3,7 +3,6 @@ sudo: false
3
3
  language: ruby
4
4
 
5
5
  rvm:
6
- - 1.9.3
7
6
  - 2.0.0
8
7
  - 2.1.0
9
8
 
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.0.7 (2015-10-26)
2
+ IMPROVEMENTS
3
+ - Fix regression in ssl url generation [GH-32]
4
+ - Remove Travis support for 1.9.3
5
+ - Remove unnecessary rubocop todo
6
+
1
7
  ## 1.0.6 (2015-05-08)
2
8
  IMPROVEMENTS
3
9
  - Better https/ssl support [GH-30], [GH-31]
@@ -14,7 +14,8 @@ 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
- opts = fetch(:graphite_http_options)
17
+ opts = { use_ssl: uri.scheme == 'https' } \
18
+ .merge(fetch(:graphite_http_options))
18
19
 
19
20
  Net::HTTP.start(uri.host, uri.port, opts) do |http|
20
21
  http.request(req)
@@ -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.6'
6
+ VERSION = '1.0.7'
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.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - scottsuch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-08 00:00:00.000000000 Z
11
+ date: 2015-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -151,11 +151,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  requirements: []
153
153
  rubyforge_project:
154
- rubygems_version: 2.4.4
154
+ rubygems_version: 2.4.6
155
155
  signing_key:
156
156
  specification_version: 4
157
157
  summary: A gem for pushing graphite events via capistrano v3 deployment
158
158
  test_files:
159
159
  - spec/grapite_spec.rb
160
160
  - spec/spec_helper.rb
161
- has_rdoc: