yeller_ruby 0.0.5 → 0.0.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: 309eea40e39b4c443053435583fbcbbfbef21b9d
4
- data.tar.gz: 4c67f3c2a579396f9b3ea7ba6a9748771e8862b4
3
+ metadata.gz: 7369ceace8bcebe67c8591d1eda24f4f88718de2
4
+ data.tar.gz: 25e85477c980b99aa4c057c38ac5b35b143c5971
5
5
  SHA512:
6
- metadata.gz: 6001f94015b5739ec2f79ceba94aee0ed279f851cb0e39087e8282c7cd844d018ee674d4608c68f7074a0c4cf03e4ec98f354974592ef9278c0f370821d7a333
7
- data.tar.gz: b756482a561c1ae6bc6e2b02a04d7422a88459b88245f772d6aef10aecccd3114c71728a136e8405efcce5a904db441d200090ae43fbb53e23ddfaef9518a0cd
6
+ metadata.gz: 91a243d91ac917bd7ec12fba72c10f1b4771e7d1142237afd5ffbd3e85228d5ccac60ae3cb28e76307fd3b1dfb2c66ccd090331285b4b5e1a8e601eef749f101
7
+ data.tar.gz: d556f4da048a5f82e4ce8319b7a48fa53d9bb40af79d5e0255e7e30ae588a0a45b0b03be155d542df8dfbd423524a77b9b54f046af1e35e23d5fc9877388d285
@@ -16,6 +16,10 @@ module Yeller
16
16
  @client.enabled?
17
17
  end
18
18
 
19
+ def self.client
20
+ @client
21
+ end
22
+
19
23
  def initialize(app)
20
24
  @app = app
21
25
  end
@@ -7,6 +7,7 @@ module Yeller
7
7
  def self.configure(&block)
8
8
  Yeller::Rack.configure do |config|
9
9
  config.error_handler = Yeller::LogErrorHandler.new(::Rails.logger)
10
+ config.environment = ::Rails.env.to_s
10
11
  block.call(config)
11
12
  end
12
13
  end
@@ -15,6 +16,10 @@ module Yeller
15
16
  Yeller::Rack.enabled?
16
17
  end
17
18
 
19
+ def self.client
20
+ Yeller::Rack.client
21
+ end
22
+
18
23
  module ActionControllerCatchingHooks
19
24
  def self.included(base)
20
25
  base.send(:alias_method, :render_exception_without_yeller, :render_exception)
@@ -1,3 +1,3 @@
1
1
  module Yeller
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.6"
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.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Crayford
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-10 00:00:00.000000000 Z
11
+ date: 2014-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler