digitsend 0.0.5 → 0.0.6

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.
data/digitsend.gemspec CHANGED
@@ -13,5 +13,5 @@ Gem::Specification.new do |gem|
13
13
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
14
  gem.name = "digitsend"
15
15
  gem.require_paths = ["lib"]
16
- gem.version = Digitsend::VERSION
16
+ gem.version = DigitSend::VERSION
17
17
  end
@@ -31,7 +31,7 @@ module DigitSend
31
31
  private
32
32
 
33
33
  def create_s3_file(filename)
34
- Client.call '/api/s3_files', s3_file: { name: filename }
34
+ Client.call '/s3_files', s3_file: { name: filename }
35
35
  end
36
36
 
37
37
  def upload_to_s3(url, fields, stream)
@@ -15,7 +15,7 @@ module DigitSend
15
15
  end
16
16
 
17
17
  def send
18
- Client.call '/api/messages', message: {
18
+ Client.call '/messages', message: {
19
19
  to: to,
20
20
  cc: cc,
21
21
  subject: subject,
@@ -3,7 +3,7 @@ module DigitSend
3
3
  def self.upload(repo_name, path, filename, data)
4
4
  uuid = Client.upload_s3_file(filename, data)
5
5
 
6
- Client.call '/api/files/versions',
6
+ Client.call '/files/versions',
7
7
  repo_name: repo_name,
8
8
  path: path,
9
9
  repo_file_version: { s3_file_uuid: uuid }
@@ -1,3 +1,3 @@
1
- module Digitsend
2
- VERSION = "0.0.5"
1
+ module DigitSend
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: digitsend
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
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: 2012-09-02 00:00:00.000000000 Z
12
+ date: 2012-09-03 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: client library for DigitSend.
15
15
  email: