locomotivecms_mounter 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79663d1b58f4a46ada47776d7e14c92462900fab
|
4
|
+
data.tar.gz: 10e9dd0d045ff02bf5340a3b2717927adcc622ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a7cefcb901b7a5bce7d9ab72936d2a9f2590b6244548f177c24e8c20a56a484a7737f2fa5894be40e8b87cba99d42f840aedb82429abf217f96bf18e11e16cf
|
7
|
+
data.tar.gz: 20bc67d5480e46fc5ba0e91f89c4b8825d2074062939455368e1cba92fb15143410e67e082365e0c80a5bc0abb6e10439deb488dffc7a89dbd76bd13535ca0f1
|
data/Gemfile.lock
CHANGED
@@ -181,6 +181,14 @@ module Locomotive
|
|
181
181
|
|
182
182
|
alias :attributes= :write_attributes
|
183
183
|
|
184
|
+
def [](name)
|
185
|
+
if is_dynamic_field?(name)
|
186
|
+
self.dynamic_getter(name.to_sym)
|
187
|
+
else
|
188
|
+
super
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
184
192
|
# The magic of dynamic fields happens within this method.
|
185
193
|
# It calls the getter/setter of a dynamic field if it is one of them.
|
186
194
|
def method_missing(name, *args, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: locomotivecms_mounter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Didier Lafforgue
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tilt
|