gripcontrol 0.2.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/grippubcontrol.rb +7 -0
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9b62afb4338b37256758b58f1e959e40c5f45212
4
- data.tar.gz: 21ffa0c1927a93ce093d5315d5d0eaae6b12ed58
3
+ metadata.gz: cb685268f1ea61c39270498828601e45855428dc
4
+ data.tar.gz: c21e473c4e1eb219f60b15907821635f2062c28e
5
5
  SHA512:
6
- metadata.gz: 1aedadcb5d5559803db3fd53c7c91d4b46b47918bf9b2fc513f2d1ed611520155f295b36ca5208e00b47c1773c80f29844a80b99b69ec65713073a5ac39f2045
7
- data.tar.gz: d3dd7823ac5e8c2a481e0daaaf0258f59e96e422668e257ccf45ccd833e4ed7c2e1ebfa4a54b5655b148a5c0deaa0b50329ecf532288e33325e85f69b2173cea
6
+ metadata.gz: 5255d6bd37494a6577e7611d1affdca5f2ba4cd6100904e92cd76c16b0a484e9aa0075a438c7eefdefc61010d104570328a1b94ed5b87d8c8b2a23f9a1e00505
7
+ data.tar.gz: c9bc4d2e40a22f9573c221f218b552ecbce972e0af034677a9802bfc4972199f97d35cf3bf139df84b617e986d23d700378b76996e07e06c26bdc69ade452d90
@@ -12,6 +12,13 @@ class GripPubControl < PubControl
12
12
  alias super_publish publish
13
13
  alias super_publish_async publish_async
14
14
 
15
+ def initialize(config=nil)
16
+ @clients = Array.new
17
+ if !config.nil?
18
+ apply_grip_config(config)
19
+ end
20
+ end
21
+
15
22
  def apply_grip_config(config)
16
23
  if !config.is_a?(Array)
17
24
  config = [config]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gripcontrol
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Bokarius
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-08 00:00:00.000000000 Z
11
+ date: 2015-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pubcontrol
@@ -52,7 +52,7 @@ files:
52
52
  - lib/response.rb
53
53
  - lib/websocketevent.rb
54
54
  - lib/websocketmessageformat.rb
55
- homepage: http://rubygems.org/gems/gripcontrol
55
+ homepage: https://github.com/fanout/ruby-gripcontrol
56
56
  licenses:
57
57
  - MIT
58
58
  metadata: {}