dalli-ext-spymemcached 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Memcached clients all use their own way of deciding which server from a list
4
4
  of configured servers a specific key should be stored on. Hence different
5
- memcached libraries often don't work to well together.
5
+ memcached libraries often don't work too well together.
6
6
 
7
7
  This gem changes [Dalli][]'s server hashing algorithm to match that of the
8
8
  [Spymemcached][] Java client.
@@ -14,7 +14,10 @@ require 'dalli'
14
14
  require 'dalli-ext-spymemcached'
15
15
  ```
16
16
 
17
- # Licence
17
+ [dalli]: https://github.com/mperham/dalli
18
+ [spymemcached]: http://code.google.com/p/spymemcached/
19
+
20
+ ## Licence
18
21
 
19
22
  (The MIT License)
20
23
 
@@ -36,7 +39,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
36
39
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
37
40
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
38
41
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
39
- THE SOFTWARE.
40
-
41
- [dalli]: https://github.com/mperham/dalli
42
- [spymemcached]: http://code.google.com/p/spymemcached/
42
+ THE SOFTWARE.
@@ -34,7 +34,9 @@ module Dalli
34
34
  end
35
35
  end
36
36
  end
37
- end
38
37
 
39
- # Replace default implementation.
40
- Dalli::Ring = Dalli::Ext::Spymemcached::Ring
38
+ # Replace default implementation.
39
+ remove_const :Ring
40
+ Ring = Ext::Spymemcached::Ring
41
+
42
+ end
@@ -1,7 +1,7 @@
1
1
  module Dalli
2
2
  module Ext
3
3
  module Spymemcached
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,20 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dalli-ext-spymemcached
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jim Myhrberg
9
9
  - Mat Sadler
10
+ - Tim Blair
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2012-06-07 00:00:00.000000000 Z
14
+ date: 2012-10-11 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: dalli
17
- requirement: &2156262200 !ruby/object:Gem::Requirement
18
+ requirement: !ruby/object:Gem::Requirement
18
19
  none: false
19
20
  requirements:
20
21
  - - ! '>='
@@ -22,10 +23,15 @@ dependencies:
22
23
  version: '0'
23
24
  type: :runtime
24
25
  prerelease: false
25
- version_requirements: *2156262200
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ! '>='
30
+ - !ruby/object:Gem::Version
31
+ version: '0'
26
32
  - !ruby/object:Gem::Dependency
27
33
  name: rake
28
- requirement: &2156261520 !ruby/object:Gem::Requirement
34
+ requirement: !ruby/object:Gem::Requirement
29
35
  none: false
30
36
  requirements:
31
37
  - - ! '>='
@@ -33,10 +39,15 @@ dependencies:
33
39
  version: '0'
34
40
  type: :development
35
41
  prerelease: false
36
- version_requirements: *2156261520
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
37
48
  - !ruby/object:Gem::Dependency
38
49
  name: rspec
39
- requirement: &2156260900 !ruby/object:Gem::Requirement
50
+ requirement: !ruby/object:Gem::Requirement
40
51
  none: false
41
52
  requirements:
42
53
  - - ! '>='
@@ -44,10 +55,15 @@ dependencies:
44
55
  version: '0'
45
56
  type: :development
46
57
  prerelease: false
47
- version_requirements: *2156260900
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
48
64
  - !ruby/object:Gem::Dependency
49
65
  name: simplecov
50
- requirement: &2156260100 !ruby/object:Gem::Requirement
66
+ requirement: !ruby/object:Gem::Requirement
51
67
  none: false
52
68
  requirements:
53
69
  - - ! '>='
@@ -55,11 +71,17 @@ dependencies:
55
71
  version: '0'
56
72
  type: :development
57
73
  prerelease: false
58
- version_requirements: *2156260100
74
+ version_requirements: !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ! '>='
78
+ - !ruby/object:Gem::Version
79
+ version: '0'
59
80
  description: Dalli server-hashing algorithm to match spymemcachedJava library.
60
81
  email:
61
82
  - contact@jimeh.me
62
83
  - matsadler@globalpersonals.co.uk
84
+ - tim@bla.ir
63
85
  executables: []
64
86
  extensions: []
65
87
  extra_rdoc_files: []
@@ -91,7 +113,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
113
  version: '0'
92
114
  requirements: []
93
115
  rubyforge_project:
94
- rubygems_version: 1.8.11
116
+ rubygems_version: 1.8.24
95
117
  signing_key:
96
118
  specification_version: 3
97
119
  summary: Dalli server-hashing algorithm to match spymemcachedJava library.