maremma 4.6.1 → 4.7

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: 511d86e5d25f7bea4c4ccc199f975d2f07405279fe1f5caee3fcce574a244e34
4
- data.tar.gz: 7b9fd7c038438e15f7a52b50d12ed56101aff20c2511e5d3d99eebd3725b352b
3
+ metadata.gz: 3a1d4d6405a2e9523bd85487febb4c87e2d2c5ceae0f5cdad3fa0f937e9266d4
4
+ data.tar.gz: 6869c4d1ef2c219b3d2e39056df2f944719050b1857c6f02f8ef36f2ce40f397
5
5
  SHA512:
6
- metadata.gz: eabbaafe892f38389d93b8729656361ae14b4e0bb4f15274111d972de712519922f2a3ddff64b7f77a0dbe1d82e099a180d100ed886220e7ca4da74a84e4ba38
7
- data.tar.gz: 542bdb899495a9ba33f969d22f867b1b2549a4bc4f170907999cfffe4e7f943dcacf4bb821ae3b27c8f0ac3b28b375659cb6c668da5f759b8b7e0828efe0ba1d
6
+ metadata.gz: 99c566abb28a222c61c876149eba1ad0a681b22a371db68360243ee3996e19da24257e55aeb387f978c17576c3747107977c05bbaa0549f99cee2d098488ed1d
7
+ data.tar.gz: 26722919c7b539cfdff208b8ee5462d0eb29db7a43b7a38a32bed0dfd2cea818a23da8b859cef99560a84a76ef9dd75e69012737c39ab052034b1ff004484598
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- maremma (4.6.1)
4
+ maremma (4.7)
5
5
  activesupport (>= 4.2.5)
6
6
  addressable (>= 2.3.6)
7
7
  builder (~> 3.2, >= 3.2.2)
@@ -16,7 +16,7 @@ PATH
16
16
  GEM
17
17
  remote: https://rubygems.org/
18
18
  specs:
19
- activesupport (6.0.2.1)
19
+ activesupport (6.0.2.2)
20
20
  concurrent-ruby (~> 1.0, >= 1.0.2)
21
21
  i18n (>= 0.7, < 2)
22
22
  minitest (~> 5.1)
@@ -38,19 +38,19 @@ GEM
38
38
  faraday
39
39
  faraday_middleware (0.13.1)
40
40
  faraday (>= 0.7.4, < 1.0)
41
- hashdiff (1.0.0)
41
+ hashdiff (1.0.1)
42
42
  i18n (1.8.2)
43
43
  concurrent-ruby (~> 1.0)
44
44
  jaro_winkler (1.5.4)
45
45
  mini_portile2 (2.4.0)
46
46
  minitest (5.14.0)
47
47
  multipart-post (2.1.1)
48
- nokogiri (1.10.8)
48
+ nokogiri (1.10.9)
49
49
  mini_portile2 (~> 2.4.0)
50
- oj (3.10.2)
50
+ oj (3.10.5)
51
51
  oj_mimic_json (1.0.1)
52
52
  parallel (1.19.1)
53
- parser (2.7.0.2)
53
+ parser (2.7.0.5)
54
54
  ast (~> 2.4.0)
55
55
  public_suffix (4.0.3)
56
56
  rack (2.2.2)
@@ -64,7 +64,7 @@ GEM
64
64
  rspec-mocks (~> 3.9.0)
65
65
  rspec-core (3.9.1)
66
66
  rspec-support (~> 3.9.1)
67
- rspec-expectations (3.9.0)
67
+ rspec-expectations (3.9.1)
68
68
  diff-lcs (>= 1.2.0, < 2.0)
69
69
  rspec-support (~> 3.9.0)
70
70
  rspec-mocks (3.9.1)
@@ -82,20 +82,20 @@ GEM
82
82
  rubocop (>= 0.71.0)
83
83
  ruby-progressbar (1.10.1)
84
84
  safe_yaml (1.0.5)
85
- simplecov (0.18.2)
85
+ simplecov (0.18.5)
86
86
  docile (~> 1.1)
87
87
  simplecov-html (~> 0.11)
88
- simplecov-html (0.12.0)
88
+ simplecov-html (0.12.2)
89
89
  thread_safe (0.3.6)
90
90
  tzinfo (1.2.6)
91
91
  thread_safe (~> 0.1)
92
92
  unicode-display_width (1.6.1)
93
93
  vcr (3.0.3)
94
- webmock (3.8.2)
94
+ webmock (3.8.3)
95
95
  addressable (>= 2.3.6)
96
96
  crack (>= 0.3.2)
97
97
  hashdiff (>= 0.4.0, < 2.0.0)
98
- zeitwerk (2.2.2)
98
+ zeitwerk (2.3.0)
99
99
 
100
100
  PLATFORMS
101
101
  ruby
@@ -121,7 +121,7 @@ module Maremma
121
121
  c.headers["Accept"] = options[:headers]["Accept"]
122
122
  c.headers["User-Agent"] = options[:headers]["User-Agent"]
123
123
  c.use FaradayMiddleware::FollowRedirects, limit: limit, cookie: :all if limit > 0
124
- c.use FaradayMiddleware::Gzip
124
+ # c.use FaradayMiddleware::Gzip
125
125
  c.request :multipart
126
126
  c.request :json if options[:headers]["Accept"] == "application/json"
127
127
  c.response :encoding
@@ -1,3 +1,3 @@
1
1
  module Maremma
2
- VERSION = "4.6.1"
2
+ VERSION = "4.7"
3
3
  end
@@ -69,20 +69,20 @@ describe Maremma do
69
69
  expect(stub).to have_been_requested
70
70
  end
71
71
 
72
- it "get json compressed", vcr: true do
73
- response = subject.get("https://api.datacite.org/works", :headers => { "Content-Type" => "application/json", "Accept-Encoding" => "gzip"})
74
- expect(response.body["data"].length).to eq(25)
75
- end
72
+ # it "get json compressed", vcr: true do
73
+ # response = subject.get("https://api.datacite.org/works", :headers => { "Content-Type" => "application/json", "Accept-Encoding" => "gzip"})
74
+ # expect(response.body["data"].length).to eq(25)
75
+ # end
76
76
 
77
- it "get html compressed", vcr: true do
78
- response = subject.get("https://datacite.org/", :headers => {"Accept-Encoding" => "gzip"})
79
- expect(response.body["data"]).to include("html")
80
- end
77
+ # it "get html compressed", vcr: true do
78
+ # response = subject.get("https://datacite.org/", :headers => {"Accept-Encoding" => "gzip"})
79
+ # expect(response.body["data"]).to include("html")
80
+ # end
81
81
 
82
- it "get xml compressed", vcr: true do
83
- response = subject.get("https://data.crosscite.org/application/vnd.datacite.datacite+xml/10.5061/dryad.8515", :headers => { "Accept-Encoding" => "gzip"})
84
- expect(response.body["data"]).to be_a(Hash)
85
- end
82
+ # it "get xml compressed", vcr: true do
83
+ # response = subject.get("https://data.crosscite.org/application/vnd.datacite.datacite+xml/10.5061/dryad.8515", :headers => { "Accept-Encoding" => "gzip"})
84
+ # expect(response.body["data"]).to be_a(Hash)
85
+ # end
86
86
  end
87
87
 
88
88
  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.6.1
4
+ version: '4.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-05 00:00:00.000000000 Z
11
+ date: 2020-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport