magerecord 0.1.3 → 0.1.4
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/Gemfile.lock +23 -26
- data/VERSION +1 -1
- data/lib/magerecord/eav_record.rb +5 -0
- data/lib/magerecord/order_item.rb +7 -1
- data/magerecord.gemspec +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
@@ -1,25 +1,22 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activemodel (4.
|
5
|
-
activesupport (= 4.
|
6
|
-
builder (~> 3.1
|
7
|
-
activerecord (4.
|
8
|
-
activemodel (= 4.
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
activerecord-deprecated_finders (1.0.3)
|
13
|
-
activesupport (4.0.4)
|
4
|
+
activemodel (4.1.1)
|
5
|
+
activesupport (= 4.1.1)
|
6
|
+
builder (~> 3.1)
|
7
|
+
activerecord (4.1.1)
|
8
|
+
activemodel (= 4.1.1)
|
9
|
+
activesupport (= 4.1.1)
|
10
|
+
arel (~> 5.0.0)
|
11
|
+
activesupport (4.1.1)
|
14
12
|
i18n (~> 0.6, >= 0.6.9)
|
15
|
-
|
16
|
-
|
13
|
+
json (~> 1.7, >= 1.7.7)
|
14
|
+
minitest (~> 5.1)
|
17
15
|
thread_safe (~> 0.1)
|
18
|
-
tzinfo (~>
|
16
|
+
tzinfo (~> 1.1)
|
19
17
|
addressable (2.3.6)
|
20
|
-
arel (
|
21
|
-
|
22
|
-
builder (3.1.4)
|
18
|
+
arel (5.0.1.20140414130214)
|
19
|
+
builder (3.2.2)
|
23
20
|
descendants_tracker (0.0.4)
|
24
21
|
thread_safe (~> 0.3, >= 0.3.1)
|
25
22
|
docile (1.1.3)
|
@@ -34,7 +31,7 @@ GEM
|
|
34
31
|
multi_json (>= 1.7.5, < 2.0)
|
35
32
|
nokogiri (~> 1.6.0)
|
36
33
|
oauth2
|
37
|
-
hashie (2.
|
34
|
+
hashie (2.1.1)
|
38
35
|
highline (1.6.21)
|
39
36
|
i18n (0.6.9)
|
40
37
|
jeweler (2.0.1)
|
@@ -47,11 +44,11 @@ GEM
|
|
47
44
|
rake
|
48
45
|
rdoc
|
49
46
|
json (1.8.1)
|
50
|
-
jwt (0.1.
|
47
|
+
jwt (0.1.13)
|
51
48
|
multi_json (>= 1.5)
|
52
49
|
mini_portile (0.5.3)
|
53
|
-
minitest (
|
54
|
-
multi_json (1.
|
50
|
+
minitest (5.3.3)
|
51
|
+
multi_json (1.10.0)
|
55
52
|
multi_xml (0.5.5)
|
56
53
|
multipart-post (2.0.0)
|
57
54
|
mysql2 (0.3.15)
|
@@ -64,23 +61,23 @@ GEM
|
|
64
61
|
multi_xml (~> 0.5)
|
65
62
|
rack (~> 1.2)
|
66
63
|
rack (1.5.2)
|
67
|
-
rake (10.
|
64
|
+
rake (10.3.1)
|
68
65
|
rdoc (3.12.2)
|
69
66
|
json (~> 1.4)
|
70
67
|
shoulda (3.5.0)
|
71
68
|
shoulda-context (~> 1.0, >= 1.0.1)
|
72
69
|
shoulda-matchers (>= 1.4.1, < 3.0)
|
73
|
-
shoulda-context (1.2.
|
74
|
-
shoulda-matchers (2.
|
70
|
+
shoulda-context (1.2.1)
|
71
|
+
shoulda-matchers (2.6.1)
|
75
72
|
activesupport (>= 3.0.0)
|
76
73
|
simplecov (0.8.2)
|
77
74
|
docile (~> 1.1.0)
|
78
75
|
multi_json
|
79
76
|
simplecov-html (~> 0.8.0)
|
80
77
|
simplecov-html (0.8.0)
|
81
|
-
thread_safe (0.3.
|
82
|
-
|
83
|
-
|
78
|
+
thread_safe (0.3.3)
|
79
|
+
tzinfo (1.1.0)
|
80
|
+
thread_safe (~> 0.1)
|
84
81
|
|
85
82
|
PLATFORMS
|
86
83
|
ruby
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
@@ -15,7 +15,13 @@ module MageRecord
|
|
15
15
|
|
16
16
|
# call associated product's method
|
17
17
|
def method_missing(meth, *args, &block)
|
18
|
-
|
18
|
+
if product && product.respond_to?(meth)
|
19
|
+
product.send(meth)
|
20
|
+
else
|
21
|
+
# call superclass's method_missing method
|
22
|
+
# or risk breaking Ruby's method lookup
|
23
|
+
super
|
24
|
+
end
|
19
25
|
end
|
20
26
|
|
21
27
|
|
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.4
|
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: 453617207663803982
|
174
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
175
|
none: false
|
176
176
|
requirements:
|