isaca 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/isaca/helpers.rb +1 -0
- data/lib/isaca/models/get_user_by_id.rb +1 -1
- data/lib/isaca/requests/authenticate_user.rb +1 -5
- data/lib/isaca/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d57156e6ebd35f36f97854b8fead8439639ac51
|
4
|
+
data.tar.gz: 2297d3276014da4714fd0e6b11a922e9d061078e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6631f58d5926e38f7f0adabc2a244a84a7800747853d08d03985ec523767d0e0f13005ee5ed9cd6d27c364b37ae02424f40a7771cc31dd80765b65922484ae58
|
7
|
+
data.tar.gz: 6a0fd75e896b4f129c1f67c32f4cb25ece734b410166a2a52803a236710174f49d9331971b5eb1f1555052466753c84d0205d3e56a51c15029c37ae9046a8b05
|
data/Gemfile.lock
CHANGED
data/lib/isaca/helpers.rb
CHANGED
@@ -9,11 +9,7 @@ module Isaca
|
|
9
9
|
# @return [Isaca::Model::AuthenticateUser] An object representation of the response.
|
10
10
|
def self.get(username, password)
|
11
11
|
response = self.send_request(username, password)
|
12
|
-
|
13
|
-
model = Isaca::Model::AuthenticateUser.new(JSON.parse(response.body, {symbolize_names: true}))
|
14
|
-
raise SessionError.new(model.value) unless model.is_valid?
|
15
|
-
|
16
|
-
model
|
12
|
+
Isaca::Model::AuthenticateUser.new(JSON.parse(response.body, {symbolize_names: true}))
|
17
13
|
end
|
18
14
|
|
19
15
|
private
|
data/lib/isaca/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isaca
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Orahood
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|