sparkle_formation 1.1.0 → 1.1.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 +3 -0
- data/docs/compile-time-parameters.md +28 -21
- data/lib/sparkle_formation/sparkle_formation.rb +1 -1
- data/lib/sparkle_formation/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: 616be38c8c1a38f987e2a586840a9d249539fed4
|
4
|
+
data.tar.gz: d9548f0abf97deee0fd3c3aa2429b4d726bb5262
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 359abe032cb6e4d4c149cab74294413ee7700f4e38f3e31f724ceffd536c4a1133b1db2dc2028fcc4d1bc9828944ee6d5bcc1bc6faa37f123191299fe642d0e0
|
7
|
+
data.tar.gz: 1bf779e94bd5cfccc61f0d446cbab685b67868d6faac31d6af354a8db7d27269ab7d4923811cf95e557d6305881af28336ddcacf40ed86928709d9cb8bc5e02d
|
data/CHANGELOG.md
CHANGED
@@ -48,26 +48,33 @@ in which the keys are parameter names, and their respective values are a `Hash`
|
|
48
48
|
defining options for the parameter. The available items within the option
|
49
49
|
`Hash` for compile time parameters:
|
50
50
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
51
|
+
|
52
|
+
| Option | Attribute | Value
|
53
|
+
|-----------------------|-------------|-----------------------------------------
|
54
|
+
| `:type` | Description | Data type of parameter
|
55
|
+
| | Required | yes
|
56
|
+
| | Valid | `:number`, `:string`
|
57
|
+
| | Default | none
|
58
|
+
|-----------------------|-------------|-----------------------------------------
|
59
|
+
| `:description` | Description | Description of the parameter
|
60
|
+
| | Required | no
|
61
|
+
| | Valid | `String`
|
62
|
+
| | Default | none
|
63
|
+
|-----------------------|-------------|-----------------------------------------
|
64
|
+
| `:default` | Description | Default value for parameter
|
65
|
+
| | Required | no
|
66
|
+
| | Valid | `String`, `Integer`
|
67
|
+
| | Default | none
|
68
|
+
|-----------------------|-------------|-----------------------------------------
|
69
|
+
| `:multiple` | Description | Accept multiple values
|
70
|
+
| | Required | no
|
71
|
+
| | Valid | `TrueClass`, `FalseClass`
|
72
|
+
| | Default | `false`
|
73
|
+
|-----------------------|-------------|-----------------------------------------
|
74
|
+
| `:prompt_when_nested` | Description | Prompt for value when template is nested
|
75
|
+
| | Required | no
|
76
|
+
| | Valid | `TrueClass`, `FalseClass`
|
77
|
+
| | Default | `true`
|
71
78
|
|
72
79
|
##### Multiple value support
|
73
80
|
|
@@ -179,4 +186,4 @@ In this example the `:root` template is providing the compile time parameter `:n
|
|
179
186
|
explicitly to the `:node_generator` template. Due to the compile time parameter option
|
180
187
|
`:prompt_when_nested` being set to false, when the `:root` template is compiled, no prompt
|
181
188
|
will be received for the `:number_of_nodes` compile time parameter. However, if the
|
182
|
-
`:node_generator` template is compiled directly, the prompt will be received.
|
189
|
+
`:node_generator` template is compiled directly, the prompt will be received.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sparkle_formation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Roberts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: attribute_struct
|