volt 0.3.8 → 0.3.9

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: 8d7bacdfeed9b6502911eb0eeea86c91ff909e58
4
- data.tar.gz: f7a9dbc54254ba479f159054500e0d7be94383d8
3
+ metadata.gz: d96efb29b1e1d0826494bcf23a94019895b00912
4
+ data.tar.gz: f5d7cc84d1bb843acce90b6615d8cbad4d9d1e8c
5
5
  SHA512:
6
- metadata.gz: 5fc4b3f656d8b40a8160eb5f386d0e76e156eb282ea3eb0f4359a246b2147127fd632eefea78f78916238474ecc721f12e88c22d1e8abac95b632b45bb4947c8
7
- data.tar.gz: 559444ac5f139576652669add6d7fe23b7532b4dd1a6b8fe849181e584fad67298597668f0d975bd25338791c398ac952b663f3b88208564ead76607d93ce02b
6
+ metadata.gz: 6277e64d2d6f86d104b59970452749fc7ac00ebf35cac49f4c332e97d8a374e19e77cfdd004f0539c7988205389cc55bb62268989c53aee64d33080e5d2515df
7
+ data.tar.gz: 167c0616fb8a2927f51e66039df1b13a94069ce2c47db089d032215f4fd2458bd5d54f101d6fda109d1cfeb581c6886f3b4f01a47fb3736e7b70f2b1da27572d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.8
1
+ 0.3.9
@@ -164,12 +164,12 @@ class TemplateBinding < BaseBinding
164
164
 
165
165
  # Fetch the controller class
166
166
  def get_controller(controller_name)
167
- name = controller_name[1].camelize
167
+ name = controller_name[1].gsub('-', '_').camelize
168
168
 
169
169
  # For the home object, we do not need to namespace our controller
170
170
  if controller_name[0] != 'home'
171
171
  # Controller is namespaced, lookup outer module first
172
- base_name = controller_name[0].camelize.to_sym
172
+ base_name = controller_name[0].gsub('-', '_').camelize.to_sym
173
173
  if Object.send(:const_defined?, base_name)
174
174
  base_object = Object.send(:const_get, base_name)
175
175
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Stout