intar 2.5 → 2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/intar/version.rb +1 -1
- data/lib/intar.rb +7 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ba7f7b2c3052c0627cd7126fedc64e45e443b2652670a6f15b3a408f729d5dd
|
4
|
+
data.tar.gz: efd64593e9f9e6d4fda22a426f9b5a7c3be1860594a3d31e66d383e033b55110
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1cf5dedde06257a25c4a0080c98f11f8a1735194c32cc279ce871a4d98d56685ee240d1316494c4f825af0f8a5886cbbdaba868912c376df2cb30f604e91911c
|
7
|
+
data.tar.gz: 831ce595c01ec5fe97832a2699d2a866d0af6bfec61598cf45b217652f0135cec5867fe510a15b50e506f9b475a4ad0a5ffdb8404e2f031098c377b669b9bc8d
|
data/lib/intar/version.rb
CHANGED
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
|
-
|
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,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: intar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '2.
|
4
|
+
version: '2.7'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bertram Scharpf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appl
|