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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f9f8a9b58654981cc493facafb9ae356b2a63c6
4
- data.tar.gz: 6c2cedd900342e6e86b009df300b4f0e603b38d7
3
+ metadata.gz: 0dc285e8ff71bf0be888b963d4d6e9126f45f9d3
4
+ data.tar.gz: 8309a282e1625f2186e75c5760f9b59b901b12b3
5
5
  SHA512:
6
- metadata.gz: 9646f8efa6e4599556e6e8c617f7eb17d0e04ba81b54aae27545e88948fa87085540acb7ecf453e4afec18d36294c678e2d6f4ee52bb973fd927fd1f53a27c7f
7
- data.tar.gz: 76dbf0fef93469829e09842c08ee1a1ccad42a089a5e414baee86ab67290bca9f539020a63f273bd1a33fdf3d4185a3e57dae281ffa27d39f786ca1a58e8fb9b
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
@@ -1,3 +1,3 @@
1
1
  module MetaMagic
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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-18 00:00:00.000000000 Z
11
+ date: 2014-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport