dm-is-temporal 0.7.0 → 0.7.1
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 +4 -2
- metadata +2 -2
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.1
|
@@ -161,8 +161,10 @@ module DataMapper
|
|
161
161
|
options.delete_if {|k,v| t_opts.keys.include?(k) }
|
162
162
|
|
163
163
|
base = super(options)
|
164
|
-
base.
|
165
|
-
|
164
|
+
if base.save and t_opts.size > 0
|
165
|
+
base.temporal_versions << TemporalVersion.create(t_opts)
|
166
|
+
base.save
|
167
|
+
end
|
166
168
|
base
|
167
169
|
end
|
168
170
|
|
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.7.
|
5
|
+
version: 0.7.1
|
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-17 00:00:00 -05:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|