airbrake-ruby 1.2.0 → 1.2.1

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: 28a4924a3ba67bad999146c40bb8b4a18d42c07e
4
- data.tar.gz: 08b97f8c2ff47d1e78665df246f71b65fbc401fe
3
+ metadata.gz: b7716e52d93ca7e57f821c1fc974b4a012f328b8
4
+ data.tar.gz: 3bbfdac1597a0f1be8988fed7cde5c49eb21cfec
5
5
  SHA512:
6
- metadata.gz: ac71aa148439f4cd54a6b6b6c499d0a5e832f58b0e95897dd837a65219cea8a244f700c38f59340f74f1db8ee82cc4b4fead1dfde267d0adb1207c6819c80d29
7
- data.tar.gz: 8c6a568e091568b2b3cbb56f1897753bbaa30b5343b9b14055ff815e0fd7244c34036ff6a32f0395d9473573dc2336db414f6703fc49be5bffdbe6f54cade94c
6
+ metadata.gz: 7f2c0eef721cd93d930efd0c4519fdea6fbc0937b7098c993a6be89bfa47823b83cd45fae874efed41e62096bead2535976648162dbfc8d3d1ff97a433fbfa7e
7
+ data.tar.gz: f9c05453a930f43c0a1b6f924e4ed8c6d184813851f1e19f9205ee842265b00323f35f3e669abbbcbc9ee4bbd4f8107ce021ebe438e0a1fdf82366cb03920eda
@@ -59,10 +59,12 @@ module Airbrake
59
59
  end
60
60
 
61
61
  def proxy_params
62
- [@config.proxy[:host],
63
- @config.proxy[:port],
64
- @config.proxy[:user],
65
- @config.proxy[:password]]
62
+ if @config.proxy.key?(:host)
63
+ [@config.proxy[:host],
64
+ @config.proxy[:port],
65
+ @config.proxy[:user],
66
+ @config.proxy[:password]]
67
+ end
66
68
  end
67
69
  end
68
70
  end
@@ -3,5 +3,5 @@
3
3
  module Airbrake
4
4
  ##
5
5
  # @return [String] the library version
6
- AIRBRAKE_RUBY_VERSION = '1.2.0'.freeze
6
+ AIRBRAKE_RUBY_VERSION = '1.2.1'.freeze
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airbrake-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Airbrake Technologies, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-11 00:00:00.000000000 Z
11
+ date: 2016-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec