perfect_audit 0.3.1 → 0.3.2

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: b2525916f152c32acfdf977f643690ea0c5485ddd61aaf0cc648d70fa8c471df
4
- data.tar.gz: 79995d6cf94966c52ecd07951224a36e5f77cbcf02edd564ccc39d2c445ec09f
3
+ metadata.gz: 9fdb4bba9cd516c21f66eb05cb8dc231ce1426ac6ce5aa3885b66db22a57d189
4
+ data.tar.gz: 385d53469a6ce0bfb8e0d16356b765e5f87a8bb0841127bce9a5c6340dd0ce01
5
5
  SHA512:
6
- metadata.gz: 1b6e7b7e09e0f97cdb88e86f607b3faaffa0d1ac79041141ef6d549bd86dbaa7a7a017d2860e0f2391345ac0d7018627f89ba8e2f08a51bf8d59a4a9e0e140d1
7
- data.tar.gz: 9cf768ec14bc3767401b423da3def0969a5e826cc97b6811e1f5dc98b6dcd0c3c72649de40e9494a1530db483f20144e123370d487c844ce41d4ce16a88bc6d4
6
+ metadata.gz: ece8d169ba87b7fb3d3513589409cc0c639867d0cce456cc9f266ae54c1b77fbd1a151c48dc59a99bba7cba16b74a73b5d347ffdd9ab53a765774a515ac0b446
7
+ data.tar.gz: c745ff5299de3fa4daf41ff636122dc2a09502cd0913ff328389e1d84220033783ca6e4994affb6043c84526181c70edb8ea5e5ec07047d9bf7be6246a030fdb
@@ -27,7 +27,7 @@ module PerfectAudit
27
27
  is_public: public.to_s
28
28
  })
29
29
 
30
- PerfectAudit::Book.new(response_parser.parse(response.body.to_s))
30
+ PerfectAudit::Book.new(**response_parser.parse(response.body.to_s))
31
31
  end
32
32
 
33
33
  # Get all books from Perfect Audit for account
@@ -38,7 +38,7 @@ module PerfectAudit
38
38
  response = connection.get(ALL_PATH)
39
39
 
40
40
  response_parser.parse(response.body.to_s).map { |item|
41
- PerfectAudit::Book.new(item)
41
+ PerfectAudit::Book.new(**item)
42
42
  }
43
43
  end
44
44
 
@@ -53,7 +53,7 @@ module PerfectAudit
53
53
  pk: id.to_s
54
54
  })
55
55
 
56
- PerfectAudit::Book.new(response_parser.parse(response.body.to_s))
56
+ PerfectAudit::Book.new(**response_parser.parse(response.body.to_s))
57
57
  end
58
58
 
59
59
  # Delete book in Perfect Audit
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PerfectAudit
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: perfect_audit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Igor Alexandrov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-14 00:00:00.000000000 Z
11
+ date: 2023-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-auto_inject