meta_magic 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/meta_magic/controller.rb +2 -2
- data/lib/meta_magic/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0dc285e8ff71bf0be888b963d4d6e9126f45f9d3
|
4
|
+
data.tar.gz: 8309a282e1625f2186e75c5760f9b59b901b12b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8694ca89a0e8ee8544810793bcd24f7983c22097201273a4c4a1e42f8fdc3d26aa649988e4b6453292d5a9d82ad31f76e5b81cda3355f2b3979fc631086afce6
|
7
|
+
data.tar.gz: 3e21446f5702fd7cc78f479f34b95ed128978777e2250be51cc15d8ea6df5dfb4aab718ec43a2d4df0f62520fbe060b4585539a52ad27b55929e519a8f608740
|
@@ -5,11 +5,11 @@ module MetaMagic
|
|
5
5
|
extend ActiveSupport::Concern
|
6
6
|
|
7
7
|
def get_model_instance_variable
|
8
|
-
instance_variable_get(:"@#{ controller_name.classify.downcase }")
|
8
|
+
instance_variable_get(:"@#{ controller_name.classify.underscore.downcase }")
|
9
9
|
end
|
10
10
|
|
11
11
|
def set_model_instance_variable
|
12
|
-
send(:"set_#{ controller_name.classify.downcase }")
|
12
|
+
send(:"set_#{ controller_name.classify.underscore.downcase }")
|
13
13
|
end
|
14
14
|
end
|
15
15
|
end
|
data/lib/meta_magic/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meta_magic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Otander
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|