awesome_bot 1.8.4 → 1.8.5
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/.travis.yml +1 -0
- data/CHANGELOG.md +4 -0
- data/bin/assets/test-errors +12 -0
- data/lib/awesome_bot/net.rb +2 -2
- data/lib/awesome_bot/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f195dc3e6ffcad817c7d912b22f7bb8d8b8e947d
|
|
4
|
+
data.tar.gz: 291f0250d6f81cffa3b5361aed805c3646797886
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 77e634ea2d1a908496765ef33335e95a11c34137049c5d4f4b1b946daefa728bf8dc9110e3a55c25aeaa9c7e2ebc3bf7b08824182ab23358998696ee139395f0
|
|
7
|
+
data.tar.gz: 39394dd0a2db5b3dd8225e74e51dc32d77f1f31bb0fa2e37bb43ad0c87b7cb9d65925aea6f16fd3d85826ebbede5f35a1810af6f21079ad4bbec9862f6910743
|
data/.travis.yml
CHANGED
|
@@ -13,5 +13,6 @@ script:
|
|
|
13
13
|
- awesome_bot bin/assets/test-timeout-and-redirect --allow-timeout --set-timeout 1 --allow-redirect
|
|
14
14
|
- awesome_bot bin/assets/test-redirect --allow-redirect
|
|
15
15
|
- awesome_bot bin/assets/test-statuses --white-list bot,bad,super
|
|
16
|
+
- awesome_bot bin/assets/test-errors
|
|
16
17
|
- awesome_bot README.md --allow-dupe --white-list gph.is,giphy,travis-ci.org,codeload,badge,rubydoc,rubygems,circleci
|
|
17
18
|
- gem install awesome_bot
|
data/CHANGELOG.md
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
2. [L046] 405 http://dancejs.io/
|
|
2
|
+
3. [L056] 405 https://www.google.com/events/io
|
|
3
|
+
5. [L130] 500 http://decentralizecamp.com/
|
|
4
|
+
6. [L138] 405 https://emberfest.eu/
|
|
5
|
+
02. [L0138] 401 https://developer.apple.com/library/ios/referencelibrary/GettingStarted/DevelopiOSAppsSwift/
|
|
6
|
+
03. [L0145] 401 https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/Introduction/Introduction.html
|
|
7
|
+
04. [L0146] 401 https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/OOP_ObjC/Introduction/Introduction.html
|
|
8
|
+
07. [L0644] 405 https://www.twilio.com/
|
|
9
|
+
09. [L1374] 401 https://developer.apple.com/library/ios/documentation/DeveloperTools/Reference/UIAutomationRef/
|
|
10
|
+
10. [L1446] 401 https://developer.apple.com/testflight/
|
|
11
|
+
11. [L1453] 401 https://developer.apple.com/app-store/review/rejections/
|
|
12
|
+
13. [L1587] 401 https://developer.apple.com/swift/blog/
|
data/lib/awesome_bot/net.rb
CHANGED
|
@@ -3,7 +3,7 @@ module AwesomeBot
|
|
|
3
3
|
STATUS_ERROR = -1
|
|
4
4
|
|
|
5
5
|
class << self
|
|
6
|
-
def net_status(url, timeout=30, head
|
|
6
|
+
def net_status(url, timeout=30, head)
|
|
7
7
|
require 'net/http'
|
|
8
8
|
require 'openssl'
|
|
9
9
|
require 'uri'
|
|
@@ -30,7 +30,7 @@ module AwesomeBot
|
|
|
30
30
|
(status > 299) && (status < 400)
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
-
def statuses(links, threads, timeout, head=
|
|
33
|
+
def statuses(links, threads, timeout, head=false)
|
|
34
34
|
require 'parallel'
|
|
35
35
|
|
|
36
36
|
statuses = []
|
data/lib/awesome_bot/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: awesome_bot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.8.
|
|
4
|
+
version: 1.8.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Khamsing
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-05-
|
|
11
|
+
date: 2016-05-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: parallel
|
|
@@ -42,6 +42,7 @@ files:
|
|
|
42
42
|
- awesome_bot.gemspec
|
|
43
43
|
- bin/assets/test-bad-link
|
|
44
44
|
- bin/assets/test-dupe
|
|
45
|
+
- bin/assets/test-errors
|
|
45
46
|
- bin/assets/test-link-issue
|
|
46
47
|
- bin/assets/test-no-dupes
|
|
47
48
|
- bin/assets/test-no-issues
|