wallix_rest_client 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +25 -24
- data/lib/wallix_rest_client.rb +5 -1
- data/lib/wallix_rest_client/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17c8cd8296a631cf648eebef8e886074e4932e821caaa020cbe727c6fb092258
|
4
|
+
data.tar.gz: d2275e2e27ba6e1e9c086ee3de7b646f5c53ca5ac4154bb3e10f990de181e913
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 340b07334ac07111f5497f9b37181acb25a6807b7f0fbd1a02e4783b083c6fa104f9d843979a8444fe64fce0d53663dd2ce7f292dbc42588d6a8d42aeeca0c17
|
7
|
+
data.tar.gz: 2e33ebba37efee5de4b818a65bf5e500dbe8e72671e10f937d14ae49af07e0c84c00d7180398edb1523548da819523a8780dc9eb0bb3bb302d00cd41a0d52d7b
|
data/Gemfile.lock
CHANGED
@@ -1,40 +1,41 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
wallix_rest_client (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.
|
12
|
-
docile (1.3.
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
rspec-
|
18
|
-
rspec-
|
19
|
-
|
20
|
-
|
21
|
-
|
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.
|
25
|
-
rspec-mocks (3.
|
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.
|
28
|
-
rspec-support (3.
|
29
|
-
simplecov (0.
|
26
|
+
rspec-support (~> 3.10.0)
|
27
|
+
rspec-support (3.10.0)
|
28
|
+
simplecov (0.19.1)
|
30
29
|
docile (~> 1.1)
|
31
|
-
|
32
|
-
|
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
|
-
|
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.
|
52
|
+
2.1.4
|
data/lib/wallix_rest_client.rb
CHANGED
@@ -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(
|
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)
|
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.
|
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:
|
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
|
-
|
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.
|