awesome_bot 1.13.1 → 1.13.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/awesome_bot/output.rb +2 -2
- data/lib/awesome_bot/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a75e4fc3c003f07fd35639cd6fcacc695bc1ad4
|
4
|
+
data.tar.gz: 5bff4a91690e13a7dbf6d5414f8e3af67b51ed72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50edd3464a0b34839cb598a050aa5a3a086cfd4ecf9c005ef658b76b237fa71ea723421c3fedac0687c77f496f00e7b417efb4a3e210980d04c25f1c4d62a1a6
|
7
|
+
data.tar.gz: 2ee3d230c20cd435314adf126f31a72e288a5c23fd71b69c1ad005f104eb45f0cc65bf820a7e8c35711a3cc8d2d67300b39889c34ba5fbb437243c97af219d58
|
data/CHANGELOG.md
CHANGED
data/lib/awesome_bot/output.rb
CHANGED
@@ -53,7 +53,7 @@ module AwesomeBot
|
|
53
53
|
loc = x['loc']
|
54
54
|
status = s == STATUS_ERROR ? '' : s
|
55
55
|
link = x['url']
|
56
|
-
redirect =
|
56
|
+
redirect = status_is_redirected?(s) ? x['headers']['location'] : ''
|
57
57
|
error = s == STATUS_ERROR ? x['error'] : ''
|
58
58
|
|
59
59
|
hash = {
|
@@ -70,7 +70,7 @@ module AwesomeBot
|
|
70
70
|
"#{status} " \
|
71
71
|
"#{link} " \
|
72
72
|
"#{error}" \
|
73
|
-
"#{
|
73
|
+
"#{output_redirect x} \n"
|
74
74
|
|
75
75
|
[o, hash]
|
76
76
|
end
|
data/lib/awesome_bot/version.rb
CHANGED