mortar 0.9.10 → 0.10.0

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.
@@ -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]
@@ -220,7 +220,7 @@ class Mortar::Local::Pig
220
220
  cmd += " #{pig_alias} "
221
221
  end
222
222
 
223
- cmd += "'"
223
+ cmd += " -json '"
224
224
 
225
225
  result = run_pig_command(cmd, [], false)
226
226
  if result
@@ -16,5 +16,5 @@
16
16
 
17
17
  module Mortar
18
18
  # see http://semver.org/
19
- VERSION = "0.9.10"
19
+ VERSION = "0.10.0"
20
20
  end
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: 47
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 9
9
8
  - 10
10
- version: 0.9.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-08-12 00:00:00 Z
18
+ date: 2013-09-26 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rdoc