em-zeromq 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b18b2269bf2ccb78f40b370755f2e365ab6c9aab
4
+ data.tar.gz: 7e126baa63267270a997687d934d9d15b3889aed
5
+ SHA512:
6
+ metadata.gz: f2889f4cfc0fe47918be9fa0f45bb60c5575540e33ba78c8b448e17976e7c42197e6983519ff2e39dcb7a3398269fbd7ae5f9d479e48e8e4c560611da774c40c
7
+ data.tar.gz: bf5b6ab4e4c4591e164250076b853934c522bd9223e8d3b8bc20ed06e38c179d36d4257a53f3d180ecb1f746e72fafad0ce9a3e7aa825aeb41109733d6c6fbc6
data/em-zeromq.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
 
18
18
  s.add_dependency 'eventmachine', '>= 1.0.0'
19
19
  s.add_dependency 'ffi', '>= 1.0.0'
20
- s.add_dependency 'ffi-rzmq', '= 0.9.7'
20
+ s.add_dependency 'ffi-rzmq', '~> 1.0.1'
21
21
 
22
22
  s.add_development_dependency 'rspec', '>= 2.5.0'
23
23
  s.add_development_dependency 'simplecov'
@@ -51,6 +51,10 @@ module EventMachine
51
51
  def connect(address)
52
52
  @socket.connect(address)
53
53
  end
54
+
55
+ def disconnect(address)
56
+ @socket.disconnect(address)
57
+ end
54
58
 
55
59
  def subscribe(what = '')
56
60
  raise "only valid on sub socket type (was #{@socket.name})" unless @socket.name == 'SUB'
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module EmZeromq
3
- VERSION = "0.4.1"
3
+ VERSION = "0.4.2"
4
4
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-zeromq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
5
- prerelease:
4
+ version: 0.4.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Andrew Cholakian
@@ -10,102 +9,90 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-01-09 00:00:00.000000000 Z
12
+ date: 2013-04-28 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: eventmachine
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - '>='
21
19
  - !ruby/object:Gem::Version
22
20
  version: 1.0.0
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - '>='
29
26
  - !ruby/object:Gem::Version
30
27
  version: 1.0.0
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: ffi
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - '>='
37
33
  - !ruby/object:Gem::Version
38
34
  version: 1.0.0
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - '>='
45
40
  - !ruby/object:Gem::Version
46
41
  version: 1.0.0
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: ffi-rzmq
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - '='
46
+ - - ~>
53
47
  - !ruby/object:Gem::Version
54
- version: 0.9.7
48
+ version: 1.0.1
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - '='
53
+ - - ~>
61
54
  - !ruby/object:Gem::Version
62
- version: 0.9.7
55
+ version: 1.0.1
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: rspec
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
- - - ! '>='
60
+ - - '>='
69
61
  - !ruby/object:Gem::Version
70
62
  version: 2.5.0
71
63
  type: :development
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
- - - ! '>='
67
+ - - '>='
77
68
  - !ruby/object:Gem::Version
78
69
  version: 2.5.0
79
70
  - !ruby/object:Gem::Dependency
80
71
  name: simplecov
81
72
  requirement: !ruby/object:Gem::Requirement
82
- none: false
83
73
  requirements:
84
- - - ! '>='
74
+ - - '>='
85
75
  - !ruby/object:Gem::Version
86
76
  version: '0'
87
77
  type: :development
88
78
  prerelease: false
89
79
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
80
  requirements:
92
- - - ! '>='
81
+ - - '>='
93
82
  - !ruby/object:Gem::Version
94
83
  version: '0'
95
84
  - !ruby/object:Gem::Dependency
96
85
  name: rake
97
86
  requirement: !ruby/object:Gem::Requirement
98
- none: false
99
87
  requirements:
100
- - - ! '>='
88
+ - - '>='
101
89
  - !ruby/object:Gem::Version
102
90
  version: '0'
103
91
  type: :development
104
92
  prerelease: false
105
93
  version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
94
  requirements:
108
- - - ! '>='
95
+ - - '>='
109
96
  - !ruby/object:Gem::Version
110
97
  version: '0'
111
98
  description: Low level event machine support for ZeroMQ
@@ -139,6 +126,7 @@ files:
139
126
  - spec/spec_helper.rb
140
127
  homepage: https://github.com/andrewvc/em-zeromq
141
128
  licenses: []
129
+ metadata: {}
142
130
  post_install_message:
143
131
  rdoc_options:
144
132
  - --main
@@ -146,28 +134,20 @@ rdoc_options:
146
134
  require_paths:
147
135
  - lib
148
136
  required_ruby_version: !ruby/object:Gem::Requirement
149
- none: false
150
137
  requirements:
151
- - - ! '>='
138
+ - - '>='
152
139
  - !ruby/object:Gem::Version
153
140
  version: '0'
154
- segments:
155
- - 0
156
- hash: -528291771408101050
157
141
  required_rubygems_version: !ruby/object:Gem::Requirement
158
- none: false
159
142
  requirements:
160
- - - ! '>='
143
+ - - '>='
161
144
  - !ruby/object:Gem::Version
162
145
  version: '0'
163
- segments:
164
- - 0
165
- hash: -528291771408101050
166
146
  requirements: []
167
147
  rubyforge_project: em-zeromq
168
- rubygems_version: 1.8.24
148
+ rubygems_version: 2.0.0
169
149
  signing_key:
170
- specification_version: 3
150
+ specification_version: 4
171
151
  summary: Low level event machine support for ZeroMQ
172
152
  test_files:
173
153
  - spec/context_spec.rb