unpolymorph 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Unpolymorph
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
data/lib/unpolymorph.rb CHANGED
@@ -8,7 +8,8 @@ module Unpolymorph
8
8
 
9
9
  if options[:create_associations]
10
10
  associations.each do |assoc|
11
- belongs_to assoc
11
+ # Assoc name: string vs symbol make a difference here?
12
+ belongs_to assoc.to_sym
12
13
  end
13
14
  end
14
15
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unpolymorph
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 0
10
- version: 0.2.0
9
+ - 1
10
+ version: 0.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Marek Janukowicz
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-06-25 00:00:00 +02:00
18
+ date: 2013-07-19 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21