tumugi 0.4.1 → 0.4.2
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 +4 -4
- data/CHANGELOG.md +17 -2
- data/lib/tumugi/mixin/parameterizable.rb +7 -7
- data/lib/tumugi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3466a5b94c0069c0a4b07c50537904268bd2bd48
|
|
4
|
+
data.tar.gz: 1f1a5ecba63e147079f74df154cc13c1d907f824
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0bfc9d4ed96a7e74f6ba4afb164d77c5c116cd9488a6a0c64edb54fa230fd496e1bae2b20023abbfeff1b06f7afc4fa017508ed376b4f09e610bb177f9dd391d
|
|
7
|
+
data.tar.gz: 842c78985f9acbc1d4a45edce1d02c4c9084b867d8630fdeff69dfd51b38e5ac651e99794733edd6b84662fb302ec9f9824a32c8a41a84b3d3dcf0a6447f0c8b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,27 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
## [0.4.
|
|
4
|
-
[Full Changelog](https://github.com/tumugi/tumugi/compare/v0.4.
|
|
3
|
+
## [0.4.2](https://github.com/tumugi/tumugi/tree/0.4.2) (2016-05-10)
|
|
4
|
+
[Full Changelog](https://github.com/tumugi/tumugi/compare/v0.4.1...0.4.2)
|
|
5
|
+
|
|
6
|
+
**Fixed bugs:**
|
|
7
|
+
|
|
8
|
+
- Cannot read parameters of parent task [\#41](https://github.com/tumugi/tumugi/issues/41)
|
|
9
|
+
|
|
10
|
+
**Merged pull requests:**
|
|
11
|
+
|
|
12
|
+
- Fix parent class parameters are not visible in a subclass [\#42](https://github.com/tumugi/tumugi/pull/42) ([hakobera](https://github.com/hakobera))
|
|
13
|
+
|
|
14
|
+
## [v0.4.1](https://github.com/tumugi/tumugi/tree/v0.4.1) (2016-05-09)
|
|
15
|
+
[Full Changelog](https://github.com/tumugi/tumugi/compare/v0.4.0...v0.4.1)
|
|
5
16
|
|
|
6
17
|
**Fixed bugs:**
|
|
7
18
|
|
|
8
19
|
- Check workflow file existance before load [\#39](https://github.com/tumugi/tumugi/pull/39) ([hakobera](https://github.com/hakobera))
|
|
9
20
|
|
|
21
|
+
**Merged pull requests:**
|
|
22
|
+
|
|
23
|
+
- Prepare release for v0.4.1 [\#40](https://github.com/tumugi/tumugi/pull/40) ([hakobera](https://github.com/hakobera))
|
|
24
|
+
|
|
10
25
|
## [v0.4.0](https://github.com/tumugi/tumugi/tree/v0.4.0) (2016-05-09)
|
|
11
26
|
[Full Changelog](https://github.com/tumugi/tumugi/compare/v0.3.0...v0.4.0)
|
|
12
27
|
|
|
@@ -55,28 +55,28 @@ module Tumugi
|
|
|
55
55
|
end
|
|
56
56
|
|
|
57
57
|
def param(name, opts={})
|
|
58
|
-
parameter_proxy(proxy_id
|
|
58
|
+
parameter_proxy(proxy_id).param(name, opts)
|
|
59
59
|
attr_accessor name
|
|
60
60
|
end
|
|
61
61
|
|
|
62
62
|
def param_set(name, value)
|
|
63
|
-
parameter_proxy(proxy_id
|
|
63
|
+
parameter_proxy(proxy_id).param_set(name, value)
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
def param_auto_bind_enabled(v)
|
|
67
|
-
parameter_proxy(proxy_id
|
|
67
|
+
parameter_proxy(proxy_id).param_auto_bind_enabled = v
|
|
68
68
|
end
|
|
69
69
|
|
|
70
70
|
def merged_parameter_proxy
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
parameterizables = ancestors.reverse.select{ |a| a.respond_to?(:parameter_proxy) }
|
|
72
|
+
parameterizables.map { |a| a.parameter_proxy(a.proxy_id) }.reduce(:merge)
|
|
73
73
|
end
|
|
74
74
|
|
|
75
75
|
def dump
|
|
76
|
-
parameter_proxy_map[proxy_id
|
|
76
|
+
parameter_proxy_map[proxy_id].dump
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
def proxy_id
|
|
79
|
+
def proxy_id
|
|
80
80
|
self.name || self.object_id.to_s
|
|
81
81
|
end
|
|
82
82
|
end
|
data/lib/tumugi/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tumugi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kazuyuki Honda
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-05-
|
|
11
|
+
date: 2016-05-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: parallel
|