redis-namespace 1.5.3 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
data/spec/spec_helper.rb CHANGED
@@ -4,6 +4,7 @@ Bundler.setup(:default, :test)
4
4
  Bundler.require(:default, :test)
5
5
 
6
6
  require 'rspec'
7
+ require 'rspec/its'
7
8
  require 'redis'
8
9
  require 'logger'
9
10
 
@@ -11,6 +12,10 @@ $TESTING=true
11
12
  $:.unshift File.join(File.dirname(__FILE__), '..', 'lib')
12
13
  require 'redis/namespace'
13
14
 
15
+ if Redis.respond_to?(:exists_returns_integer=)
16
+ Redis.exists_returns_integer = true
17
+ end
18
+
14
19
  module Helper
15
20
  def capture_stderr(io = nil)
16
21
  require 'stringio'
metadata CHANGED
@@ -1,66 +1,75 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-namespace
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.3
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Wanstrath
8
8
  - Terence Lee
9
9
  - Steve Klabnik
10
10
  - Ryan Biesemeyer
11
- autorequire:
11
+ - Mike Bianco
12
+ autorequire:
12
13
  bindir: bin
13
14
  cert_chain: []
14
- date: 2017-02-16 00:00:00.000000000 Z
15
+ date: 2022-08-13 00:00:00.000000000 Z
15
16
  dependencies:
16
17
  - !ruby/object:Gem::Dependency
17
18
  name: redis
18
19
  requirement: !ruby/object:Gem::Requirement
19
20
  requirements:
20
- - - "~>"
21
- - !ruby/object:Gem::Version
22
- version: '3.0'
23
21
  - - ">="
24
22
  - !ruby/object:Gem::Version
25
- version: 3.0.4
23
+ version: '4'
26
24
  type: :runtime
27
25
  prerelease: false
28
26
  version_requirements: !ruby/object:Gem::Requirement
29
27
  requirements:
30
- - - "~>"
31
- - !ruby/object:Gem::Version
32
- version: '3.0'
33
28
  - - ">="
34
29
  - !ruby/object:Gem::Version
35
- version: 3.0.4
30
+ version: '4'
36
31
  - !ruby/object:Gem::Dependency
37
32
  name: rake
38
33
  requirement: !ruby/object:Gem::Requirement
39
34
  requirements:
40
- - - "~>"
35
+ - - ">="
41
36
  - !ruby/object:Gem::Version
42
- version: '10.1'
37
+ version: '0'
43
38
  type: :development
44
39
  prerelease: false
45
40
  version_requirements: !ruby/object:Gem::Requirement
46
41
  requirements:
47
- - - "~>"
42
+ - - ">="
48
43
  - !ruby/object:Gem::Version
49
- version: '10.1'
44
+ version: '0'
50
45
  - !ruby/object:Gem::Dependency
51
46
  name: rspec
52
47
  requirement: !ruby/object:Gem::Requirement
53
48
  requirements:
54
49
  - - "~>"
55
50
  - !ruby/object:Gem::Version
56
- version: '2.14'
51
+ version: '3.7'
57
52
  type: :development
58
53
  prerelease: false
59
54
  version_requirements: !ruby/object:Gem::Requirement
60
55
  requirements:
61
56
  - - "~>"
62
57
  - !ruby/object:Gem::Version
63
- version: '2.14'
58
+ version: '3.7'
59
+ - !ruby/object:Gem::Dependency
60
+ name: rspec-its
61
+ requirement: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
64
73
  description: |
65
74
  Adds a Redis::Namespace class which can be used to namespace calls
66
75
  to Redis. This is useful when using a single instance of Redis with
@@ -70,6 +79,7 @@ email:
70
79
  - hone02@gmail.com
71
80
  - steve@steveklabnik.com
72
81
  - me@yaauie.com
82
+ - mike@mikebian.co
73
83
  executables: []
74
84
  extensions: []
75
85
  extra_rdoc_files: []
@@ -83,11 +93,16 @@ files:
83
93
  - spec/deprecation_spec.rb
84
94
  - spec/redis_spec.rb
85
95
  - spec/spec_helper.rb
86
- homepage: http://github.com/resque/redis-namespace
96
+ homepage: https://github.com/resque/redis-namespace
87
97
  licenses:
88
98
  - MIT
89
- metadata: {}
90
- post_install_message:
99
+ metadata:
100
+ bug_tracker_uri: https://github.com/resque/redis-namespace/issues
101
+ changelog_uri: https://github.com/resque/redis-namespace/blob/master/CHANGELOG.md
102
+ documentation_uri: https://www.rubydoc.info/gems/redis-namespace/1.9.0
103
+ source_code_uri: https://github.com/resque/redis-namespace/tree/v1.9.0
104
+ rubygems_mfa_required: 'true'
105
+ post_install_message:
91
106
  rdoc_options: []
92
107
  require_paths:
93
108
  - lib
@@ -95,16 +110,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
95
110
  requirements:
96
111
  - - ">="
97
112
  - !ruby/object:Gem::Version
98
- version: '0'
113
+ version: '2.4'
99
114
  required_rubygems_version: !ruby/object:Gem::Requirement
100
115
  requirements:
101
116
  - - ">="
102
117
  - !ruby/object:Gem::Version
103
118
  version: '0'
104
119
  requirements: []
105
- rubyforge_project:
106
- rubygems_version: 2.5.1
107
- signing_key:
120
+ rubygems_version: 3.1.6
121
+ signing_key:
108
122
  specification_version: 4
109
123
  summary: Namespaces Redis commands.
110
124
  test_files: []