itrp-client 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- itrp-client (1.0.7)
4
+ itrp-client (1.0.8)
5
5
  activesupport
6
6
  gem_config
7
7
  mime-types
data/lib/itrp/client.rb CHANGED
@@ -242,7 +242,7 @@ module Itrp
242
242
  when :Array then escape ? value.map{ |v| typecast(v, escape) }.join(',') : value
243
243
  # TODO: temporary for special constructions to update contact details, see Request #1444166
244
244
  when :Hash then escape ? value.to_s : value
245
- else value.to_json
245
+ else escape ? value.to_json : value.to_s
246
246
  end
247
247
  end
248
248
 
@@ -1,5 +1,5 @@
1
1
  module Itrp
2
2
  class Client
3
- VERSION = '1.0.8'
3
+ VERSION = '1.0.9'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itrp-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-11 00:00:00.000000000 Z
12
+ date: 2015-08-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gem_config