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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e1ed235bc4cd791d0c0ad6279b5fca298a16cbf
4
- data.tar.gz: ffd4236a2d2bda4eaa8312203de67cd3ba70d375
3
+ metadata.gz: 87cf8156abefa39eaab7be881aa46cbedfac81fa
4
+ data.tar.gz: 68c8f4303731297a32a3e6caa4f12f6147524262
5
5
  SHA512:
6
- metadata.gz: 371f62ff6cf3eeed00b49f7a1558ea09e36ac9624aa4f01e6505304076131b2ea13becc5cddb77f3277ab146ab8ce9d10cf206282e6c8b7418def53afce492ef
7
- data.tar.gz: 2fb607df81eb016dfe6d461cc481a2cc40a91b14a847e9d4035f4fdc6a5c9c9f1dd72f73d2dd4e8e11d71fa06461d5391b57a5fb35685e835c9a18bc205ffc42
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
@@ -1,3 +1,3 @@
1
1
  module ActiveOrm
2
- VERSION = '4.0.2'.freeze
2
+ VERSION = '4.0.3'.freeze
3
3
  end
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.2
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-27 00:00:00.000000000 Z
11
+ date: 2017-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails