oyi 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/oyi/client.rb +1 -1
- data/lib/oyi/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: 3fbcce97b537e9463a501145c29189572b36c4d7672eaa9e73a62f42b8d6145a
|
|
4
|
+
data.tar.gz: ab18d1a2646ff09ac1b0cb31caf732c98b1b9f44777802a770cbdb935f26ada5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '038d6b5cabf0769c4188f6b857a9e282823a88a688472944892bb1db9c6ed4809b08f106a515623ec7bb73d5b8495c1fa1f86904470e2606506fb65ec8436332'
|
|
7
|
+
data.tar.gz: c07c6eb0b005e33994801a6734dd8ec2bb2accfee4415f53abf5fd426dd081f93f8a27dfa3319bc6d6e91b16e14e3912858731d01c474ec24e537c2a73131d00
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
oyi (0.1.
|
|
4
|
+
oyi (0.1.3)
|
|
5
5
|
rest-client
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -19,7 +19,7 @@ GEM
|
|
|
19
19
|
domain_name (~> 0.5)
|
|
20
20
|
mime-types (3.3.1)
|
|
21
21
|
mime-types-data (~> 3.2015)
|
|
22
|
-
mime-types-data (3.2020.
|
|
22
|
+
mime-types-data (3.2020.1104)
|
|
23
23
|
netrc (0.11.0)
|
|
24
24
|
public_suffix (4.0.6)
|
|
25
25
|
rake (12.3.3)
|
data/lib/oyi/client.rb
CHANGED
|
@@ -18,7 +18,7 @@ module Oyi
|
|
|
18
18
|
raise Error.new(message: 'Oyi client not configured') unless configured?
|
|
19
19
|
|
|
20
20
|
begin
|
|
21
|
-
response = RestClient::Request.execute method: http_method, url: "#{@api_url}
|
|
21
|
+
response = RestClient::Request.execute method: http_method, url: "#{@api_url}#{endpoint}",
|
|
22
22
|
payload: params&.to_json, headers: {
|
|
23
23
|
'Content-Type': 'application/json',
|
|
24
24
|
'Accept': 'application/json',
|
data/lib/oyi/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oyi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ganesh Gunasegaran
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-12-
|
|
11
|
+
date: 2020-12-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|