sencha-model 0.6.0 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -75,7 +75,7 @@ module Sencha
75
75
  memo[key.to_sym] = {
76
76
  :name => key.to_sym,
77
77
  :type => type,
78
- :class => assn.options[:polymorphic] ? nil : assn.class_name.constantize,
78
+ :class => assn.options[:polymorphic] ? nil : assn.klass,
79
79
  :foreign_key => assn.association_foreign_key.to_sym,
80
80
  :is_polymorphic => !!assn.options[:polymorphic]
81
81
  }
@@ -1,5 +1,5 @@
1
1
  module Sencha
2
2
  module Model
3
- VERSION = "0.6.0"
3
+ VERSION = "0.6.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sencha-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-05 00:00:00.000000000 Z
12
+ date: 2012-12-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: shoulda
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  requirements: []
153
153
  rubyforge_project:
154
- rubygems_version: 1.8.23
154
+ rubygems_version: 1.8.24
155
155
  signing_key:
156
156
  specification_version: 3
157
157
  summary: ! 'This gem auto-generates ExtJS compatible model specifications from your