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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 915afa8d4217314324b96bad612d3fe5703c076a88f9cea988e1cde0bb7f3eb1
4
- data.tar.gz: 629d8af1c90fb196355404fd5db123bf233bb663d16f4b7e0ddfb78cdb016270
3
+ metadata.gz: 736830c9210449472ed8b5ec12b0d43a94590cb456f552daa8c63f66d63e7a0e
4
+ data.tar.gz: c1dddaacbb07604921305915b20fb40f4c9ba2c4a496688ea7e745779cf1e9ba
5
5
  SHA512:
6
- metadata.gz: '05633495e2ec59b19fc022bd0b94d24e96107c4b72bd0f4e0274a3bebb99905d8f329a64e6d04813e4671cd81aab48f0ddd614614204747dde75c087bac19612'
7
- data.tar.gz: e3725702804b8b5c2664c2368f86f4535986590159e14715abf79e2a3571f32cf1660a483c6591adb3fb62942f9ca2023a530f0f2422e99c01979af7ddddfad0
6
+ metadata.gz: 34aed9123ff9f1134b62d68fc60aa54f0bf04ae38ee377c9212c9a7e64cbadc8eb2242936d3aaf5e92d858dbe5acdbf4535ac4d23dd4dcefb26608c6f2a48121
7
+ data.tar.gz: fe364f74e54bf1eb57216ec5c806a7f710260b0982d0bd5d32ca4614aeb6f3164b12233bff8c2618c6ceae5bac16a94ea804b1335dbc93f10888ae4a78b333c4
@@ -32,7 +32,6 @@ def get_url_internal(path, endpoint, urlbasepath, apiversion)
32
32
 
33
33
  # final path for this request
34
34
  url = "#{url}#{path}" unless path.empty?
35
- url = "#{url}/" unless url.end_with?('/')
36
35
 
37
36
  url
38
37
  end
@@ -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
@@ -1,3 +1,3 @@
1
1
  module AlintaTesting
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
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.3
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-01-29 00:00:00.000000000 Z
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