zookeeper-ng 1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +7 -0
  2. data/.ctags_paths +1 -0
  3. data/.dotfiles/ruby-gemset +1 -0
  4. data/.dotfiles/ruby-version +1 -0
  5. data/.dotfiles/rvmrc +2 -0
  6. data/.gitignore +19 -0
  7. data/.gitmodules +3 -0
  8. data/.travis.yml +25 -0
  9. data/CHANGELOG +395 -0
  10. data/Gemfile +30 -0
  11. data/Guardfile +8 -0
  12. data/LICENSE +23 -0
  13. data/Manifest +29 -0
  14. data/README.markdown +85 -0
  15. data/Rakefile +121 -0
  16. data/cause-abort.rb +117 -0
  17. data/ext/.gitignore +6 -0
  18. data/ext/Rakefile +41 -0
  19. data/ext/c_zookeeper.rb +398 -0
  20. data/ext/common.h +17 -0
  21. data/ext/dbg.h +53 -0
  22. data/ext/depend +5 -0
  23. data/ext/event_lib.c +740 -0
  24. data/ext/event_lib.h +175 -0
  25. data/ext/extconf.rb +103 -0
  26. data/ext/generate_gvl_code.rb +321 -0
  27. data/ext/patches/zkc-3.3.5-network.patch +24 -0
  28. data/ext/patches/zkc-3.4.5-fetch-and-add.patch +16 -0
  29. data/ext/patches/zkc-3.4.5-logging.patch +41 -0
  30. data/ext/patches/zkc-3.4.5-out-of-order-ping.patch +163 -0
  31. data/ext/patches/zkc-3.4.5-overflow.patch +11 -0
  32. data/ext/patches/zkc-3.4.5-yosemite-htonl-fix.patch +102 -0
  33. data/ext/zkc-3.4.5.tar.gz +0 -0
  34. data/ext/zkrb.c +1075 -0
  35. data/ext/zkrb_wrapper.c +775 -0
  36. data/ext/zkrb_wrapper.h +350 -0
  37. data/ext/zkrb_wrapper_compat.c +15 -0
  38. data/ext/zkrb_wrapper_compat.h +11 -0
  39. data/ext/zookeeper_base.rb +256 -0
  40. data/java/java_base.rb +503 -0
  41. data/lib/zookeeper.rb +115 -0
  42. data/lib/zookeeper/acls.rb +44 -0
  43. data/lib/zookeeper/callbacks.rb +108 -0
  44. data/lib/zookeeper/client.rb +30 -0
  45. data/lib/zookeeper/client_methods.rb +282 -0
  46. data/lib/zookeeper/common.rb +122 -0
  47. data/lib/zookeeper/common/queue_with_pipe.rb +110 -0
  48. data/lib/zookeeper/compatibility.rb +138 -0
  49. data/lib/zookeeper/constants.rb +97 -0
  50. data/lib/zookeeper/continuation.rb +223 -0
  51. data/lib/zookeeper/core_ext.rb +58 -0
  52. data/lib/zookeeper/em_client.rb +55 -0
  53. data/lib/zookeeper/exceptions.rb +135 -0
  54. data/lib/zookeeper/forked.rb +19 -0
  55. data/lib/zookeeper/latch.rb +34 -0
  56. data/lib/zookeeper/logger.rb +39 -0
  57. data/lib/zookeeper/logger/forwarding_logger.rb +84 -0
  58. data/lib/zookeeper/monitor.rb +19 -0
  59. data/lib/zookeeper/rake_tasks.rb +165 -0
  60. data/lib/zookeeper/request_registry.rb +153 -0
  61. data/lib/zookeeper/stat.rb +21 -0
  62. data/lib/zookeeper/version.rb +4 -0
  63. data/notes.txt +14 -0
  64. data/scripts/upgrade-1.0-sed-alike.rb +46 -0
  65. data/spec/c_zookeeper_spec.rb +51 -0
  66. data/spec/chrooted_connection_spec.rb +83 -0
  67. data/spec/compatibilty_spec.rb +8 -0
  68. data/spec/default_watcher_spec.rb +41 -0
  69. data/spec/em_spec.rb +51 -0
  70. data/spec/ext/zookeeper_base_spec.rb +19 -0
  71. data/spec/forked_connection_spec.rb +124 -0
  72. data/spec/latch_spec.rb +24 -0
  73. data/spec/log4j.properties +17 -0
  74. data/spec/shared/all_success_return_values.rb +10 -0
  75. data/spec/shared/connection_examples.rb +1077 -0
  76. data/spec/spec_helper.rb +61 -0
  77. data/spec/support/00_logging.rb +38 -0
  78. data/spec/support/10_spawn_zookeeper.rb +24 -0
  79. data/spec/support/progress_formatter.rb +15 -0
  80. data/spec/support/zookeeper_spec_helpers.rb +96 -0
  81. data/spec/zookeeper_spec.rb +24 -0
  82. data/zookeeper.gemspec +38 -0
  83. data/zoomonkey/duplicates +3 -0
  84. data/zoomonkey/zoomonkey.rb +194 -0
  85. metadata +157 -0
metadata ADDED
@@ -0,0 +1,157 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zookeeper-ng
3
+ version: !ruby/object:Gem::Version
4
+ version: '1.5'
5
+ platform: ruby
6
+ authors:
7
+ - Ben Fritsch
8
+ - Phillip Pearson
9
+ - Eric Maland
10
+ - Evan Weaver
11
+ - Brian Wickman
12
+ - Neil Conway
13
+ - Jonathan D. Simms
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+ date: 2021-08-06 00:00:00.000000000 Z
18
+ dependencies: []
19
+ description: |+
20
+ A low-level multi-Ruby wrapper around the ZooKeeper API bindings. For a
21
+ friendlier interface, see http://github.com/slyphon/zk. Currently supported:
22
+ MRI: {1.8.7, 1.9.2, 1.9.3}, JRuby: ~> 1.6.7, Rubinius: 2.0.testing, REE 1.8.7.
23
+
24
+ This library uses version 3.4.5 of zookeeper bindings.
25
+
26
+ email:
27
+ - ich@abwesend.com
28
+ executables: []
29
+ extensions:
30
+ - ext/extconf.rb
31
+ extra_rdoc_files: []
32
+ files:
33
+ - ".ctags_paths"
34
+ - ".dotfiles/ruby-gemset"
35
+ - ".dotfiles/ruby-version"
36
+ - ".dotfiles/rvmrc"
37
+ - ".gitignore"
38
+ - ".gitmodules"
39
+ - ".travis.yml"
40
+ - CHANGELOG
41
+ - Gemfile
42
+ - Guardfile
43
+ - LICENSE
44
+ - Manifest
45
+ - README.markdown
46
+ - Rakefile
47
+ - cause-abort.rb
48
+ - ext/.gitignore
49
+ - ext/Rakefile
50
+ - ext/c_zookeeper.rb
51
+ - ext/common.h
52
+ - ext/dbg.h
53
+ - ext/depend
54
+ - ext/event_lib.c
55
+ - ext/event_lib.h
56
+ - ext/extconf.rb
57
+ - ext/generate_gvl_code.rb
58
+ - ext/patches/zkc-3.3.5-network.patch
59
+ - ext/patches/zkc-3.4.5-fetch-and-add.patch
60
+ - ext/patches/zkc-3.4.5-logging.patch
61
+ - ext/patches/zkc-3.4.5-out-of-order-ping.patch
62
+ - ext/patches/zkc-3.4.5-overflow.patch
63
+ - ext/patches/zkc-3.4.5-yosemite-htonl-fix.patch
64
+ - ext/zkc-3.4.5.tar.gz
65
+ - ext/zkrb.c
66
+ - ext/zkrb_wrapper.c
67
+ - ext/zkrb_wrapper.h
68
+ - ext/zkrb_wrapper_compat.c
69
+ - ext/zkrb_wrapper_compat.h
70
+ - ext/zookeeper_base.rb
71
+ - java/java_base.rb
72
+ - lib/zookeeper.rb
73
+ - lib/zookeeper/acls.rb
74
+ - lib/zookeeper/callbacks.rb
75
+ - lib/zookeeper/client.rb
76
+ - lib/zookeeper/client_methods.rb
77
+ - lib/zookeeper/common.rb
78
+ - lib/zookeeper/common/queue_with_pipe.rb
79
+ - lib/zookeeper/compatibility.rb
80
+ - lib/zookeeper/constants.rb
81
+ - lib/zookeeper/continuation.rb
82
+ - lib/zookeeper/core_ext.rb
83
+ - lib/zookeeper/em_client.rb
84
+ - lib/zookeeper/exceptions.rb
85
+ - lib/zookeeper/forked.rb
86
+ - lib/zookeeper/latch.rb
87
+ - lib/zookeeper/logger.rb
88
+ - lib/zookeeper/logger/forwarding_logger.rb
89
+ - lib/zookeeper/monitor.rb
90
+ - lib/zookeeper/rake_tasks.rb
91
+ - lib/zookeeper/request_registry.rb
92
+ - lib/zookeeper/stat.rb
93
+ - lib/zookeeper/version.rb
94
+ - notes.txt
95
+ - scripts/upgrade-1.0-sed-alike.rb
96
+ - spec/c_zookeeper_spec.rb
97
+ - spec/chrooted_connection_spec.rb
98
+ - spec/compatibilty_spec.rb
99
+ - spec/default_watcher_spec.rb
100
+ - spec/em_spec.rb
101
+ - spec/ext/zookeeper_base_spec.rb
102
+ - spec/forked_connection_spec.rb
103
+ - spec/latch_spec.rb
104
+ - spec/log4j.properties
105
+ - spec/shared/all_success_return_values.rb
106
+ - spec/shared/connection_examples.rb
107
+ - spec/spec_helper.rb
108
+ - spec/support/00_logging.rb
109
+ - spec/support/10_spawn_zookeeper.rb
110
+ - spec/support/progress_formatter.rb
111
+ - spec/support/zookeeper_spec_helpers.rb
112
+ - spec/zookeeper_spec.rb
113
+ - zookeeper.gemspec
114
+ - zoomonkey/duplicates
115
+ - zoomonkey/zoomonkey.rb
116
+ homepage: https://github.com/slyphon/zookeeper
117
+ licenses: []
118
+ metadata: {}
119
+ post_install_message:
120
+ rdoc_options: []
121
+ require_paths:
122
+ - lib
123
+ - ext
124
+ required_ruby_version: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ required_rubygems_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ requirements: []
135
+ rubygems_version: 3.2.22
136
+ signing_key:
137
+ specification_version: 4
138
+ summary: Apache ZooKeeper driver for Rubies
139
+ test_files:
140
+ - spec/c_zookeeper_spec.rb
141
+ - spec/chrooted_connection_spec.rb
142
+ - spec/compatibilty_spec.rb
143
+ - spec/default_watcher_spec.rb
144
+ - spec/em_spec.rb
145
+ - spec/ext/zookeeper_base_spec.rb
146
+ - spec/forked_connection_spec.rb
147
+ - spec/latch_spec.rb
148
+ - spec/log4j.properties
149
+ - spec/shared/all_success_return_values.rb
150
+ - spec/shared/connection_examples.rb
151
+ - spec/spec_helper.rb
152
+ - spec/support/00_logging.rb
153
+ - spec/support/10_spawn_zookeeper.rb
154
+ - spec/support/progress_formatter.rb
155
+ - spec/support/zookeeper_spec_helpers.rb
156
+ - spec/zookeeper_spec.rb
157
+ ...