trafficbroker-mandy 0.2.10 → 0.2.11

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.
Files changed (2) hide show
  1. data/bin/mandy-hadoop +2 -1
  2. metadata +3 -2
data/bin/mandy-hadoop CHANGED
@@ -3,6 +3,7 @@ require "rubygems"
3
3
  require "mandy"
4
4
  require 'optparse'
5
5
  require 'ostruct'
6
+ require 'uri'
6
7
 
7
8
  options = OpenStruct.new
8
9
 
@@ -22,7 +23,7 @@ OptionParser.new do |opts|
22
23
  end
23
24
 
24
25
  opts.on("-j", '--json {"key":"1 value"}', "Pass JSON encoded parameters to jobs") do |config|
25
- options.cmdenv = "json=#{config}"
26
+ options.cmdenv = "json=#{URI.encode(config)}"
26
27
  end
27
28
 
28
29
  opts.on_tail("-h", "--help", "Show this message") do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trafficbroker-mandy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Kent
@@ -64,6 +64,7 @@ files:
64
64
  - lib/test_runner.rb
65
65
  has_rdoc: false
66
66
  homepage: http://github.com/trafficbroker/mandy
67
+ licenses:
67
68
  post_install_message:
68
69
  rdoc_options: []
69
70
 
@@ -84,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
85
  requirements: []
85
86
 
86
87
  rubyforge_project:
87
- rubygems_version: 1.2.0
88
+ rubygems_version: 1.3.5
88
89
  signing_key:
89
90
  specification_version: 2
90
91
  summary: Map/Reduce