allq_rest 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/allq_rest-1.2.3.gem +0 -0
- data/deploy.sh +1 -1
- data/lib/allq_rest/api_client.rb +1 -2
- data/lib/allq_rest/configuration.rb +1 -3
- data/lib/allq_rest/version.rb +1 -1
- metadata +16 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d549d56163c4c43d207acc92e7d5b747d8863f6841cebfc5e446335da449755
|
4
|
+
data.tar.gz: 60f839763817c0faf3c0cf613562d08cdd0b92a373441f80cb56c77ce05dedd7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e93e53b383f42d0fc447aa5d03e445c36fd1428ca6a3eb9b1e17196741f9fad948cb7741d63291b571343cda79f6a8a5ecd78dde6b0b83dd20c8f83104ca4e88
|
7
|
+
data.tar.gz: d5bd05dd99290d7dcac8a11b20d6b8a3b84374d06fe76cd85154ff84e7a6f0bc5e5f70cf24be30c0154891ca9489a8bdd59a7c9d3e5da4fc797e4128d3b085e6
|
data/allq_rest-1.2.3.gem
ADDED
Binary file
|
data/deploy.sh
CHANGED
data/lib/allq_rest/api_client.rb
CHANGED
@@ -16,7 +16,6 @@ require 'logger'
|
|
16
16
|
require 'tempfile'
|
17
17
|
require 'typhoeus'
|
18
18
|
require 'uri'
|
19
|
-
require 'cgi'
|
20
19
|
|
21
20
|
module Allq
|
22
21
|
class ApiClient
|
@@ -264,7 +263,7 @@ module Allq
|
|
264
263
|
def build_request_url(path)
|
265
264
|
# Add leading and trailing slashes to path
|
266
265
|
path = "/#{path}".gsub(/\/+/, '/')
|
267
|
-
|
266
|
+
@config.base_url + path
|
268
267
|
end
|
269
268
|
|
270
269
|
# Builds the HTTP request body
|
@@ -10,8 +10,6 @@ Swagger Codegen version: 2.4.2
|
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
|
-
require 'cgi'
|
14
|
-
|
15
13
|
module Allq
|
16
14
|
class Configuration
|
17
15
|
# Defines url scheme
|
@@ -175,7 +173,7 @@ module Allq
|
|
175
173
|
|
176
174
|
def base_url
|
177
175
|
url = "#{scheme}://#{[host, base_path].join('/').gsub(/\/+/, '/')}".sub(/\/+\z/, '')
|
178
|
-
|
176
|
+
url
|
179
177
|
end
|
180
178
|
|
181
179
|
# Gets API key (with prefix if set).
|
data/lib/allq_rest/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: allq_rest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- support@blitline.com
|
@@ -34,42 +34,42 @@ dependencies:
|
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - "~>"
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: '2.1'
|
40
37
|
- - ">="
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: 2.1.0
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '2.1'
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - "~>"
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: '2.1'
|
50
47
|
- - ">="
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: 2.1.0
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '2.1'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rspec
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - "~>"
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: '3.6'
|
60
57
|
- - ">="
|
61
58
|
- !ruby/object:Gem::Version
|
62
59
|
version: 3.6.0
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.6'
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '3.6'
|
70
67
|
- - ">="
|
71
68
|
- !ruby/object:Gem::Version
|
72
69
|
version: 3.6.0
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '3.6'
|
73
73
|
- !ruby/object:Gem::Dependency
|
74
74
|
name: vcr
|
75
75
|
requirement: !ruby/object:Gem::Requirement
|
@@ -201,6 +201,7 @@ files:
|
|
201
201
|
- Gemfile.lock
|
202
202
|
- README.md
|
203
203
|
- Rakefile
|
204
|
+
- allq_rest-1.2.3.gem
|
204
205
|
- allq_rest.gemspec
|
205
206
|
- deploy.sh
|
206
207
|
- docs/ActionsApi.md
|
@@ -273,7 +274,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
273
274
|
- !ruby/object:Gem::Version
|
274
275
|
version: '0'
|
275
276
|
requirements: []
|
276
|
-
|
277
|
+
rubyforge_project:
|
278
|
+
rubygems_version: 2.7.9
|
277
279
|
signing_key:
|
278
280
|
specification_version: 4
|
279
281
|
summary: Ruby REST client for Allq platform
|