6px 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/lib/6px/client.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZTg0N2EwZWUyNmE2YmNkMWNjYTI5MDZjNzFjZDY0YjUwZWY1MGJlZg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 22cfb35694adc470580d4e7c7b0ed68494358f8c
|
4
|
+
data.tar.gz: 3966310cdb8c1e10d769e2233948ded8aa05ad6a
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
YmZjNjAzZGFhNTYxOTUwZjdkOTAzYzE5MmQwZDg0OWZjMzVmMDg0NzQ0YmU2
|
11
|
-
ZDliNmFmMTVlYWI5Y2NlYWUzNWUyOThkZWUxNzIwY2VjMzY4N2E=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
OWQwZmJkMDgzZmNiNDUwYjc0YmJlNWM0MDVmODM4MWUzYmYxY2Q3NWI0YjY0
|
14
|
-
NDM0ZGMxMzFkYjhhOTIyM2IzMTEzMmZmOGQzZjRjNWMwNTU5NzA5YWE4YWRi
|
15
|
-
NTg1ZTE3NzM5MDZlMWUyMzgxNzdiYmNjMDIyNGU0N2QzODFiYzE=
|
6
|
+
metadata.gz: e0976edd5d996d29cb8b061090bd0e50b1b6c84c167eb68924776622683302b966d7e91972053fcd048d188f9c8015a4aa4b7afae19b84af4a96cffb59cd3544
|
7
|
+
data.tar.gz: 364c688af20596e956165df87b1a6d152e6bb05114a299af35a37995923716bfb8c733d1a3a4b47da116c42ea43944551b2cbe817f92694e23463f7a022367ba
|
data/lib/6px/client.rb
CHANGED
@@ -29,7 +29,7 @@ class PX
|
|
29
29
|
query = query.first
|
30
30
|
job_id = query.delete(:job_id) if query
|
31
31
|
url = job_id ? "/jobs/#{job_id}" : "/jobs"
|
32
|
-
query = clean_up_search_params(query)
|
32
|
+
query = clean_up_search_params(query) if query
|
33
33
|
response = self.class.get(url, query: query).body
|
34
34
|
JSON.parse(response)
|
35
35
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: 6px
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Leonard
|
@@ -14,28 +14,28 @@ dependencies:
|
|
14
14
|
name: httparty
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '1.6'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '1.6'
|
41
41
|
description: Ruby wrapper for 6px's API
|
@@ -56,17 +56,17 @@ require_paths:
|
|
56
56
|
- lib
|
57
57
|
required_ruby_version: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- -
|
64
|
+
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0'
|
67
67
|
requirements: []
|
68
68
|
rubyforge_project:
|
69
|
-
rubygems_version: 2.
|
69
|
+
rubygems_version: 2.4.1
|
70
70
|
signing_key:
|
71
71
|
specification_version: 4
|
72
72
|
summary: 6px API wrapper
|