coral_core 0.1.9 → 0.1.10
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.
- data/VERSION +1 -1
- data/coral_core.gemspec +1 -1
- data/lib/coral_core/command.rb +2 -3
- data/lib/coral_core/core.rb +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.10
|
data/coral_core.gemspec
CHANGED
data/lib/coral_core/command.rb
CHANGED
data/lib/coral_core/core.rb
CHANGED
@@ -110,7 +110,7 @@ class Core
|
|
110
110
|
|
111
111
|
def self.array(data, default = [], split_string = false)
|
112
112
|
result = default
|
113
|
-
if data
|
113
|
+
if data
|
114
114
|
case data
|
115
115
|
when Array
|
116
116
|
result = data
|
@@ -133,7 +133,7 @@ class Core
|
|
133
133
|
|
134
134
|
def self.hash(data, default = {})
|
135
135
|
result = default
|
136
|
-
if data
|
136
|
+
if data
|
137
137
|
case data
|
138
138
|
when Hash
|
139
139
|
result = data
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coral_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 10
|
10
|
+
version: 0.1.10
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Adrian Webb
|