weel 1.99.51 → 1.99.52

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd221054d1fa34cb44a35cde2d10bc8415321e17
4
- data.tar.gz: 828e1bfb85af17b366ec3fb7bde5cfe02157f7d3
3
+ metadata.gz: 6781cf5c784ad510da40a7691825eefcf2e016c3
4
+ data.tar.gz: 9635d913b9a2082fee1b488cea87fa65d8808c1e
5
5
  SHA512:
6
- metadata.gz: a97a2c9c697458c668285afd59fa02f7c5b6f5f2388d171b63acf68b10e91c6ed20a0f9acd0f382fb37cf625420f37cfa485180a0d7ce71ca6e45ebe7b8a441a
7
- data.tar.gz: a4511f677a20af5c4723031ded5b1c2fec1beeb188495ba313c7a8798523eae955e4c2a4641d334a7761ea3fe101788fadf649fb662f5508a12c74c1b3bd8ea5
6
+ metadata.gz: 46af0cdb4d7c76b5038a36423e0f57095f4679ecf9b01c2faf1c7db097c0c3303cf948e54ca531e8ab39634cab57c9966e085d952f0a1b8e51d330f2676a9e17
7
+ data.tar.gz: 2eeacb980cf037e56faf1d5a35906c64f7d600326100f121193c8dfdca0eba34b48f8023af1f7ef418c6966959d6a870fa9b025c37139b815fb63edc4976577a
data/lib/weel.rb CHANGED
@@ -541,9 +541,13 @@ class WEEL
541
541
  def __weel_protect_yield(*local)
542
542
  begin
543
543
  yield(*local) if block_given?
544
- rescue # => err # don't look into it, or it will explode
544
+ rescue NameError # => err # don't look into it, or it will explode
545
545
  self.__weel_state = :stopping
546
- @__weel_handlerwrapper::inform_syntax_error(@__weel_handlerwrapper_args,Exception.new("DSL error. I don't want to tell you where and why."),nil)
546
+ @__weel_handlerwrapper::inform_syntax_error(@__weel_handlerwrapper_args,Exception.new("DSL protected_yield error. I don't want to tell you where and why."),nil)
547
+ nil
548
+ rescue => err
549
+ self.__weel_state = :stopping
550
+ @__weel_handlerwrapper::inform_syntax_error(@__weel_handlerwrapper_args,Exception.new(err.message),nil)
547
551
  nil
548
552
  end
549
553
  end
@@ -552,11 +556,15 @@ class WEEL
552
556
  begin
553
557
  handlerwrapper = @__weel_handlerwrapper.new @__weel_handlerwrapper_args unless condition.is_a?(Proc)
554
558
  condition.is_a?(Proc) ? condition.call : handlerwrapper.test_condition(ReadStructure.new(@__weel_data,@__weel_endpoints),condition)
555
- rescue # => err # don't look into it, or it will explode
559
+ rescue NameError # => err # don't look into it, or it will explode
556
560
  # if you access $! here, BOOOM
557
561
  self.__weel_state = :stopping
558
562
  @__weel_handlerwrapper::inform_syntax_error(@__weel_handlerwrapper_args,Exception.new("Condition error. I don't want to tell you where and why."),nil)
559
563
  nil
564
+ rescue => err
565
+ self.__weel_state = :stopping
566
+ @__weel_handlerwrapper::inform_syntax_error(@__weel_handlerwrapper_args,Exception.new(err.message),nil)
567
+ nil
560
568
  end
561
569
  end
562
570
 
@@ -925,9 +933,12 @@ public
925
933
  rescue SyntaxError => se
926
934
  @dslr.__weel_state = :stopping
927
935
  @dslr.__weel_handlerwrapper::inform_syntax_error(@dslr.__weel_handlerwrapper_args,Exception.new(se.message),code)
928
- rescue # => err # don't look into it, or it will explode
936
+ rescue NameError # => err # don't look into it, or it will explode
937
+ @dslr.__weel_state = :stopping
938
+ @dslr.__weel_handlerwrapper::inform_syntax_error(@dslr.__weel_handlerwrapper_args,Exception.new("DSL main error. I don't want to tell you where and why."),code)
939
+ rescue => err
929
940
  @dslr.__weel_state = :stopping
930
- @dslr.__weel_handlerwrapper::inform_syntax_error(@dslr.__weel_handlerwrapper_args,Exception.new("DSL error. I don't want to tell you where and why."),code)
941
+ @dslr.__weel_handlerwrapper::inform_syntax_error(@dslr.__weel_handlerwrapper_args,Exception.new(err.message),code)
931
942
  end
932
943
  if @dslr.__weel_state == :running
933
944
  @dslr.__weel_state = :finished
@@ -15,6 +15,7 @@ class TestHandlerWrapper < WEEL::HandlerWrapperBase
15
15
  @__myhandler_continue = continue
16
16
  @__myhandler_endpoint = endpoint
17
17
  @__myhandler_returnValue = nil
18
+ @t = nil
18
19
  end
19
20
 
20
21
  # executes a ws-call to the given endpoint with the given parameters. the call
data/weel.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "weel"
3
- s.version = "1.99.51"
3
+ s.version = "1.99.52"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "Preliminary release of the Workflow Execution Engine Library (WEEL)"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.99.51
4
+ version: 1.99.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-12-01 00:00:00.000000000 Z
12
+ date: 2017-12-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: test-unit