weel 1.99.52 → 1.99.53

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/weel.rb +5 -5
  3. data/weel.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6781cf5c784ad510da40a7691825eefcf2e016c3
4
- data.tar.gz: 9635d913b9a2082fee1b488cea87fa65d8808c1e
3
+ metadata.gz: f7668c333d0cfdcd2398932e45344c9680e30e97
4
+ data.tar.gz: 4d032a78ee6257263f85410fb30139b299d5c574
5
5
  SHA512:
6
- metadata.gz: 46af0cdb4d7c76b5038a36423e0f57095f4679ecf9b01c2faf1c7db097c0c3303cf948e54ca531e8ab39634cab57c9966e085d952f0a1b8e51d330f2676a9e17
7
- data.tar.gz: 2eeacb980cf037e56faf1d5a35906c64f7d600326100f121193c8dfdca0eba34b48f8023af1f7ef418c6966959d6a870fa9b025c37139b815fb63edc4976577a
6
+ metadata.gz: 6f348065b47122a2f5b6a33e27fa3fc66c1c7fde5d2142e6597aa2a0ddcd2610cabf544d39a7820bee92348764036bbb50ece14978af06f19e4179e065520d99
7
+ data.tar.gz: 319354bf332bcddca937aeb0a87ced44ac5016c76c56a875f20484ed75a4e8578f69f928863cdd15c6d4f7ef9b8ff803c6b369dcba3751534e717d673a926419
@@ -541,9 +541,9 @@ class WEEL
541
541
  def __weel_protect_yield(*local)
542
542
  begin
543
543
  yield(*local) if block_given?
544
- rescue NameError # => 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 protected_yield error. I don't want to tell you where and why."),nil)
546
+ @__weel_handlerwrapper::inform_syntax_error(@__weel_handlerwrapper_args,Exception.new("protect_yield: `#{err.name}` is not a thing that can be used. Maybe it is meant to be a string and you forgot quotes?"),nil)
547
547
  nil
548
548
  rescue => err
549
549
  self.__weel_state = :stopping
@@ -556,10 +556,10 @@ class WEEL
556
556
  begin
557
557
  handlerwrapper = @__weel_handlerwrapper.new @__weel_handlerwrapper_args unless condition.is_a?(Proc)
558
558
  condition.is_a?(Proc) ? condition.call : handlerwrapper.test_condition(ReadStructure.new(@__weel_data,@__weel_endpoints),condition)
559
- rescue NameError # => err # don't look into it, or it will explode
559
+ rescue NameError => err # don't look into it, or it will explode
560
560
  # if you access $! here, BOOOM
561
561
  self.__weel_state = :stopping
562
- @__weel_handlerwrapper::inform_syntax_error(@__weel_handlerwrapper_args,Exception.new("Condition error. I don't want to tell you where and why."),nil)
562
+ @__weel_handlerwrapper::inform_syntax_error(@__weel_handlerwrapper_args,Exception.new("eval_condition: `#{err.name}` is not a thing that can be used. Maybe it is meant to be a string and you forgot quotes?"),nil)
563
563
  nil
564
564
  rescue => err
565
565
  self.__weel_state = :stopping
@@ -935,7 +935,7 @@ public
935
935
  @dslr.__weel_handlerwrapper::inform_syntax_error(@dslr.__weel_handlerwrapper_args,Exception.new(se.message),code)
936
936
  rescue NameError # => err # don't look into it, or it will explode
937
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)
938
+ @dslr.__weel_handlerwrapper::inform_syntax_error(@dslr.__weel_handlerwrapper_args,Exception.new("main: `#{err.name}` is not a thing that can be used. Maybe it is meant to be a string and you forgot quotes?"),code)
939
939
  rescue => err
940
940
  @dslr.__weel_state = :stopping
941
941
  @dslr.__weel_handlerwrapper::inform_syntax_error(@dslr.__weel_handlerwrapper_args,Exception.new(err.message),code)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "weel"
3
- s.version = "1.99.52"
3
+ s.version = "1.99.53"
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.52
4
+ version: 1.99.53
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler