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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42cfa4313ad42428faffa6dbbea1c86e0de0929c
4
- data.tar.gz: e44971f4bbe840d494937086662474c879f4c4ee
3
+ metadata.gz: 36b4357747467cafab6b0c42471f8cfe169507aa
4
+ data.tar.gz: 5b1283ad1a0d7cd9df8b3e82ac14e73a89765d69
5
5
  SHA512:
6
- metadata.gz: 51b71df03478d468b5876a0cf3984f8e6cbaf534be84aadca1040cfad1caeaf052fa2079fb188d7b2c3a9840b5920945bdf221790a4c22dbb9fd594733927657
7
- data.tar.gz: 83761550f418462e9a69b4d713d1f97e99985e09b5cdcbe88d97dc4eba3a2b3b99e0900485f8014319aa95cdb08005955a5fa59c2e36db041886607b72b7c432
6
+ metadata.gz: e9102fa0caff36c3bc4235a0a4e0df3eec20ae86b474ec9fea59c38cff3ae075d357cef424c7f820afddd70e423798c75a27c3a12c68e2204944359a406a9b1c
7
+ data.tar.gz: a29c0ab88f8c05c9111912ec20b61de5104fad3675997279e235a5adabc931811f8b58e71faca04742e5d5fe18885b6cf99b3ae622136e02d3fbf594aa95504e
@@ -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 == "OOM command not allowed when used memory > 'maxmemory'."
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
@@ -1,3 +1,3 @@
1
1
  module Semian
2
- VERSION = '0.8.2'
2
+ VERSION = '0.8.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semian
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Francis