zk 1.6.3 → 1.6.4
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.
- data/Gemfile +1 -1
- data/README.markdown +5 -0
- data/RELEASES.markdown +5 -0
- data/lib/zk/install_fork_hooks.rb +1 -1
- data/lib/zk/version.rb +1 -1
- data/zk.gemspec +2 -3
- metadata +10 -27
data/Gemfile
CHANGED
@@ -8,7 +8,7 @@ source :rubygems
|
|
8
8
|
# keep closer track of this stuff to make bisecting easier and travis more
|
9
9
|
# accurate
|
10
10
|
|
11
|
-
# git 'git://github.com/slyphon/zookeeper.git', :tag => 'dev/zk/
|
11
|
+
# git 'git://github.com/slyphon/zookeeper.git', :tag => 'dev/zk/00011' do
|
12
12
|
# gem 'zookeeper', '~> 1.2.0'
|
13
13
|
# end
|
14
14
|
|
data/README.markdown
CHANGED
@@ -65,6 +65,11 @@ In addition to all of that, I would like to think that the public API the ZK::Cl
|
|
65
65
|
[zk-eventmachine]: https://github.com/slyphon/zk-eventmachine
|
66
66
|
|
67
67
|
## NEWS ##
|
68
|
+
### v1.6.4 ###
|
69
|
+
|
70
|
+
* Remove unnecessary dependency on backports gem
|
71
|
+
* *Fix for use in resque!* A small bug was preventing resque from activating the fork hook.
|
72
|
+
|
68
73
|
### v1.6.2 ###
|
69
74
|
|
70
75
|
* Change state call to reduce the chances of deadlocks
|
data/RELEASES.markdown
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
This file notes feature differences and bugfixes contained between releases.
|
2
2
|
|
3
|
+
### v1.6.4 ###
|
4
|
+
|
5
|
+
* Remove unnecessary dependency on backports gem
|
6
|
+
* Fix for use in resque! A small bug was preventing resque from activating the fork hook.
|
7
|
+
|
3
8
|
### v1.6.3 ###
|
4
9
|
|
5
10
|
* Retry when lock creation fails due to a NoNode exception
|
@@ -23,7 +23,6 @@ module ::Kernel
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
26
|
-
module_function :fork_with_zk_hooks
|
27
26
|
|
28
27
|
if defined?(fork_without_zk_hooks)
|
29
28
|
remove_method :fork
|
@@ -33,5 +32,6 @@ module ::Kernel
|
|
33
32
|
|
34
33
|
alias fork_without_zk_hooks fork
|
35
34
|
alias fork fork_with_zk_hooks
|
35
|
+
module_function :fork
|
36
36
|
end
|
37
37
|
|
data/lib/zk/version.rb
CHANGED
data/zk.gemspec
CHANGED
@@ -7,13 +7,12 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.version = ZK::VERSION
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Jonathan D. Simms", "Topper Bowers"]
|
10
|
-
s.email = ["
|
10
|
+
s.email = ["slyphon@gmail.com"]
|
11
11
|
s.homepage = "https://github.com/slyphon/zk"
|
12
12
|
s.summary = %q{A high-level wrapper around the zookeeper driver}
|
13
13
|
s.description = s.summary + "\n"
|
14
14
|
|
15
|
-
s.add_runtime_dependency 'zookeeper', '~> 1.2.
|
16
|
-
s.add_runtime_dependency 'backports', '~> 2.5.1'
|
15
|
+
s.add_runtime_dependency 'zookeeper', '~> 1.2.11'
|
17
16
|
s.add_runtime_dependency 'logging', '~> 1.7.2'
|
18
17
|
|
19
18
|
s.files = `git ls-files`.split("\n")
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 6
|
9
|
-
-
|
10
|
-
version: 1.6.
|
9
|
+
- 4
|
10
|
+
version: 1.6.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jonathan D. Simms
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-
|
19
|
+
date: 2012-07-19 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: zookeeper
|
@@ -26,34 +26,18 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 9
|
30
30
|
segments:
|
31
31
|
- 1
|
32
32
|
- 2
|
33
|
-
-
|
34
|
-
version: 1.2.
|
33
|
+
- 11
|
34
|
+
version: 1.2.11
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: backports
|
39
|
-
prerelease: false
|
40
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
hash: 25
|
46
|
-
segments:
|
47
|
-
- 2
|
48
|
-
- 5
|
49
|
-
- 1
|
50
|
-
version: 2.5.1
|
51
|
-
type: :runtime
|
52
|
-
version_requirements: *id002
|
53
37
|
- !ruby/object:Gem::Dependency
|
54
38
|
name: logging
|
55
39
|
prerelease: false
|
56
|
-
requirement: &
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
57
41
|
none: false
|
58
42
|
requirements:
|
59
43
|
- - ~>
|
@@ -65,13 +49,12 @@ dependencies:
|
|
65
49
|
- 2
|
66
50
|
version: 1.7.2
|
67
51
|
type: :runtime
|
68
|
-
version_requirements: *
|
52
|
+
version_requirements: *id002
|
69
53
|
description: |
|
70
54
|
A high-level wrapper around the zookeeper driver
|
71
55
|
|
72
56
|
email:
|
73
|
-
-
|
74
|
-
- tobowers@hp.com
|
57
|
+
- slyphon@gmail.com
|
75
58
|
executables: []
|
76
59
|
|
77
60
|
extensions: []
|