xsys 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/xsys/api.rb +7 -3
- data/lib/xsys/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: 62d427fc674258ca2267d365e277418788c06f88
|
4
|
+
data.tar.gz: 50ef1204c630f9f088093d46153bb168e43fad26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b7994daee0197f835ad2d1e55abfe4dc8273ea4eec4736474d396e71cb456083ef44c25f93b1b2143ab812683d474c7145604f33eb25a916d00956014409d81
|
7
|
+
data.tar.gz: bb2d7e6df024b0d25cb348185e98936bfe901829a2dbf5da1ec0fbda1cb4e283fe290571bf4855ead9e9b3d8a60c8c36e70fd38c2e75d1b28da52c0fcaf8c5aa
|
data/CHANGELOG.md
CHANGED
data/lib/xsys/api.rb
CHANGED
@@ -94,9 +94,13 @@ module Xsys
|
|
94
94
|
private
|
95
95
|
|
96
96
|
def self.get_request(action, params={})
|
97
|
-
response =
|
98
|
-
|
99
|
-
|
97
|
+
response = Request.execute(method: :get, url: "#{@endpoint}#{action}",
|
98
|
+
, timeout: -1
|
99
|
+
, open_timeout: -1
|
100
|
+
, headers: {
|
101
|
+
params: params
|
102
|
+
}.merge({ authorization: "Token token=\"#{@access_token}\"" })
|
103
|
+
)
|
100
104
|
|
101
105
|
if response.headers[:link]
|
102
106
|
{
|
data/lib/xsys/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xsys
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matias Hick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|