bwapi 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/bwapi.gemspec +1 -1
- data/lib/bwapi/client/projects.rb +1 -1
- data/lib/bwapi/client/projects/queries.rb +8 -2
- data/lib/bwapi/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3736ebee8dfd3b9dfc8caf133fd69b76a16b57e0
|
4
|
+
data.tar.gz: a1de5a75b79ce49639b225cf8d94d8926b5d5d19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67ecc64918c2f648c412752e393764eb1217b387fe7e75ecb1db39e77ae62e30a605f0f88264a38bec8abeecda4cad57694fa4cb2721c8ca763ca07a754da831
|
7
|
+
data.tar.gz: ca86d55911819320dcfec85daad41cb758596a51d80be5b0b6a212e293a024a20911d5b3606768880b41ce33554abf2ad20989d4136aeb529a1cf98740a6e48e
|
data/.gitignore
CHANGED
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-
|
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'
|
@@ -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
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.
|
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-
|
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.
|
183
|
+
rubygems_version: 2.1.2
|
184
184
|
signing_key:
|
185
185
|
specification_version: 4
|
186
186
|
summary: Brandwatch v2 API Wrapper
|