yeller_ruby 0.3.0 → 0.3.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: 8a4e42a04f98801a4d76e529ded4f2fdf1fd42c4
4
- data.tar.gz: da8f88bd296bfee2917854fa7a780cc24b2a6b73
3
+ metadata.gz: 8bee1785d04c635656df246e09d756d3791f46b5
4
+ data.tar.gz: 65305257a3f82db0f8dc6616e187fdfbda0fba9f
5
5
  SHA512:
6
- metadata.gz: 736b2480db8a79173387ec92bf62394dc4aa01bdf8df0a42e739517abdf138dee1fab1d42ebddef8bad36a5781510e24718482a4ec807a5ff1a3d09c0bc70b6a
7
- data.tar.gz: b0a53ce3f4ba1d43a30ab478e36e73d31a4e403bf179bd1ada92d1357903722a1d10d462fe7c01c31981e95533bcbdec6202bf45d479fc439f7ca511c34fc9ff
6
+ metadata.gz: 437a25a5f7f345861d44b4edc8d2fbf73f0a82a49ab21e369e2b453872743096f0171835e065bcfd6f4bb34cbd8c50ce05d50800df0fb6f4ce799a791dd23267
7
+ data.tar.gz: 859e43b237958738afb47db0d5cf9ec3777939722242e6e48a93b90baac7c93d6f87354aa64272e7216d838d19bc7ba18f49b6b09257c8a1123576f3458ea4be
data/lib/yeller/rails.rb CHANGED
@@ -22,6 +22,10 @@ module Yeller
22
22
  Yeller::Rack.enabled?
23
23
  end
24
24
 
25
+ def self.report(exception, options={})
26
+ Yeller::Rack.report(exception, options)
27
+ end
28
+
25
29
  def self.client
26
30
  Yeller::Rack.client
27
31
  end
@@ -50,7 +54,7 @@ module Yeller
50
54
  user = {}
51
55
  if current_user.respond_to?(:attributes) && current_user.attributes.is_a?(Hash)
52
56
  current_user.attributes.each do |k, v|
53
- unless YELLER_IGNORED_USER_ATTRIBUTES.any? {|a| k.to_s.include?(a) }
57
+ unless YELLER_IGNORED_USER_ATTRIBUTES.any? {|a| k.to_s.include?(a) }
54
58
  user[k.to_s] = String(v)
55
59
  end
56
60
  end
@@ -1,3 +1,3 @@
1
1
  module Yeller
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yeller_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Crayford
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-17 00:00:00.000000000 Z
11
+ date: 2015-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler