airbrake_tools 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/lib/airbrake_tools.rb +10 -0
- data/lib/airbrake_tools/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: 6d04eb9676bbfcaa051ee9b154ec39caf5567453
|
4
|
+
data.tar.gz: 7dfb5260d945e1bc62eacff44a7eb26856b41965
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 587f4ee559f71458b8865790447a4c58f778687c22b9277eb4162619cca54204e9693030eacc6d80b53676b963ed85b203b0d6a9bb6d4f1449e4f994e5f9d1e9
|
7
|
+
data.tar.gz: 2a8b719e4723531c19a6e9ba2d22ddb92c02c3946b9c5554fe02489ac9ef12a1e380e530453dba810f2add86b1df2f71e9267c75626e9f28ba286f59a4a84abd
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
airbrake_tools (1.1.
|
4
|
+
airbrake_tools (1.1.5)
|
5
5
|
airbrake-api (>= 4.5.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -21,16 +21,16 @@ GEM
|
|
21
21
|
columnize (0.8.9)
|
22
22
|
debugger-linecache (1.2.0)
|
23
23
|
diff-lcs (1.1.3)
|
24
|
-
faraday (0.9.
|
24
|
+
faraday (0.9.1)
|
25
25
|
multipart-post (>= 1.2, < 3)
|
26
26
|
faraday_middleware (0.9.1)
|
27
27
|
faraday (>= 0.7.4, < 0.10)
|
28
|
-
hashie (3.
|
28
|
+
hashie (3.4.0)
|
29
29
|
launchy (2.4.2)
|
30
30
|
addressable (~> 2.3)
|
31
31
|
multi_xml (0.5.5)
|
32
32
|
multipart-post (2.0.0)
|
33
|
-
parallel (
|
33
|
+
parallel (1.4.1)
|
34
34
|
rake (0.9.2.2)
|
35
35
|
rspec (2.11.0)
|
36
36
|
rspec-core (~> 2.11.0)
|
data/lib/airbrake_tools.rb
CHANGED
@@ -91,6 +91,15 @@ module AirbrakeTools
|
|
91
91
|
puts backtrace.map{|line| present_line(line) }
|
92
92
|
puts ""
|
93
93
|
end
|
94
|
+
|
95
|
+
if options[:params]
|
96
|
+
puts "Parameters:"
|
97
|
+
notices.each do |notice|
|
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?
|
101
|
+
end
|
102
|
+
end
|
94
103
|
end
|
95
104
|
|
96
105
|
def open(error_id, notice_id=nil)
|
@@ -242,6 +251,7 @@ module AirbrakeTools
|
|
242
251
|
opts.on("--project NAME_OR_ID", String, "Name of project to fetch errors for") {|p| options[:project_name] = p }
|
243
252
|
opts.on("-h", "--help", "Show this.") { puts opts; exit }
|
244
253
|
opts.on("-v", "--version", "Show Version"){ puts "airbrake-tools #{VERSION}"; exit }
|
254
|
+
opts.on("--params", "Show params for summary.") { options[:params] = true }
|
245
255
|
end.parse!(argv)
|
246
256
|
options
|
247
257
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: airbrake_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Cheatham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: airbrake-api
|