sdb_dal 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sdb_dal/domain_object.rb +3 -2
  2. metadata +1 -1
@@ -4,6 +4,7 @@ require File.dirname(__FILE__) +'/domain_attribute_description.rb'
4
4
  require File.dirname(__FILE__) +"/reference.rb"
5
5
  require File.dirname(__FILE__) +"/index_description.rb"
6
6
  require File.dirname(__FILE__) +"/lazy_loading_text.rb"
7
+ require File.dirname(__FILE__) +"/repository_factory.rb"
7
8
  module SdbDal
8
9
  class DomainObject
9
10
 
@@ -545,9 +546,9 @@ def destroy(options={})
545
546
  return self.class.repository
546
547
  end
547
548
  class << self
548
- def repository(options=nil)
549
+ def repository(options={})
549
550
 
550
- if options and options.has_key?(:repository)
551
+ if options.has_key?(:repository)
551
552
  return options[:repository]
552
553
  end
553
554
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdb_dal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Knight