automate_soup 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 52cac5d82b7daf5c44abc82c063badd93f699821b5d857c69ebceec2bb6ee3ef
4
- data.tar.gz: 685c12f3b40b9070cf46fe0a12b709a39754d9e52b8f97c976cf85bd4dd06edb
3
+ metadata.gz: 241aae798bfe6c020b7794007405001149918cf0702bf0a79f591b5c84c331d0
4
+ data.tar.gz: 74f66abfa339b986aef7f8f86a6e262d448006b9423b70454bf701cb7971a970
5
5
  SHA512:
6
- metadata.gz: dfb36472013d9cbc81fe8eee2c1757e29f4f563660922854ce1dd6596868ffd3a133ea0ba8e73ee81345e981f3e37ea444f68c6bda0e8e0a7765e4bb8134bb27
7
- data.tar.gz: dd6e432e3b6f16172f745a0e7c6d9cbb0776ed2549e40a2bc06fb8f04057a52ba5dd4031bee3b22c446ff3ebcd2a7c4626bfe33cf1e6083d5ac5ce58f4cee86b
6
+ metadata.gz: fd629bb117696a23284667483809072e7a3bfa5ce450715a7f0a9a029ca7f3c459c71b2297379b1d0af5f1e8235c6473f7e675c4cf51fe32800f1b96fccd779b
7
+ data.tar.gz: e6faae178b1b99f67ef750a6316a5df76e152c943dd016d90101a8f23f69fa14b417a9efb5204b92e494495357c0920fbc6fdf1983df6908e1072e05bddf45df
@@ -83,7 +83,7 @@ module AutomateSoup
83
83
  raise 'Must run AutomateSoup.setup first' if AutomateSoup.url.nil? || AutomateSoup.credentials.nil?
84
84
  raise "Approve link not available, #{links.inspect}" if links.nil? || links['approve'].nil? || links['approve']['href'].nil?
85
85
  url = links['approve']['href']
86
- url = "#{AutomateSoup.url}#{}" unless url.include?('http')
86
+ url = "#{AutomateSoup.url}#{url}" unless url.include?('http')
87
87
  res = AutomateSoup::Rest.post(
88
88
  url: url,
89
89
  username: AutomateSoup.credentials.username,
@@ -102,7 +102,8 @@ module AutomateSoup
102
102
  return nil if current_stage.stage != 'acceptance'
103
103
  raise 'Must run AutomateSoup.setup first' if AutomateSoup.url.nil? || AutomateSoup.credentials.nil?
104
104
  raise "Deliver link not available, #{links.inspect}" if links.nil? || links['deliver'].nil? || links['deliver']['href'].nil?
105
- url = "#{AutomateSoup.url}#{links['deliver']['href']}"
105
+ url = links['deliver']['href']
106
+ url = "#{AutomateSoup.url}#{url}" unless url.include?('http')
106
107
  res = AutomateSoup::Rest.post(
107
108
  url: url,
108
109
  username: AutomateSoup.credentials.username,
@@ -1,3 +1,3 @@
1
1
  module AutomateSoup
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: automate_soup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Skyler Layne