netshade-sql_valued_columns 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -56,7 +56,7 @@ module SqlValuedColumns
56
56
  when String
57
57
  str = a
58
58
  if a =~ /\#\{[^\}]+\}/
59
- str = val('"' + str + '"')
59
+ str = eval('"' + str + '"')
60
60
  end
61
61
  connection.quote(str)
62
62
  else
@@ -65,7 +65,7 @@ module SqlValuedColumns
65
65
  end
66
66
  h[name] = "#{function}(#{fmt_args.join(",")})"
67
67
  else
68
- h[name] = function
68
+ h[name] = eval('"' + function + '"')
69
69
  end
70
70
  end
71
71
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{sql_valued_columns}
5
- s.version = "0.0.2"
5
+ s.version = "0.0.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["netshade"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: netshade-sql_valued_columns
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - netshade