redness 0.1.6 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/redness/red.rb +2 -2
- data/lib/redness/version.rb +1 -1
- data/spec/spec_integration_helper.rb +2 -2
- metadata +2 -2
data/README.md
CHANGED
@@ -16,7 +16,7 @@ to Redis than the client library while remaining more composable and minimal tha
|
|
16
16
|
```ruby
|
17
17
|
require 'redness'
|
18
18
|
|
19
|
-
|
19
|
+
Red.redis = Redis.new
|
20
20
|
|
21
21
|
# RedJSON represents a collection of data as JSON
|
22
22
|
RedJSON.set("foo", {:foo => ["bar", "baz", "buzz"]})
|
data/lib/redness/red.rb
CHANGED
data/lib/redness/version.rb
CHANGED
@@ -28,7 +28,7 @@ RSpec.configure do |config|
|
|
28
28
|
puts " FAIL"
|
29
29
|
end
|
30
30
|
|
31
|
-
|
31
|
+
Red.redis = Redis.new(
|
32
32
|
host: RedisRunner.host,
|
33
33
|
port: RedisRunner.port,
|
34
34
|
thread_safe: true
|
@@ -41,6 +41,6 @@ RSpec.configure do |config|
|
|
41
41
|
|
42
42
|
config.after(:each) do
|
43
43
|
Timecop.return
|
44
|
-
|
44
|
+
Red.redis.flushall
|
45
45
|
end
|
46
46
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redness
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2013-
|
17
|
+
date: 2013-03-04 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: json
|