redis_dedupe 0.0.5 → 0.0.6

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
  SHA256:
3
- metadata.gz: 159791cf789f3fe8a961e3c0c5fb8ae6b484188ed60103f70d0b2bd2503f3465
4
- data.tar.gz: 4b014db8329c328cd4b73cb0375aacecb28b348d303631bd1244f763b9811f44
3
+ metadata.gz: e7e1bf24e46a051a088620a2ffb0e52ab8ee16e545eb493d9aa8165535653404
4
+ data.tar.gz: 669458cb3c1a3970409babf024ebfb327f97bdc30171a5fc89e833bfe5168528
5
5
  SHA512:
6
- metadata.gz: d525826e14962d81846cdaa05d75ac4f9b4dced5a74ad46f833b6ae1e6a2990e5bd5a82093c03b8cf5458fe19cdde2f495bb41e8267f7edca984eb258483859f
7
- data.tar.gz: f781e9ac1f80bbbfcdfc5d54db8fde3df894c2e6b8f408429f498ee2d532bbc78aaf559bbf48a8a6c810cb85a624c732e76b7733d5ff0b4af7c4ee4bceb10714
6
+ metadata.gz: a7c337626bb5e7e52da2f7023f6bf1ac815c5ec4920016eb7fda230d38c180f0d8b1801a27dabdce42eba7983253e99bbe4c65dad0acf6971333b59ac007ae06
7
+ data.tar.gz: 115a49bb415bf73cc85311421f400ed35cf50a059d354ad3aa0f2b41641d8a21a40870c92e1e6b47c5cee9fcc3ae6eed11b4e008f8d3bc28ca65368dda765fbc
@@ -1,3 +1,3 @@
1
1
  module RedisDedupe
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
data/lib/redis_dedupe.rb CHANGED
@@ -18,7 +18,7 @@ module RedisDedupe
18
18
 
19
19
  def check(member)
20
20
  results = redis.pipelined do |pipeline|
21
- pipeline.sadd(key, member)
21
+ pipeline.sadd?(key, member)
22
22
  pipeline.expire(key, expires_in)
23
23
  end
24
24
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis_dedupe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Huynh
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-28 00:00:00.000000000 Z
11
+ date: 2024-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -111,7 +111,7 @@ homepage: ''
111
111
  licenses:
112
112
  - MIT
113
113
  metadata: {}
114
- post_install_message:
114
+ post_install_message:
115
115
  rdoc_options: []
116
116
  require_paths:
117
117
  - lib
@@ -126,8 +126,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
126
126
  - !ruby/object:Gem::Version
127
127
  version: '0'
128
128
  requirements: []
129
- rubygems_version: 3.4.10
130
- signing_key:
129
+ rubygems_version: 3.0.3.1
130
+ signing_key:
131
131
  specification_version: 4
132
132
  summary: A weak deduper to make things like bulk email run safer.
133
133
  test_files: []