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 CHANGED
@@ -4,7 +4,7 @@ begin
4
4
 
5
5
  Jeweler::Tasks.new do |gem|
6
6
  gem.name = 'dm-is-temporal'
7
- gem.version = '0.6.0'
7
+ gem.version = '0.7.0'
8
8
  gem.summary = 'DataMapper plugin implementing temporal patterns'
9
9
  gem.description = gem.summary
10
10
  gem.email = 'jpkutner [a] gmail [d] com'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.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
@@ -55,8 +55,8 @@ end
55
55
  describe DataMapper::Is::Temporal do
56
56
 
57
57
  before(:all) do
58
- # DataMapper.setup(:default, "sqlite3::memory:")
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.6.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-08 00:00:00 -05:00
13
+ date: 2011-06-15 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency