right_scraper 5.2.2 → 5.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/right_scraper-retrieve +5 -0
- data/bin/right_scraper-scan +5 -0
- data/lib/right_scraper/repositories/base.rb +1 -1
- data/lib/right_scraper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e3e56526cb55dd6f512036c2f09bba4482877f7
|
4
|
+
data.tar.gz: 1530ce3466c3ca85870bb34994b3755bdd71e343
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a41b45ff42e741c2a2bf39511624a5f9a94a0f838d584f0ce7a2bde7ad02eef62fb5002e751764dc846c80df86f8b20ac79cae05bf8ee57cab06738482c3dd0
|
7
|
+
data.tar.gz: 82e8795bee0fa38a5b4d5d8841820187773c2bcccf6def8b2ede9cc6955593e4b58c072b80bf03d8da87299ea111e51042a5d7674db6ff586012193d6d1feda5
|
data/bin/right_scraper-retrieve
CHANGED
@@ -35,6 +35,11 @@ if ::ARGV.size != 2
|
|
35
35
|
exit 1
|
36
36
|
end
|
37
37
|
|
38
|
+
# specifically trap-and-ignore SIGTERM and SIGQUIT to prevent the Docker
|
39
|
+
# container being stopped on service shutdown. also do not emit any output.
|
40
|
+
# allows SIGINT for development.
|
41
|
+
%W(TERM QUIT).each { |s| trap(s) {} }
|
42
|
+
|
38
43
|
main = nil
|
39
44
|
begin
|
40
45
|
options = ::JSON.load(::File.read(::ARGV.shift))
|
data/bin/right_scraper-scan
CHANGED
@@ -35,6 +35,11 @@ if ::ARGV.size != 2
|
|
35
35
|
exit 1
|
36
36
|
end
|
37
37
|
|
38
|
+
# specifically trap-and-ignore SIGTERM and SIGQUIT to prevent the Docker
|
39
|
+
# container being stopped on service shutdown. also do not emit any output.
|
40
|
+
# allows SIGINT for development.
|
41
|
+
%W(TERM QUIT).each { |s| trap(s) {} }
|
42
|
+
|
38
43
|
main = nil
|
39
44
|
begin
|
40
45
|
options = ::JSON.load(::File.read(::ARGV.shift))
|
@@ -94,7 +94,7 @@ module RightScraper::Repositories
|
|
94
94
|
raise ::ArgumentError, ':repo_type is required' if repo_type.empty?
|
95
95
|
repo_class = query_registered_type(repo_type)
|
96
96
|
repo = repo_class.new
|
97
|
-
validate_uri(repo_hash[:url]) unless ENV['
|
97
|
+
validate_uri(repo_hash[:url]) unless ENV['VALIDATE_URI'].to_s == 'false'
|
98
98
|
repo_hash.each do |k, v|
|
99
99
|
k = k.to_sym
|
100
100
|
next if k == :repo_type
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: right_scraper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.2.
|
4
|
+
version: 5.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Raphael Simon
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-03-
|
13
|
+
date: 2016-03-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: right_aws
|