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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe7cc03974960423912c4093d961af64fefdb8b1
4
- data.tar.gz: 87e09f06f76be72fe0290df641abf460ce7a186e
3
+ metadata.gz: 0da6368197d798e6587018334ce4d7cc57c35712
4
+ data.tar.gz: 516656ac7102c49116579bb405cf29812ebc1722
5
5
  SHA512:
6
- metadata.gz: c8ddf2228f82cfe80f3447b7cf31364fe1dba980af3a7b65a33a97e7a9d8b6357cdbde534440d481c3587a49221073f6191e3164192990df361dba208dd9386a
7
- data.tar.gz: 629a5d712b223cc39ee3421a67c18fd2d1eef693da1392230ae9a7611e33e59498b7468a97176ed0fcf1e6d156d761e2e310acb61b272e5fc82ec345764589c8
6
+ metadata.gz: 9c54a28b81739a4fbd858821c0909afdf59a2ea77f9de6f3f7ad1144c63b6c5a355b546c0286f0c8744b156bee27ada76f13bca6403c25fdc0205bd415185e46
7
+ data.tar.gz: 8e02bf890e16db6770d693181bdc2d83cac1b7fa037f21a8ccb8fc89287af2b3120b40b33c2eac7aa191f261e8f483c3f214eaada4eccc6ecfbdcd99f906912a
@@ -155,8 +155,8 @@ module Threatstack
155
155
  end
156
156
 
157
157
  def build_uri(path, params = {})
158
- params[:start] = params[:start].utc if params[:start]
159
- params[:end] = params[:end].utc if params[:end]
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('&')
@@ -1,3 +1,3 @@
1
1
  module Threatstack
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
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.1
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-09 00:00:00.000000000 Z
11
+ date: 2017-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler