wolverine 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/TODO +1 -1
- data/lib/wolverine/version.rb +1 -1
- data/lib/wolverine.rb +4 -0
- data/test/integration/wolverine_integration_test.rb +1 -1
- data/test/wolverine_test.rb +8 -1
- metadata +7 -7
data/TODO
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
-
|
1
|
+
- Re-evaluate what actually needs to be exposed as public
|
2
2
|
- Think of more TODO items
|
data/lib/wolverine/version.rb
CHANGED
data/lib/wolverine.rb
CHANGED
data/test/wolverine_test.rb
CHANGED
@@ -1,10 +1,17 @@
|
|
1
1
|
require_relative 'test_helper'
|
2
2
|
|
3
3
|
class WolverineTest < MiniTest::Unit::TestCase
|
4
|
-
|
4
|
+
|
5
5
|
def test_redis
|
6
6
|
Wolverine.config.redis = :redis
|
7
7
|
assert_equal :redis, Wolverine.redis
|
8
8
|
end
|
9
9
|
|
10
|
+
def test_reset!
|
11
|
+
dir = Wolverine.root_directory
|
12
|
+
assert_equal Wolverine.root_directory, dir
|
13
|
+
Wolverine.reset!
|
14
|
+
refute_equal Wolverine.root_directory, dir
|
15
|
+
end
|
16
|
+
|
10
17
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wolverine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-03-02 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: redis
|
16
|
-
requirement: &
|
16
|
+
requirement: &70168248879520 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70168248879520
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: mocha
|
27
|
-
requirement: &
|
27
|
+
requirement: &70168248877840 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70168248877840
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: minitest
|
38
|
-
requirement: &
|
38
|
+
requirement: &70168248876300 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70168248876300
|
47
47
|
description: Wolverine provides a simple way to run server-side redis scripts from
|
48
48
|
a rails app
|
49
49
|
email:
|