foreman_api 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e804c349a0737bd1e36f75d217e900e410db7d46
4
- data.tar.gz: 6e30c0b8219160082efbaf2e4f77533716e22ba0
3
+ metadata.gz: ef4cd0aa69fefbfbac0f3ab7ffd33d95c217b687
4
+ data.tar.gz: 7aad9ef159b5f01b749b5bb748a332b3a71c1397
5
5
  SHA512:
6
- metadata.gz: d73fd7e470e8ba4c1e589cb941f2da24640fd1bfe7bacc8f71ec2445262d14388516b0b16828b48b72095a487f9f33092df3c2b2f337f9002c9f726892a7f79a
7
- data.tar.gz: e3d9b4c9b6eea0218635816a3ae2b234e0dac08f0808b3568d3bd2c344e6a0aaa97ab7c7615db799ada161febde6b6b6c31408fa6ceb4fc8558ff1d976659065
6
+ metadata.gz: a0f3eca4072163b08471f35a2921273d063ed76db42134de644cc3705aac5a33aba717df9f610ea0b1c8f5397fc711b4dc4b714292ace04fd940f9d3afce00ad
7
+ data.tar.gz: 39f7d639a7d46b2c4072c9986f4861a88bc1a50d8e1c609d4d4ffa671db32d25aba25d1453d8df702113f070e9f1af8fa8f860b03b3e34855d041d5ffa1b88be
@@ -66,7 +66,7 @@ module ForemanApi
66
66
 
67
67
  args = [http_method]
68
68
  if %w[post put].include?(http_method.to_s)
69
- args << params
69
+ args << params.to_json
70
70
  else
71
71
  headers[:params] = params if params
72
72
  end
@@ -1,3 +1,3 @@
1
1
  module ForemanApi
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.11"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Bačovský
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-23 00:00:00.000000000 Z
11
+ date: 2014-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json