weel 1.99.84 → 1.99.85

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 +18 -8
  3. data/weel.gemspec +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5a2078e30e109e2157cbf57097fb9397ef6c70be651ecd126921e2387a25e2e
4
- data.tar.gz: b71439bf1e34769f65e708cbbc81b6c7304df708c1e1ba3ced934974624b6e0c
3
+ metadata.gz: fa7f206a93ca278638856f8ab6b78fda00f60d3f4ef7edd4de39f3cbd815033f
4
+ data.tar.gz: 3d4aca5885e568a369da106911af21203f452168d94df137f5c7c28756314cae
5
5
  SHA512:
6
- metadata.gz: 68272ea7e69825b4c1aa7e4ba7ab570d9df41f82ff40c641d87beacfedca8e5e1bd53eb6885753c3f738bec921709ebf37ed44aff0d32cd9630fdb122143c35e
7
- data.tar.gz: 4cbad38225d73f475669926c7aaa1ea645bdebdc235512ecd08a8c64ad8fd91599b846e276cdce2a30deea78d184503ea8da542fe6d66cba4447c00a215c5c3c
6
+ metadata.gz: fdef4e6efd51ca5e02802ccf7ec18a2d6e0c1170235c2ed4daf2ef42d04b4890f17cc222b0721abf210a169a7bfb2458ee95ab5f4776c33c896957c93de2c725
7
+ data.tar.gz: 94d63a774749ff47717a4d6d18c8f0b79a026f702a3d0640193a3d80d47a08c558603b2e4359ebd200fa084708e1a84da16d594c817b054dd346243d09195807
@@ -59,12 +59,17 @@ class WEEL
59
59
  @additional = additional
60
60
  end
61
61
 
62
- def method_missing(m,args,&block)
63
- if @additional.exists?(m)
62
+ def method_missing(m,*args,&block)
63
+ if @additional.include?(m)
64
64
  begin
65
- Marshal.load(Marshal.dump(@aditional[m]))
65
+ tmp = Marshal.load(Marshal.dump(@additional[m]))
66
+ if tmp.is_a? Hash
67
+ ReadHash.new(tmp)
68
+ else
69
+ tmp
70
+ end
66
71
  rescue
67
- v.to_s rescue nil
72
+ m.to_s rescue nil
68
73
  end
69
74
  end
70
75
  end
@@ -90,12 +95,17 @@ class WEEL
90
95
  @additional = additional
91
96
  end
92
97
 
93
- def method_missing(m,args,&block)
94
- if @additional.exists?(m)
98
+ def method_missing(m,*args,&block)
99
+ if @additional.include?(m)
95
100
  begin
96
- Marshal.load(Marshal.dump(@aditional[m]))
101
+ tmp = Marshal.load(Marshal.dump(@additional[m]))
102
+ if tmp.is_a? Hash
103
+ ReadHash.new(tmp)
104
+ else
105
+ tmp
106
+ end
97
107
  rescue
98
- v.to_s rescue nil
108
+ m.to_s rescue nil
99
109
  end
100
110
  end
101
111
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "weel"
3
- s.version = "1.99.84"
3
+ s.version = "1.99.85"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "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.84
4
+ version: 1.99.85
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler