alinta-testing 0.4.3 → 0.4.4
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 +4 -4
- data/lib/alinta-testing/overrides/get_url.rb +0 -1
- data/lib/alinta-testing/overrides.rb +0 -12
- data/lib/alinta-testing/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 736830c9210449472ed8b5ec12b0d43a94590cb456f552daa8c63f66d63e7a0e
|
|
4
|
+
data.tar.gz: c1dddaacbb07604921305915b20fb40f4c9ba2c4a496688ea7e745779cf1e9ba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 34aed9123ff9f1134b62d68fc60aa54f0bf04ae38ee377c9212c9a7e64cbadc8eb2242936d3aaf5e92d858dbe5acdbf4535ac4d23dd4dcefb26608c6f2a48121
|
|
7
|
+
data.tar.gz: fe364f74e54bf1eb57216ec5c806a7f710260b0982d0bd5d32ca4614aeb6f3164b12233bff8c2618c6ceae5bac16a94ea804b1335dbc93f10888ae4a78b333c4
|
|
@@ -31,18 +31,6 @@ def parse_attributes(hashes)
|
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
33
|
|
|
34
|
-
def get_url(path)
|
|
35
|
-
raise %(Please set an 'endpoint' environment variable provided with the url of the api) unless ENV.key?('endpoint')
|
|
36
|
-
|
|
37
|
-
url = ENV['endpoint']
|
|
38
|
-
url = "#{url}/" unless url.end_with?('/')
|
|
39
|
-
url = "#{url}#{@urlbasepath}" unless @urlbasepath.to_s.empty?
|
|
40
|
-
url = "#{url}/" unless url.end_with?('/')
|
|
41
|
-
url = "#{url}#{path}" unless path.empty?
|
|
42
|
-
url
|
|
43
|
-
end
|
|
44
|
-
|
|
45
|
-
|
|
46
34
|
module RestClient
|
|
47
35
|
|
|
48
36
|
# A global setting to verify ssl certs for all requests. This can be overridden on a
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: alinta-testing
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Hosking
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-02-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cucumber-rest-bdd
|