logcast 1.0.4 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/logcast/broadcaster.rb +9 -0
  3. metadata +11 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21dc3c5e63bbb5bb1adab5da4f69a140004372b0
4
- data.tar.gz: 356c0e385de67bbf6c9b8ae64ba78ec81db4d44d
3
+ metadata.gz: 7446cf136097806715a9f2bfcdf270cc06f42bd6
4
+ data.tar.gz: a1ececc17db0952fb202a20064e89ecc43aa7080
5
5
  SHA512:
6
- metadata.gz: b1ccc36d1563e0a2e22007aeec0008576f74aace97a016da8062d901bfd5eb93e51332e032b6c1b85b98a85acfb896cffce7286d8fd206a25c01eea93527de28
7
- data.tar.gz: 0b4798fb32ace0ea39f9e43ebb3e823e751c8624add5fc5e70af74f0f19bb2c0641b4f2cdffdc67f1bfe9ccc2343f0e784011b6ea0cb72e32aeab5f04417571b
6
+ metadata.gz: ae4bbe38c4638fbc77a53ffbf76d75998bfdf2d7c4bcfc734b07fd5302b5e0fe41fbf3b91fff4e6e8a6ab0839b6c74452aea75e2298f319e020029171b912329
7
+ data.tar.gz: f3ee1c4286caeda42351935f99dd1ed5dffbf512acf485e5706af4fbf4904173d153d8ece74d141841e61aff1fac73484d52af12c4a7c32e4a70b09dfa15d09d
@@ -42,6 +42,15 @@ class Logcast::Broadcaster
42
42
  end
43
43
  end
44
44
 
45
+ # Kernel#warn is defined by Ruby
46
+ def warn(*args, &block)
47
+ method_missing("warn", *args, &block)
48
+ end
49
+
50
+ def respond_to?(*args)
51
+ subscribers.any?{|s| s.respond_to?(*args) } || super
52
+ end
53
+
45
54
  private
46
55
 
47
56
  def already_subscribed?(logger)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logcast
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Davidovitz
@@ -9,46 +9,46 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-10 00:00:00.000000000 Z
12
+ date: 2019-01-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: '0'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '0'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: activesupport
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
- description: Broadcasts logs, including support for Rails version 2.3 through 3.2.
42
+ description: Broadcasts logs, including support for Rails version 4.2.
43
43
  email:
44
44
  - support@zendesk.com
45
45
  executables: []
46
46
  extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
+ - lib/logcast.rb
49
50
  - lib/logcast/broadcaster.rb
50
51
  - lib/logcast/rails.rb
51
- - lib/logcast.rb
52
52
  homepage: http://developer.zendesk.com
53
53
  licenses:
54
54
  - Apache License Version 2.0
@@ -59,17 +59,17 @@ require_paths:
59
59
  - lib
60
60
  required_ruby_version: !ruby/object:Gem::Requirement
61
61
  requirements:
62
- - - '>='
62
+ - - ">="
63
63
  - !ruby/object:Gem::Version
64
64
  version: 1.8.7
65
65
  required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: 1.3.6
70
70
  requirements: []
71
71
  rubyforge_project:
72
- rubygems_version: 2.1.11
72
+ rubygems_version: 2.6.14.1
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Log Broadcaster