api_six_client 1.0.1 → 1.1.1

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: 91c206ff7f1609af9629912eee16193d35d30e338b36219f19f2ed692767b270
4
- data.tar.gz: ba64baadd31593c26d7dcc254618eb1ea1c805fb1ee37716167a3daf09610e05
3
+ metadata.gz: b824a8fa20eb4c5610e68656f0dc39c1174e4071e86088e2040ea486f9610db6
4
+ data.tar.gz: 8dd3e6573539cbbbc1676b7c635535997d27aa8197500641e329bb5a60d67fd9
5
5
  SHA512:
6
- metadata.gz: 680c9182a05be3a2dc6659f19fb2d4bb5f262890c4204c9343aa1495c86c5b4087bf0c2bdc2dc75c4c2a79fda4ebc7c515025d6745ae76ce6ed81530632c6c56
7
- data.tar.gz: ab471b68c23c0549ecf449fa5f0e45529bcd72d08c059df30cae86e10ae963339ffcd9f8b172aeedb277e96e82105b616a4b9043c6a224d38e8219ae3b2d6c0f
6
+ metadata.gz: 97236e98c0dc5deba27445b48da451d469300e2e64c335ef3662b34f7ed298f4761b6cae755ce504c9bf782b8bc87420cbb8e5b0b14e93f63956b85e884adf8a
7
+ data.tar.gz: 3d153ef5d0948349b0da9baddcf7d76a7470857fb5ed66179e82f7ee2f8188e63eae4fcbfd3ba59f2e2da4b6b5a565ce2b7cbfce490307ae4d88178f27cc9bc8
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- api_six_client (1.0.1)
4
+ api_six_client (1.1.1)
5
5
  faraday (~> 1)
6
6
 
7
7
  GEM
@@ -42,9 +42,9 @@ module ApiSixClient
42
42
  res = JSON.parse(response.body)
43
43
 
44
44
  return res.with_indifferent_access if res.is_a?(Hash)
45
- return res.map(&:with_indifferent_access) if res.is_a?(Array)
45
+ return res unless res.is_a?(Array)
46
46
 
47
- res
47
+ res.map { |r| r.is_a?(Hash) ? r.with_indifferent_access : r }
48
48
  end
49
49
 
50
50
  def connection
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ApiSixClient
4
- VERSION = "1.0.1"
4
+ VERSION = "1.1.1"
5
5
  end
@@ -23,4 +23,5 @@ module ApiSixClient
23
23
  class Prj < Base; end
24
24
  class Fin < Base; end
25
25
  class Olc < Base; end
26
+ class Eno < Base; end
26
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_six_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugene Dobrorodnov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-03 00:00:00.000000000 Z
11
+ date: 2023-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday