zkruby 3.4.3 → 3.4.4.rc3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +11 -0
- data/.yardopts +2 -0
- data/Gemfile +4 -0
- data/README.rdoc +15 -12
- data/Rakefile +26 -31
- data/jute/lib/hoe/jute.rb +1 -1
- data/jute/lib/jute/task.rb +62 -0
- data/lib/em_zkruby.rb +1 -1
- data/lib/zkruby/async_op.rb +193 -0
- data/lib/zkruby/client.rb +61 -46
- data/lib/zkruby/enum.rb +2 -2
- data/lib/zkruby/eventmachine.rb +54 -131
- data/lib/zkruby/protocol.rb +37 -101
- data/lib/zkruby/rubyio.rb +94 -206
- data/lib/zkruby/session.rb +273 -137
- data/lib/zkruby/util.rb +80 -95
- data/lib/zkruby/version.rb +5 -0
- data/lib/zkruby/zkruby.rb +0 -6
- data/spec/eventmachine_spec.rb +9 -30
- data/spec/server_helper.rb +13 -9
- data/spec/shared/basic.rb +36 -2
- data/spec/shared/binding.rb +2 -0
- data/spec/shared/chroot.rb +30 -0
- data/spec/shared/multi.rb +1 -1
- data/spec/shared/performance.rb +50 -0
- data/spec/shared/watch.rb +2 -2
- data/spec/spec_helper.rb +3 -3
- data/zkruby.gemspec +38 -0
- metadata +109 -112
- data/.gemtest +0 -0
- data/Manifest.txt +0 -39
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
metadata
CHANGED
@@ -1,197 +1,192 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zkruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
5
|
-
prerelease:
|
4
|
+
version: 3.4.4.rc3
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Grant Gardner
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
|
-
cert_chain:
|
12
|
-
-
|
13
|
-
|
14
|
-
MIIDYDCCAkigAwIBAgIBADANBgkqhkiG9w0BAQUFADBWMQ4wDAYDVQQDDAVncmFu
|
15
|
-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+TeJSsdehNbD57hyC4+jKrLzFIKvx7TVVn/Wqmd2JtYQgb+ebv/BVCFp
|
43
|
-
|
44
|
-
/da/vfFv5nceMQIfRAwBbCG0garjLvcyim7eIGECj3scJmpNuDuX44B8uDmV3sIG
|
45
|
-
|
46
|
-
TUJYDcP33dfa6DU4jou4EQ644VBbSuIt8+FAgg/EtkfUzR0n3ThCBZ3EpEVrjnE8
|
47
|
-
|
48
|
-
1ZkYUwzHrmKA8VmcjrJbpIWr9ZTqHbql73UDS7eRCxlWP+MDCegVMIXkUFQWvvuy
|
49
|
-
|
50
|
-
zheZVw==
|
51
|
-
|
52
|
-
-----END CERTIFICATE-----
|
53
|
-
|
54
|
-
'
|
55
|
-
date: 2012-02-06 00:00:00.000000000 Z
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-12-17 00:00:00.000000000 Z
|
56
13
|
dependencies:
|
57
14
|
- !ruby/object:Gem::Dependency
|
58
|
-
name:
|
59
|
-
requirement:
|
15
|
+
name: slf4r
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
60
17
|
none: false
|
61
18
|
requirements:
|
62
19
|
- - ~>
|
63
20
|
- !ruby/object:Gem::Version
|
64
|
-
version:
|
21
|
+
version: 0.4.2
|
65
22
|
type: :runtime
|
66
23
|
prerelease: false
|
67
|
-
version_requirements:
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
name: slf4r
|
70
|
-
requirement: &23302380 !ruby/object:Gem::Requirement
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
25
|
none: false
|
72
26
|
requirements:
|
73
27
|
- - ~>
|
74
28
|
- !ruby/object:Gem::Version
|
75
29
|
version: 0.4.2
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: *23302380
|
79
30
|
- !ruby/object:Gem::Dependency
|
80
|
-
name:
|
81
|
-
requirement:
|
31
|
+
name: strand
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
82
33
|
none: false
|
83
34
|
requirements:
|
84
|
-
- -
|
35
|
+
- - ~>
|
85
36
|
- !ruby/object:Gem::Version
|
86
|
-
version: 0.
|
87
|
-
type: :
|
37
|
+
version: 0.2.0.rc0
|
38
|
+
type: :runtime
|
88
39
|
prerelease: false
|
89
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.2.0.rc0
|
90
46
|
- !ruby/object:Gem::Dependency
|
91
|
-
name:
|
92
|
-
requirement:
|
47
|
+
name: bindata
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
93
49
|
none: false
|
94
50
|
requirements:
|
95
51
|
- - ~>
|
96
52
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
98
|
-
type: :
|
53
|
+
version: 1.4.1
|
54
|
+
type: :runtime
|
99
55
|
prerelease: false
|
100
|
-
version_requirements:
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.4.1
|
101
62
|
- !ruby/object:Gem::Dependency
|
102
63
|
name: eventmachine
|
103
|
-
requirement:
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
104
65
|
none: false
|
105
66
|
requirements:
|
106
|
-
- -
|
67
|
+
- - ! '>='
|
107
68
|
- !ruby/object:Gem::Version
|
108
69
|
version: 0.12.10
|
109
70
|
type: :development
|
110
71
|
prerelease: false
|
111
|
-
version_requirements:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 0.12.10
|
112
78
|
- !ruby/object:Gem::Dependency
|
113
|
-
name:
|
114
|
-
requirement:
|
79
|
+
name: logging
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
115
81
|
none: false
|
116
82
|
requirements:
|
117
|
-
- -
|
83
|
+
- - ! '>='
|
118
84
|
- !ruby/object:Gem::Version
|
119
|
-
version:
|
85
|
+
version: 1.4.1
|
120
86
|
type: :development
|
121
87
|
prerelease: false
|
122
|
-
version_requirements:
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: logging
|
125
|
-
requirement: &23489060 !ruby/object:Gem::Requirement
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
126
89
|
none: false
|
127
90
|
requirements:
|
128
91
|
- - ! '>='
|
129
92
|
- !ruby/object:Gem::Version
|
130
93
|
version: 1.4.1
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: rake
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ! '>='
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '0'
|
131
102
|
type: :development
|
132
103
|
prerelease: false
|
133
|
-
version_requirements:
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
134
110
|
- !ruby/object:Gem::Dependency
|
135
111
|
name: rspec
|
136
|
-
requirement:
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
137
113
|
none: false
|
138
114
|
requirements:
|
139
115
|
- - ! '>='
|
140
116
|
- !ruby/object:Gem::Version
|
141
|
-
version:
|
117
|
+
version: '0'
|
142
118
|
type: :development
|
143
119
|
prerelease: false
|
144
|
-
version_requirements:
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
145
126
|
- !ruby/object:Gem::Dependency
|
146
|
-
name:
|
147
|
-
requirement:
|
127
|
+
name: yard
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
148
129
|
none: false
|
149
130
|
requirements:
|
150
131
|
- - ! '>='
|
151
132
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0
|
133
|
+
version: '0'
|
153
134
|
type: :development
|
154
135
|
prerelease: false
|
155
|
-
version_requirements:
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
156
142
|
- !ruby/object:Gem::Dependency
|
157
|
-
name:
|
158
|
-
requirement:
|
143
|
+
name: citrus
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
159
145
|
none: false
|
160
146
|
requirements:
|
161
147
|
- - ~>
|
162
148
|
- !ruby/object:Gem::Version
|
163
|
-
version:
|
149
|
+
version: 2.4.0
|
164
150
|
type: :development
|
165
151
|
prerelease: false
|
166
|
-
version_requirements:
|
167
|
-
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ~>
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: 2.4.0
|
158
|
+
description: Supports full ZooKeeper API, synchronous or asynchronous style, watches
|
159
|
+
etc.. with implementations over EventMachine or plain old Ruby IO/Threads
|
168
160
|
email:
|
169
161
|
- grant@lastweekend.com.au
|
170
162
|
executables: []
|
171
163
|
extensions: []
|
172
|
-
extra_rdoc_files:
|
173
|
-
- History.txt
|
174
|
-
- Manifest.txt
|
164
|
+
extra_rdoc_files: []
|
175
165
|
files:
|
166
|
+
- .gitignore
|
167
|
+
- .yardopts
|
168
|
+
- Gemfile
|
176
169
|
- History.txt
|
177
|
-
- Manifest.txt
|
178
170
|
- README.rdoc
|
179
171
|
- Rakefile
|
180
172
|
- jute/jute.citrus
|
181
173
|
- jute/lib/hoe/jute.rb
|
182
174
|
- jute/lib/jute.rb
|
175
|
+
- jute/lib/jute/task.rb
|
176
|
+
- lib/em_zkruby.rb
|
177
|
+
- lib/zkruby.rb
|
178
|
+
- lib/zkruby/async_op.rb
|
183
179
|
- lib/zkruby/bindata.rb
|
180
|
+
- lib/zkruby/client.rb
|
184
181
|
- lib/zkruby/enum.rb
|
185
182
|
- lib/zkruby/eventmachine.rb
|
186
183
|
- lib/zkruby/multi.rb
|
187
184
|
- lib/zkruby/protocol.rb
|
188
185
|
- lib/zkruby/rubyio.rb
|
189
186
|
- lib/zkruby/session.rb
|
190
|
-
- lib/zkruby/client.rb
|
191
187
|
- lib/zkruby/util.rb
|
188
|
+
- lib/zkruby/version.rb
|
192
189
|
- lib/zkruby/zkruby.rb
|
193
|
-
- lib/zkruby.rb
|
194
|
-
- lib/em_zkruby.rb
|
195
190
|
- spec/bindata_spec.rb
|
196
191
|
- spec/enum_spec.rb
|
197
192
|
- spec/eventmachine_spec.rb
|
@@ -200,26 +195,24 @@ files:
|
|
200
195
|
- spec/recipe_helper.rb
|
201
196
|
- spec/rubyio_spec.rb
|
202
197
|
- spec/sequences_spec.rb
|
198
|
+
- spec/server_helper.rb
|
203
199
|
- spec/shared/auth.rb
|
204
200
|
- spec/shared/basic.rb
|
205
201
|
- spec/shared/binding.rb
|
206
202
|
- spec/shared/chroot.rb
|
207
203
|
- spec/shared/multi.rb
|
204
|
+
- spec/shared/performance.rb
|
208
205
|
- spec/shared/util.rb
|
209
206
|
- spec/shared/watch.rb
|
210
207
|
- spec/spec_helper.rb
|
211
|
-
- spec/server_helper.rb
|
212
208
|
- src/jute/zookeeper.jute
|
213
|
-
- lib/jute/zookeeper.rb
|
214
209
|
- yard_ext/enum_handler.rb
|
215
|
-
- .
|
216
|
-
|
210
|
+
- zkruby.gemspec
|
211
|
+
- lib/jute/zookeeper.rb
|
212
|
+
homepage: http://rubygems.org/gems/zkruby
|
217
213
|
licenses: []
|
218
214
|
post_install_message:
|
219
|
-
rdoc_options:
|
220
|
-
- --title
|
221
|
-
- Zkruby Documentation
|
222
|
-
- --quiet
|
215
|
+
rdoc_options: []
|
223
216
|
require_paths:
|
224
217
|
- lib
|
225
218
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -228,16 +221,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
228
221
|
- - ! '>='
|
229
222
|
- !ruby/object:Gem::Version
|
230
223
|
version: '0'
|
224
|
+
segments:
|
225
|
+
- 0
|
226
|
+
hash: 2131471662065326967
|
231
227
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
232
228
|
none: false
|
233
229
|
requirements:
|
234
|
-
- - ! '
|
230
|
+
- - ! '>'
|
235
231
|
- !ruby/object:Gem::Version
|
236
|
-
version:
|
232
|
+
version: 1.3.1
|
237
233
|
requirements: []
|
238
|
-
rubyforge_project:
|
239
|
-
rubygems_version: 1.8.
|
234
|
+
rubyforge_project:
|
235
|
+
rubygems_version: 1.8.24
|
240
236
|
signing_key:
|
241
237
|
specification_version: 3
|
242
|
-
summary: Pure
|
238
|
+
summary: Pure Ruby language binding for ZooKeeper
|
243
239
|
test_files: []
|
240
|
+
has_rdoc: yard
|
data/.gemtest
DELETED
File without changes
|
data/Manifest.txt
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
History.txt
|
2
|
-
Manifest.txt
|
3
|
-
README.rdoc
|
4
|
-
Rakefile
|
5
|
-
jute/jute.citrus
|
6
|
-
jute/lib/hoe/jute.rb
|
7
|
-
jute/lib/jute.rb
|
8
|
-
lib/zkruby/bindata.rb
|
9
|
-
lib/zkruby/enum.rb
|
10
|
-
lib/zkruby/eventmachine.rb
|
11
|
-
lib/zkruby/multi.rb
|
12
|
-
lib/zkruby/protocol.rb
|
13
|
-
lib/zkruby/rubyio.rb
|
14
|
-
lib/zkruby/session.rb
|
15
|
-
lib/zkruby/client.rb
|
16
|
-
lib/zkruby/util.rb
|
17
|
-
lib/zkruby/zkruby.rb
|
18
|
-
lib/zkruby.rb
|
19
|
-
lib/em_zkruby.rb
|
20
|
-
spec/bindata_spec.rb
|
21
|
-
spec/enum_spec.rb
|
22
|
-
spec/eventmachine_spec.rb
|
23
|
-
spec/multi_spec.rb
|
24
|
-
spec/protocol_spec.rb
|
25
|
-
spec/recipe_helper.rb
|
26
|
-
spec/rubyio_spec.rb
|
27
|
-
spec/sequences_spec.rb
|
28
|
-
spec/shared/auth.rb
|
29
|
-
spec/shared/basic.rb
|
30
|
-
spec/shared/binding.rb
|
31
|
-
spec/shared/chroot.rb
|
32
|
-
spec/shared/multi.rb
|
33
|
-
spec/shared/util.rb
|
34
|
-
spec/shared/watch.rb
|
35
|
-
spec/spec_helper.rb
|
36
|
-
spec/server_helper.rb
|
37
|
-
src/jute/zookeeper.jute
|
38
|
-
lib/jute/zookeeper.rb
|
39
|
-
yard_ext/enum_handler.rb
|
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED
Binary file
|