redis2-namespaced 3.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.order +170 -0
- data/.travis/Gemfile +11 -0
- data/.travis.yml +55 -0
- data/.yardopts +3 -0
- data/CHANGELOG.md +285 -0
- data/LICENSE +20 -0
- data/README.md +251 -0
- data/Rakefile +403 -0
- data/benchmarking/logging.rb +71 -0
- data/benchmarking/pipeline.rb +51 -0
- data/benchmarking/speed.rb +21 -0
- data/benchmarking/suite.rb +24 -0
- data/benchmarking/worker.rb +71 -0
- data/examples/basic.rb +15 -0
- data/examples/dist_redis.rb +43 -0
- data/examples/incr-decr.rb +17 -0
- data/examples/list.rb +26 -0
- data/examples/pubsub.rb +37 -0
- data/examples/sets.rb +36 -0
- data/examples/unicorn/config.ru +3 -0
- data/examples/unicorn/unicorn.rb +20 -0
- data/lib/redis2/client.rb +419 -0
- data/lib/redis2/connection/command_helper.rb +44 -0
- data/lib/redis2/connection/hiredis.rb +63 -0
- data/lib/redis2/connection/registry.rb +12 -0
- data/lib/redis2/connection/ruby.rb +322 -0
- data/lib/redis2/connection/synchrony.rb +124 -0
- data/lib/redis2/connection.rb +9 -0
- data/lib/redis2/distributed.rb +853 -0
- data/lib/redis2/errors.rb +40 -0
- data/lib/redis2/hash_ring.rb +131 -0
- data/lib/redis2/pipeline.rb +141 -0
- data/lib/redis2/subscribe.rb +83 -0
- data/lib/redis2/version.rb +3 -0
- data/lib/redis2.rb +2533 -0
- data/redis.gemspec +43 -0
- data/test/bitpos_test.rb +69 -0
- data/test/blocking_commands_test.rb +42 -0
- data/test/command_map_test.rb +30 -0
- data/test/commands_on_hashes_test.rb +21 -0
- data/test/commands_on_lists_test.rb +20 -0
- data/test/commands_on_sets_test.rb +77 -0
- data/test/commands_on_sorted_sets_test.rb +109 -0
- data/test/commands_on_strings_test.rb +101 -0
- data/test/commands_on_value_types_test.rb +131 -0
- data/test/connection_handling_test.rb +189 -0
- data/test/db/.gitkeep +0 -0
- data/test/distributed_blocking_commands_test.rb +46 -0
- data/test/distributed_commands_on_hashes_test.rb +10 -0
- data/test/distributed_commands_on_lists_test.rb +22 -0
- data/test/distributed_commands_on_sets_test.rb +83 -0
- data/test/distributed_commands_on_sorted_sets_test.rb +18 -0
- data/test/distributed_commands_on_strings_test.rb +59 -0
- data/test/distributed_commands_on_value_types_test.rb +95 -0
- data/test/distributed_commands_requiring_clustering_test.rb +164 -0
- data/test/distributed_connection_handling_test.rb +23 -0
- data/test/distributed_internals_test.rb +70 -0
- data/test/distributed_key_tags_test.rb +52 -0
- data/test/distributed_persistence_control_commands_test.rb +26 -0
- data/test/distributed_publish_subscribe_test.rb +92 -0
- data/test/distributed_remote_server_control_commands_test.rb +66 -0
- data/test/distributed_scripting_test.rb +102 -0
- data/test/distributed_sorting_test.rb +20 -0
- data/test/distributed_test.rb +58 -0
- data/test/distributed_transactions_test.rb +32 -0
- data/test/encoding_test.rb +18 -0
- data/test/error_replies_test.rb +59 -0
- data/test/helper.rb +218 -0
- data/test/helper_test.rb +24 -0
- data/test/internals_test.rb +410 -0
- data/test/lint/blocking_commands.rb +150 -0
- data/test/lint/hashes.rb +162 -0
- data/test/lint/lists.rb +143 -0
- data/test/lint/sets.rb +125 -0
- data/test/lint/sorted_sets.rb +238 -0
- data/test/lint/strings.rb +260 -0
- data/test/lint/value_types.rb +122 -0
- data/test/persistence_control_commands_test.rb +26 -0
- data/test/pipelining_commands_test.rb +242 -0
- data/test/publish_subscribe_test.rb +210 -0
- data/test/remote_server_control_commands_test.rb +117 -0
- data/test/scanning_test.rb +413 -0
- data/test/scripting_test.rb +78 -0
- data/test/sorting_test.rb +59 -0
- data/test/support/connection/hiredis.rb +1 -0
- data/test/support/connection/ruby.rb +1 -0
- data/test/support/connection/synchrony.rb +17 -0
- data/test/support/redis_mock.rb +115 -0
- data/test/support/wire/synchrony.rb +24 -0
- data/test/support/wire/thread.rb +5 -0
- data/test/synchrony_driver.rb +88 -0
- data/test/test.conf +9 -0
- data/test/thread_safety_test.rb +32 -0
- data/test/transactions_test.rb +264 -0
- data/test/unknown_commands_test.rb +14 -0
- data/test/url_param_test.rb +132 -0
- metadata +226 -0
metadata
ADDED
@@ -0,0 +1,226 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: redis2-namespaced
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.0.7
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ezra Zygmuntowicz
|
8
|
+
- Taylor Weibley
|
9
|
+
- Matthew Clark
|
10
|
+
- Brian McKinney
|
11
|
+
- Salvatore Sanfilippo
|
12
|
+
- Luca Guidi
|
13
|
+
- Michel Martens
|
14
|
+
- Damian Janowski
|
15
|
+
- Pieter Noordhuis
|
16
|
+
autorequire:
|
17
|
+
bindir: bin
|
18
|
+
cert_chain: []
|
19
|
+
date: 2014-07-09 00:00:00.000000000 Z
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: rake
|
23
|
+
requirement: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
28
|
+
type: :development
|
29
|
+
prerelease: false
|
30
|
+
version_requirements: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
description: |2
|
36
|
+
A Ruby client that tries to match Redis2' API one-to-one, while still
|
37
|
+
providing an idiomatic interface. It features thread-safety,
|
38
|
+
client-side sharding, pipelining, and an obsession for performance.
|
39
|
+
email:
|
40
|
+
- redis-db@googlegroups.com
|
41
|
+
executables: []
|
42
|
+
extensions: []
|
43
|
+
extra_rdoc_files: []
|
44
|
+
files:
|
45
|
+
- ".gitignore"
|
46
|
+
- ".order"
|
47
|
+
- ".travis.yml"
|
48
|
+
- ".travis/Gemfile"
|
49
|
+
- ".yardopts"
|
50
|
+
- CHANGELOG.md
|
51
|
+
- LICENSE
|
52
|
+
- README.md
|
53
|
+
- Rakefile
|
54
|
+
- benchmarking/logging.rb
|
55
|
+
- benchmarking/pipeline.rb
|
56
|
+
- benchmarking/speed.rb
|
57
|
+
- benchmarking/suite.rb
|
58
|
+
- benchmarking/worker.rb
|
59
|
+
- examples/basic.rb
|
60
|
+
- examples/dist_redis.rb
|
61
|
+
- examples/incr-decr.rb
|
62
|
+
- examples/list.rb
|
63
|
+
- examples/pubsub.rb
|
64
|
+
- examples/sets.rb
|
65
|
+
- examples/unicorn/config.ru
|
66
|
+
- examples/unicorn/unicorn.rb
|
67
|
+
- lib/redis2.rb
|
68
|
+
- lib/redis2/client.rb
|
69
|
+
- lib/redis2/connection.rb
|
70
|
+
- lib/redis2/connection/command_helper.rb
|
71
|
+
- lib/redis2/connection/hiredis.rb
|
72
|
+
- lib/redis2/connection/registry.rb
|
73
|
+
- lib/redis2/connection/ruby.rb
|
74
|
+
- lib/redis2/connection/synchrony.rb
|
75
|
+
- lib/redis2/distributed.rb
|
76
|
+
- lib/redis2/errors.rb
|
77
|
+
- lib/redis2/hash_ring.rb
|
78
|
+
- lib/redis2/pipeline.rb
|
79
|
+
- lib/redis2/subscribe.rb
|
80
|
+
- lib/redis2/version.rb
|
81
|
+
- redis.gemspec
|
82
|
+
- test/bitpos_test.rb
|
83
|
+
- test/blocking_commands_test.rb
|
84
|
+
- test/command_map_test.rb
|
85
|
+
- test/commands_on_hashes_test.rb
|
86
|
+
- test/commands_on_lists_test.rb
|
87
|
+
- test/commands_on_sets_test.rb
|
88
|
+
- test/commands_on_sorted_sets_test.rb
|
89
|
+
- test/commands_on_strings_test.rb
|
90
|
+
- test/commands_on_value_types_test.rb
|
91
|
+
- test/connection_handling_test.rb
|
92
|
+
- test/db/.gitkeep
|
93
|
+
- test/distributed_blocking_commands_test.rb
|
94
|
+
- test/distributed_commands_on_hashes_test.rb
|
95
|
+
- test/distributed_commands_on_lists_test.rb
|
96
|
+
- test/distributed_commands_on_sets_test.rb
|
97
|
+
- test/distributed_commands_on_sorted_sets_test.rb
|
98
|
+
- test/distributed_commands_on_strings_test.rb
|
99
|
+
- test/distributed_commands_on_value_types_test.rb
|
100
|
+
- test/distributed_commands_requiring_clustering_test.rb
|
101
|
+
- test/distributed_connection_handling_test.rb
|
102
|
+
- test/distributed_internals_test.rb
|
103
|
+
- test/distributed_key_tags_test.rb
|
104
|
+
- test/distributed_persistence_control_commands_test.rb
|
105
|
+
- test/distributed_publish_subscribe_test.rb
|
106
|
+
- test/distributed_remote_server_control_commands_test.rb
|
107
|
+
- test/distributed_scripting_test.rb
|
108
|
+
- test/distributed_sorting_test.rb
|
109
|
+
- test/distributed_test.rb
|
110
|
+
- test/distributed_transactions_test.rb
|
111
|
+
- test/encoding_test.rb
|
112
|
+
- test/error_replies_test.rb
|
113
|
+
- test/helper.rb
|
114
|
+
- test/helper_test.rb
|
115
|
+
- test/internals_test.rb
|
116
|
+
- test/lint/blocking_commands.rb
|
117
|
+
- test/lint/hashes.rb
|
118
|
+
- test/lint/lists.rb
|
119
|
+
- test/lint/sets.rb
|
120
|
+
- test/lint/sorted_sets.rb
|
121
|
+
- test/lint/strings.rb
|
122
|
+
- test/lint/value_types.rb
|
123
|
+
- test/persistence_control_commands_test.rb
|
124
|
+
- test/pipelining_commands_test.rb
|
125
|
+
- test/publish_subscribe_test.rb
|
126
|
+
- test/remote_server_control_commands_test.rb
|
127
|
+
- test/scanning_test.rb
|
128
|
+
- test/scripting_test.rb
|
129
|
+
- test/sorting_test.rb
|
130
|
+
- test/support/connection/hiredis.rb
|
131
|
+
- test/support/connection/ruby.rb
|
132
|
+
- test/support/connection/synchrony.rb
|
133
|
+
- test/support/redis_mock.rb
|
134
|
+
- test/support/wire/synchrony.rb
|
135
|
+
- test/support/wire/thread.rb
|
136
|
+
- test/synchrony_driver.rb
|
137
|
+
- test/test.conf
|
138
|
+
- test/thread_safety_test.rb
|
139
|
+
- test/transactions_test.rb
|
140
|
+
- test/unknown_commands_test.rb
|
141
|
+
- test/url_param_test.rb
|
142
|
+
homepage: https://github.com/redis/redis-rb
|
143
|
+
licenses:
|
144
|
+
- MIT
|
145
|
+
metadata: {}
|
146
|
+
post_install_message:
|
147
|
+
rdoc_options: []
|
148
|
+
require_paths:
|
149
|
+
- lib
|
150
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
requirements: []
|
161
|
+
rubyforge_project:
|
162
|
+
rubygems_version: 2.2.2
|
163
|
+
signing_key:
|
164
|
+
specification_version: 4
|
165
|
+
summary: A Ruby client library for Redis2
|
166
|
+
test_files:
|
167
|
+
- test/bitpos_test.rb
|
168
|
+
- test/blocking_commands_test.rb
|
169
|
+
- test/command_map_test.rb
|
170
|
+
- test/commands_on_hashes_test.rb
|
171
|
+
- test/commands_on_lists_test.rb
|
172
|
+
- test/commands_on_sets_test.rb
|
173
|
+
- test/commands_on_sorted_sets_test.rb
|
174
|
+
- test/commands_on_strings_test.rb
|
175
|
+
- test/commands_on_value_types_test.rb
|
176
|
+
- test/connection_handling_test.rb
|
177
|
+
- test/db/.gitkeep
|
178
|
+
- test/distributed_blocking_commands_test.rb
|
179
|
+
- test/distributed_commands_on_hashes_test.rb
|
180
|
+
- test/distributed_commands_on_lists_test.rb
|
181
|
+
- test/distributed_commands_on_sets_test.rb
|
182
|
+
- test/distributed_commands_on_sorted_sets_test.rb
|
183
|
+
- test/distributed_commands_on_strings_test.rb
|
184
|
+
- test/distributed_commands_on_value_types_test.rb
|
185
|
+
- test/distributed_commands_requiring_clustering_test.rb
|
186
|
+
- test/distributed_connection_handling_test.rb
|
187
|
+
- test/distributed_internals_test.rb
|
188
|
+
- test/distributed_key_tags_test.rb
|
189
|
+
- test/distributed_persistence_control_commands_test.rb
|
190
|
+
- test/distributed_publish_subscribe_test.rb
|
191
|
+
- test/distributed_remote_server_control_commands_test.rb
|
192
|
+
- test/distributed_scripting_test.rb
|
193
|
+
- test/distributed_sorting_test.rb
|
194
|
+
- test/distributed_test.rb
|
195
|
+
- test/distributed_transactions_test.rb
|
196
|
+
- test/encoding_test.rb
|
197
|
+
- test/error_replies_test.rb
|
198
|
+
- test/helper.rb
|
199
|
+
- test/helper_test.rb
|
200
|
+
- test/internals_test.rb
|
201
|
+
- test/lint/blocking_commands.rb
|
202
|
+
- test/lint/hashes.rb
|
203
|
+
- test/lint/lists.rb
|
204
|
+
- test/lint/sets.rb
|
205
|
+
- test/lint/sorted_sets.rb
|
206
|
+
- test/lint/strings.rb
|
207
|
+
- test/lint/value_types.rb
|
208
|
+
- test/persistence_control_commands_test.rb
|
209
|
+
- test/pipelining_commands_test.rb
|
210
|
+
- test/publish_subscribe_test.rb
|
211
|
+
- test/remote_server_control_commands_test.rb
|
212
|
+
- test/scanning_test.rb
|
213
|
+
- test/scripting_test.rb
|
214
|
+
- test/sorting_test.rb
|
215
|
+
- test/support/connection/hiredis.rb
|
216
|
+
- test/support/connection/ruby.rb
|
217
|
+
- test/support/connection/synchrony.rb
|
218
|
+
- test/support/redis_mock.rb
|
219
|
+
- test/support/wire/synchrony.rb
|
220
|
+
- test/support/wire/thread.rb
|
221
|
+
- test/synchrony_driver.rb
|
222
|
+
- test/test.conf
|
223
|
+
- test/thread_safety_test.rb
|
224
|
+
- test/transactions_test.rb
|
225
|
+
- test/unknown_commands_test.rb
|
226
|
+
- test/url_param_test.rb
|