semian 0.8.2 → 0.8.3
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/semian/redis.rb +1 -1
- data/lib/semian/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 36b4357747467cafab6b0c42471f8cfe169507aa
|
|
4
|
+
data.tar.gz: 5b1283ad1a0d7cd9df8b3e82ac14e73a89765d69
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9102fa0caff36c3bc4235a0a4e0df3eec20ae86b474ec9fea59c38cff3ae075d357cef424c7f820afddd70e423798c75a27c3a12c68e2204944359a406a9b1c
|
|
7
|
+
data.tar.gz: a29c0ab88f8c05c9111912ec20b61de5104fad3675997279e235a5adabc931811f8b58e71faca04742e5d5fe18885b6cf99b3ae622136e02d3fbf594aa95504e
|
data/lib/semian/redis.rb
CHANGED
|
@@ -108,7 +108,7 @@ module Semian
|
|
|
108
108
|
|
|
109
109
|
def raise_if_out_of_memory(reply)
|
|
110
110
|
return unless reply.is_a?(::Redis::CommandError)
|
|
111
|
-
return unless reply.message
|
|
111
|
+
return unless reply.message =~ /OOM command not allowed when used memory > 'maxmemory'\.\s*\z/
|
|
112
112
|
raise ::Redis::OutOfMemoryError.new(reply.message)
|
|
113
113
|
end
|
|
114
114
|
end
|
data/lib/semian/version.rb
CHANGED