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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 85dacb264b2ea078f991b88ef2ab185526f22af3
4
- data.tar.gz: 2db17b9b5a8c547a9d66fbaab730d34885e769ad
3
+ metadata.gz: 2a75e4fc3c003f07fd35639cd6fcacc695bc1ad4
4
+ data.tar.gz: 5bff4a91690e13a7dbf6d5414f8e3af67b51ed72
5
5
  SHA512:
6
- metadata.gz: 8b36edf14f6c7d8f28ea149b6122165d2b2f0ba5b8a1a5219e2ed9cc5fbd5c4c6de851e51e68489bafdc22c9cbe11e5ae2de82a550cc632a3050d172d4d0897a
7
- data.tar.gz: 9c9db13ecb3f4aeb026bcb9999e48403899a81012e139a9578c04b6eb4b17b4a4ea3535af02308888f27fc760bf279cea3b2b4514eb249d3108ab9354130aa84
6
+ metadata.gz: 50edd3464a0b34839cb598a050aa5a3a086cfd4ecf9c005ef658b76b237fa71ea723421c3fedac0687c77f496f00e7b417efb4a3e210980d04c25f1c4d62a1a6
7
+ data.tar.gz: 2ee3d230c20cd435314adf126f31a72e288a5c23fd71b69c1ad005f104eb45f0cc65bf820a7e8c35711a3cc8d2d67300b39889c34ba5fbb437243c97af219d58
@@ -2,6 +2,10 @@
2
2
 
3
3
  Changes by [Daniel Khamsing][] unless otherwise noted.
4
4
 
5
+ # 1.13.2
6
+
7
+ - correct `redirect` in filtered issues
8
+
5
9
  # 1.13.1
6
10
 
7
11
  - add `error` (and dupes) to filtered issues
@@ -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 = output_redirect x
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
- "#{redirect} \n"
73
+ "#{output_redirect x} \n"
74
74
 
75
75
  [o, hash]
76
76
  end
@@ -5,5 +5,5 @@ module AwesomeBot
5
5
  'Great for "awesome" projects.'
6
6
  PROJECT_URL = 'https://github.com/dkhamsing/awesome_bot'
7
7
 
8
- VERSION = '1.13.1'
8
+ VERSION = '1.13.2'
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awesome_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.1
4
+ version: 1.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Khamsing