simplepubsub 1.1.12 → 1.1.13

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: 3fa2440821e1cfd5e2e1366aaacffa3ec66aca07
4
- data.tar.gz: d4fadc68989e611e573a2cc7bfb7beb28929191b
3
+ metadata.gz: f5354b1436e4ee47561c6f265298359e14c587b0
4
+ data.tar.gz: d7a33dada06d3aa7d3daa695f1b184dfd8c4ea6b
5
5
  SHA512:
6
- metadata.gz: 8384a477f6958d571564cea003dedaa476c211f854b9d90a1e0f8fe89999db6707be8163a23dafaf04415e932359e2ebe9a9d84d044e9a3edf17c1fec0ea1d66
7
- data.tar.gz: 357acccbb6f865146a796f3b642e413ecfc220783301eb262b3cdaf6f5ad71e3b5fe60b4dde19d481b88f279cc33c692bde2928c821748c7c63ef814db5e77c5
6
+ metadata.gz: 3d236ad7a00a56f18a47c6e9b68d7f7e48f299dae7cd31216bc21564e73f70b6a322deb4f43d978919bb05beece02124a3acdea106f2908e650d6ffb030411b0
7
+ data.tar.gz: fb615e15cacba577aaf3d9984f134db0466377e9c808593644e0127ad89f9726f70ada4a67cdd3353867f0d035aa064723f3b86a167d0ffa290f6eada8d6efb3
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/simplepubsub.rb CHANGED
@@ -51,7 +51,7 @@ module SimplePubSub
51
51
 
52
52
  #puts "publish this %s: %s" % a
53
53
  current_topic, message = a
54
- return if current_topic[/ /] # contains 1 or more spaces
54
+ return if current_topic =~ /[^a-zA-Z0-9\/_]/
55
55
 
56
56
  reg = XMLRegistry.new
57
57
  reg[current_topic] = message
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplepubsub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.12
4
+ version: 1.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  uOVdk9PsRKwYmaspqeSKWj4fpSd1mCtTjPlLbGQC/8sULVs7AlYVp2pAKbkXkbTn
32
32
  EkYZt+RIxgYhhw==
33
33
  -----END CERTIFICATE-----
34
- date: 2014-11-26 00:00:00.000000000 Z
34
+ date: 2015-05-23 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: websocket-eventmachine-server
@@ -62,7 +62,7 @@ dependencies:
62
62
  version: '1.0'
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: 1.0.1
65
+ version: 1.1.0
66
66
  type: :runtime
67
67
  prerelease: false
68
68
  version_requirements: !ruby/object:Gem::Requirement
@@ -72,7 +72,7 @@ dependencies:
72
72
  version: '1.0'
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 1.0.1
75
+ version: 1.1.0
76
76
  - !ruby/object:Gem::Dependency
77
77
  name: xml-registry
78
78
  requirement: !ruby/object:Gem::Requirement
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.2.2
123
+ rubygems_version: 2.4.6
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: simplepubsub
metadata.gz.sig CHANGED
Binary file