rVM 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rvm/rails.rb +1 -1
- metadata +2 -2
data/lib/rvm/rails.rb
CHANGED
@@ -48,7 +48,7 @@ class ActionView::Base
|
|
48
48
|
}.merge(options)
|
49
49
|
compiler = RVM::Languages[options[:language]].new
|
50
50
|
code = compiler.compile(code)
|
51
|
-
code = RVM::Interpreter::ObjectContext.new(options[:object], code) if options[:object]
|
51
|
+
code = RVM::Interpreter::ObjectContext.new(RVM::Interpreter::Constant.new(options[:object]), code) if options[:object]
|
52
52
|
if options[:enviroment][:render].is_a? RVM::Classes::Error or options[:enviroment][:render].nil?
|
53
53
|
options[:enviroment][:render] = ""
|
54
54
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rVM
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Heinz N. Gies
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-07-
|
12
|
+
date: 2008-07-31 00:00:00 +02:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|