zookeeper 1.5.1-java → 1.5.3-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0857aaef4a9dfa6b71ca96fd4aadaa6dcb4d2ad7be916dbd6d0ae994e5fb70d3'
4
- data.tar.gz: 518129d5e5fb35b53225766926128272424a7f9c0cec6615880520a8ba948319
3
+ metadata.gz: f8285e314ad0ccf4d29ba76c0057886ba4c0adb271667feda8896948b84ebb96
4
+ data.tar.gz: 0bcc72fbd77feef7cd92100abcef9af615ecfd315a98075d163243f3071eb26f
5
5
  SHA512:
6
- metadata.gz: 8694d67c5a1b959fbde2707b9f2f4e1ee3dfd7afb53c9173de6d27b1a15f26531b201398b4e8487bfada8874e79f54737086c63cf87dd4c72c32112458a78dbd
7
- data.tar.gz: 59323715e3ec0eb4427b455ed6ade65deeaee46a0bcf0172e58038820053b1e854117f44b882da2d8ae187021f2957032f3f61aa6d5a6c415e8ab85ddc1a2e6d
6
+ metadata.gz: 45230151b25a8025676938423326ee3e6bc6d220e8fcdf369afd1aeb69c1b464dce2b4001b117b23f62ddadd1c83b20677121bae71d29aacbd5a8e3867136bef
7
+ data.tar.gz: 43982207320acd3621269347571ddb189560be5c47f7e029bb92499121358d5cf842cfd1ffb8a0a03bb3dcd14f8e0e1eb21020ad10b9d727f07af81c7b041088
@@ -17,11 +17,12 @@ jobs:
17
17
  - ubuntu-latest
18
18
  - macos-latest
19
19
  ruby:
20
- - 2.5
21
- - 2.6
22
- - 2.7
23
- - 3.0
24
- - jruby
20
+ - '2.5'
21
+ - '2.6'
22
+ - '2.7'
23
+ - '3.0'
24
+ - '3.1'
25
+ - 'jruby'
25
26
  gcc:
26
27
  - 7
27
28
  - latest
@@ -46,6 +47,7 @@ jobs:
46
47
  with:
47
48
  ruby-version: ${{ matrix.ruby }}
48
49
  bundler-cache: true
50
+ cache-version: 1_${{ matrix.ruby }}_${{ matrix.os }}
49
51
 
50
52
  - name: Run Tests
51
53
  env:
data/.gitmodules CHANGED
@@ -1,3 +1,3 @@
1
1
  [submodule "releaseops"]
2
2
  path = releaseops
3
- url = git://github.com/slyphon/releaseops.git
3
+ url = https://github.com/zk-ruby/releaseops.git
data/CHANGELOG CHANGED
@@ -1,3 +1,10 @@
1
+ v1.5.3
2
+ * Ruby 3.1 compatibility (h/t: @casperisfine)
3
+
4
+ v1.5.2 (YANKED)
5
+ * Ruby 3.1 compatibility and zookeeper client updates.
6
+ * This release had build issues in the wild and was yanked
7
+
1
8
  v1.5.1
2
9
  * Update config.guess to support newer environments (h/t: @malmckay)
3
10
 
File without changes
data/ext/zkrb.c CHANGED
@@ -203,7 +203,6 @@ inline static int we_are_forked(zkrb_instance_data_t *zk) {
203
203
  return rv;
204
204
  }
205
205
 
206
-
207
206
  static int destroy_zkrb_instance(zkrb_instance_data_t* zk) {
208
207
  int rv = ZOK;
209
208
 
@@ -245,6 +244,11 @@ static void free_zkrb_instance_data(zkrb_instance_data_t* ptr) {
245
244
  destroy_zkrb_instance(ptr);
246
245
  }
247
246
 
247
+ VALUE alloc_zkrb_instance(VALUE klass) {
248
+ zkrb_instance_data_t* zk = ZALLOC_N(zkrb_instance_data_t, 1);
249
+ return Data_Wrap_Struct(klass, NULL, free_zkrb_instance_data, zk);
250
+ }
251
+
248
252
  static void print_zkrb_instance_data(zkrb_instance_data_t* ptr) {
249
253
  fprintf(stderr, "zkrb_instance_data (%p) {\n", ptr);
250
254
  fprintf(stderr, " zh = %p\n", ptr->zh);
@@ -1013,7 +1017,7 @@ static void zkrb_define_methods(void) {
1013
1017
  DEFINE_METHOD(close_handle, 0);
1014
1018
  DEFINE_METHOD(deterministic_conn_order, 1);
1015
1019
  DEFINE_METHOD(is_unrecoverable, 0);
1016
- DEFINE_METHOD(recv_timeout, 1);
1020
+ DEFINE_METHOD(recv_timeout, 0);
1017
1021
  DEFINE_METHOD(zkrb_state, 0);
1018
1022
  DEFINE_METHOD(sync, 2);
1019
1023
  DEFINE_METHOD(zkrb_iterate_event_loop, 0);
@@ -1063,6 +1067,7 @@ void Init_zookeeper_c() {
1063
1067
 
1064
1068
  /* initialize CZookeeper class */
1065
1069
  CZookeeper = rb_define_class_under(mZookeeper, "CZookeeper", rb_cObject);
1070
+ rb_define_alloc_func(CZookeeper, alloc_zkrb_instance);
1066
1071
  zkrb_define_methods();
1067
1072
 
1068
1073
  ZookeeperClientId = rb_define_class_under(CZookeeper, "ClientId", rb_cObject);
@@ -1,4 +1,4 @@
1
1
  module Zookeeper
2
- VERSION = '1.5.1'
2
+ VERSION = '1.5.3'
3
3
  DRIVER_VERSION = '3.4.5'
4
4
  end
File without changes
data/zoomonkey/duplicates CHANGED
File without changes
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zookeeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.3
5
5
  platform: java
6
6
  authors:
7
7
  - Phillip Pearson
@@ -14,31 +14,31 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2021-11-16 00:00:00.000000000 Z
17
+ date: 2022-07-18 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
+ name: slyphon-log4j
20
21
  requirement: !ruby/object:Gem::Requirement
21
22
  requirements:
22
23
  - - '='
23
24
  - !ruby/object:Gem::Version
24
25
  version: 1.2.15
25
- name: slyphon-log4j
26
- prerelease: false
27
26
  type: :runtime
27
+ prerelease: false
28
28
  version_requirements: !ruby/object:Gem::Requirement
29
29
  requirements:
30
30
  - - '='
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.2.15
33
33
  - !ruby/object:Gem::Dependency
34
+ name: slyphon-zookeeper_jar
34
35
  requirement: !ruby/object:Gem::Requirement
35
36
  requirements:
36
37
  - - '='
37
38
  - !ruby/object:Gem::Version
38
39
  version: 3.3.5
39
- name: slyphon-zookeeper_jar
40
- prerelease: false
41
40
  type: :runtime
41
+ prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - '='
@@ -160,8 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  requirements: []
163
- rubyforge_project:
164
- rubygems_version: 2.7.9
163
+ rubygems_version: 3.2.3
165
164
  signing_key:
166
165
  specification_version: 4
167
166
  summary: Apache ZooKeeper driver for Rubies
@@ -183,3 +182,4 @@ test_files:
183
182
  - spec/support/progress_formatter.rb
184
183
  - spec/support/zookeeper_spec_helpers.rb
185
184
  - spec/zookeeper_spec.rb
185
+ ...