pogo-script 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. data/lib/pogo_script.rb +4 -1
  2. metadata +1 -1
@@ -47,7 +47,10 @@ module PogoScript
47
47
  def compile(script, options = {})
48
48
  script = script.read if script.respond_to?(:read)
49
49
 
50
- Source.context.call("pogoscript.compile", script, { :ugly => true })
50
+ Source.context.call("pogoscript.compile", script, {
51
+ :ugly => true,
52
+ :inScope => !options[:bare]
53
+ }.merge(options))
51
54
  end
52
55
  end
53
56
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pogo-script
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: