concur_connect 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +11 -0
- data/.gitignore +40 -0
- data/.rspec +1 -0
- data/Gemfile +11 -0
- data/Guardfile +28 -0
- data/LICENSE +20 -0
- data/README.rdoc +28 -0
- data/Rakefile +42 -0
- data/concur_connect.gemspec +41 -0
- data/lib/concur_connect.rb +23 -0
- data/lib/concur_connect/expense_finder.rb +30 -0
- data/lib/concur_connect/expense_report.rb +21 -0
- data/lib/concur_connect/expense_report_finder.rb +44 -0
- data/lib/concur_connect/finder.rb +9 -0
- data/lib/concur_connect/itinerary.rb +5 -0
- data/lib/concur_connect/itinerary_finder.rb +35 -0
- data/lib/concur_connect/session.rb +44 -0
- data/lib/concur_connect/user.rb +17 -0
- data/lib/concur_connect/user_finder.rb +28 -0
- data/lib/concur_connect/version.rb +3 -0
- data/spec/concur_connect/expense.rb +5 -0
- data/spec/concur_connect/expense_finder_spec.rb +77 -0
- data/spec/concur_connect/expense_report_finder_spec.rb +81 -0
- data/spec/concur_connect/expense_report_spec.rb +5 -0
- data/spec/concur_connect/itinerary_finder_spec.rb +43 -0
- data/spec/concur_connect/user_finder_spec.rb +26 -0
- data/spec/concur_connect/user_spec.rb +21 -0
- data/spec/concur_connect_spec.rb +30 -0
- data/spec/fixtures/vcr_cassettes/GET_user/v1_0/User.yml +40 -0
- data/spec/fixtures/vcr_cassettes/expense_list.yml +36 -0
- data/spec/fixtures/vcr_cassettes/expense_report_list_by_date.yml +35 -0
- data/spec/fixtures/vcr_cassettes/expense_report_list_by_status.yml +37 -0
- data/spec/fixtures/vcr_cassettes/itinerary_list.yml +37 -0
- data/spec/fixtures/vcr_cassettes/session_expense_reports.yml +35 -0
- data/spec/fixtures/vcr_cassettes/session_expenses.yml +36 -0
- data/spec/fixtures/vcr_cassettes/session_user.yml +38 -0
- data/spec/fixtures/vcr_cassettes/session_user_expense_reports.yml +34 -0
- data/spec/fixtures/vcr_cassettes/user.yml +40 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/support/vcr.rb +6 -0
- metadata +230 -0
@@ -0,0 +1,37 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://www.concursolutions.com:443/api/expense/expensereport/v1.1/reportslist/APPROVED
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
x-userid:
|
9
|
+
- derek.kastner@brighterplanet.com
|
10
|
+
authorization:
|
11
|
+
- OAuth oauth_consumer_key="3dcPjZyTeQziAndLnUALTI", oauth_nonce="1faa1f928763020edb6d0ac1f68c0cdf",
|
12
|
+
oauth_signature="lkaLiheYZd3hNY0zveBKaIbg87c%3D", oauth_signature_method="HMAC-SHA1",
|
13
|
+
oauth_timestamp="1324566948", oauth_version="1.0"
|
14
|
+
accept-encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
response: !ruby/struct:VCR::Response
|
17
|
+
status: !ruby/struct:VCR::ResponseStatus
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
cache-control:
|
22
|
+
- private
|
23
|
+
content-type:
|
24
|
+
- application/xml
|
25
|
+
server:
|
26
|
+
- Microsoft-IIS/7.5
|
27
|
+
x-aspnet-version:
|
28
|
+
- 2.0.50727
|
29
|
+
webserver:
|
30
|
+
- usseatuicte70
|
31
|
+
date:
|
32
|
+
- Thu, 22 Dec 2011 15:15:48 GMT
|
33
|
+
content-length:
|
34
|
+
- '750'
|
35
|
+
body: <ReportsList xmlns="http://www.concursolutions.com/api/expense/expensereport/2011/03"
|
36
|
+
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ReportSummary><ReportName>Fuel</ReportName><ReportId>AD63693E22DB4F65BA05</ReportId><ReportTotal>263.04000000</ReportTotal><ReportDate>2011-11-23T00:00:00</ReportDate><LastComment/><Report-Details-Url>https://www.concursolutions.com/api/expense/expensereport/v1.1/report/nABR4fUZDftz3veYYzMffJR5k3uLU7xQy</Report-Details-Url><Report-Full-Details-Url>https://www.concursolutions.com/api/expense/expensereport/v1.1/reportfulldetails/nABR4fUZDftz3veYYzMffJR5k3uLU7xQy</Report-Full-Details-Url><ExpenseUserXUserID>derek.kastner@brighterplanet.com</ExpenseUserXUserID><ApproverXUserID/></ReportSummary></ReportsList>
|
37
|
+
http_version: '1.1'
|
@@ -0,0 +1,37 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://www.concursolutions.com:443/api/travel/trip/v1.0/
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
x-userid:
|
9
|
+
- derek.kastner@brighterplanet.com
|
10
|
+
authorization:
|
11
|
+
- OAuth oauth_consumer_key="3dcPjZyTeQziAndLnUALTI", oauth_nonce="b521f3a1d4dd4318358c0cf4b1507104",
|
12
|
+
oauth_signature="HYWnbNK9%2FP5rd86zZ8qogwZPaO0%3D", oauth_signature_method="HMAC-SHA1",
|
13
|
+
oauth_timestamp="1324486718", oauth_version="1.0"
|
14
|
+
accept-encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
response: !ruby/struct:VCR::Response
|
17
|
+
status: !ruby/struct:VCR::ResponseStatus
|
18
|
+
code: 200
|
19
|
+
message: OK
|
20
|
+
headers:
|
21
|
+
cache-control:
|
22
|
+
- private
|
23
|
+
content-type:
|
24
|
+
- application/xml
|
25
|
+
server:
|
26
|
+
- Microsoft-IIS/7.5
|
27
|
+
x-aspnet-version:
|
28
|
+
- 2.0.50727
|
29
|
+
webserver:
|
30
|
+
- usseaeuicte19
|
31
|
+
date:
|
32
|
+
- Wed, 21 Dec 2011 16:58:42 GMT
|
33
|
+
content-length:
|
34
|
+
- '135'
|
35
|
+
body: <ItineraryInfoList xmlns="http://www.concursolutions.com/api/travel/trip/2010/06"
|
36
|
+
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ItineraryInfo><id>https://www.concursoultions.com/api/travel/trip/v1.0/4294967509</id><TripName>Trip from Baltimore to New York</TripName><StartDateLocal>2010-02-15T09:00:00</StartDateLocal><EndDateLocal>2010-02-21T17:30:00</EndDateLocal><DateModifiedUtc>2010-02-14T17:13:07</DateModifiedUtc></ItineraryInfo><ItineraryInfo><id>https://www.concursoultions.com/api/travel/trip/v1.0/6337261899</id><TripName>Trip from Baltimore to Seattle</TripName><StartDateLocal>2010-03-26T09:00:00</StartDateLocal><EndDateLocal>2010-03-29T17:30:00</EndDateLocal><DateModifiedUtc>2010-03-24T19:00:00</DateModifiedUtc></ItineraryInfo></ItineraryInfoList>
|
37
|
+
http_version: '1.1'
|
@@ -0,0 +1,35 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://www.concursolutions.com:443/api/expense/expensereport/v1.1/reportslist/APPROVED/LastModified?date=2011-09-01
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
authorization:
|
9
|
+
- OAuth oauth_consumer_key="3dcPjZyTeQziAndLnUALTI", oauth_nonce="434eb78e313fee53c77ea80fd83e4958",
|
10
|
+
oauth_signature="vCbApqFzcjYe9nyfiOpnpWHVGnM%3D", oauth_signature_method="HMAC-SHA1",
|
11
|
+
oauth_timestamp="1324585998", oauth_version="1.0"
|
12
|
+
accept-encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
response: !ruby/struct:VCR::Response
|
15
|
+
status: !ruby/struct:VCR::ResponseStatus
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
cache-control:
|
20
|
+
- private
|
21
|
+
content-type:
|
22
|
+
- application/xml
|
23
|
+
server:
|
24
|
+
- Microsoft-IIS/7.5
|
25
|
+
x-aspnet-version:
|
26
|
+
- 2.0.50727
|
27
|
+
webserver:
|
28
|
+
- usseatuicte68
|
29
|
+
date:
|
30
|
+
- Thu, 22 Dec 2011 20:33:19 GMT
|
31
|
+
content-length:
|
32
|
+
- '750'
|
33
|
+
body: <ReportsList xmlns="http://www.concursolutions.com/api/expense/expensereport/2011/03"
|
34
|
+
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ReportSummary><ReportName>Fuel</ReportName><ReportId>AD63693E22DB4F65BA05</ReportId><ReportTotal>263.04000000</ReportTotal><ReportDate>2011-11-23T00:00:00</ReportDate><LastComment/><Report-Details-Url>https://www.concursolutions.com/api/expense/expensereport/v1.1/report/nABR4fUZDftz3veYYzMffJR5k3uLU7xQy</Report-Details-Url><Report-Full-Details-Url>https://www.concursolutions.com/api/expense/expensereport/v1.1/reportfulldetails/nABR4fUZDftz3veYYzMffJR5k3uLU7xQy</Report-Full-Details-Url><ExpenseUserXUserID>derek.kastner@brighterplanet.com</ExpenseUserXUserID><ApproverXUserID/></ReportSummary></ReportsList>
|
35
|
+
http_version: '1.1'
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://www.concursolutions.com:443/api/expense/expensereport/v1.1/report/nABR4fUZDftz3veYYzMffJR5k3uLU7xQy/entries
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
authorization:
|
9
|
+
- OAuth oauth_consumer_key="3dcPjZyTeQziAndLnUALTI", oauth_nonce="91f01e36084b979398e773a09366be04",
|
10
|
+
oauth_signature="NTeVl2mEMUuGd2Fh2RnARtCR0ZU%3D", oauth_signature_method="HMAC-SHA1",
|
11
|
+
oauth_timestamp="1324586053", oauth_version="1.0"
|
12
|
+
accept-encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
response: !ruby/struct:VCR::Response
|
15
|
+
status: !ruby/struct:VCR::ResponseStatus
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
cache-control:
|
20
|
+
- private
|
21
|
+
content-type:
|
22
|
+
- application/xml
|
23
|
+
server:
|
24
|
+
- Microsoft-IIS/7.5
|
25
|
+
x-aspnet-version:
|
26
|
+
- 2.0.50727
|
27
|
+
webserver:
|
28
|
+
- usseatuicte56
|
29
|
+
date:
|
30
|
+
- Thu, 22 Dec 2011 20:34:13 GMT
|
31
|
+
content-length:
|
32
|
+
- '1077'
|
33
|
+
body: <ExpenseEntriesList xmlns="http://www.concursolutions.com/api/expense/expensereport/2011/03"
|
34
|
+
xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><ExpenseEntrySummary><ApprovedAmount>83.22000000</ApprovedAmount><Expense-Entry-Url>https://www.concursolutions.com/api/expense/expensereport/v1.1/report/nABR4fUZDftz3veYYzMffJR5k3uLU7xQy/entry/n7w$pAOZMAeLZLiZZHq6M764nL1AHtcMtQ</Expense-Entry-Url><ExpenseName>Gas</ExpenseName><LocationName/><TransactionAmount>83.22000000</TransactionAmount><TransactionCrnCode>USD</TransactionCrnCode><VendorDescription/><VendorListName/></ExpenseEntrySummary><ExpenseEntrySummary><ApprovedAmount>179.82000000</ApprovedAmount><Expense-Entry-Url>https://www.concursolutions.com/api/expense/expensereport/v1.1/report/nABR4fUZDftz3veYYzMffJR5k3uLU7xQy/entry/n7w$pAOZByd82Y9p6KwXMFISMo1mcNqatX</Expense-Entry-Url><ExpenseName>Personal
|
35
|
+
Car Mileage</ExpenseName><LocationName/><TransactionAmount>179.82000000</TransactionAmount><TransactionCrnCode>USD</TransactionCrnCode><VendorDescription/><VendorListName/></ExpenseEntrySummary></ExpenseEntriesList>
|
36
|
+
http_version: '1.1'
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://www.concursolutions.com:443/api/user/v1.0/User
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
x-companydomain:
|
9
|
+
- t0026855k9r8
|
10
|
+
x-userid:
|
11
|
+
- derek.kastner@brighterplanet.com
|
12
|
+
authorization:
|
13
|
+
- OAuth oauth_consumer_key="3dcPjZyTeQziAndLnUALTI", oauth_nonce="ab63d23b3700854274c4b0aa700e5a1d",
|
14
|
+
oauth_signature="Vb0S1TzAuxdAWAgO8e2xeEXFd4A%3D", oauth_signature_method="HMAC-SHA1",
|
15
|
+
oauth_timestamp="1324586054", oauth_version="1.0"
|
16
|
+
accept-encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response: !ruby/struct:VCR::Response
|
19
|
+
status: !ruby/struct:VCR::ResponseStatus
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
cache-control:
|
24
|
+
- private
|
25
|
+
content-type:
|
26
|
+
- application/xml
|
27
|
+
server:
|
28
|
+
- Microsoft-IIS/7.5
|
29
|
+
x-aspnet-version:
|
30
|
+
- 2.0.50727
|
31
|
+
webserver:
|
32
|
+
- usseatuicte43
|
33
|
+
date:
|
34
|
+
- Thu, 22 Dec 2011 20:34:15 GMT
|
35
|
+
content-length:
|
36
|
+
- '1007'
|
37
|
+
body: <UserProfile xmlns="http://www.concursolutions.com/api/user/2011/02" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Active>Y</Active><CashAdvanceAccountCode/><CrnKey>USD</CrnKey><CtryCode>US</CtryCode><CtrySubCode/><Custom1/><Custom10/><Custom11/><Custom12/><Custom13/><Custom14/><Custom15/><Custom16/><Custom17/><Custom18/><Custom19/><Custom2/><Custom20/><Custom21/><Custom3/><Custom4/><Custom5/><Custom6/><Custom7/><Custom8/><Custom9/><EmailAddress>derek.kastner@brighterplanet.com</EmailAddress><EmpId>derek.kastner@brighterplanet.com</EmpId><ExpenseApprover>Y</ExpenseApprover><ExpenseApproverEmployeeID/><ExpenseUser>Y</ExpenseUser><FirstName>Derek</FirstName><InvoiceApprover>N</InvoiceApprover><InvoiceUser>N</InvoiceUser><IsTestEmp>N</IsTestEmp><LastName>Kastner</LastName><LedgerName>DEFAULT</LedgerName><LocaleName>en_US</LocaleName><LoginId>derek.kastner@brighterplanet.com</LoginId><Mi/><OrgUnit1/><OrgUnit2/><OrgUnit3/><OrgUnit4/><OrgUnit5/><OrgUnit6/><TripUser>N</TripUser></UserProfile>
|
38
|
+
http_version: '1.1'
|
@@ -0,0 +1,34 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://www.concursolutions.com:443/api/expense/expensereport/v1.1/reportslist/APPROVED
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
authorization:
|
9
|
+
- OAuth oauth_consumer_key="3dcPjZyTeQziAndLnUALTI", oauth_nonce="c40eaa8563e5d45ab2000e076d7127a2",
|
10
|
+
oauth_signature="PZiQKmyN3p4ExYTSs873XqLswT8%3D", oauth_signature_method="HMAC-SHA1",
|
11
|
+
oauth_timestamp="1324586672", oauth_version="1.0"
|
12
|
+
accept-encoding:
|
13
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
14
|
+
response: !ruby/struct:VCR::Response
|
15
|
+
status: !ruby/struct:VCR::ResponseStatus
|
16
|
+
code: 400
|
17
|
+
message: Bad Request
|
18
|
+
headers:
|
19
|
+
cache-control:
|
20
|
+
- private
|
21
|
+
transfer-encoding:
|
22
|
+
- chunked
|
23
|
+
content-type:
|
24
|
+
- application/xml; charset=utf-8
|
25
|
+
server:
|
26
|
+
- Microsoft-IIS/7.5
|
27
|
+
x-aspnet-version:
|
28
|
+
- 2.0.50727
|
29
|
+
webserver:
|
30
|
+
- usseaeuicte21
|
31
|
+
date:
|
32
|
+
- Thu, 22 Dec 2011 20:44:33 GMT
|
33
|
+
body: <Error><Message>Missing X-UserID</Message><Server-Time>2011-12-22T15:44:33</Server-Time><Id>AFC928A9-85AF-4E7C-B2F8-5369929E3D0B</Id></Error>
|
34
|
+
http_version: '1.1'
|
@@ -0,0 +1,40 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://www.concursolutions.com:443/api/user/v1.0/User
|
6
|
+
body: !!null
|
7
|
+
headers:
|
8
|
+
x-companydomain:
|
9
|
+
- t0026855k9r8
|
10
|
+
x-userid:
|
11
|
+
- derek.kastner@brighterplanet.com
|
12
|
+
authorization:
|
13
|
+
- OAuth oauth_consumer_key="3dcPjZyTeQziAndLnUALTI", oauth_nonce="484091b5b0e904b7d05627ca18c17b92",
|
14
|
+
oauth_signature="WQWdd1w9Ot1uTdhEbp6hfTvTf1E%3D", oauth_signature_method="HMAC-SHA1",
|
15
|
+
oauth_timestamp="1322069191", oauth_version="1.0"
|
16
|
+
accept-encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response: !ruby/struct:VCR::Response
|
19
|
+
status: !ruby/struct:VCR::ResponseStatus
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
cache-control:
|
24
|
+
- private
|
25
|
+
content-type:
|
26
|
+
- application/xml
|
27
|
+
server:
|
28
|
+
- Microsoft-IIS/7.5
|
29
|
+
x-aspnet-version:
|
30
|
+
- 2.0.50727
|
31
|
+
x-powered-by:
|
32
|
+
- ASP.NET
|
33
|
+
webserver:
|
34
|
+
- usseaeuicte25
|
35
|
+
date:
|
36
|
+
- Wed, 23 Nov 2011 17:26:32 GMT
|
37
|
+
content-length:
|
38
|
+
- '1007'
|
39
|
+
body: <UserProfile xmlns="http://www.concursolutions.com/api/user/2011/02" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Active>Y</Active><CashAdvanceAccountCode/><CrnKey>USD</CrnKey><CtryCode>US</CtryCode><CtrySubCode/><Custom1/><Custom10/><Custom11/><Custom12/><Custom13/><Custom14/><Custom15/><Custom16/><Custom17/><Custom18/><Custom19/><Custom2/><Custom20/><Custom21/><Custom3/><Custom4/><Custom5/><Custom6/><Custom7/><Custom8/><Custom9/><EmailAddress>derek.kastner@brighterplanet.com</EmailAddress><EmpId>derek.kastner@brighterplanet.com</EmpId><ExpenseApprover>Y</ExpenseApprover><ExpenseApproverEmployeeID/><ExpenseUser>Y</ExpenseUser><FirstName>Derek</FirstName><InvoiceApprover>N</InvoiceApprover><InvoiceUser>N</InvoiceUser><IsTestEmp>N</IsTestEmp><LastName>Kastner</LastName><LedgerName>DEFAULT</LedgerName><LocaleName>en_US</LocaleName><LoginId>derek.kastner@brighterplanet.com</LoginId><Mi/><OrgUnit1/><OrgUnit2/><OrgUnit3/><OrgUnit4/><OrgUnit5/><OrgUnit6/><TripUser>N</TripUser></UserProfile>
|
40
|
+
http_version: '1.1'
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'bundler'
|
2
|
+
Bundler.setup
|
3
|
+
|
4
|
+
require 'rspec'
|
5
|
+
require 'concur_connect'
|
6
|
+
|
7
|
+
# Requires supporting files with custom matchers and macros, etc,
|
8
|
+
# in ./support/ and its subdirectories.
|
9
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
10
|
+
|
11
|
+
RSpec.configure do |config|
|
12
|
+
end
|
data/spec/support/vcr.rb
ADDED
metadata
ADDED
@@ -0,0 +1,230 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: concur_connect
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Derek Kastner
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-10-13 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: faraday
|
16
|
+
requirement: &2168749300 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.6.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *2168749300
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: faraday_middleware
|
27
|
+
requirement: &2168748920 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *2168748920
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: multi_xml
|
38
|
+
requirement: &2168748460 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *2168748460
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: simple_oauth
|
49
|
+
requirement: &2168748040 !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
type: :runtime
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: *2168748040
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: rspec
|
60
|
+
requirement: &2168747620 !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
62
|
+
requirements:
|
63
|
+
- - ! '>='
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: '0'
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: *2168747620
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: &2168799400 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ! '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: *2168799400
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
name: bueller
|
82
|
+
requirement: &2168798980 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
84
|
+
requirements:
|
85
|
+
- - ! '>='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0'
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: *2168798980
|
91
|
+
- !ruby/object:Gem::Dependency
|
92
|
+
name: fakeweb
|
93
|
+
requirement: &2168798560 !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
type: :development
|
100
|
+
prerelease: false
|
101
|
+
version_requirements: *2168798560
|
102
|
+
- !ruby/object:Gem::Dependency
|
103
|
+
name: rake
|
104
|
+
requirement: &2168798140 !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ! '>='
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: *2168798140
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: rcov
|
115
|
+
requirement: &2168797720 !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ! '>='
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
121
|
+
type: :development
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: *2168797720
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: vcr
|
126
|
+
requirement: &2168797300 !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: *2168797300
|
135
|
+
description: Access your Concur data via OAuth
|
136
|
+
email: dkastner@gmail.com
|
137
|
+
executables: []
|
138
|
+
extensions: []
|
139
|
+
extra_rdoc_files:
|
140
|
+
- LICENSE
|
141
|
+
- README.rdoc
|
142
|
+
files:
|
143
|
+
- .document
|
144
|
+
- .gitignore
|
145
|
+
- .rspec
|
146
|
+
- Gemfile
|
147
|
+
- Guardfile
|
148
|
+
- LICENSE
|
149
|
+
- README.rdoc
|
150
|
+
- Rakefile
|
151
|
+
- concur_connect.gemspec
|
152
|
+
- lib/concur_connect.rb
|
153
|
+
- lib/concur_connect/expense_finder.rb
|
154
|
+
- lib/concur_connect/expense_report.rb
|
155
|
+
- lib/concur_connect/expense_report_finder.rb
|
156
|
+
- lib/concur_connect/finder.rb
|
157
|
+
- lib/concur_connect/itinerary.rb
|
158
|
+
- lib/concur_connect/itinerary_finder.rb
|
159
|
+
- lib/concur_connect/session.rb
|
160
|
+
- lib/concur_connect/user.rb
|
161
|
+
- lib/concur_connect/user_finder.rb
|
162
|
+
- lib/concur_connect/version.rb
|
163
|
+
- spec/concur_connect/expense.rb
|
164
|
+
- spec/concur_connect/expense_finder_spec.rb
|
165
|
+
- spec/concur_connect/expense_report_finder_spec.rb
|
166
|
+
- spec/concur_connect/expense_report_spec.rb
|
167
|
+
- spec/concur_connect/itinerary_finder_spec.rb
|
168
|
+
- spec/concur_connect/user_finder_spec.rb
|
169
|
+
- spec/concur_connect/user_spec.rb
|
170
|
+
- spec/concur_connect_spec.rb
|
171
|
+
- spec/fixtures/vcr_cassettes/GET_user/v1_0/User.yml
|
172
|
+
- spec/fixtures/vcr_cassettes/expense_list.yml
|
173
|
+
- spec/fixtures/vcr_cassettes/expense_report_list_by_date.yml
|
174
|
+
- spec/fixtures/vcr_cassettes/expense_report_list_by_status.yml
|
175
|
+
- spec/fixtures/vcr_cassettes/itinerary_list.yml
|
176
|
+
- spec/fixtures/vcr_cassettes/session_expense_reports.yml
|
177
|
+
- spec/fixtures/vcr_cassettes/session_expenses.yml
|
178
|
+
- spec/fixtures/vcr_cassettes/session_user.yml
|
179
|
+
- spec/fixtures/vcr_cassettes/session_user_expense_reports.yml
|
180
|
+
- spec/fixtures/vcr_cassettes/user.yml
|
181
|
+
- spec/spec_helper.rb
|
182
|
+
- spec/support/vcr.rb
|
183
|
+
homepage: http://github.com/dkastner/concur_connect
|
184
|
+
licenses: []
|
185
|
+
post_install_message:
|
186
|
+
rdoc_options: []
|
187
|
+
require_paths:
|
188
|
+
- lib
|
189
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
190
|
+
none: false
|
191
|
+
requirements:
|
192
|
+
- - ! '>='
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
segments:
|
196
|
+
- 0
|
197
|
+
hash: -996298375129461645
|
198
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
|
+
none: false
|
200
|
+
requirements:
|
201
|
+
- - ! '>='
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
version: 1.3.7
|
204
|
+
requirements: []
|
205
|
+
rubyforge_project:
|
206
|
+
rubygems_version: 1.8.11
|
207
|
+
signing_key:
|
208
|
+
specification_version: 3
|
209
|
+
summary: Wrapper for ConcurConnect API
|
210
|
+
test_files:
|
211
|
+
- spec/concur_connect/expense.rb
|
212
|
+
- spec/concur_connect/expense_finder_spec.rb
|
213
|
+
- spec/concur_connect/expense_report_finder_spec.rb
|
214
|
+
- spec/concur_connect/expense_report_spec.rb
|
215
|
+
- spec/concur_connect/itinerary_finder_spec.rb
|
216
|
+
- spec/concur_connect/user_finder_spec.rb
|
217
|
+
- spec/concur_connect/user_spec.rb
|
218
|
+
- spec/concur_connect_spec.rb
|
219
|
+
- spec/fixtures/vcr_cassettes/GET_user/v1_0/User.yml
|
220
|
+
- spec/fixtures/vcr_cassettes/expense_list.yml
|
221
|
+
- spec/fixtures/vcr_cassettes/expense_report_list_by_date.yml
|
222
|
+
- spec/fixtures/vcr_cassettes/expense_report_list_by_status.yml
|
223
|
+
- spec/fixtures/vcr_cassettes/itinerary_list.yml
|
224
|
+
- spec/fixtures/vcr_cassettes/session_expense_reports.yml
|
225
|
+
- spec/fixtures/vcr_cassettes/session_expenses.yml
|
226
|
+
- spec/fixtures/vcr_cassettes/session_user.yml
|
227
|
+
- spec/fixtures/vcr_cassettes/session_user_expense_reports.yml
|
228
|
+
- spec/fixtures/vcr_cassettes/user.yml
|
229
|
+
- spec/spec_helper.rb
|
230
|
+
- spec/support/vcr.rb
|