transcribeme 0.0.3.alpha1 → 0.0.4.beta1

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,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: def2cf443e24d4e61e15678022c1ee591aa6c4de
4
- data.tar.gz: f73b8211b1af70faaad3b3ff603545a44c3c4e8d
3
+ metadata.gz: 6f3677a1a5c04841b6cc3791282ec6d0c49facd3
4
+ data.tar.gz: 53558735a3b6341a1ea83f40a2b04ba32d8794d2
5
5
  SHA512:
6
- metadata.gz: 3cc80a8ae73f40c2de94e6c0421c927b2b0537f8a82ccbed54bdca0ea73da80ce7c0b2e4e72b0f6e1d59e3331a7d0eeae2eada0a311254200eced0f1d6a4f91a
7
- data.tar.gz: 127fea1b4508e7da45c4094428fa28b5eebb5c83f69ab8489ca66975f2ac0dbc0eeff4988f59ed1c917b497abd1ec76b0971b3165ed66ca6bf078d0510c4a32f
6
+ metadata.gz: d6e880756eb0f10f1199533d58e0e0eca2767d63bfe1f158e3c8ec99d6b66ed82b1f46dcc72a1b1c94b2e00036e9a6da6a5556464fb451ad6136e9ec99f46b06
7
+ data.tar.gz: 15a3f345edbd2b4d8403f44a3db05ece40ad0367e0fe2dce23ab85edb895487aba1cb27de730f9833fe28cfb0c76a8c3bdbdad026c91d796b90b826bccdcf5c0
@@ -1 +1 @@
1
- �JG���i1|�ߴ�.����U�ϴ������� �+��5?�W��^db��y���n��-�7�Yl^�KOM���U��v���Y��>�u�cmfzRJW⇞�H3^��#�P���J=����vp�^�$�ŏq�(e��sU��be~�q�����D����;�egds��@�z�ļ�4{\#M\���Ry���٨5�&#�2�����d1�- "}��~����u~Iq(i gd౸��; ֆ4c
1
+ Cc6`^g�,�'����M̄�;zg@��miZ�Y��x���cm��_�޻]hss]'ţ�sl��F]�������orR�9�1hn�-V @8�~�@o'l�&����������Q&.��[�(q:GT�>S$h�Ti\_�-I��Lq�E!HR�G�9kwOB���BZv���w�g����ߚ,��~V�`(��PK������fP��Fe��X���?
data.tar.gz.sig CHANGED
Binary file
File without changes
data/.gitignore CHANGED
@@ -16,3 +16,5 @@ spec/reports
16
16
  test/tmp
17
17
  test/version_tmp
18
18
  tmp
19
+ .ruby-gemset
20
+ .ruby-version
data/Gemfile CHANGED
@@ -2,3 +2,8 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in transcribeme-api.gemspec
4
4
  gemspec
5
+
6
+
7
+ group :development, :tools do
8
+ gem 'pry'
9
+ end
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # TranscribeMe gem
2
-
2
+ [![Build Status](https://travis-ci.org/tuttinator/transcribeme.png?branch=master)](https://travis-ci.org/tuttinator/transcribeme)
3
+ [![Gem Version](https://badge.fury.io/rb/transcribeme.png)](http://badge.fury.io/rb/transcribeme)
3
4
  [![Dependency Status](https://gemnasium.com/tuttinator/transcribeme.png)](https://gemnasium.com/tuttinator/transcribeme)
5
+ [![Coverage Status](https://coveralls.io/repos/tuttinator/transcribeme/badge.png)](https://coveralls.io/r/tuttinator/transcribeme)
6
+ [![Code Climate](https://codeclimate.com/github/tuttinator/transcribeme.png)](https://codeclimate.com/github/tuttinator/transcribeme)
7
+
4
8
 
5
9
  This gem is a Ruby wrapper for the TranscribeMe SOAP API, built on Savon
6
10
 
data/Rakefile CHANGED
@@ -1 +1,7 @@
1
1
  require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new
5
+
6
+ task :default => :spec
7
+ task :test => :spec
@@ -0,0 +1,27 @@
1
+ ### Design decisions
2
+
3
+ Interact directly with API calls like this:
4
+
5
+ client = TranscribeMe::API::Client.new
6
+
7
+ client.login_as_customer({username: "customer@transcribeme.com", password: PASSWORD})
8
+ client.recordings # => [List of recording instances...]
9
+
10
+ client.get_recording(recording_id) # => <Recording:0x007fc69e49f0b8>
11
+
12
+ client.submit_recording(recording_id) # => true or false
13
+
14
+ Or interact through a customer object
15
+
16
+ customer = Customer.new(username: "customer@transcribeme.com", password: PASSWORD)
17
+
18
+ or
19
+ customer = {username: "customer@transcribeme.com", password: PASSWORD}
20
+
21
+ or
22
+ customer = Struct.new(:username, :password)
23
+
24
+
25
+ client.login_as_customer(customer)
26
+ either a hash, or a duck-typed object which either responds to [:username] and [:password] or #username and #password
27
+
@@ -6,14 +6,28 @@ module TranscribeMe
6
6
  WSDL = "http://transcribeme-api.cloudapp.net/PortalAPI.svc?wsdl=wsdl0"
7
7
  ENDPOINT = "http://transcribeme-api.cloudapp.net/PortalAPI.svc"
8
8
  NAMESPACE = "http://TranscribeMe.API.Web"
9
- NAMESPACE_IDENTIFIER = :tns # any indentifier can be used
9
+ NAMESPACE_IDENTIFIER = :tns # any identifier can be used
10
10
 
11
11
  SOAP_ENVELOPE = ["soapenv:Envelope", { "xmlns:soapenv" => "http://schemas.xmlsoap.org/soap/envelope/", "xmlns:#{NAMESPACE_IDENTIFIER}" => NAMESPACE }]
12
+
13
+ def self.construct_xml(soap_method, options = {})
14
+ Builder::XmlMarkup.new.tag!(*SOAP_ENVELOPE) do |xml|
15
+ xml.tag!("soapenv:Body") do |xml|
16
+ xml.tag!("#{NAMESPACE_IDENTIFIER}:#{soap_method}") do |xml|
17
+ options.each do |key, value|
18
+ xml.tag!("#{NAMESPACE_IDENTIFIER}:#{key}") { |xml| xml.text! value }
19
+ end
20
+ end
21
+ end
22
+ end
23
+ end
12
24
 
13
25
  end
14
26
  end
15
27
 
28
+ require 'savon'
16
29
 
30
+ require 'transcribeme/api/client'
17
31
  require 'transcribeme/api/customer_login'
18
32
  require 'transcribeme/api/session'
19
33
  require 'transcribeme/api/recordings'
@@ -3,54 +3,81 @@ module TranscribeMe
3
3
 
4
4
  class Client
5
5
 
6
- attr_reader :client
6
+ attr_accessor :session_id
7
+ attr_reader :savon, :session_expiry_time
7
8
 
8
9
  def initialize
9
- @client = Savon.client(wsdl: WSDL, endpoint: ENDPOINT, namespace: NAMESPACE, namespace_identifier: NAMESPACE_IDENTIFIER)
10
- initialize_session!
10
+ @savon = ::Savon.client(wsdl: WSDL, endpoint: ENDPOINT, namespace: NAMESPACE, soap_version: 1)
11
11
  end
12
12
 
13
-
14
13
  def initialize_session!
15
- @session = Session.new(@client)
16
- @session.create_on_server!
14
+ response = @savon.call :initialize_session
15
+ # Without ActiveSupport
16
+ # 1.hour.from_now is 3600 seconds from Time.now
17
+ @session_expiry_time = Time.now + 3600
18
+ @session_id = response.body[:initialize_session_response][:initialize_session_result]
17
19
  end
18
20
 
19
21
  def login_with(username, password)
20
- initialize_session! unless @session.try :valid?
21
- @customer_login_id = CustomerLogin.new(@session.session_id, username, password, @client).login_on_server!
22
+
23
+ initialize_session! unless session_valid?
24
+
25
+ response = @savon.call :sign_in,
26
+ message: { "wsdl:sessionID" => @session_id,
27
+ "wsdl:username" => username,
28
+ "wsdl:password" => password }
29
+
30
+ @customer_login_id = response.body[:sign_in_response][:sign_in_result]
31
+
22
32
  end
23
33
 
24
34
  def get_recordings
25
35
  raise "Login first!" unless @customer_login_id
26
- @recordings = Recordings.new(@session.session_id, @client).get_list!
36
+
37
+ response = @savon.call :get_customer_recordings,
38
+ message: { "wsdl:sessionID" => session_id }
39
+
40
+ @recordings = response.body[:get_customer_recordings_response][:get_customer_recordings_result][:recording_info]
41
+ end
42
+
43
+ def get_upload_url
44
+ raise "Login first!" unless @customer_login_id
45
+
46
+ response = @savon.call :get_upload_url,
47
+ message: { "wsdl:sessionID" => @session_id }
48
+
49
+ @upload_url = response.body[:get_upload_url_response][:get_upload_url_result]
50
+
27
51
  end
28
52
 
29
53
  def submit_recording(recording)
30
54
  initialize_session! unless @session.try :valid?
31
- Submission.new(@session.session_id, recording, @client).submit!
55
+ Submission.new(@session.session_id, recording, @savon).submit!
32
56
  end
33
57
 
34
58
  def submit_recording_with_promocode(recording, promocode)
35
59
  initialize_session! unless @session.try :valid?
36
- SubmissionWithPromocode.new(@session.session_id, recording, promocode, @client).submit!
60
+ SubmissionWithPromocode.new(@session.session_id, recording, promocode, @savon).submit!
37
61
  end
38
62
 
39
63
  def get_status(recording_id)
40
64
  raise "Login first!" unless @customer_login_id
41
- CheckTranscriptionReady.new(@session.session_id, recording_id, @client).check!
65
+ CheckTranscriptionReady.new(@session.session_id, recording_id, @savon).check!
42
66
  end
43
67
 
44
- def get_upload_url
68
+ def logout!
45
69
  raise "Login first!" unless @customer_login_id
46
- UploadUrl.new(@session.session_id, @client).retrieve!
70
+ FinalizeSession.new(@session.session_id, @savon).submit!
47
71
  end
48
72
 
49
- def logout!
50
- raise "Login first!" unless @customer_login_id
51
- FinalizeSession.new(@session.session_id, @client).submit!
73
+ private
74
+
75
+ def session_valid?
76
+ @session_expiry_time > Time.now
52
77
  end
53
78
 
79
+
80
+
54
81
  end
55
82
 
56
83
  end
@@ -11,7 +11,9 @@ module TranscribeMe
11
11
 
12
12
  def create_on_server!
13
13
  response = @client.call :initialize_session, xml: xml
14
- @session_expiry_time = 1.hour.from_now
14
+ # Without ActiveSupport
15
+ # 1.hour.from_now is 3600 seconds from Time.now
16
+ @session_expiry_time = Time.now + 3600
15
17
  @session_id = response.body[:initialize_session_response][:initialize_session_result]
16
18
  end
17
19
 
@@ -0,0 +1,5 @@
1
+ module TranscribeMe
2
+ class Customer
3
+
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ module TranscribeMe
2
+ class Recording
3
+
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ module TranscribeMe
2
+ class Transcription
3
+
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module TranscribeMe
2
- VERSION = "0.0.3.alpha1"
2
+ VERSION = "0.0.4.beta1"
3
3
  end
@@ -0,0 +1,16 @@
1
+ require 'transcribeme'
2
+ require 'spec_helper'
3
+
4
+ describe TranscribeMe::API::Client do
5
+
6
+ before :all do
7
+ VCR.use_cassette('new_session') do
8
+ @client = TranscribeMe::API::Client.new
9
+ end
10
+ end
11
+
12
+ it "should be valid" do
13
+ @client.should_not be_nil
14
+ end
15
+
16
+ end
@@ -4,6 +4,19 @@
4
4
  # loaded once.
5
5
  #
6
6
  # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
+
8
+ require 'coveralls'
9
+ Coveralls.wear!
10
+
11
+ # The VCR gem uses yaml fixtures instead of live HTTP requests
12
+ require 'vcr'
13
+ require 'webmock'
14
+
15
+ VCR.configure do |c|
16
+ c.cassette_library_dir = 'spec/support/cassettes'
17
+ c.hook_into :webmock
18
+ end
19
+
7
20
  RSpec.configure do |config|
8
21
  config.treat_symbols_as_metadata_keys_with_true_values = true
9
22
  config.run_all_when_everything_filtered = true
@@ -0,0 +1,131 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://transcribeme-api.cloudapp.net/PortalAPI.svc?wsdl=wsdl0
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - '*/*'
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Cache-Control:
22
+ - private
23
+ Content-Length:
24
+ - '4961'
25
+ Content-Type:
26
+ - text/xml; charset=UTF-8
27
+ Server:
28
+ - Microsoft-IIS/7.0
29
+ X-Aspnet-Version:
30
+ - 4.0.30319
31
+ X-Powered-By:
32
+ - ASP.NET
33
+ Date:
34
+ - Mon, 03 Jun 2013 12:24:02 GMT
35
+ body:
36
+ encoding: UTF-8
37
+ string: <?xml version="1.0" encoding="utf-8"?><wsdl:definitions targetNamespace="http://tempuri.org/"
38
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"
39
+ xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/"
40
+ xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
41
+ xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"
42
+ xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
43
+ xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
44
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:i0="http://TranscribeMe.API.Web"
45
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"><wsdl:import
46
+ namespace="http://TranscribeMe.API.Web" location="http://transcribeme-api.cloudapp.net/PortalAPI.svc?wsdl"/><wsdl:types/><wsdl:binding
47
+ name="BasicHttpBinding_IPortalAPI" type="i0:IPortalAPI"><soap:binding transport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operation
48
+ name="InitializeSession"><soap:operation soapAction="http://TranscribeMe.API.Web/IPortalAPI/InitializeSession"
49
+ style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
50
+ use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="SignUp"><soap:operation
51
+ soapAction="http://TranscribeMe.API.Web/IPortalAPI/SignUp" style="document"/><wsdl:input><soap:body
52
+ use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation
53
+ name="SignIn"><soap:operation soapAction="http://TranscribeMe.API.Web/IPortalAPI/SignIn"
54
+ style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
55
+ use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="GetUploadUrl"><soap:operation
56
+ soapAction="http://TranscribeMe.API.Web/IPortalAPI/GetUploadUrl" style="document"/><wsdl:input><soap:body
57
+ use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation
58
+ name="CommitUpload"><soap:operation soapAction="http://TranscribeMe.API.Web/IPortalAPI/CommitUpload"
59
+ style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
60
+ use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="TranscribeRecording"><soap:operation
61
+ soapAction="http://TranscribeMe.API.Web/IPortalAPI/TranscribeRecording" style="document"/><wsdl:input><soap:body
62
+ use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation
63
+ name="GetRecordingInfo"><soap:operation soapAction="http://TranscribeMe.API.Web/IPortalAPI/GetRecordingInfo"
64
+ style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
65
+ use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="GetCustomerRecordings"><soap:operation
66
+ soapAction="http://TranscribeMe.API.Web/IPortalAPI/GetCustomerRecordings"
67
+ style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
68
+ use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="FinalizeSession"><soap:operation
69
+ soapAction="http://TranscribeMe.API.Web/IPortalAPI/FinalizeSession" style="document"/><wsdl:input><soap:body
70
+ use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation
71
+ name="GetTranscription"><soap:operation soapAction="http://TranscribeMe.API.Web/IPortalAPI/GetTranscription"
72
+ style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
73
+ use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="GetTranscriptionLink"><soap:operation
74
+ soapAction="http://TranscribeMe.API.Web/IPortalAPI/GetTranscriptionLink" style="document"/><wsdl:input><soap:body
75
+ use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation
76
+ name="TranscribeUsingPromoCode"><soap:operation soapAction="http://TranscribeMe.API.Web/IPortalAPI/TranscribeUsingPromoCode"
77
+ style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
78
+ use="literal"/></wsdl:output></wsdl:operation><wsdl:operation name="ResetPassword"><soap:operation
79
+ soapAction="http://TranscribeMe.API.Web/IPortalAPI/ResetPassword" style="document"/><wsdl:input><soap:body
80
+ use="literal"/></wsdl:input><wsdl:output><soap:body use="literal"/></wsdl:output></wsdl:operation><wsdl:operation
81
+ name="GetCustomerInfo"><soap:operation soapAction="http://TranscribeMe.API.Web/IPortalAPI/GetCustomerInfo"
82
+ style="document"/><wsdl:input><soap:body use="literal"/></wsdl:input><wsdl:output><soap:body
83
+ use="literal"/></wsdl:output></wsdl:operation></wsdl:binding></wsdl:definitions>
84
+ http_version:
85
+ recorded_at: Mon, 03 Jun 2013 12:24:01 GMT
86
+ - request:
87
+ method: post
88
+ uri: http://transcribeme-api.cloudapp.net/PortalAPI.svc
89
+ body:
90
+ encoding: UTF-8
91
+ string: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
92
+ xmlns:tns="http://TranscribeMe.API.Web"><soapenv:Body><tns:InitializeSession/></soapenv:Body></soapenv:Envelope>
93
+ headers:
94
+ Soapaction:
95
+ - '"http://TranscribeMe.API.Web/IPortalAPI/InitializeSession"'
96
+ Content-Type:
97
+ - text/xml;charset=UTF-8
98
+ Content-Length:
99
+ - '188'
100
+ Accept-Encoding:
101
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
102
+ Accept:
103
+ - '*/*'
104
+ User-Agent:
105
+ - Ruby
106
+ response:
107
+ status:
108
+ code: 200
109
+ message: OK
110
+ headers:
111
+ Cache-Control:
112
+ - private
113
+ Content-Length:
114
+ - '272'
115
+ Content-Type:
116
+ - text/xml; charset=utf-8
117
+ Server:
118
+ - Microsoft-IIS/7.0
119
+ X-Aspnet-Version:
120
+ - 4.0.30319
121
+ X-Powered-By:
122
+ - ASP.NET
123
+ Date:
124
+ - Mon, 03 Jun 2013 12:24:03 GMT
125
+ body:
126
+ encoding: UTF-8
127
+ string: <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><InitializeSessionResponse
128
+ xmlns="http://TranscribeMe.API.Web"><InitializeSessionResult>3ab295eb-ad02-4cef-90f0-fad5e294298e</InitializeSessionResult></InitializeSessionResponse></s:Body></s:Envelope>
129
+ http_version:
130
+ recorded_at: Mon, 03 Jun 2013 12:24:02 GMT
131
+ recorded_with: VCR 2.5.0
@@ -25,4 +25,6 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency "yard"
26
26
  spec.add_development_dependency "rspec"
27
27
  spec.add_development_dependency "vcr"
28
+ spec.add_development_dependency "webmock"
29
+ spec.add_development_dependency "coveralls"
28
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: transcribeme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.alpha1
4
+ version: 0.0.4.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tuttinator
@@ -31,7 +31,7 @@ cert_chain:
31
31
  /qqRTsuOOmPoaNtB4XnGMXyHOzOhAvurliPCtBFlkWAH0RvDt29O9ZcwRhInvr83
32
32
  S4meqecZ62/XH48iGccggmMPiTi8zQ==
33
33
  -----END CERTIFICATE-----
34
- date: 2013-06-03 00:00:00.000000000 Z
34
+ date: 2013-06-25 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: savon
@@ -117,6 +117,34 @@ dependencies:
117
117
  - - '>='
118
118
  - !ruby/object:Gem::Version
119
119
  version: '0'
120
+ - !ruby/object:Gem::Dependency
121
+ name: webmock
122
+ requirement: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - '>='
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ type: :development
128
+ prerelease: false
129
+ version_requirements: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ - !ruby/object:Gem::Dependency
135
+ name: coveralls
136
+ requirement: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - '>='
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ type: :development
142
+ prerelease: false
143
+ version_requirements: !ruby/object:Gem::Requirement
144
+ requirements:
145
+ - - '>='
146
+ - !ruby/object:Gem::Version
147
+ version: '0'
120
148
  description: This gem is a Ruby wrapper for the TranscribeMe SOAP API, built on Savon
121
149
  email:
122
150
  - caleb@prettymint.co.nz
@@ -124,12 +152,14 @@ executables: []
124
152
  extensions: []
125
153
  extra_rdoc_files: []
126
154
  files:
155
+ - .coveralls.yml
127
156
  - .gitignore
128
157
  - .rspec
129
158
  - Gemfile
130
159
  - LICENSE.txt
131
160
  - README.md
132
161
  - Rakefile
162
+ - USAGE.md
133
163
  - lib/transcribeme.rb
134
164
  - lib/transcribeme/api/check_transcription_ready.rb
135
165
  - lib/transcribeme/api/client.rb
@@ -140,8 +170,13 @@ files:
140
170
  - lib/transcribeme/api/submission.rb
141
171
  - lib/transcribeme/api/submission_with_promocode.rb
142
172
  - lib/transcribeme/api/upload_url.rb
173
+ - lib/transcribeme/customer.rb
174
+ - lib/transcribeme/recording.rb
175
+ - lib/transcribeme/transcription.rb
143
176
  - lib/transcribeme/version.rb
177
+ - spec/lib/api/client_spec.rb
144
178
  - spec/spec_helper.rb
179
+ - spec/support/cassettes/new_session.yml
145
180
  - transcribeme.gemspec
146
181
  homepage: http://tuttinator.github.io/transcribeme/
147
182
  licenses:
@@ -168,5 +203,7 @@ signing_key:
168
203
  specification_version: 4
169
204
  summary: Ruby wrapper around the TranscribeMe SOAP API
170
205
  test_files:
206
+ - spec/lib/api/client_spec.rb
171
207
  - spec/spec_helper.rb
208
+ - spec/support/cassettes/new_session.yml
172
209
  has_rdoc:
metadata.gz.sig CHANGED
Binary file