wallix_rest_client 0.5.0 → 0.6.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b30200d7659e0acdd244cc6128627d986b3b54f55528ba1cc5cfd50c6466cf7e
4
- data.tar.gz: 6a2919742098e026a14ba1615cbfa522b72cbb85fa382bc09c9baa60ba387a32
3
+ metadata.gz: 17c8cd8296a631cf648eebef8e886074e4932e821caaa020cbe727c6fb092258
4
+ data.tar.gz: d2275e2e27ba6e1e9c086ee3de7b646f5c53ca5ac4154bb3e10f990de181e913
5
5
  SHA512:
6
- metadata.gz: 2c99e789f85d0f06efb441782c34d6303d402e2e6d53db813cbbf14c81e6468867b31260fb8fa83d72b2384dd31e330c202aeb84e8dad56d0350752a205b7e17
7
- data.tar.gz: d0c8d86ef10323f4b26ecc617a7f71bf09eeb74af7769ebbd3741648f4501b93e0a4ed88b110fc13e0c329ec6f3c391642b0750851439e66b35553e187807a69
6
+ metadata.gz: 340b07334ac07111f5497f9b37181acb25a6807b7f0fbd1a02e4783b083c6fa104f9d843979a8444fe64fce0d53663dd2ce7f292dbc42588d6a8d42aeeca0c17
7
+ data.tar.gz: 2e33ebba37efee5de4b818a65bf5e500dbe8e72671e10f937d14ae49af07e0c84c00d7180398edb1523548da819523a8780dc9eb0bb3bb302d00cd41a0d52d7b
@@ -1,40 +1,41 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- wallix_rest_client (0.4.0)
4
+ wallix_rest_client (0.6.0)
5
5
  json
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
10
  ansi (1.5.0)
11
- diff-lcs (1.3)
12
- docile (1.3.1)
13
- hirb (0.7.3)
14
- json (2.1.0)
15
- rake (12.3.1)
16
- rspec (3.7.0)
17
- rspec-core (~> 3.7.0)
18
- rspec-expectations (~> 3.7.0)
19
- rspec-mocks (~> 3.7.0)
20
- rspec-core (3.7.1)
21
- rspec-support (~> 3.7.0)
22
- rspec-expectations (3.7.0)
11
+ diff-lcs (1.4.4)
12
+ docile (1.3.2)
13
+ json (2.3.1)
14
+ rake (13.0.1)
15
+ rspec (3.10.0)
16
+ rspec-core (~> 3.10.0)
17
+ rspec-expectations (~> 3.10.0)
18
+ rspec-mocks (~> 3.10.0)
19
+ rspec-core (3.10.0)
20
+ rspec-support (~> 3.10.0)
21
+ rspec-expectations (3.10.0)
23
22
  diff-lcs (>= 1.2.0, < 2.0)
24
- rspec-support (~> 3.7.0)
25
- rspec-mocks (3.7.0)
23
+ rspec-support (~> 3.10.0)
24
+ rspec-mocks (3.10.0)
26
25
  diff-lcs (>= 1.2.0, < 2.0)
27
- rspec-support (~> 3.7.0)
28
- rspec-support (3.7.1)
29
- simplecov (0.16.1)
26
+ rspec-support (~> 3.10.0)
27
+ rspec-support (3.10.0)
28
+ simplecov (0.19.1)
30
29
  docile (~> 1.1)
31
- json (>= 1.8, < 3)
32
- simplecov-html (~> 0.10.0)
33
- simplecov-console (0.4.2)
30
+ simplecov-html (~> 0.11)
31
+ simplecov-console (0.8.0)
34
32
  ansi
35
- hirb
36
33
  simplecov
37
- simplecov-html (0.10.2)
34
+ terminal-table
35
+ simplecov-html (0.12.3)
36
+ terminal-table (2.0.0)
37
+ unicode-display_width (~> 1.1, >= 1.1.1)
38
+ unicode-display_width (1.7.0)
38
39
 
39
40
  PLATFORMS
40
41
  ruby
@@ -48,4 +49,4 @@ DEPENDENCIES
48
49
  wallix_rest_client!
49
50
 
50
51
  BUNDLED WITH
51
- 1.16.1
52
+ 2.1.4
@@ -76,7 +76,11 @@ module WallixRestClient
76
76
 
77
77
  # Run the HTTP request
78
78
  def run_request(path, resource, type, query_params = {}, post_params = {})
79
- uri = URI::join(configuration.base_uri, '/api/', path, resource.to_s, build_query_params(query_params))
79
+ uri = URI::join(
80
+ configuration.base_uri, '/api/', path,
81
+ URI.encode_www_form_component(resource.to_s, enc=Encoding::UTF_8),
82
+ build_query_params(query_params)
83
+ )
80
84
 
81
85
  http = build_http(uri)
82
86
  request = build_request(type, uri)
@@ -1,3 +1,3 @@
1
1
  module WallixRestClient
2
- VERSION = '0.5.0'.freeze
2
+ VERSION = '0.6.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wallix_rest_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxime Alay-Eddine
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-09-03 00:00:00.000000000 Z
11
+ date: 2020-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -136,8 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubyforge_project:
140
- rubygems_version: 2.7.6
139
+ rubygems_version: 3.1.2
141
140
  signing_key:
142
141
  specification_version: 4
143
142
  summary: Provides a wrapper for the Wallix REST API.