bwapi 5.0.1 → 6.0.0.pre.183

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: fb55149d10bdf1c90ed672888905c3c47853b90c
4
- data.tar.gz: e4c97053c26f5e95a5b756f31a7387530fa06ebf
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YzFlZWI4MzA1ZmM3MzVlNWFhMzczZDI2YjFiODQ1Y2RjYTM2NjdmNA==
5
+ data.tar.gz: !binary |-
6
+ Y2I4YWU5OTA0ZGI5MmIxNWRkZTEyYjdiMTQwY2M1ZDI1ZTY1OTJmZg==
5
7
  SHA512:
6
- metadata.gz: 915bc2143bddb3900fbc7f7f166dbc0a1723d77f20ae9905c38206b166efb5957d603b868dbaff85f23c25c41b2b21384220792ffc50adeb281466321f4a78bf
7
- data.tar.gz: df5e9749e3d0b43ef83e899a25b69252bb05adb3a0acd128fdb64a87ee53abba1ccd5bb668323cbd3473b2985df8763ad8941231add02cc7050a7001b23cd18a
8
+ metadata.gz: !binary |-
9
+ YjAwYWQxMDU5ZjE5OWE0ZmExZmI2ZmIwYjljMTU1MzYxYjE1MDFiMzZlYTFl
10
+ Nzk0NGIzMTVlZjBkMzZmYWNkYWE4MzFlYWFhZDk0YmM2MmNhNzlhZjBiMjc3
11
+ YmQ2OThmZTJjMDVhMjVkYjI5NTFkNGFlYzlmM2ZlMmNlM2ZmNmM=
12
+ data.tar.gz: !binary |-
13
+ ODE1NTRlYmIwZDZhNWRhYzU0OWQ4YjViOTQ3MDdlMjA2YjZhODlmOTk2YjFj
14
+ ZDY1NWZjZDNhY2VjYWIxOTAxMmVmMmI4YTlmNmZjMDJmNTE4OGM2ZWNjOTRj
15
+ YjMxY2NjNTYwOWJjMjNiODlkMDI2OWQ2NDAwMTJjZTg1ZDIxYTU=
data/bwapi.gemspec CHANGED
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
4
4
  s.name = 'bwapi'
5
5
  s.version = BWAPI::VERSION
6
6
  s.version = BWAPI::VERSION + ".pre.#{ENV['TRAVIS_BUILD_NUMBER']}" if ENV['TRAVIS']
7
- s.date = '2014-02-10'
7
+ s.date = '2014-02-11'
8
8
  s.summary = 'Brandwatch API Wrapper'
9
9
  s.description = 'A Ruby wrapper for the Brandwatch API'
10
10
  s.author = 'Jonathan Chrisp'
@@ -20,7 +20,7 @@ module BWAPI
20
20
  # @param query_id [Integer] Id of query
21
21
  # @param date_range_id [Integer] Id of date range
22
22
  # @return [Hashie::Mash] Specific date range for query
23
- def date_range project_id, query_id, date_range_id
23
+ def get_date_range project_id, query_id, date_range_id
24
24
  get "projects/#{project_id}/queries/#{query_id}/date-range/#{date_range_id}"
25
25
  end
26
26
 
@@ -69,8 +69,8 @@ module BWAPI
69
69
  # @option opts [String] created The stream creation date
70
70
  # @option opts [String] filter the stream filter
71
71
  # @return [Hashie::Mash] Updated stream dashboard
72
- def update_stream_dashboard project_id, stream_dashboard_id
73
- put "projects/#{project_id}/streamDashboards/#{stream_dashboard_id}"
72
+ def update_stream_dashboard project_id, stream_dashboard_id, opts={}
73
+ put "projects/#{project_id}/streamDashboards/#{stream_dashboard_id}", opts
74
74
  end
75
75
 
76
76
  # Delete a stream dashboard
data/lib/bwapi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module BWAPI
2
- VERSION = "5.0.1"
2
+ VERSION = "6.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bwapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.1
4
+ version: 6.0.0.pre.183
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Chrisp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-10 00:00:00.000000000 Z
11
+ date: 2014-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -189,17 +189,17 @@ require_paths:
189
189
  - lib
190
190
  required_ruby_version: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - '>='
192
+ - - ! '>='
193
193
  - !ruby/object:Gem::Version
194
194
  version: 1.9.2
195
195
  required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  requirements:
197
- - - '>='
197
+ - - ! '>'
198
198
  - !ruby/object:Gem::Version
199
- version: '0'
199
+ version: 1.3.1
200
200
  requirements: []
201
201
  rubyforge_project:
202
- rubygems_version: 2.2.1
202
+ rubygems_version: 2.2.2
203
203
  signing_key:
204
204
  specification_version: 4
205
205
  summary: Brandwatch API Wrapper
@@ -209,4 +209,3 @@ test_files:
209
209
  - spec/bwapi_spec.rb
210
210
  - spec/fixtures/.netrc
211
211
  - spec/helper.rb
212
- has_rdoc: