dm-maker 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/dm-maker.rb CHANGED
@@ -50,7 +50,7 @@ module DataMapper
50
50
  create_instance(assoc_class, d, cache)
51
51
  }
52
52
  elsif REL_TYPES[:to_one].include? rel.class
53
- if custom_class = d.delete("$class") # TODO: document and test
53
+ if custom_class = value.delete("$class") # TODO: document and test
54
54
  assoc_class = custom_class.constantize
55
55
  else
56
56
  assoc_class = (rel.child_model == klass or klass < rel.child_model) ?
@@ -2,6 +2,6 @@
2
2
 
3
3
  module DataMapper
4
4
  module Maker
5
- VERSION = "1.1.0"
5
+ VERSION = "1.1.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-maker
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - FND