magerecord 0.1.4 → 0.1.5
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.
- data/VERSION +1 -1
- data/lib/magerecord/eav_record.rb +2 -1
- data/magerecord.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.5
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
module MageRecord
|
|
2
2
|
class EavRecord < ActiveRecord::Base
|
|
3
3
|
self.abstract_class = true
|
|
4
|
+
self.primary_key = :entity_id
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
# return the full list of EAV attributes available for this entity type
|
|
@@ -38,7 +39,7 @@ module MageRecord
|
|
|
38
39
|
|
|
39
40
|
|
|
40
41
|
def respond_to?(meth, include_private = false)
|
|
41
|
-
(get_eav_records(meth).count > 0)
|
|
42
|
+
super || (get_eav_records(meth).count > 0)
|
|
42
43
|
end
|
|
43
44
|
|
|
44
45
|
|
data/magerecord.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: magerecord
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -170,7 +170,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
170
170
|
version: '0'
|
|
171
171
|
segments:
|
|
172
172
|
- 0
|
|
173
|
-
hash:
|
|
173
|
+
hash: -4044242441785169423
|
|
174
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
175
|
none: false
|
|
176
176
|
requirements:
|