maremma 4.9.5 → 4.9.8

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
  SHA256:
3
- metadata.gz: 75cce5a38aa18df2aedba173c9a5f6e3c3336b4e8743e6898b41b7886edd0036
4
- data.tar.gz: fecfcd303216366dde1d0096510104190d5ea51fbc776fad940cc722b152c755
3
+ metadata.gz: c1ffabf03bd55d6ae7458bef0465049d01273352488565854296ed4daf5d290c
4
+ data.tar.gz: 72931c90a2686d9fe8598e0a5531aea3e430f81280cfce6f55e8e2f0fc47fbfb
5
5
  SHA512:
6
- metadata.gz: ee866f58f8dac6ecc026b8b85ef862520e1edb9fc4c20c384defeba0578d3227f7b1e331ef4c60a625e1391acf8565aded3ecc4dac0ec3fb914a272ebcb9cd0d
7
- data.tar.gz: 65c2c756ae9ec3e6400557ee6b28a2cf2e76ab7d6f538a628205bda518e79ab75c7367a9f07a79547c714baedcb598d7c7b0124f1e6b0c6eea2385d77cf9671d
6
+ metadata.gz: ceae6221e6d15e753b553e4ff927666d78590e2c1146650b73cac0cfd69f507f9d5054918324212c87f26abfb44f27e0bfb951bca2821d518e1b57903395b25e
7
+ data.tar.gz: 89b502b0dafccd8588d469b06f7aa5f5eb3aa732a25efc3d6e3888ac891dcbb12b37e9c36e8972f3556bc7a9f2d1bd2d4f648c5990a17a84c1a90d0505f37500
@@ -1,9 +1,10 @@
1
- name: Build Ruby Gem
1
+ name: Ruby CI
2
2
 
3
3
  on:
4
4
  push:
5
- branches:
6
- - "master"
5
+ branches: [ master ]
6
+ pull_request:
7
+ branches: [ master ]
7
8
  jobs:
8
9
  build:
9
10
  runs-on: ubuntu-latest
@@ -22,16 +23,11 @@ jobs:
22
23
  bundle install
23
24
  bundle exec rspec
24
25
 
25
- # - name: Publish code coverage
26
- # uses: paambaati/codeclimate-action@v2.7.4
27
- # env:
28
- # CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
29
-
30
26
  - name: Notify Slack
31
27
  uses: adamkdean/simple-slack-notify@1.0.4
32
28
  with:
33
29
  channel: '#ops'
34
30
  username: 'GitHub Actions'
35
31
  color: 'good'
36
- text: 'A new version of the maremma gem has been built.'
32
+ text: 'A new version of the maremma passes all tests.'
37
33
 
data/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # Changelog
2
2
 
3
+ ## [Unreleased](https://github.com/datacite/maremma/tree/HEAD)
4
+
5
+ [Full Changelog](https://github.com/datacite/maremma/compare/4.9.7...HEAD)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Update nokogiri requirement from \>= 1.11.2, \< 1.13.0 to \>= 1.11.2, \< 1.14.0 [\#22](https://github.com/datacite/maremma/pull/22) ([dependabot[bot]](https://github.com/apps/dependabot))
10
+ - Create CITATION.cff [\#18](https://github.com/datacite/maremma/pull/18) ([mfenner](https://github.com/mfenner))
11
+
12
+ ## [4.9.7](https://github.com/datacite/maremma/tree/4.9.7) (2022-01-04)
13
+
14
+ [Full Changelog](https://github.com/datacite/maremma/compare/4.9.6...4.9.7)
15
+
16
+ **Merged pull requests:**
17
+
18
+ - Update nokogiri requirement from ~\> 1.11.2 to \>= 1.11.2, \< 1.13.0 [\#15](https://github.com/datacite/maremma/pull/15) ([dependabot[bot]](https://github.com/apps/dependabot))
19
+
20
+ ## [4.9.6](https://github.com/datacite/maremma/tree/4.9.6) (2021-10-28)
21
+
22
+ [Full Changelog](https://github.com/datacite/maremma/compare/4.9.5...4.9.6)
23
+
24
+ **Merged pull requests:**
25
+
26
+ - Add option to skip the encoding of the response body. [\#16](https://github.com/datacite/maremma/pull/16) ([jrhoads](https://github.com/jrhoads))
27
+
28
+ ## [4.9.5](https://github.com/datacite/maremma/tree/4.9.5) (2021-07-20)
29
+
30
+ [Full Changelog](https://github.com/datacite/maremma/compare/4.9.4...4.9.5)
31
+
3
32
  ## [4.9.4](https://github.com/datacite/maremma/tree/4.9.4) (2021-06-07)
4
33
 
5
34
  [Full Changelog](https://github.com/datacite/maremma/compare/4.9.3...4.9.4)
data/CITATION.cff ADDED
@@ -0,0 +1,19 @@
1
+ ---
2
+ cff-version: 1.2.0
3
+ message: 'If you use Maremma: a Ruby library for simplified network calls in your
4
+ work, please cite it using the following metadata'
5
+ doi: https://doi.org/10.5438/qeg0-3gm3
6
+ repository-code: https://github.com/datacite/maremma
7
+ title: 'Maremma: a Ruby library for simplified network calls'
8
+ authors:
9
+ - given-names: Martin
10
+ family-names: Fenner
11
+ orcid: https://orcid.org/0000-0003-0077-4738
12
+ abstract: Ruby utility library for network requests. Based on Faraday and Excon, provides
13
+ a wrapper for XML/JSON parsing and error handling. All successful responses are
14
+ returned as hash with key data, all errors in a JSONAPI-friendly hash with key errors.
15
+ keywords:
16
+ - faraday
17
+ - excon
18
+ - net/http
19
+ date-released: '2017-02-24'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- maremma (4.9.5)
4
+ maremma (4.9.8)
5
5
  activesupport (>= 4.2.5)
6
6
  addressable (>= 2.3.6)
7
7
  builder (~> 3.2, >= 3.2.2)
@@ -9,14 +9,14 @@ PATH
9
9
  faraday (~> 0.17.3)
10
10
  faraday-encoding (~> 0.0.4)
11
11
  faraday_middleware (~> 0.14.0)
12
- nokogiri (~> 1.11.2)
12
+ nokogiri (>= 1.11.2, < 1.14.0)
13
13
  oj (>= 2.8.3)
14
14
  oj_mimic_json (~> 1.0, >= 1.0.1)
15
15
 
16
16
  GEM
17
17
  remote: https://rubygems.org/
18
18
  specs:
19
- activesupport (6.1.4)
19
+ activesupport (6.1.6)
20
20
  concurrent-ruby (~> 1.0, >= 1.0.2)
21
21
  i18n (>= 1.6, < 2)
22
22
  minitest (>= 5.1)
@@ -26,35 +26,35 @@ GEM
26
26
  public_suffix (>= 2.0.2, < 5.0)
27
27
  ast (2.4.2)
28
28
  builder (3.2.4)
29
- concurrent-ruby (1.1.9)
29
+ concurrent-ruby (1.1.10)
30
30
  crack (0.4.5)
31
31
  rexml
32
32
  diff-lcs (1.4.4)
33
33
  docile (1.4.0)
34
34
  excon (0.71.1)
35
- faraday (0.17.4)
35
+ faraday (0.17.5)
36
36
  multipart-post (>= 1.2, < 3)
37
37
  faraday-encoding (0.0.5)
38
38
  faraday
39
39
  faraday_middleware (0.14.0)
40
40
  faraday (>= 0.7.4, < 1.0)
41
41
  hashdiff (1.0.1)
42
- i18n (1.8.10)
42
+ i18n (1.10.0)
43
43
  concurrent-ruby (~> 1.0)
44
44
  jaro_winkler (1.5.4)
45
- mini_portile2 (2.5.3)
46
- minitest (5.14.4)
45
+ mini_portile2 (2.8.0)
46
+ minitest (5.15.0)
47
47
  multipart-post (2.1.1)
48
- nokogiri (1.11.7)
49
- mini_portile2 (~> 2.5.0)
48
+ nokogiri (1.13.6)
49
+ mini_portile2 (~> 2.8.0)
50
50
  racc (~> 1.4)
51
- oj (3.12.1)
51
+ oj (3.13.13)
52
52
  oj_mimic_json (1.0.1)
53
53
  parallel (1.20.1)
54
54
  parser (3.0.2.0)
55
55
  ast (~> 2.4.1)
56
56
  public_suffix (4.0.6)
57
- racc (1.5.2)
57
+ racc (1.6.0)
58
58
  rack (2.2.3)
59
59
  rack-test (0.8.3)
60
60
  rack (>= 1.0, < 3)
@@ -98,7 +98,7 @@ GEM
98
98
  addressable (>= 2.3.6)
99
99
  crack (>= 0.3.2)
100
100
  hashdiff (>= 0.4.0, < 2.0.0)
101
- zeitwerk (2.4.2)
101
+ zeitwerk (2.5.4)
102
102
 
103
103
  PLATFORMS
104
104
  ruby
@@ -116,4 +116,4 @@ DEPENDENCIES
116
116
  webmock (~> 3.0, >= 3.0.1)
117
117
 
118
118
  BUNDLED WITH
119
- 2.2.19
119
+ 2.3.14
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  [![Identifier](https://img.shields.io/badge/doi-10.5438%2Fqeg0--3gm3-fca709.svg)](https://doi.org/10.5438/qeg0-3gm3)
2
2
  [![Gem Version](https://badge.fury.io/rb/maremma.svg)](https://badge.fury.io/rb/maremma)
3
- [![Build Status](https://travis-ci.org/datacite/maremma.svg?branch=master)](https://travis-ci.org/datacite/maremma)
3
+ [![Build Status](https://github.com/datacite/maremma/actions/workflows/ci.yml/badge.svg)](https://github.com/datacite/maremma/actions/workflows/ci.yml)
4
4
  [![Code Climate](https://codeclimate.com/github/datacite/maremma/badges/gpa.svg)](https://codeclimate.com/github/datacite/maremma)
5
5
  [![Test Coverage](https://codeclimate.com/github/datacite/maremma/badges/coverage.svg)](https://codeclimate.com/github/datacite/maremma/coverage)
6
6
 
@@ -1,3 +1,3 @@
1
1
  module Maremma
2
- VERSION = "4.9.5".freeze
2
+ VERSION = "4.9.8".freeze
3
3
  end
data/lib/maremma.rb CHANGED
@@ -229,9 +229,18 @@ module Maremma
229
229
  end
230
230
 
231
231
  def self.parse_response(string, options = {})
232
- string = string.dup.encode(Encoding.find("UTF-8"), invalid: :replace,
233
- undef: :replace,
234
- replace: "?")
232
+ string = string.dup
233
+ string =
234
+ if options[:skip_encoding]
235
+ string
236
+ else
237
+ string.encode(
238
+ Encoding.find("UTF-8"),
239
+ invalid: :replace,
240
+ undef: :replace,
241
+ replace: "?"
242
+ )
243
+ end
235
244
  return string if options[:raw]
236
245
 
237
246
  from_json(string) || from_xml(string) || from_string(string)
data/maremma.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
25
25
  s.add_dependency "faraday", "~> 0.17.3"
26
26
  s.add_dependency "faraday-encoding", "~> 0.0.4"
27
27
  s.add_dependency "faraday_middleware", "~> 0.14.0"
28
- s.add_dependency "nokogiri", "~> 1.11.2"
28
+ s.add_dependency "nokogiri", ">= 1.11.2", "< 1.14.0"
29
29
  s.add_dependency "oj", ">= 2.8.3"
30
30
  s.add_dependency "oj_mimic_json", "~> 1.0", ">= 1.0.1"
31
31
  s.add_development_dependency "bundler", "~> 2.0"
@@ -0,0 +1,59 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://pub.sandbox.orcid.org/v3.0/0000-0002-5721-4355
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (compatible; Maremma/4.9.5; +https://github.com/datacite/maremma)
12
+ Accept:
13
+ - application/json;charset=UTF-8
14
+ Accept-Encoding:
15
+ - gzip,deflate
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: ''
20
+ headers:
21
+ Date:
22
+ - Wed, 27 Oct 2021 13:46:08 GMT
23
+ Content-Type:
24
+ - application/json;charset=UTF-8
25
+ Connection:
26
+ - keep-alive
27
+ Access-Control-Allow-Origin:
28
+ - "*"
29
+ Cache-Control:
30
+ - no-cache, no-store, max-age=0, must-revalidate
31
+ Pragma:
32
+ - no-cache
33
+ Expires:
34
+ - '0'
35
+ X-Xss-Protection:
36
+ - 1; mode=block
37
+ X-Frame-Options:
38
+ - DENY
39
+ X-Content-Type-Options:
40
+ - nosniff
41
+ Vary:
42
+ - accept-encoding
43
+ Content-Encoding:
44
+ - gzip
45
+ Cf-Cache-Status:
46
+ - DYNAMIC
47
+ Expect-Ct:
48
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
49
+ Server:
50
+ - cloudflare
51
+ Cf-Ray:
52
+ - 6a4c5e658b6919e7-EWR
53
+ body:
54
+ encoding: ASCII-8BIT
55
+ string: !binary |-
56
+ H4sIAAAAAAAAALRVy27bMBD8FYOnFrDiWH77mqRFr0V6KnqgxbW1DUWqJKXECPJBOeTQb/CPdemnHKumW9gGLAjicGZ3uBo9M20SFBEKUA6nCIaNn1lhkI1Z6lxux62W5UpM9NPVEknXWeuafhH946g3iNtRt9PrsSbLuUtpW/1iqq2jxQMu9kIbDUzBgErAenWpEy6BwKD8aorWaTP3K4kB7lCrKAOXakGQ2y9f727uiT/RWS5huSi4o92qkLLJbDHJ0Nrd42dWclnQTbvf6Q66o+F13Bt0SEZy66JMC2+CqAOPOnGn0437AwInkmMGVIAzBZCKLkyy1RTAE4clPyimBLNih4yj3GzePs0NZtzMq6veHDBWq6UvNRWuiBXPYOtPffXLVjvX7f6/tBoTeIYlqMgr2AqK3XLHbxZvbvHqz2jKM5TzaFPHBvTt/tOwcb94paP3phkQ6Nag9fHsGVeixQlKdHTYLC8mEpPjY0Wk2qVgduX93aMdkI2//9jS1s1yq0pKGhPUM8PzdH6Cx0O6dE/xmHCj/iCOR94ZrRy9f1TOnU0M0rg3Gz/pJbSONxuoSrAOZ1xo0/jwmV6gxRs9vrM5X/ymm/Zo2P54xQL21fa5a4yKMGCBm8R3XhgZcHMfHHb0PTnpLcc8ILN+FULsKxhxciFIyYZmYQ0LE2+ARP0A80dtRIB5jQozb+m8E08OjOKyksIhXw53nOBSnczL8T3r9PHW+kxDh2AjW2Q+qI6XKGh6USU+BEOnMZ3S1K7icmZ0kYdb2SP3Dooi4ZeRqlAvhzaXep6RfxdQqnD7TC2UQDUL6JzIvSUjYgoU9AmWa4uX8exQgWQzyCY0TSnm5xesci+/mZQzBkqEx/PYt0dIAr8KLonsUjP3jr4SzlTE6pt5nr5qaEnMgikxKPEffW2JSYTS7+E8TayYAkG2i68Akr38AQAA//8DAEWCRUMUCwAA
57
+ http_version:
58
+ recorded_at: Wed, 27 Oct 2021 13:46:00 GMT
59
+ recorded_with: VCR 3.0.3
@@ -0,0 +1,59 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://pub.sandbox.orcid.org/v3.0/0000-0002-5721-4355
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Mozilla/5.0 (compatible; Maremma/4.9.5; +https://github.com/datacite/maremma)
12
+ Accept:
13
+ - application/json;charset=UTF-8
14
+ Accept-Encoding:
15
+ - gzip,deflate
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: ''
20
+ headers:
21
+ Date:
22
+ - Wed, 27 Oct 2021 13:46:08 GMT
23
+ Content-Type:
24
+ - application/json;charset=UTF-8
25
+ Connection:
26
+ - keep-alive
27
+ Access-Control-Allow-Origin:
28
+ - "*"
29
+ Cache-Control:
30
+ - no-cache, no-store, max-age=0, must-revalidate
31
+ Pragma:
32
+ - no-cache
33
+ Expires:
34
+ - '0'
35
+ X-Xss-Protection:
36
+ - 1; mode=block
37
+ X-Frame-Options:
38
+ - DENY
39
+ X-Content-Type-Options:
40
+ - nosniff
41
+ Vary:
42
+ - accept-encoding
43
+ Content-Encoding:
44
+ - gzip
45
+ Cf-Cache-Status:
46
+ - DYNAMIC
47
+ Expect-Ct:
48
+ - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
49
+ Server:
50
+ - cloudflare
51
+ Cf-Ray:
52
+ - 6a4c5e69ad5f1a07-EWR
53
+ body:
54
+ encoding: ASCII-8BIT
55
+ string: !binary |-
56
+ H4sIAAAAAAAAALRVy27bMBD8FYOnFrDiWH77mqRFr0V6KnqgxbW1DUWqJKXECPJBOeTQb/CPdemnHKumW9gGLAjicGZ3uBo9M20SFBEKUA6nCIaNn1lhkI1Z6lxux62W5UpM9NPVEknXWeuafhH946g3iNtRt9PrsSbLuUtpW/1iqq2jxQMu9kIbDUzBgErAenWpEy6BwKD8aorWaTP3K4kB7lCrKAOXakGQ2y9f727uiT/RWS5huSi4o92qkLLJbDHJ0Nrd42dWclnQTbvf6Q66o+F13Bt0SEZy66JMC2+CqAOPOnGn0437AwInkmMGVIAzBZCKLkyy1RTAE4clPyimBLNih4yj3GzePs0NZtzMq6veHDBWq6UvNRWuiBXPYOtPffXLVjvX7f6/tBoTeIYlqMgr2AqK3XLHbxZvbvHqz2jKM5TzaFPHBvTt/tOwcb94paP3phkQ6Nag9fHsGVeixQlKdHTYLC8mEpPjY0Wk2qVgduX93aMdkI2//9jS1s1yq0pKGhPUM8PzdH6Cx0O6dE/xmHCj/iCOR94ZrRy9f1TOnU0M0rg3Gz/pJbSONxuoSrAOZ1xo0/jwmV6gxRs9vrM5X/ymm/Zo2P54xQL21fa5a4yKMGCBm8R3XhgZcHMfHHb0PTnpLcc8ILN+FULsKxhxciFIyYZmYQ0LE2+ARP0A80dtRIB5jQozb+m8E08OjOKyksIhXw53nOBSnczL8T3r9PHW+kxDh2AjW2Q+qI6XKGh6USU+BEOnMZ3S1K7icmZ0kYdb2SP3Dooi4ZeRqlAvhzaXep6RfxdQqnD7TC2UQDUL6JzIvSUjYgoU9AmWa4uX8exQgWQzyCY0TSnm5xesci+/mZQzBkqEx/PYt0dIAr8KLonsUjP3jr4SzlTE6pt5nr5qaEnMgikxKPEffW2JSYTS7+E8TayYAkG2i68Akr38AQAA//8DAEWCRUMUCwAA
57
+ http_version:
58
+ recorded_at: Wed, 27 Oct 2021 13:46:00 GMT
59
+ recorded_with: VCR 3.0.3
data/spec/maremma_spec.rb CHANGED
@@ -92,6 +92,20 @@ describe Maremma do
92
92
  response = subject.get("https://data.crosscite.org/application/vnd.datacite.datacite+xml/10.5061/dryad.8515", headers: { "Accept-Encoding" => "gzip" })
93
93
  expect(response.body["data"]).to be_a(Hash)
94
94
  end
95
+
96
+ it "get utf8 bad encoding", vcr: true do
97
+ response = subject.get("https://pub.sandbox.orcid.org/v3.0/0000-0002-5721-4355", accept: "json")
98
+ expect(response.body["data"]).to be_a(Hash)
99
+ expect(response.body["data"]["person"]["name"]["given-names"]["value"]).to eq("DataC??t??")
100
+ expect(response.body["data"]["person"]["name"]["family-name"]["value"]).to eq("UTF8 T??st")
101
+ end
102
+
103
+ it "get utf8 skip encoding", vcr: true do
104
+ response = subject.get("https://pub.sandbox.orcid.org/v3.0/0000-0002-5721-4355", accept: "json", skip_encoding: true)
105
+ expect(response.body["data"]).to be_a(Hash)
106
+ expect(response.body["data"]["person"]["name"]["given-names"]["value"]).to eq("DataCíté")
107
+ expect(response.body["data"]["person"]["name"]["family-name"]["value"]).to eq("UTF8 Tést")
108
+ end
95
109
  end
96
110
 
97
111
  context "head" do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maremma
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.9.5
4
+ version: 4.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-20 00:00:00.000000000 Z
11
+ date: 2022-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -118,16 +118,22 @@ dependencies:
118
118
  name: nokogiri
119
119
  requirement: !ruby/object:Gem::Requirement
120
120
  requirements:
121
- - - "~>"
121
+ - - ">="
122
122
  - !ruby/object:Gem::Version
123
123
  version: 1.11.2
124
+ - - "<"
125
+ - !ruby/object:Gem::Version
126
+ version: 1.14.0
124
127
  type: :runtime
125
128
  prerelease: false
126
129
  version_requirements: !ruby/object:Gem::Requirement
127
130
  requirements:
128
- - - "~>"
131
+ - - ">="
129
132
  - !ruby/object:Gem::Version
130
133
  version: 1.11.2
134
+ - - "<"
135
+ - !ruby/object:Gem::Version
136
+ version: 1.14.0
131
137
  - !ruby/object:Gem::Dependency
132
138
  name: oj
133
139
  requirement: !ruby/object:Gem::Requirement
@@ -316,13 +322,13 @@ extensions: []
316
322
  extra_rdoc_files:
317
323
  - README.md
318
324
  files:
319
- - ".github/workflows/build.yml"
320
325
  - ".github/workflows/changelog.yml"
326
+ - ".github/workflows/ci.yml"
321
327
  - ".github/workflows/release.yml"
322
328
  - ".gitignore"
323
329
  - ".rubocop.yml"
324
- - ".travis.yml"
325
330
  - CHANGELOG.md
331
+ - CITATION.cff
326
332
  - Gemfile
327
333
  - Gemfile.lock
328
334
  - LICENSE.md
@@ -344,6 +350,8 @@ files:
344
350
  - spec/fixtures/vcr_cassettes/Maremma/get/get_html_compressed.yml
345
351
  - spec/fixtures/vcr_cassettes/Maremma/get/get_json_compressed.yml
346
352
  - spec/fixtures/vcr_cassettes/Maremma/get/get_json_with_params.yml
353
+ - spec/fixtures/vcr_cassettes/Maremma/get/get_utf8_bad_encoding.yml
354
+ - spec/fixtures/vcr_cassettes/Maremma/get/get_utf8_skip_encoding.yml
347
355
  - spec/fixtures/vcr_cassettes/Maremma/get/get_xml_compressed.yml
348
356
  - spec/fixtures/vcr_cassettes/Maremma/link_headers/parses_link_headers.yml
349
357
  - spec/fixtures/vcr_cassettes/Maremma/set_host/crossref.yml
data/.travis.yml DELETED
@@ -1,33 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.6.5
4
-
5
- addons:
6
- code_climate:
7
- repo_token: $CODECLIMATE_REPO_TOKEN
8
-
9
- install:
10
- - travis_retry bundle install
11
-
12
- before_script:
13
- - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
14
- - chmod +x ./cc-test-reporter
15
- - ./cc-test-reporter before-build
16
-
17
- script:
18
- - bundle exec rspec spec
19
- after_script:
20
- - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
21
-
22
- deploy:
23
- provider: rubygems
24
- api_key:
25
- secure: YqeY08GVxIbvUPawYI6UrMPXtGUuCMC4u6R1Iup2AGJ7AUlYkMwqrwPfzmZPM2fjCBEpKpbY1OekkFUnUvxZvH4gsqMNB7558At6be/i3W1batAu3KZ6GLRk5HDIQcqb1T3noGU2xjwNprblOgrWO8RKxR/Ey3crqLv77FHtHHBTsI3nPPyYgurs1PvN4hjlxStlYMKlLgRBQeEzSKGajKQwj80HiCV+nHRdEEJ/y+a+ZwaxjMrB7Y7VDW+a+NETQw9yoL1KwVxaugGfpAlqP/oCmRVfL18nyMoVwWqYV44ewQh2NoOpzi1RD05DvFhI4qOHkt0/yRIzO/QhGrhpYmktKR1KgNSu8TJAYcb7J7A2OIx8sqyOraENcZK5fjaatIpSxAg0axo0LnLxKi3zBIr1pcdkzqhQyo1hs1PNvtWSrXDoVgAAb8uqRNfRXKPzrukATvL+gyFJnnxyF/uPzZItxZv/cAbHfNvWJDk3vEquX4P1SiAsG1a1JsWRKgrDPlvT45E74vE1MxIElo+25NktLqutG1dwz/TFFrDcTGSTwO/NijGdAPJVfbTDuVblKCh9UZmf38X9+3QT5U8OA4Z4GaG8Aud0PB+ml27uDGqBtS7PGC69/q3lbV9s7zpYe/9pnhRfHGzNCGcKpPIbW2gUiJINKbd5ZV4KMv1uZCM=
26
- gem: maremma
27
- on:
28
- tags: true
29
- repo: datacite/maremma
30
-
31
- notifications:
32
- email: false
33
- slack: datacite:Wt8En0ALoTA6Kjc5EOKNDWxN