zkruby 3.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/.gemtest +0 -0
- data/History.txt +18 -0
- data/Manifest.txt +39 -0
- data/README.rdoc +119 -0
- data/Rakefile +39 -0
- data/jute/jute.citrus +105 -0
- data/jute/lib/hoe/jute.rb +56 -0
- data/jute/lib/jute.rb +120 -0
- data/lib/em_zkruby.rb +4 -0
- data/lib/jute/zookeeper.rb +203 -0
- data/lib/zkruby.rb +4 -0
- data/lib/zkruby/bindata.rb +45 -0
- data/lib/zkruby/client.rb +608 -0
- data/lib/zkruby/enum.rb +108 -0
- data/lib/zkruby/eventmachine.rb +186 -0
- data/lib/zkruby/multi.rb +47 -0
- data/lib/zkruby/protocol.rb +182 -0
- data/lib/zkruby/rubyio.rb +310 -0
- data/lib/zkruby/session.rb +445 -0
- data/lib/zkruby/util.rb +141 -0
- data/lib/zkruby/zkruby.rb +27 -0
- data/spec/bindata_spec.rb +51 -0
- data/spec/enum_spec.rb +84 -0
- data/spec/eventmachine_spec.rb +50 -0
- data/spec/multi_spec.rb +93 -0
- data/spec/protocol_spec.rb +72 -0
- data/spec/recipe_helper.rb +68 -0
- data/spec/rubyio_spec.rb +8 -0
- data/spec/sequences_spec.rb +19 -0
- data/spec/server_helper.rb +45 -0
- data/spec/shared/auth.rb +40 -0
- data/spec/shared/basic.rb +180 -0
- data/spec/shared/binding.rb +33 -0
- data/spec/shared/chroot.rb +61 -0
- data/spec/shared/multi.rb +38 -0
- data/spec/shared/util.rb +56 -0
- data/spec/shared/watch.rb +49 -0
- data/spec/spec_helper.rb +12 -0
- data/src/jute/zookeeper.jute +288 -0
- data/yard_ext/enum_handler.rb +16 -0
- metadata +243 -0
- metadata.gz.sig +0 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'yard'
|
2
|
+
|
3
|
+
|
4
|
+
class EnumConstantHandler < YARD::Handlers::Ruby::ConstantHandler
|
5
|
+
# Bug in YARD means negative constants are not shown properly.
|
6
|
+
handles method_call(:enum)
|
7
|
+
namespace_only
|
8
|
+
def process
|
9
|
+
name = statement.parameters.first.jump(:ident).source
|
10
|
+
value = statement.parameters[1].source
|
11
|
+
register YARD::CodeObjects::ConstantObject.new(namespace, name.upcase) { |o|
|
12
|
+
o.source = statement; o.value = value; o.dynamic=true
|
13
|
+
}
|
14
|
+
|
15
|
+
end
|
16
|
+
end
|
metadata
ADDED
@@ -0,0 +1,243 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: zkruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.4.3
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Grant Gardner
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain:
|
12
|
+
- ! '-----BEGIN CERTIFICATE-----
|
13
|
+
|
14
|
+
MIIDYDCCAkigAwIBAgIBADANBgkqhkiG9w0BAQUFADBWMQ4wDAYDVQQDDAVncmFu
|
15
|
+
|
16
|
+
dDEbMBkGCgmSJomT8ixkARkWC2xhc3R3ZWVrZW5kMRMwEQYKCZImiZPyLGQBGRYD
|
17
|
+
|
18
|
+
Y29tMRIwEAYKCZImiZPyLGQBGRYCYXUwHhcNMTEwMzA0MDgyMDU4WhcNMTIwMzAz
|
19
|
+
|
20
|
+
MDgyMDU4WjBWMQ4wDAYDVQQDDAVncmFudDEbMBkGCgmSJomT8ixkARkWC2xhc3R3
|
21
|
+
|
22
|
+
ZWVrZW5kMRMwEQYKCZImiZPyLGQBGRYDY29tMRIwEAYKCZImiZPyLGQBGRYCYXUw
|
23
|
+
|
24
|
+
ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDZMivZ63DzwHyC2Zzk23fA
|
25
|
+
|
26
|
+
GbTwLVi1WY/X36F3YIss8rDG9iiIcgSjS1fwarbenTdbOenWtRkTgh5zQdg2gker
|
27
|
+
|
28
|
+
KlXCTdklILDYoSMlopnVXgnqbvwdGhylyWwIp6kkZxaSbRBht35x02RgQmaVEb1N
|
29
|
+
|
30
|
+
iHvfHSdsH7tc2mAi8C+fDP2QcJSSo50NXrpW/vis2oo8TcRGVIIp+Y/APZ4KJx1J
|
31
|
+
|
32
|
+
WVrZAZZAICviJCOhNLZiNT1npsllCEo3b+6sy591ijmEuPFjfJu0gEAjRt+kfptr
|
33
|
+
|
34
|
+
PrTm5zP5QPv5w5NS5gkkSjP1q0uqsrhSdm9ONIJc+e9287YbM3SqdWNc3whlOmhp
|
35
|
+
|
36
|
+
AgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBT+Vezp
|
37
|
+
|
38
|
+
3TzNqB1QggX4rz4LLrVNzjANBgkqhkiG9w0BAQUFAAOCAQEAWYauurgZeHF828KI
|
39
|
+
|
40
|
+
9BPEAdtGquNjl3XUNer8VffxYyTDp+coDEm2X8f25irMP8oeHcPu9MUjWHFC8Tlq
|
41
|
+
|
42
|
+
keYnjSdQ+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
|
56
|
+
dependencies:
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: bindata
|
59
|
+
requirement: &23303500 !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
61
|
+
requirements:
|
62
|
+
- - ~>
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 1.4.1
|
65
|
+
type: :runtime
|
66
|
+
prerelease: false
|
67
|
+
version_requirements: *23303500
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: slf4r
|
70
|
+
requirement: &23302380 !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.4.2
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: *23302380
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
name: hoe-yard
|
81
|
+
requirement: &23492660 !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ! '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 0.1.2
|
87
|
+
type: :development
|
88
|
+
prerelease: false
|
89
|
+
version_requirements: *23492660
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: citrus
|
92
|
+
requirement: &23491500 !ruby/object:Gem::Requirement
|
93
|
+
none: false
|
94
|
+
requirements:
|
95
|
+
- - ~>
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 2.4.0
|
98
|
+
type: :development
|
99
|
+
prerelease: false
|
100
|
+
version_requirements: *23491500
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: eventmachine
|
103
|
+
requirement: &23490500 !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
105
|
+
requirements:
|
106
|
+
- - ~>
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: 0.12.10
|
109
|
+
type: :development
|
110
|
+
prerelease: false
|
111
|
+
version_requirements: *23490500
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: strand
|
114
|
+
requirement: &23489880 !ruby/object:Gem::Requirement
|
115
|
+
none: false
|
116
|
+
requirements:
|
117
|
+
- - ~>
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: 0.1.0
|
120
|
+
type: :development
|
121
|
+
prerelease: false
|
122
|
+
version_requirements: *23489880
|
123
|
+
- !ruby/object:Gem::Dependency
|
124
|
+
name: logging
|
125
|
+
requirement: &23489060 !ruby/object:Gem::Requirement
|
126
|
+
none: false
|
127
|
+
requirements:
|
128
|
+
- - ! '>='
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: 1.4.1
|
131
|
+
type: :development
|
132
|
+
prerelease: false
|
133
|
+
version_requirements: *23489060
|
134
|
+
- !ruby/object:Gem::Dependency
|
135
|
+
name: rspec
|
136
|
+
requirement: &23488180 !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 2.7.0
|
142
|
+
type: :development
|
143
|
+
prerelease: false
|
144
|
+
version_requirements: *23488180
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: hoe-yard
|
147
|
+
requirement: &23487620 !ruby/object:Gem::Requirement
|
148
|
+
none: false
|
149
|
+
requirements:
|
150
|
+
- - ! '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 0.1.2
|
153
|
+
type: :development
|
154
|
+
prerelease: false
|
155
|
+
version_requirements: *23487620
|
156
|
+
- !ruby/object:Gem::Dependency
|
157
|
+
name: hoe
|
158
|
+
requirement: &23485440 !ruby/object:Gem::Requirement
|
159
|
+
none: false
|
160
|
+
requirements:
|
161
|
+
- - ~>
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '2.13'
|
164
|
+
type: :development
|
165
|
+
prerelease: false
|
166
|
+
version_requirements: *23485440
|
167
|
+
description: Pure ruby client for ZooKeeper (http://zookeeper.apache.org)
|
168
|
+
email:
|
169
|
+
- grant@lastweekend.com.au
|
170
|
+
executables: []
|
171
|
+
extensions: []
|
172
|
+
extra_rdoc_files:
|
173
|
+
- History.txt
|
174
|
+
- Manifest.txt
|
175
|
+
files:
|
176
|
+
- History.txt
|
177
|
+
- Manifest.txt
|
178
|
+
- README.rdoc
|
179
|
+
- Rakefile
|
180
|
+
- jute/jute.citrus
|
181
|
+
- jute/lib/hoe/jute.rb
|
182
|
+
- jute/lib/jute.rb
|
183
|
+
- lib/zkruby/bindata.rb
|
184
|
+
- lib/zkruby/enum.rb
|
185
|
+
- lib/zkruby/eventmachine.rb
|
186
|
+
- lib/zkruby/multi.rb
|
187
|
+
- lib/zkruby/protocol.rb
|
188
|
+
- lib/zkruby/rubyio.rb
|
189
|
+
- lib/zkruby/session.rb
|
190
|
+
- lib/zkruby/client.rb
|
191
|
+
- lib/zkruby/util.rb
|
192
|
+
- lib/zkruby/zkruby.rb
|
193
|
+
- lib/zkruby.rb
|
194
|
+
- lib/em_zkruby.rb
|
195
|
+
- spec/bindata_spec.rb
|
196
|
+
- spec/enum_spec.rb
|
197
|
+
- spec/eventmachine_spec.rb
|
198
|
+
- spec/multi_spec.rb
|
199
|
+
- spec/protocol_spec.rb
|
200
|
+
- spec/recipe_helper.rb
|
201
|
+
- spec/rubyio_spec.rb
|
202
|
+
- spec/sequences_spec.rb
|
203
|
+
- spec/shared/auth.rb
|
204
|
+
- spec/shared/basic.rb
|
205
|
+
- spec/shared/binding.rb
|
206
|
+
- spec/shared/chroot.rb
|
207
|
+
- spec/shared/multi.rb
|
208
|
+
- spec/shared/util.rb
|
209
|
+
- spec/shared/watch.rb
|
210
|
+
- spec/spec_helper.rb
|
211
|
+
- spec/server_helper.rb
|
212
|
+
- src/jute/zookeeper.jute
|
213
|
+
- lib/jute/zookeeper.rb
|
214
|
+
- yard_ext/enum_handler.rb
|
215
|
+
- .gemtest
|
216
|
+
homepage: https://github.com/lwoggardner/zkruby
|
217
|
+
licenses: []
|
218
|
+
post_install_message:
|
219
|
+
rdoc_options:
|
220
|
+
- --title
|
221
|
+
- Zkruby Documentation
|
222
|
+
- --quiet
|
223
|
+
require_paths:
|
224
|
+
- lib
|
225
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
226
|
+
none: false
|
227
|
+
requirements:
|
228
|
+
- - ! '>='
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: '0'
|
231
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
232
|
+
none: false
|
233
|
+
requirements:
|
234
|
+
- - ! '>='
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
requirements: []
|
238
|
+
rubyforge_project: zkruby
|
239
|
+
rubygems_version: 1.8.15
|
240
|
+
signing_key:
|
241
|
+
specification_version: 3
|
242
|
+
summary: Pure ruby client for ZooKeeper (http://zookeeper.apache.org)
|
243
|
+
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|