active_orm 4.0.2 → 4.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_orm/redis/string.rb +4 -0
- data/lib/active_orm/version.rb +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: 87cf8156abefa39eaab7be881aa46cbedfac81fa
|
4
|
+
data.tar.gz: 68c8f4303731297a32a3e6caa4f12f6147524262
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e36bc75f882c676b415e82aefa1c73af1674a78e66659b1cd53b5d76c61dcb651f03a3f1da3522bf8ac48d3caafd9a8a50028740e64aafd7c72b6ffd2153cdf4
|
7
|
+
data.tar.gz: c88479768d5f79f0c82f2b40cb6e8cb09045f263bc5d9753b0779f514711aa930d1a3f7c3c123a57cf019087b86de5b628718a4444ad058db854eddc7f70b533
|
@@ -81,6 +81,10 @@ class ActiveOrm::Redis::String < ActiveOrm::Redis
|
|
81
81
|
client.bitcount(normalize_key(key), start, finish)
|
82
82
|
end
|
83
83
|
|
84
|
+
def self.bit_where(operation, key, *keys)
|
85
|
+
client.bitop(operation, key, *keys)
|
86
|
+
end
|
87
|
+
|
84
88
|
def self.get_bit(key, offset)
|
85
89
|
client.getbit(normalize_key(key), offset)
|
86
90
|
end
|
data/lib/active_orm/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_orm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|