bwapi 1.0.8 → 1.0.9

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,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 904d506afaeb1560040595525d29f49364a7831c
4
- data.tar.gz: fd0873c993e831a8da42484111f32fbc4c0cde78
3
+ metadata.gz: 3736ebee8dfd3b9dfc8caf133fd69b76a16b57e0
4
+ data.tar.gz: a1de5a75b79ce49639b225cf8d94d8926b5d5d19
5
5
  SHA512:
6
- metadata.gz: db707dbb2ccc834bbdec1498d1ebcd1d1b0f28a2783b95732cd3fafc565ab977a96b2802ef014dfd4a09e0f63260b5c15ebba23afdd06284525cf3478ac9521b
7
- data.tar.gz: 27baf6f493f8478829440878be6fdb40fd115774bdec3098313e25ef1e7b39a066d9cb449ac7eac397a57dfa0f2dad27f7d3e18177e7cee91d5bf5ae77d3d444
6
+ metadata.gz: 67ecc64918c2f648c412752e393764eb1217b387fe7e75ecb1db39e77ae62e30a605f0f88264a38bec8abeecda4cad57694fa4cb2721c8ca763ca07a754da831
7
+ data.tar.gz: ca86d55911819320dcfec85daad41cb758596a51d80be5b0b6a212e293a024a20911d5b3606768880b41ce33554abf2ad20989d4136aeb529a1cf98740a6e48e
data/.gitignore CHANGED
@@ -11,6 +11,7 @@ spec/reports
11
11
  test/tmp
12
12
  test/version_tmp
13
13
  tmp
14
+ .DS_Store
14
15
 
15
16
  Gemfile.lock
16
17
  report.html
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 = '2013-09-20'
7
+ s.date = '2013-10-30'
8
8
  s.summary = 'Brandwatch v2 API Wrapper'
9
9
  s.description = 'A Ruby wrapper for the Brandwatch v2 API'
10
10
  s.author = 'Jonathan Chrisp'
@@ -23,7 +23,7 @@ module BWAPI
23
23
  # @option opts [Integer] pageSize Results per page of results
24
24
  # @return [Hashie::Mash] All projects
25
25
  def projects opts={}
26
- projects = get "projects", opts
26
+ get "projects", opts
27
27
  end
28
28
 
29
29
  # Get a specific project
@@ -11,9 +11,15 @@ module BWAPI
11
11
  # Get all queries in project
12
12
  #
13
13
  # @param id [Integer] Id of project
14
+ # @param opts [Hash] options hash of parameters
15
+ # @option opts [Integer] projectId the id of the project
16
+ # @option opts [String] nameContains partial name to filter by
17
+ # @option opts [Array] type types of query to filter by
18
+ # @option opts [Integer] pagePage of projects to retrieve
19
+ # @option opts [Integer] pageSize Results per page of results
14
20
  # @return [Hashie::Mash] All queries in project
15
- def queries id
16
- get "projects/#{id}/queries"
21
+ def queries id, opts={}
22
+ get "projects/#{id}/queries", opts
17
23
  end
18
24
 
19
25
  # Get summary of all queries in project
data/lib/bwapi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module BWAPI
2
- VERSION = "1.0.8"
2
+ VERSION = "1.0.9"
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: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Chrisp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-20 00:00:00.000000000 Z
11
+ date: 2013-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  version: '0'
181
181
  requirements: []
182
182
  rubyforge_project:
183
- rubygems_version: 2.0.5
183
+ rubygems_version: 2.1.2
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: Brandwatch v2 API Wrapper