airbrake_tools 1.1.5 → 1.1.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: 6d04eb9676bbfcaa051ee9b154ec39caf5567453
4
- data.tar.gz: 7dfb5260d945e1bc62eacff44a7eb26856b41965
3
+ metadata.gz: f6e685b460c2432e490b9a535f28aba359672c81
4
+ data.tar.gz: a1e69905a9b4534d24bf595cbada9ac18cc1a103
5
5
  SHA512:
6
- metadata.gz: 587f4ee559f71458b8865790447a4c58f778687c22b9277eb4162619cca54204e9693030eacc6d80b53676b963ed85b203b0d6a9bb6d4f1449e4f994e5f9d1e9
7
- data.tar.gz: 2a8b719e4723531c19a6e9ba2d22ddb92c02c3946b9c5554fe02489ac9ef12a1e380e530453dba810f2add86b1df2f71e9267c75626e9f28ba286f59a4a84abd
6
+ metadata.gz: 661d9e8ab2d8fcd3fa17896c31a32ea1af4e852f2551f2748fa0ca2e381569f9002dad7133f3b41bc5ddfa04aea07d5f504a8145df1b3efeb6b8d22bcb485555
7
+ data.tar.gz: 71a7e83db45ae534f9e034821b4ded8d3e689e458112488adca1d4c113eb7b3fcef3042ec9674d6487438323e18793e3945a67a54266e3ef6601500c81043c02
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- airbrake_tools (1.1.5)
4
+ airbrake_tools (1.1.6)
5
5
  airbrake-api (>= 4.5.1)
6
6
 
7
7
  GEM
@@ -1,3 +1,3 @@
1
1
  module AirbrakeTools
2
- VERSION = "1.1.5"
2
+ VERSION = "1.1.6"
3
3
  end
@@ -96,8 +96,9 @@ module AirbrakeTools
96
96
  puts "Parameters:"
97
97
  notices.each do |notice|
98
98
  # Print each set of parameters with a stable output order.
99
- h = notice.request.params.to_hash
100
- puts "#{notice.uuid.inspect}=>{" + h.sort.map{|k,v| "#{k.inspect}=>#{v.inspect}"}.join(", ") + "}" unless h.nil?
99
+ params = notice.request.params || {}
100
+ ordered_params = params.sort.map{|k,v| "#{k.inspect}=>#{v.inspect}"}.join(", ")
101
+ puts "#{notice.uuid.inspect}=>{#{ordered_params}}"
101
102
  end
102
103
  end
103
104
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airbrake_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Cheatham