maltese 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +1 -1
- data/Gemfile.lock +1 -1
- data/lib/maltese/version.rb +1 -1
- data/spec/cli_spec.rb +1 -1
- data/spec/fixtures/vcr_cassettes/Maltese_CLI/sitemap/should_succeed.yml +25 -80
- data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/get_data/should_report_if_there_are_works_returned_by_the_Datacite_REST_API.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/get_total/with_works.yml +7 -7
- data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/process_data/should_handle_bad_request_errors_with_the_Datacite_REST_API.yml +13 -68
- data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/process_data/should_handle_timeout_errors_with_the_Datacite_REST_API.yml +13 -68
- data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/push_data/should_report_if_there_are_no_works_returned_by_the_Datacite_REST_API.yml +13 -68
- data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/push_data/should_report_if_there_are_works_returned_by_the_Datacite_REST_API.yml +12 -12
- data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/queue_jobs/should_report_if_there_are_works_returned_by_the_Datacite_REST_API.yml +25 -80
- data/spec/sitemap_spec.rb +4 -4
- data/spec/spec_helper.rb +2 -0
- metadata +1 -3
- data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/process_data/should_catch_bad_request_errors_with_the_Datacite_REST_API.yml +0 -59
- data/spec/fixtures/vcr_cassettes/Maltese_Sitemap/process_data/should_retry_2_times_for_bad_request_errors_with_the_Datacite_REST_API.yml +0 -58
@@ -1,58 +0,0 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
4
|
-
method: post
|
5
|
-
uri: https://hooks.slack.com/services/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
|
6
|
-
body:
|
7
|
-
encoding: US-ASCII
|
8
|
-
string: payload=%7B%22username%22%3A%22Fabrica%22%2C%22icon_url%22%3A%22https%3A%2F%2Fgithub.com%2Fdatacite%2Fsegugio%2Fblob%2Fmaster%2Fsource%2Fimages%2Ffabrica.png%22%2C%22attachments%22%3A%5B%7B%22title%22%3A%22DataCite+Fabrica+Test%3A+Sitemaps+Not+Updated%22%2C%22color%22%3A%22danger%22%2C%22fields%22%3A%5B%7B%22title%22%3A%22Error%22%2C%22value%22%3A%22A+bad+gateway+error+occured+for+URL+https%3A%2F%2Fapi.test.datacite.org%2Fdois%3Ffields%255Bdois%255D%3Ddoi%252Cupdated%5Cu0026page%255Bscroll%255D%3D7m%5Cu0026page%255Bsize%255D%3D1000.%22%7D%2C%7B%22title%22%3A%22Time+Taken%22%2C%22value%22%3A%221+min%22%2C%22short%22%3Atrue%7D%5D%7D%5D%7D
|
9
|
-
headers:
|
10
|
-
Accept-Encoding:
|
11
|
-
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
12
|
-
Accept:
|
13
|
-
- "*/*"
|
14
|
-
User-Agent:
|
15
|
-
- Ruby
|
16
|
-
Content-Type:
|
17
|
-
- application/x-www-form-urlencoded
|
18
|
-
response:
|
19
|
-
status:
|
20
|
-
code: 200
|
21
|
-
message: OK
|
22
|
-
headers:
|
23
|
-
Content-Type:
|
24
|
-
- text/html
|
25
|
-
Content-Length:
|
26
|
-
- '22'
|
27
|
-
Connection:
|
28
|
-
- keep-alive
|
29
|
-
Date:
|
30
|
-
- Wed, 11 Dec 2019 18:14:25 GMT
|
31
|
-
Server:
|
32
|
-
- Apache
|
33
|
-
Vary:
|
34
|
-
- Accept-Encoding
|
35
|
-
Strict-Transport-Security:
|
36
|
-
- max-age=31536000; includeSubDomains; preload
|
37
|
-
Referrer-Policy:
|
38
|
-
- no-referrer
|
39
|
-
X-Frame-Options:
|
40
|
-
- SAMEORIGIN
|
41
|
-
Access-Control-Allow-Origin:
|
42
|
-
- "*"
|
43
|
-
X-Via:
|
44
|
-
- haproxy-www-kerw
|
45
|
-
X-Cache:
|
46
|
-
- Miss from cloudfront
|
47
|
-
Via:
|
48
|
-
- 1.1 0645caa18be2b3be5e4612d40f45a0ba.cloudfront.net (CloudFront)
|
49
|
-
X-Amz-Cf-Pop:
|
50
|
-
- MAD50-C1
|
51
|
-
X-Amz-Cf-Id:
|
52
|
-
- "-ZoOkqxx-VaemhTiULfQhhDTSsd2nqSOKtSgsE3kB3JkOleF2E8Eug=="
|
53
|
-
body:
|
54
|
-
encoding: ASCII-8BIT
|
55
|
-
string: ok
|
56
|
-
http_version:
|
57
|
-
recorded_at: Wed, 11 Dec 2019 18:14:25 GMT
|
58
|
-
recorded_with: VCR 3.0.3
|