dm-is-temporal 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/dm-is-temporal/is/temporal.rb +1 -1
- data/spec/assoc_spec.rb +2 -2
- metadata +2 -2
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.7.0
|
@@ -193,7 +193,7 @@ module DataMapper
|
|
193
193
|
|
194
194
|
def self.__select_temporal_options__(options={})
|
195
195
|
props = TemporalVersion.properties.map {|p| p.name}
|
196
|
-
temporal_opts = options.
|
196
|
+
temporal_opts = options.to_hash.
|
197
197
|
select {|k,v| props.include?(k)}.
|
198
198
|
inject({}) {|a,b| a.merge({b[0] => b[1]}) }
|
199
199
|
return temporal_opts
|
data/spec/assoc_spec.rb
CHANGED
@@ -55,8 +55,8 @@ end
|
|
55
55
|
describe DataMapper::Is::Temporal do
|
56
56
|
|
57
57
|
before(:all) do
|
58
|
-
|
59
|
-
DataMapper.setup(:default, "postgres://localhost/dm_is_temporal")
|
58
|
+
DataMapper.setup(:default, "sqlite3::memory:")
|
59
|
+
# DataMapper.setup(:default, "postgres://localhost/dm_is_temporal")
|
60
60
|
DataMapper.setup(:test, "sqlite3::memory:")
|
61
61
|
end
|
62
62
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: dm-is-temporal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.7.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Joe Kutner
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-06-
|
13
|
+
date: 2011-06-15 00:00:00 -05:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|