secureshare-ruby 0.0.7 → 0.0.8

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.
@@ -20,7 +20,7 @@ module SecureShare
20
20
  def self.follow_bucket bucket_id, email
21
21
  resource = RestClient::Resource.new "#{@@config[:endpoint]}/api/v1/buckets/#{bucket_id}/follow"
22
22
  begin
23
- resource.post({ :email => email, :site_name => 'some website' }, {:authorization => %{Token token="#{@@config[:access_token]}"}, :content_type => :json, :accept => :json})
23
+ resource.post({ :email => email, :site_name => @@config[:site_name] }, {:authorization => %{Token token="#{@@config[:access_token]}"}, :content_type => :json, :accept => :json})
24
24
  rescue RestClient::UnprocessableEntity => e
25
25
  error_json = JSON.parse e.http_body
26
26
  raise SecureShare::RestException.new(*error_json.first)
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "secureshare-ruby"
7
- gem.version = "0.0.7"
7
+ gem.version = "0.0.8"
8
8
  gem.authors = ["Chris Aitchison"]
9
9
  gem.email = ["chris.aitchison@sodalis.com.au"]
10
10
  gem.description = %q{SecureShare Ruby API}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: secureshare-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-03 00:00:00.000000000 Z
12
+ date: 2013-03-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client