threatstack 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/threatstack/client.rb +2 -2
- data/lib/threatstack/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: 0da6368197d798e6587018334ce4d7cc57c35712
|
4
|
+
data.tar.gz: 516656ac7102c49116579bb405cf29812ebc1722
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c54a28b81739a4fbd858821c0909afdf59a2ea77f9de6f3f7ad1144c63b6c5a355b546c0286f0c8744b156bee27ada76f13bca6403c25fdc0205bd415185e46
|
7
|
+
data.tar.gz: 8e02bf890e16db6770d693181bdc2d83cac1b7fa037f21a8ccb8fc89287af2b3120b40b33c2eac7aa191f261e8f483c3f214eaada4eccc6ecfbdcd99f906912a
|
data/lib/threatstack/client.rb
CHANGED
@@ -155,8 +155,8 @@ module Threatstack
|
|
155
155
|
end
|
156
156
|
|
157
157
|
def build_uri(path, params = {})
|
158
|
-
params[:
|
159
|
-
params[:
|
158
|
+
params[:from] = params[:from].utc if params[:from]
|
159
|
+
params[:until] = params[:until].utc if params[:until]
|
160
160
|
params[:fields] = params[:fields].join(',') if params[:fields]&.is_a?(Array)
|
161
161
|
|
162
162
|
query = params.each_pair.map { |k, v| "#{k}=#{v}" }.join('&')
|
data/lib/threatstack/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: threatstack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Canty
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|