bwapi 3.0.0 → 3.0.1.pre.95

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: 9c9eef3d71a36e9434028e383254cfc87f5491c1
4
- data.tar.gz: b4002ec0a72ab0c52cccc1b2d976eb7fa35c1d7b
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NDUxMmEwMjkwZTU0OTE4NGQ1ZmUzYzE2MDFiOGI2ZTQwMzhjMTMyMA==
5
+ data.tar.gz: !binary |-
6
+ NDhhNGY5MTlmNWI3YTEzMDViNjRmYzVkODFkODUwYWI0YTI2M2Y4OQ==
5
7
  SHA512:
6
- metadata.gz: 8805c360268c5df620f3a76f4677f673c020042c9555a66b1388dcb37de5f1d8fef47644c584efe6ac83aa8284f950b03ebdeef56e1ed427e794d2b6282522b1
7
- data.tar.gz: bfae24d13236f636afe655fc5a211417a3f3d5a87f696836187dfdd1a58113d629664d1932f66e7a433114f7193581cfd977062218c3f0d4d26bb8018d5da0fe
8
+ metadata.gz: !binary |-
9
+ YmQ1NDYwMzhhOGZhZjQ5NDFjZTg2NjY5MGU5ZmQzODQ5MDI0ZTIzMDNiMDcy
10
+ NTAyMzY2ZjFjYThlMDM3MGY3MDg3YzBkZjU4MzAyMjI5ZTBhNTRjNmEyNTlm
11
+ ZDkzZTZlZTNjZTczZmY3ODQzMmQxZWJjODI0MWJlODdhM2NhOTc=
12
+ data.tar.gz: !binary |-
13
+ ZjVhYWFhNjQ1ZjE5NmM4OTZjMTM5OWUxMWI3OGI3YTBjOGY1NGQwMTk3YzRm
14
+ NDkwMGE5OWU3MDVjMzI4M2RhNjM3ODY4MzE2YjhmYTEwMzM2YTMyYzhjOWQw
15
+ ZjhjNDUyZjg1MzdhZWFlNTE2ZmY4NmE4ZWJmMzI5N2Q4ZThmOTc=
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-11-30'
7
+ s.date = '2013-12-08'
8
8
  s.summary = 'Brandwatch API Wrapper'
9
9
  s.description = 'A Ruby wrapper for the Brandwatch API'
10
10
  s.author = 'Jonathan Chrisp'
@@ -16,7 +16,7 @@ module BWAPI
16
16
  #
17
17
  # @param project_id [Integer] Id of project
18
18
  # @param opts [Hash] options hash of parameters
19
- # @options opt [Boolean] sharedOnly Boolean flag to return only shared shares (default: false)
19
+ # @options opts [Boolean] sharedOnly Boolean flag to return only shared shares (default: false)
20
20
  # @return [Hashie::Mash] Specific project shares
21
21
  def project_sharing project_id, opts={}
22
22
  get "projects/#{project_id}/sharing", opts
@@ -26,7 +26,7 @@ module BWAPI
26
26
  #
27
27
  # @param project_id [Integer] Id of project
28
28
  # @param opts [Hash] options hash of parameters
29
- # @options opt [Array] ProjectShareDTO Shares to be edited
29
+ # @options opts [Array] ProjectShareDTO Shares to be edited
30
30
  # @return [Hashie::Mash] Updated project shares
31
31
  def update_project_sharing project_id, opts={}
32
32
  put "projects/#{project_id}/sharing", opts
@@ -45,9 +45,10 @@ module BWAPI
45
45
  #
46
46
  # @param project_id [Integer] Id of project
47
47
  # @param user_id [Integer] Id of user
48
+ # @options opts [Hash] User share to be edited
48
49
  # @return [Hashie::Mash] Updated share of project for user
49
- def update_project_sharing_user project_id, user_id
50
- put "projects/#{project_id}/sharing/#{user_id}"
50
+ def update_project_sharing_user project_id, user_id, opts={}
51
+ put "projects/#{project_id}/sharing/#{user_id}", opts
51
52
  end
52
53
 
53
54
  end
data/lib/bwapi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module BWAPI
2
- VERSION = "3.0.0"
2
+ VERSION = "3.0.1"
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: 3.0.0
4
+ version: 3.0.1.pre.95
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-30 00:00:00.000000000 Z
11
+ date: 2013-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -172,17 +172,17 @@ require_paths:
172
172
  - lib
173
173
  required_ruby_version: !ruby/object:Gem::Requirement
174
174
  requirements:
175
- - - '>='
175
+ - - ! '>='
176
176
  - !ruby/object:Gem::Version
177
177
  version: 1.9.2
178
178
  required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  requirements:
180
- - - '>='
180
+ - - ! '>'
181
181
  - !ruby/object:Gem::Version
182
- version: '0'
182
+ version: 1.3.1
183
183
  requirements: []
184
184
  rubyforge_project:
185
- rubygems_version: 2.1.10
185
+ rubygems_version: 2.1.11
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: Brandwatch API Wrapper
@@ -192,4 +192,3 @@ test_files:
192
192
  - spec/bwapi_spec.rb
193
193
  - spec/fixtures/.netrc
194
194
  - spec/helper.rb
195
- has_rdoc: