sohm 0.10.3 → 0.10.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.
- checksums.yaml +4 -4
- data/lib/sohm.rb +4 -1
- data/sohm.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e3535b494d6d9ea2a3cde1c08eaf6259980363c8
|
|
4
|
+
data.tar.gz: 2bb1ed28088e7fb7404d4a52ad23a13bf4212d37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0810c10c0e83b755c37497de3d9d3fb0ad332594dde7bf13c89038fbeca14c29b023406980abd24ac6df8974178fa62df05f6ea5c1e1419f7921a2ba83eb61a
|
|
7
|
+
data.tar.gz: 7eb424caa0eaa30bc9bd5e6dc9365faa0bd34b73243372cbb63bbc29b2360a21b4d68e855ceb648c722507ceabbfc83a29e2489e821d513ff952d85ff6aa6508
|
data/lib/sohm.rb
CHANGED
|
@@ -68,7 +68,10 @@ module Sohm
|
|
|
68
68
|
def self.const(context, name)
|
|
69
69
|
case name
|
|
70
70
|
when Symbol, String
|
|
71
|
-
|
|
71
|
+
# In JRuby, Module::const_get can not work on nested symbols
|
|
72
|
+
# such as "Foo::Bar", so we have to do it piece by piece here
|
|
73
|
+
pieces = name.to_s.split("::")
|
|
74
|
+
pieces.reduce(context) { |context, piece| context.const_get(piece) }
|
|
72
75
|
else name
|
|
73
76
|
end
|
|
74
77
|
end
|
data/sohm.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = "sohm"
|
|
3
|
-
s.version = "0.10.
|
|
3
|
+
s.version = "0.10.4"
|
|
4
4
|
s.summary = %{Slim ohm for twemproxy-like system}
|
|
5
5
|
s.description = %Q{Slim ohm is a forked ohm that works with twemproxy-like redis system, only a limited set of features in ohm is supported}
|
|
6
6
|
s.authors = ["Xuejie Xiao"]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sohm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Xuejie Xiao
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-07-
|
|
11
|
+
date: 2015-07-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: redic
|