redis-namespace 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/redis/namespace.rb +4 -0
  3. metadata +31 -57
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e4b085133184d4d2479ecc4488830816a5fcf835
4
+ data.tar.gz: 6c5282ec08c1b283d2ca769fbee91dbdb45a4583
5
+ SHA512:
6
+ metadata.gz: fa6d86634a5d0d203a961811e12b2910c1c8504a90276867d573b4b740868c3d5d2ffdcd7dd84f6dc566cbf08f8be9043bba672bf44b6f1cd7ee5ba7f2cb371d
7
+ data.tar.gz: 6a04b2065383c18448b2c313eda054d5784b0a3230d87a39fc58266b2409bb1702a532c599535b3eee8523e6ae31805405e3d2c43f1691cb08347d52cc544084
@@ -174,6 +174,10 @@ class Redis
174
174
  query.nil? ? super("*") : super
175
175
  end
176
176
 
177
+ def exec
178
+ method_missing(:exec)
179
+ end
180
+
177
181
  def method_missing(command, *args, &block)
178
182
  handling = COMMANDS[command.to_s] ||
179
183
  COMMANDS[ALIASES[command.to_s]]
metadata CHANGED
@@ -1,52 +1,38 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: redis-namespace
3
- version: !ruby/object:Gem::Version
4
- hash: 17
5
- prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 3
10
- version: 1.0.3
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.4
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Chris Wanstrath
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2011-05-17 00:00:00 -07:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
11
+ date: 2013-08-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
22
14
  name: redis
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
27
17
  - - <
28
- - !ruby/object:Gem::Version
29
- hash: 7
30
- segments:
31
- - 3
32
- - 0
33
- - 0
18
+ - !ruby/object:Gem::Version
34
19
  version: 3.0.0
35
20
  type: :runtime
36
- version_requirements: *id001
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - <
25
+ - !ruby/object:Gem::Version
26
+ version: 3.0.0
37
27
  description: |
38
28
  Adds a Redis::Namespace class which can be used to namespace calls
39
29
  to Redis. This is useful when using a single instance of Redis with
40
30
  multiple, different applications.
41
-
42
31
  email: chris@ozmm.org
43
32
  executables: []
44
-
45
33
  extensions: []
46
-
47
34
  extra_rdoc_files: []
48
-
49
- files:
35
+ files:
50
36
  - README.md
51
37
  - Rakefile
52
38
  - LICENSE
@@ -54,39 +40,27 @@ files:
54
40
  - lib/redis-namespace.rb
55
41
  - spec/redis_spec.rb
56
42
  - spec/spec_helper.rb
57
- has_rdoc: false
58
43
  homepage: http://github.com/defunkt/redis-namespace
59
44
  licenses: []
60
-
45
+ metadata: {}
61
46
  post_install_message:
62
47
  rdoc_options: []
63
-
64
- require_paths:
48
+ require_paths:
65
49
  - lib
66
- required_ruby_version: !ruby/object:Gem::Requirement
67
- none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 3
72
- segments:
73
- - 0
74
- version: "0"
75
- required_rubygems_version: !ruby/object:Gem::Requirement
76
- none: false
77
- requirements:
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- hash: 3
81
- segments:
82
- - 0
83
- version: "0"
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - '>='
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
84
60
  requirements: []
85
-
86
61
  rubyforge_project:
87
- rubygems_version: 1.5.2
62
+ rubygems_version: 2.0.2
88
63
  signing_key:
89
- specification_version: 3
64
+ specification_version: 4
90
65
  summary: Namespaces Redis commands.
91
66
  test_files: []
92
-