tumugi 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -2
- data/lib/tumugi/parameter/parameter.rb +2 -2
- data/lib/tumugi/plugin/file_system_target.rb +4 -0
- 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: 5374f0376d435b992b6dcfa558c5741f80d14d2c
|
4
|
+
data.tar.gz: 512e7f6bb9311a8695eca8c801eabdb685f69ee2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 844c9699397ccfc4936678f7412ac4d13cf42ea929ab353a17901a0fd7accb059c79b7a2f2bea3e05eb4968f3daa61728e95dc5ac63bd652b8e3696ffcd54a4d
|
7
|
+
data.tar.gz: 56f50cd77e9fc4f7a068b7a6ee0a622a7840a39656af585a34fe58209290c901f473e1f46b25874258d049fab006a2f2c7dbfd9cedfd923702834c1bc3f0b1d4
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,23 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [0.5.
|
4
|
-
[Full Changelog](https://github.com/tumugi/tumugi/compare/v0.5.
|
3
|
+
## [0.5.2](https://github.com/tumugi/tumugi/tree/0.5.2) (2016-06-13)
|
4
|
+
[Full Changelog](https://github.com/tumugi/tumugi/compare/v0.5.1...0.5.2)
|
5
|
+
|
6
|
+
**Implemented enhancements:**
|
7
|
+
|
8
|
+
- Add `to\_s` method to FileSystemTarget [\#73](https://github.com/tumugi/tumugi/issues/73)
|
9
|
+
|
10
|
+
**Fixed bugs:**
|
11
|
+
|
12
|
+
- Parameter should return `false` if default value is `false` [\#76](https://github.com/tumugi/tumugi/issues/76)
|
13
|
+
|
14
|
+
**Merged pull requests:**
|
15
|
+
|
16
|
+
- when type is boolean and default value is false, it should return false [\#77](https://github.com/tumugi/tumugi/pull/77) ([hakobera](https://github.com/hakobera))
|
17
|
+
- Add to\_s method to FileSystemTarget [\#74](https://github.com/tumugi/tumugi/pull/74) ([hakobera](https://github.com/hakobera))
|
18
|
+
|
19
|
+
## [v0.5.1](https://github.com/tumugi/tumugi/tree/v0.5.1) (2016-05-29)
|
20
|
+
[Full Changelog](https://github.com/tumugi/tumugi/compare/v0.5.0...v0.5.1)
|
5
21
|
|
6
22
|
**Implemented enhancements:**
|
7
23
|
|
@@ -10,6 +26,7 @@
|
|
10
26
|
|
11
27
|
**Merged pull requests:**
|
12
28
|
|
29
|
+
- Prepare release for v0.5.1 [\#72](https://github.com/tumugi/tumugi/pull/72) ([hakobera](https://github.com/hakobera))
|
13
30
|
- Disable param auto binding feature as default [\#71](https://github.com/tumugi/tumugi/pull/71) ([hakobera](https://github.com/hakobera))
|
14
31
|
|
15
32
|
## [v0.5.0](https://github.com/tumugi/tumugi/tree/v0.5.0) (2016-05-26)
|
@@ -36,7 +36,7 @@ module Tumugi
|
|
36
36
|
end
|
37
37
|
|
38
38
|
def default_value
|
39
|
-
@opts[:default]
|
39
|
+
@opts[:default].nil? ? nil : @opts[:default]
|
40
40
|
end
|
41
41
|
|
42
42
|
def merge_default_value(value)
|
@@ -54,7 +54,7 @@ module Tumugi
|
|
54
54
|
private
|
55
55
|
|
56
56
|
def validate
|
57
|
-
if required? && default_value
|
57
|
+
if required? && !default_value.nil?
|
58
58
|
raise Tumugi::ParameterError.new("When you set required: true, you cannot set default value")
|
59
59
|
end
|
60
60
|
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.5.
|
4
|
+
version: 0.5.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-
|
11
|
+
date: 2016-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parallel
|