slyphon-zookeeper 0.3.0 → 0.8.0.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +25 -5
- data/ext/c_zookeeper.rb +214 -0
- data/ext/dbg.h +18 -2
- data/ext/depend +1 -2
- data/ext/zookeeper_base.rb +71 -100
- data/ext/zookeeper_c.c +52 -41
- data/ext/zookeeper_lib.c +90 -78
- data/ext/zookeeper_lib.h +0 -1
- data/java/zookeeper_base.rb +72 -154
- data/lib/zookeeper.rb +41 -15
- data/lib/zookeeper/common.rb +69 -9
- data/lib/zookeeper/common/queue_with_pipe.rb +78 -0
- data/lib/zookeeper/constants.rb +28 -0
- data/lib/zookeeper/em_client.rb +11 -144
- data/lib/zookeeper/exceptions.rb +4 -1
- data/slyphon-zookeeper.gemspec +1 -1
- data/spec/c_zookeeper_spec.rb +50 -0
- data/spec/chrooted_connection_spec.rb +121 -0
- data/spec/em_spec.rb +0 -61
- data/spec/shared/all_success_return_values.rb +10 -0
- data/spec/shared/connection_examples.rb +990 -0
- data/spec/spec_helper.rb +42 -19
- data/spec/zookeeper_spec.rb +8 -1033
- metadata +25 -11
metadata
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slyphon-zookeeper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: -3630593450
|
5
|
+
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 8
|
9
9
|
- 0
|
10
|
-
|
10
|
+
- rc
|
11
|
+
- 1
|
12
|
+
version: 0.8.0.rc.1
|
11
13
|
platform: ruby
|
12
14
|
authors:
|
13
15
|
- Phillip Pearson
|
@@ -20,7 +22,7 @@ autorequire:
|
|
20
22
|
bindir: bin
|
21
23
|
cert_chain: []
|
22
24
|
|
23
|
-
date: 2012-04-
|
25
|
+
date: 2012-04-21 00:00:00 Z
|
24
26
|
dependencies:
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: rspec
|
@@ -62,7 +64,7 @@ dependencies:
|
|
62
64
|
requirements:
|
63
65
|
- - "="
|
64
66
|
- !ruby/object:Gem::Version
|
65
|
-
hash:
|
67
|
+
hash: -1432400188
|
66
68
|
segments:
|
67
69
|
- 1
|
68
70
|
- 0
|
@@ -138,6 +140,7 @@ files:
|
|
138
140
|
- examples/cloud_config.rb
|
139
141
|
- ext/.gitignore
|
140
142
|
- ext/Rakefile
|
143
|
+
- ext/c_zookeeper.rb
|
141
144
|
- ext/dbg.h
|
142
145
|
- ext/depend
|
143
146
|
- ext/extconf.rb
|
@@ -151,15 +154,20 @@ files:
|
|
151
154
|
- lib/zookeeper/acls.rb
|
152
155
|
- lib/zookeeper/callbacks.rb
|
153
156
|
- lib/zookeeper/common.rb
|
157
|
+
- lib/zookeeper/common/queue_with_pipe.rb
|
154
158
|
- lib/zookeeper/constants.rb
|
155
159
|
- lib/zookeeper/em_client.rb
|
156
160
|
- lib/zookeeper/exceptions.rb
|
157
161
|
- lib/zookeeper/stat.rb
|
158
162
|
- notes.txt
|
159
163
|
- slyphon-zookeeper.gemspec
|
164
|
+
- spec/c_zookeeper_spec.rb
|
165
|
+
- spec/chrooted_connection_spec.rb
|
160
166
|
- spec/default_watcher_spec.rb
|
161
167
|
- spec/em_spec.rb
|
162
168
|
- spec/log4j.properties
|
169
|
+
- spec/shared/all_success_return_values.rb
|
170
|
+
- spec/shared/connection_examples.rb
|
163
171
|
- spec/spec_helper.rb
|
164
172
|
- spec/support/progress_formatter.rb
|
165
173
|
- spec/zookeeper_spec.rb
|
@@ -190,23 +198,29 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
190
198
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
199
|
none: false
|
192
200
|
requirements:
|
193
|
-
- - "
|
201
|
+
- - ">"
|
194
202
|
- !ruby/object:Gem::Version
|
195
|
-
hash:
|
203
|
+
hash: 25
|
196
204
|
segments:
|
197
|
-
-
|
198
|
-
|
205
|
+
- 1
|
206
|
+
- 3
|
207
|
+
- 1
|
208
|
+
version: 1.3.1
|
199
209
|
requirements: []
|
200
210
|
|
201
211
|
rubyforge_project:
|
202
|
-
rubygems_version: 1.8.
|
212
|
+
rubygems_version: 1.8.15
|
203
213
|
signing_key:
|
204
214
|
specification_version: 3
|
205
215
|
summary: twitter's zookeeper client
|
206
216
|
test_files:
|
217
|
+
- spec/c_zookeeper_spec.rb
|
218
|
+
- spec/chrooted_connection_spec.rb
|
207
219
|
- spec/default_watcher_spec.rb
|
208
220
|
- spec/em_spec.rb
|
209
221
|
- spec/log4j.properties
|
222
|
+
- spec/shared/all_success_return_values.rb
|
223
|
+
- spec/shared/connection_examples.rb
|
210
224
|
- spec/spec_helper.rb
|
211
225
|
- spec/support/progress_formatter.rb
|
212
226
|
- spec/zookeeper_spec.rb
|