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 +4 -4
- data/lib/perfect_audit/api/repositories.rb +3 -3
- data/lib/perfect_audit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fdb4bba9cd516c21f66eb05cb8dc231ce1426ac6ce5aa3885b66db22a57d189
|
4
|
+
data.tar.gz: 385d53469a6ce0bfb8e0d16356b765e5f87a8bb0841127bce9a5c6340dd0ce01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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-
|
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
|