redis-bloomfilter 1.0.0 → 1.0.1

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: 03a3466f74223e60731f3054278118e7ce0d3745826469b3f752e0b916e664e1
4
- data.tar.gz: 840df14ff183236d0c1dd78e954b43635c39469e82c845787b7741526edb4890
3
+ metadata.gz: 7ad9f7110655941d31af9601bb5f4bc039f02f2bee7d66ef09c52c32796487e2
4
+ data.tar.gz: 57daaf41aaee08713cf7b9e0c5bb1e40772af503acf0c5111008ba4daa899b88
5
5
  SHA512:
6
- metadata.gz: 82d34182fd1599a6c88f87b6d04cfc0d1e01fe001920b8e7e6371e7bfb824549c21697853516b8f34b90c238616ed88a4b3d1e9c5e9e109430d87b20e0400f5e
7
- data.tar.gz: 6595a1a50381052cd7bfdc4d4c73cf2710deab362168fd08aff1d1c14abb58a0a7ccfa219a04067b7b5f4175e351180d33f0d69f3477d591fad66a2cc168facf
6
+ metadata.gz: 1a68456cb710464e8e2021f2d859c9253a353db34c49f192af5751f8977a0bb1bb05b63d6ef6d8cea3bf836e3235bc97786fe6549fdfedba2eb0fd9ab23d1a05
7
+ data.tar.gz: 697ce76ea20dbfb916d70787265ccc0c27c60fb726555a449e4d968117fc521685c5e3f3df3257b3951cfa550fd20a1a042daf4162f4ec70ffc6ec98b6f71fe3
data/.travis.yml CHANGED
@@ -1,9 +1,12 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.6
3
+ # - 2.6
4
4
  - 2.5
5
5
  - 2.4
6
6
  - 2.3
7
7
 
8
8
  services:
9
9
  - redis
10
+
11
+ before_install:
12
+ - gem update --system
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- $LOAD_PATH.push File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.push File.expand_path('lib', __dir__)
4
4
  require 'redis-bloomfilter'
5
5
  require 'benchmark'
6
6
  items = 100_000
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- $LOAD_PATH.push File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.push File.expand_path('lib', __dir__)
4
4
  require 'redis-bloomfilter'
5
5
  require 'benchmark'
6
6
  require 'set'
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'redis'
4
- require 'redis/connection/hiredis'
5
4
  require 'redis/bloomfilter'
6
5
  require 'redis/bloomfilter/version'
7
6
  require 'bloomfilter_driver/ruby'
@@ -2,7 +2,7 @@
2
2
 
3
3
  class Redis
4
4
  class Bloomfilter
5
- VERSION = '1.0.0'
5
+ VERSION = '1.0.1'
6
6
  def self.version
7
7
  "redis-bloomfilter version #{VERSION}"
8
8
  end
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  # frozen_string_literal: true
3
3
 
4
- $LOAD_PATH.push File.expand_path('../lib', __FILE__)
4
+ $LOAD_PATH.push File.expand_path('lib', __dir__)
5
5
  require 'redis/bloomfilter/version'
6
6
 
7
7
  Gem::Specification.new do |s|
@@ -23,7 +23,6 @@ Gem::Specification.new do |s|
23
23
  s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
24
24
  s.require_paths = ['lib']
25
25
 
26
- s.add_runtime_dependency 'hiredis', '~> 0.6.1'
27
26
  s.add_runtime_dependency 'redis', '~> 4.0', '>= 4.0.1'
28
27
 
29
28
  s.add_development_dependency 'flexmock'
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-bloomfilter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Laurita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-05 00:00:00.000000000 Z
11
+ date: 2018-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: hiredis
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: 0.6.1
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: 0.6.1
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: redis
29
15
  requirement: !ruby/object:Gem::Requirement