superscript 0.2.1 → 0.2.2

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
  SHA256:
3
- metadata.gz: 3d83e94427d9c10ab8ca7ee333c4db61b44386edd6f94406e0003732201b14e2
4
- data.tar.gz: 80f4397496b955e74c059821211af3e9bf6bd46de068ccf143b9da69158008c7
3
+ metadata.gz: f8ee74f474a6c2d61f6857e930622f3d3d76ce060c1297ea712003968866d590
4
+ data.tar.gz: f8a73eb6186f97335d3cb7c8ae8965849b6a8757434c7aa533dd53832899698c
5
5
  SHA512:
6
- metadata.gz: 529562cede40c747905870df572a1f8e2be531f887cbad1f8f740530904c7d0e1cef506810c34259b4d5c1974f26a269190c696e51c7e048f0c3c38dbeb89a63
7
- data.tar.gz: 2589dae0ab11a04928358b789d9f70f8b61acc0325882180114344cd5af1b2e838cf9c140758949fd8448fce7f6c1c0b8df93b79144e2668a88e462d681785e5
6
+ metadata.gz: f1433a68ef5e25ae46ab53b5d8e5061196d55eabc03efd6dc13309ab77981685ce2ba33cdede1a65080e8669d2762e71e911ba91677db142c500ecba55f28802
7
+ data.tar.gz: 9bd505f00036a61ece2489021f6836c00e0f83611ad866aa02e0b9bb25a32a4c185f55692a6308377f72057fea2c559c2b5bc993c8435bfe4788c3090c602cdc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- superscript (0.2.1)
4
+ superscript (0.2.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/exe/superscript CHANGED
@@ -12,6 +12,7 @@ else
12
12
  loop do
13
13
  print "> "
14
14
  contents = gets
15
- runner.run! ctx: ctx, contents: contents
15
+ value = runner.run! ctx: ctx, contents: contents
16
+ puts " => #{value.inspect}"
16
17
  end
17
18
  end
@@ -56,8 +56,9 @@ module Superscript
56
56
 
57
57
  value = begin
58
58
  trace.enable
59
- ctx.instance_eval contents, @path
59
+ v = ctx.instance_eval contents, @path
60
60
  trace.disable
61
+ v
61
62
  rescue Exception => ex
62
63
  case ex.class.to_s
63
64
  when "SystemExit"
@@ -1,3 +1,3 @@
1
1
  module Superscript
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superscript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matti Paksula