Permalink
Browse files

fixed issue with instance variable naming when using sequential

  • Loading branch information...
1 parent 8a26fbf commit f615746ecf2afbada5fd09e78c3ce0b8fe9059af @cheezy committed Jul 11, 2013
Showing with 6 additions and 2 deletions.
  1. +4 −0 ChangeLog
  2. +1 −1 lib/data_magic/translation.rb
  3. +1 −1 lib/data_magic/version.rb
View
@@ -1,3 +1,7 @@
+=== Version 0.15.1 / 2013-7-11
+* Fixes
+ * Fixed error when using sequential with entries that have spaces
+
=== Version 0.15 / 2013-7-10
* Enhancements
* Added sequential translator
@@ -279,7 +279,7 @@ def index_variable_for(ary)
end
def index_name(ary)
- "@private_#{ary[0]}#{ary[1]}_index"
+ "@private_#{ary[0]}#{ary[1]}_index".gsub(' ', '_').downcase
end
def process(value)
@@ -1,3 +1,3 @@
module DataMagic
- VERSION = "0.15"
+ VERSION = "0.15.1"
end

0 comments on commit f615746

Please sign in to comment.