samanage 2.1.03 → 2.1.04

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: 96cd6c46302b608aee724d5ce0c52c0b18809c84
4
- data.tar.gz: 1b0e75bf1547cd663acffa977f610a9e4abe9ef7
3
+ metadata.gz: b2eae5b0a2fd2224a58170972a1743f1b4f97874
4
+ data.tar.gz: c77a999e1d466c5e98fd6f312b182a416f0d4df3
5
5
  SHA512:
6
- metadata.gz: 06c13812cf2d816cc85662ef5db91b50470cebeeb6d8f29b9cbc01a569ffd80c2e6c906c80cc9add7850bb9c72a52e155fd6cbb1979d80ce802ce4c09966a672
7
- data.tar.gz: 86ddac466de2047c481568732ea713dff235eebbe07b18d3dbdcdfc9d589edf74e4e933a13a38c52ca39df8d3d049ef44bd7167ead09a9d584fe8aead51cee6d
6
+ metadata.gz: 859bb3474497a51470e7c8b54654e47cec0b2eb7e77e3760233faf8f823b195c1b6576508829b688e7044e737b93d130463b717842e4e740af32bb5f36806cad
7
+ data.tar.gz: f059e28ff6ddf2f33a5a06c3a9a2aeb07794790990b5b53255740b819b7af4a050f03f49b976cf01d6a4c8cb0bc29971eaba0964451ed242dcd9726856486b62
@@ -1,3 +1,5 @@
1
+ # 2.1.04
2
+ - params bug fix
1
3
  # 2.1.03
2
4
  - Use paths
3
5
 
@@ -4,7 +4,7 @@ module Samanage
4
4
  # Get mobile default path
5
5
  def get_mobiles(path: PATHS[:mobile], options: {})
6
6
  params = self.set_params(options: options)
7
- path = 'mobiles.json' + params
7
+ path = 'mobiles.json?' + params
8
8
  self.execute(path: path)
9
9
 
10
10
  end
@@ -2,7 +2,7 @@ module Samanage
2
2
  class Api
3
3
  def get_sites(path: PATHS[:site], options: {})
4
4
  params = self.set_params(options: options)
5
- path = 'sites.json' + params
5
+ path = 'sites.json?' + params
6
6
  self.execute(path: path)
7
7
  end
8
8
 
@@ -2,7 +2,7 @@ module Samanage
2
2
  class Api
3
3
  def get_solutions(path: PATHS[:solution], options: {})
4
4
  params = self.set_params(options: options)
5
- path = 'solutions.json' + params
5
+ path = 'solutions.json?' + params
6
6
  self.execute(path: path)
7
7
  end
8
8
 
@@ -4,7 +4,7 @@ module Samanage
4
4
  # Get users, using URL builder
5
5
  def get_users(path: PATHS[:user], options: {})
6
6
  params = self.set_params(options: options)
7
- path = 'users.json' + params
7
+ path = 'users.json?' + params
8
8
  self.execute(path: path)
9
9
  end
10
10
 
@@ -1,3 +1,3 @@
1
1
  module Samanage
2
- VERSION = '2.1.03'
2
+ VERSION = '2.1.04'
3
3
  end
@@ -39,10 +39,7 @@ describe Samanage::Api do
39
39
  new_description = solution_description = "Description #{(rand*10**4).ceil}"
40
40
  payload = {solution: {description: new_description}}
41
41
  solution_update = @samanage.update_solution(id: sample_solution_id, payload: payload)
42
- <<<<<<< HEAD
43
- =======
44
42
 
45
- >>>>>>> cfd796242ef4e0d4ffa21306ea9242b3ed472c33
46
43
  expect(new_description).to eq(solution_update.dig(:data,'description'))
47
44
  expect(solution_update[:code]).to eq(200)
48
45
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: samanage
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.03
4
+ version: 2.1.04
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Walls
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-07 00:00:00.000000000 Z
11
+ date: 2018-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty