ruby-miradore 4.4.2 → 4.4.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
  SHA256:
3
- metadata.gz: 7fa7bea04e363a3b0d7b478a83273c750f7e8b51d1accdc9bfc6f2e6a2363bed
4
- data.tar.gz: 1ff8e591ee1e65adb8cb7e29e34be5a376ef179b0cebe699b5ea68c42d2125a9
3
+ metadata.gz: c3966923afe8342fe94ceaa1e6e10239eaad50307923e7780023b6c6af1824b0
4
+ data.tar.gz: 83b089745b8d959986bacf5e7e0bd4ae4330a4a1724cb23ad266271076c2ee32
5
5
  SHA512:
6
- metadata.gz: fae95e829257c215c9c115cf292bca0a11b1adb64f7c84079d23912cc1115a0744bf1695eab937129595217e3b949b6752170dba8300e1fe3cb391a1fdb1cd0c
7
- data.tar.gz: ae53294cb3b31b5c70db09e6545c946a36baa0476cb1e2a00a169c8acf04bc96353eefb7ba54462c4bbd28705dff349b7f07ff778143b13744a0beb63086dc4e
6
+ metadata.gz: a3671cf3e70e176a35ac87d57f0b050731706d29f2b76a1d59b890de5b5864eeeb3bceb65f56b0eb56b1e60d100f498c814bc90ea636bc36e45f27c2519f7c50
7
+ data.tar.gz: f4bfedcb6e728e05eaba3165562c7020df6d39aa6f643820b2cfb83dc65395acb0c6f9fecc04b9b8e6fe28e41d3e0c8d64ca07f146d618cebc83c2abe1136059
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-miradore (4.4.2)
4
+ ruby-miradore (4.4.3)
5
5
  activesupport (~> 7.0)
6
6
  builder (~> 3.1)
7
7
  crack (~> 0.4)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ruby
4
4
  module Miradore
5
- VERSION = '4.4.2'
5
+ VERSION = '4.4.3'
6
6
  end
7
7
  end
data/lib/ruby/miradore.rb CHANGED
@@ -90,7 +90,7 @@ module Ruby
90
90
  end
91
91
 
92
92
  def transform(res, args = {})
93
- return res if args.fetch(:skip_transform, false)
93
+ return res if args.fetch(:skip_transform, false) || res.is_a?(Net::HTTPClientError)
94
94
 
95
95
  args.merge!({ subdomain: args.fetch(:subdomain, @subdomain), auth: args.fetch(:auth, @auth) })
96
96
  if res.values.first.is_a?(Array)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-miradore
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.2
4
+ version: 4.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduard Garcia Castelló
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-08 00:00:00.000000000 Z
11
+ date: 2023-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport