blabbermouth-rails 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 +4 -4
- data/lib/blabbermouth/rails/bystander.rb +1 -0
- data/spec/blabbermouth/rails/bystander_spec.rb +5 -0
- 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: bc2a80bd72bbf66ba5d755634e160068924bd2af
|
4
|
+
data.tar.gz: 0537d98c3846b8f14ab918cb6b4f84ea954c45c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2f5202ef1cd65c2260a5981044edb399df8f1167dc4871bd91f16e3837c105d6a7a8ea966c521c6394d24711973fb5dbf73d1c68eb152c0dc3cf4345a5533f7
|
7
|
+
data.tar.gz: dfcfffd2680ab83314f7d9f9986f09c064933ee1fc1ab5241691d6d35a0be80208b9de4c57ae28ad30aee40f8d42f666824e44750f02a4639407897fb3d8ed83
|
@@ -2,6 +2,11 @@ require 'blabbermouth-rails'
|
|
2
2
|
require 'spec_helper'
|
3
3
|
|
4
4
|
RSpec.describe Blabbermouth::Bystanders::Rails do
|
5
|
+
it 'responds to dynamic event methods' do
|
6
|
+
subject.custom('blabbermouth.test.custom')
|
7
|
+
expect(Rails.logger.infos).to include(subject.send(:log_message, :custom, 'blabbermouth.test.custom', nil))
|
8
|
+
end
|
9
|
+
|
5
10
|
describe '#error' do
|
6
11
|
it 'uses the rails logger' do
|
7
12
|
subject.error('key', StandardError.new)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blabbermouth-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Rebec
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: blabbermouth
|