vizbuilder 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/vizbuilder.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb940b378df8d29c0b34ae8cafce1ffe6a2baf0997e9a5b8306bdf4c0a80208d
|
4
|
+
data.tar.gz: 2a213a778a2d961cad5e9349bdaed185b5fba2fbe90eb5868d24b31f7ddabf43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f42712411120f39a05c378e37de0cb38ab105a55aca8eab9956a9d3f99dd6433590b3559e2a26c255ae37a59045430f6a50870de8bc1866c79ecc376c63fcef3
|
7
|
+
data.tar.gz: a71e0b2f144fe3bc69aacafd948af954e9a989549c9441e00c0f3a1c1955439499daf7176f7577d00012b63699d6eba70627beb742b7dfc5aefcfcf8d68338af
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.5
|
data/lib/vizbuilder.rb
CHANGED
@@ -221,6 +221,11 @@ class VizBuilder
|
|
221
221
|
self
|
222
222
|
end
|
223
223
|
|
224
|
+
# Set a global config option if it isn't already set
|
225
|
+
def set_default(key, val)
|
226
|
+
set(key, val) unless @config.key?(key)
|
227
|
+
end
|
228
|
+
|
224
229
|
# Add code to run after data is loaded or reloaded. Is also run after object
|
225
230
|
# is created.
|
226
231
|
def after_load_data(&blk)
|