trafficbroker-mandy 0.2.8 → 0.2.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.
Files changed (3) hide show
  1. data/lib/mandy.rb +1 -0
  2. data/lib/task.rb +1 -1
  3. metadata +1 -1
@@ -22,6 +22,7 @@
22
22
 
23
23
  require "rubygems"
24
24
  require "json"
25
+ require "uri"
25
26
 
26
27
  module Mandy
27
28
  class << self
@@ -28,7 +28,7 @@ module Mandy
28
28
  end
29
29
 
30
30
  def find_json_param(name)
31
- @json_args ||= JSON.parse(ENV[JSON_PAYLOAD_KEY])
31
+ @json_args ||= JSON.parse(URI.decode(ENV[JSON_PAYLOAD_KEY]))
32
32
  @json_args[name.to_s]
33
33
  end
34
34
 
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.8
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Kent