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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3736ebee8dfd3b9dfc8caf133fd69b76a16b57e0
4
- data.tar.gz: a1de5a75b79ce49639b225cf8d94d8926b5d5d19
3
+ metadata.gz: 7fa004888dff251bf656104bf2ddbfee3153c9e3
4
+ data.tar.gz: ff3594b26b8e5325676423d08ac8f6a25a86bb45
5
5
  SHA512:
6
- metadata.gz: 67ecc64918c2f648c412752e393764eb1217b387fe7e75ecb1db39e77ae62e30a605f0f88264a38bec8abeecda4cad57694fa4cb2721c8ca763ca07a754da831
7
- data.tar.gz: ca86d55911819320dcfec85daad41cb758596a51d80be5b0b6a212e293a024a20911d5b3606768880b41ce33554abf2ad20989d4136aeb529a1cf98740a6e48e
6
+ metadata.gz: 48a8b9a19c40143ca47fcc9e87f73c3a4df4f2d951509b8b74f3505add7931d70f25a462491908073ebb90fac3b6fbc28fd47f1064ecd8f96fe894a5d720b24e
7
+ data.tar.gz: 48acc4f05263eecfaaa12695fd043f2f99cffbc8ae4215635ad0f5b829713ef7cdbd5586fa93bf7977f66e936c311530e0a95847b7f9178b1094637bc3c6510d
@@ -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-30'
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 id, opts={}
14
- get "projects/#{id}/querygroups", opts
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 id
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
@@ -1,3 +1,3 @@
1
1
  module BWAPI
2
- VERSION = "1.0.9"
2
+ VERSION = "1.0.10"
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.9
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-30 00:00:00.000000000 Z
11
+ date: 2013-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec