dm-redis-adapter 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.textile +2 -0
- data/lib/dm-redis-adapter/adapter.rb +1 -0
- data/spec/dm_redis_validations_spec.rb +3 -0
- metadata +9 -9
data/README.textile
CHANGED
@@ -15,6 +15,7 @@ Please note that as of version 0.5.3 of the gem, the key names that are used for
|
|
15
15
|
h1. Changelog
|
16
16
|
|
17
17
|
|
18
|
+
* v0.6.2 Fixes a problem with 'destroyed' objects (thanks @snovotny!)
|
18
19
|
* v0.6.1 Fixes a problem with deleting an object and not having it deleted from an assosciation (thanks @sheur!)
|
19
20
|
* v0.6.0 Refactor and change to the way that model names are stored in redis
|
20
21
|
* v0.5.3 Support for inheritance via sfeu and ujifgc, this version *breaks compatibility* with previous versions of the gem
|
@@ -108,4 +109,5 @@ h1. Badass contributors
|
|
108
109
|
* <a href="http://github.com/jof">Jonathan Lassoff (jof)</a> Fixes to support textual keys
|
109
110
|
* <a href="http://github.com/sfeu">Sebastian Feuerstack (sfeu)</a> Fixes to support inheritance
|
110
111
|
* <a href="http://github.com/sheur">Stephen Heuer (@sheur)</a> Fixes to deleted assosciations
|
112
|
+
* <a href="http://github.com/sheur">Steve Novotny (@snovotny)</a> Fixing a bug with 'destroyed' objects
|
111
113
|
|
@@ -118,6 +118,9 @@ describe DataMapper::Adapters::RedisAdapter do
|
|
118
118
|
james = Blackguard.create(:nickname => "James 'cannon-fingers' Doolittle")
|
119
119
|
Blackguard.get(petey.id).should_not be_destroyed
|
120
120
|
Blackguard.first(:nickname => "James 'cannon-fingers' Doolittle").should_not be_destroyed
|
121
|
+
Blackguard.first.should_not be_destroyed
|
122
|
+
Blackguard.last.should_not be_destroyed
|
123
|
+
Blackguard.all.first.should_not be_destroyed
|
121
124
|
end
|
122
125
|
end
|
123
126
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dm-redis-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-02-13 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: dm-core
|
16
|
-
requirement: &
|
16
|
+
requirement: &70176503431640 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.2.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70176503431640
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: dm-types
|
27
|
-
requirement: &
|
27
|
+
requirement: &70176503431160 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.2.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70176503431160
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: hiredis
|
38
|
-
requirement: &
|
38
|
+
requirement: &70176503430680 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 0.3.0
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70176503430680
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: redis
|
49
|
-
requirement: &
|
49
|
+
requirement: &70176503430200 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '2.2'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70176503430200
|
58
58
|
description: DataMapper adapter for the Redis key-value database
|
59
59
|
email: whoahbot@gmail.com
|
60
60
|
executables: []
|