logcast 1.1.1 → 1.2.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 +5 -5
  2. data/lib/logcast/broadcaster.rb +4 -0
  3. metadata +6 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: fa192ddbbacea11e89860dd23dd933cb133721ea
4
- data.tar.gz: 6895cec2a0779f872c3674d5a200feb15c686db0
2
+ SHA256:
3
+ metadata.gz: f2ccc31f2e68f0a35edfcbccc9c87462ad2c779f08b0a0858a38ebb38a9a297f
4
+ data.tar.gz: 2dbe7a057cf7080e4e10f0c4e52fc1cac5aff92af2b7196b6823dd812142ded4
5
5
  SHA512:
6
- metadata.gz: 0071f6b12e1b94403c920b40f61bf89d85288cb5c2f8331f568d984dc7893fa505d5925f7fa7b42887eb8eb52af8f7fb6efd40f9e41fdc67d6143a84c256d20e
7
- data.tar.gz: 106bc8cdd8cdf1cc51a78e3c52ac9a427754e1fd974a24eab64abe2e988dfee500b7158c12914f9f40e9ed89678e2feb01ef3111825f173a7eb4bfabd0ccb1a1
6
+ metadata.gz: 57c5fa53d11284be2e3909524e8c37ea5197694e8a0d10c042cc660b2340f92872bac47ef5cd84495ecb61ad2496d2eeb7a4e2cd7c44614189de23f57cf9b06b
7
+ data.tar.gz: 86e39eca741ba0454d4ea40fc60d2ec4ca0adab1b3b7a1809f3c12b2e9eb0e36ef3945b3277dd9ba5dd92db361ec2f7eb6ab14077c7adf4b6c07293333651bd4
@@ -42,6 +42,10 @@ class Logcast::Broadcaster
42
42
  end
43
43
  end
44
44
 
45
+ def respond_to_missing?(name, include_all)
46
+ subscribers.any? { |s| s.respond_to?(name) } || super
47
+ end
48
+
45
49
  # Kernel#warn is defined by Ruby
46
50
  def warn(*args, &block)
47
51
  method_missing("warn", *args, &block)
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logcast
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Davidovitz
8
8
  - Michael Grosser
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-01-16 00:00:00.000000000 Z
12
+ date: 2021-08-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -53,7 +53,7 @@ homepage: http://developer.zendesk.com
53
53
  licenses:
54
54
  - Apache License Version 2.0
55
55
  metadata: {}
56
- post_install_message:
56
+ post_install_message:
57
57
  rdoc_options: []
58
58
  require_paths:
59
59
  - lib
@@ -68,9 +68,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  - !ruby/object:Gem::Version
69
69
  version: 1.3.6
70
70
  requirements: []
71
- rubyforge_project:
72
- rubygems_version: 2.6.13
73
- signing_key:
71
+ rubygems_version: 3.0.3.1
72
+ signing_key:
74
73
  specification_version: 4
75
74
  summary: Log Broadcaster
76
75
  test_files: []