automate_soup 0.2.5 → 0.2.6
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/automate_soup/change.rb +3 -2
- data/lib/automate_soup/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 241aae798bfe6c020b7794007405001149918cf0702bf0a79f591b5c84c331d0
|
|
4
|
+
data.tar.gz: 74f66abfa339b986aef7f8f86a6e262d448006b9423b70454bf701cb7971a970
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fd629bb117696a23284667483809072e7a3bfa5ce450715a7f0a9a029ca7f3c459c71b2297379b1d0af5f1e8235c6473f7e675c4cf51fe32800f1b96fccd779b
|
|
7
|
+
data.tar.gz: e6faae178b1b99f67ef750a6316a5df76e152c943dd016d90101a8f23f69fa14b417a9efb5204b92e494495357c0920fbc6fdf1983df6908e1072e05bddf45df
|
data/lib/automate_soup/change.rb
CHANGED
|
@@ -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 =
|
|
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,
|