Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
Merge branch 'release/3.7.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
dugjason committed Nov 8, 2016
2 parents 14c1490 + df9570b commit 7c64ac6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ CHANGELOG
* Designed to make the most of DataSift's latest API version and features
* Designed for Ruby 2.3+. Use features like keyword parameters across the board

## v.3.7.2 (2016-11-08)
### Fixes
* Uses correct timestamp params in PYLON Sample API calls. `start_time` -> `start` and `end_time` - `end`

## v.3.7.1 (2016-10-06)
### Added
* Explicit support for 500 and 502 responses from the API
Expand All @@ -33,6 +37,10 @@ CHANGELOG
* Support for the [/pylon/update](http://dev.datasift.com/docs/platform/api/rest-api/endpoints/pylonupdate) API endpoint
* Support for [API v1.3](http://dev.datasift.com/docs/platform/api/api-changelog)

## v.3.5.2 (2016-11-08)
### Fixes
* Uses correct timestamp params in PYLON Sample API calls. `start_time` -> `start` and `end_time` - `end`

## v.3.5.1 (2016-10-06)
### Added
* Explicit support for 500 and 502 responses from the API
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.7.1
3.7.2
4 changes: 2 additions & 2 deletions lib/pylon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ def sample(hash = '', count = nil, start_time = nil, end_time = nil, filter = ''
params.merge!(hash: hash) unless hash.empty?
params.merge!(id: id) unless id.empty?
params.merge!(count: count) unless count.nil?
params.merge!(start_time: start_time) unless start_time.nil?
params.merge!(end_time: end_time) unless end_time.nil?
params.merge!(start: start_time) unless start_time.nil?
params.merge!(end: end_time) unless end_time.nil?

if filter.empty?
DataSift.request(:GET, 'pylon/sample', @config, params)
Expand Down

0 comments on commit 7c64ac6

Please sign in to comment.