intar 2.6 → 2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/intar/version.rb +1 -1
  3. data/lib/intar.rb +7 -5
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2bb2575fd8680cb18e04afcd3a09adb4565bc5ac37a4231db3b3b57e80074c6c
4
- data.tar.gz: 8d2bf0a511a093e2b3d6feb8922a1da6466ce44ef0b77f016862f8d91e0f98dd
3
+ metadata.gz: 2ba7f7b2c3052c0627cd7126fedc64e45e443b2652670a6f15b3a408f729d5dd
4
+ data.tar.gz: efd64593e9f9e6d4fda22a426f9b5a7c3be1860594a3d31e66d383e033b55110
5
5
  SHA512:
6
- metadata.gz: 3c22c8280845f8c99896196b9548ee0043fd5378d8d1da2f8c8c011f490e4dc342c638572935cac04e3815a5d03f9561e961a5cd515d3efc7f439d86bac446af
7
- data.tar.gz: 054dc4d33647bf5aa286feb9b014610529de8051cfa5342f428b5a65e34175567c1eb786de38103a009a25e2ac0cf3627bfa1950b12530c3d44f7862c21e3de8
6
+ metadata.gz: 1cf5dedde06257a25c4a0080c98f11f8a1735194c32cc279ce871a4d98d56685ee240d1316494c4f825af0f8a5886cbbdaba868912c376df2cb30f604e91911c
7
+ data.tar.gz: 831ce595c01ec5fe97832a2699d2a866d0af6bfec61598cf45b217652f0135cec5867fe510a15b50e506f9b475a4ad0a5ffdb8404e2f031098c377b669b9bc8d
data/lib/intar/version.rb CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  class Intar
6
6
 
7
- VERSION = "2.6".freeze
7
+ VERSION = "2.7".freeze
8
8
 
9
9
  end
10
10
 
data/lib/intar.rb CHANGED
@@ -112,17 +112,19 @@ class Intar
112
112
  send (get_metacommand $1).method, (eval_param $2)
113
113
  else
114
114
  l.sub! %r/\s*&\s*\z/, SUB
115
- @redir.redirect_output do eval l, @binding, @file end
115
+ begin
116
+ @redir.redirect_output do eval l, @binding, @file end
117
+ rescue SyntaxError
118
+ raise if l.end_with? $/
119
+ @previous = l
120
+ next
121
+ end
116
122
  end
117
123
  rescue Bye
118
124
  raise if @depth.nonzero?
119
125
  break
120
126
  rescue Quit
121
127
  break
122
- rescue SyntaxError
123
- raise if l.end_with? $/
124
- @previous = l
125
- next
126
128
  rescue Exception
127
129
  break if SystemExit === $! and not @params[ :catch_exit]
128
130
  show_exception
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intar
3
3
  version: !ruby/object:Gem::Version
4
- version: '2.6'
4
+ version: '2.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bertram Scharpf