bwapi 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bwapi.gemspec +1 -1
- data/lib/bwapi/client/projects/query_groups.rb +4 -4
- data/lib/bwapi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fa004888dff251bf656104bf2ddbfee3153c9e3
|
4
|
+
data.tar.gz: ff3594b26b8e5325676423d08ac8f6a25a86bb45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48a8b9a19c40143ca47fcc9e87f73c3a4df4f2d951509b8b74f3505add7931d70f25a462491908073ebb90fac3b6fbc28fd47f1064ecd8f96fe894a5d720b24e
|
7
|
+
data.tar.gz: 48acc4f05263eecfaaa12695fd043f2f99cffbc8ae4215635ad0f5b829713ef7cdbd5586fa93bf7977f66e936c311530e0a95847b7f9178b1094637bc3c6510d
|
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-10-
|
7
|
+
s.date = '2013-10-31'
|
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'
|
@@ -10,8 +10,8 @@ module BWAPI
|
|
10
10
|
# @option opts [Integer] page Page of projects to retrieve
|
11
11
|
# @option opts [Integer] pageSize Results per page of results
|
12
12
|
# @return [Hashie::Mash] All query groups in project
|
13
|
-
def query_groups
|
14
|
-
get "projects/#{
|
13
|
+
def query_groups project_id, opts={}
|
14
|
+
get "projects/#{project_id}/querygroups", opts
|
15
15
|
end
|
16
16
|
|
17
17
|
# Get a specific query group in project
|
@@ -35,8 +35,8 @@ module BWAPI
|
|
35
35
|
# @option opts [Array] queries Queries within the query group
|
36
36
|
# @option opts [Hash] sharedProjectIds Projects which this query group belongs to
|
37
37
|
# @return [Hashie::Mash] New query group
|
38
|
-
def create_query_group
|
39
|
-
post "projects/#{project_id}/querygroups"
|
38
|
+
def create_query_group project_id, opts={}
|
39
|
+
post "projects/#{project_id}/querygroups", opts
|
40
40
|
end
|
41
41
|
|
42
42
|
# Update an existing query group 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.10
|
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-10-
|
11
|
+
date: 2013-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|