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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af3229fa87070f86fc76485027161ac82a40b77d
4
- data.tar.gz: c65bfccf9eddef84be1fe95dff0d08a9a6d07e63
3
+ metadata.gz: 5e3e56526cb55dd6f512036c2f09bba4482877f7
4
+ data.tar.gz: 1530ce3466c3ca85870bb34994b3755bdd71e343
5
5
  SHA512:
6
- metadata.gz: b0f38e7b46f971944d51e4b44fb4fef807c89a4e246ee7752b7eb8eea5719a188c6cdb549f46b924a8e9f21a1ee481d8225ef1a3a5c9303e3a940a4fc3c7d485
7
- data.tar.gz: 6f051b52dc8c674eacf16e9c7a0cbdb0efd06c7cdd256e875bbb4d74a887c5367c057f42d4704032d7310d0882968c94046a94ce957703c8310b6aef3aa81232
6
+ metadata.gz: 8a41b45ff42e741c2a2bf39511624a5f9a94a0f838d584f0ce7a2bde7ad02eef62fb5002e751764dc846c80df86f8b20ac79cae05bf8ee57cab06738482c3dd0
7
+ data.tar.gz: 82e8795bee0fa38a5b4d5d8841820187773c2bcccf6def8b2ede9cc6955593e4b58c072b80bf03d8da87299ea111e51042a5d7674db6ff586012193d6d1feda5
@@ -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))
@@ -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['DEVELOPMENT']
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
@@ -23,7 +23,7 @@
23
23
 
24
24
  module RightScraper
25
25
  # for gemspec, etc.
26
- GEM_VERSION = '5.2.2'
26
+ GEM_VERSION = '5.2.3'
27
27
 
28
28
  # (Fixnum) protocol versioning scheme; prepended to hashes to
29
29
  # prevent collisions.
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.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-17 00:00:00.000000000 Z
13
+ date: 2016-03-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: right_aws