linkey 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/linkey.rb +1 -1
- data/lib/linkey/version.rb +1 -1
- data/linkey.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6414b83ff05a1569addce0199177b7f29dd215f7
|
4
|
+
data.tar.gz: bb8537fd7107f2e21c89fc8a86986ff8109dd272
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 376fa1a1af7ac1d671227ac3962bd3a6c191b4ceb0cef9e2c4c34451d95d5fa49eac85ada9a2a507f69accd01741b7b2f2d84761f588f5e7c6619da69fd8abf4
|
7
|
+
data.tar.gz: 014d8b30f54ffd795961d6f1006cbaa410147d60c58db115449ae501eff966d3955fa4b11dd1fb1f6a012cdab15e9fa02318c1ea780c5faf86ee3cd29916e289
|
data/lib/linkey.rb
CHANGED
@@ -39,7 +39,7 @@ module Linkey
|
|
39
39
|
def self.status(urls, base, headers = {})
|
40
40
|
@output = []
|
41
41
|
puts 'Checking...'
|
42
|
-
Parallel.each(urls, in_threads:
|
42
|
+
Parallel.each(urls, in_threads: 4) do |page_path|
|
43
43
|
request = Typhoeus.get(base + page_path.chomp('/'), headers)
|
44
44
|
status = request.code
|
45
45
|
make_request(page_path, base, status)
|
data/lib/linkey/version.rb
CHANGED
data/linkey.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ['david.blooman@gmail.com']
|
11
11
|
spec.summary = 'Linkey'
|
12
12
|
spec.description = 'Linkey'
|
13
|
-
spec.homepage = '
|
13
|
+
spec.homepage = 'http://responsivenews.co.uk'
|
14
14
|
spec.license = 'Apache 2'
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: linkey
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Blooman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -72,7 +72,7 @@ files:
|
|
72
72
|
- lib/linkey/javascript/snap.js
|
73
73
|
- lib/linkey/version.rb
|
74
74
|
- linkey.gemspec
|
75
|
-
homepage:
|
75
|
+
homepage: http://responsivenews.co.uk
|
76
76
|
licenses:
|
77
77
|
- Apache 2
|
78
78
|
metadata: {}
|