mortar 0.9.10 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mortar/helpers.rb +2 -2
- data/lib/mortar/local/pig.rb +1 -1
- data/lib/mortar/version.rb +1 -1
- metadata +4 -4
data/lib/mortar/helpers.rb
CHANGED
@@ -421,8 +421,8 @@ module Mortar
|
|
421
421
|
def display_with_indent(indent, msg="", new_line=true)
|
422
422
|
display("#{"".ljust(indent)}#{msg.to_s}", new_line)
|
423
423
|
end
|
424
|
-
|
425
|
-
max_key_length = hash.keys.map {|key| key.to_s.length}.max + 2
|
424
|
+
|
425
|
+
max_key_length = (hash.keys.map {|key| key.to_s.length}.max || 0) + 2
|
426
426
|
keys ||= hash.keys.sort {|x,y| x.to_s <=> y.to_s}
|
427
427
|
keys.each do |key|
|
428
428
|
case value = hash[key]
|
data/lib/mortar/local/pig.rb
CHANGED
data/lib/mortar/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mortar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 55
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
- 9
|
9
8
|
- 10
|
10
|
-
|
9
|
+
- 0
|
10
|
+
version: 0.10.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mortar Data
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-
|
18
|
+
date: 2013-09-26 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rdoc
|