ey_services_api 0.3.13 → 0.3.14
Sign up to get free protection for your applications and to get access to all the features.
data/EYIntegratedGemfile
CHANGED
@@ -8,7 +8,7 @@ group :test, :development do
|
|
8
8
|
gem 'rake'
|
9
9
|
|
10
10
|
#private Gem deps of fake_awsm
|
11
|
-
gem 'ey_sso', :git => "git@github.com:engineyard/ey_sso.git"
|
11
|
+
gem 'ey_sso', :git => "git@github.com:engineyard/ey_sso.git", :ref => "v0.13.1"
|
12
12
|
gem 'ey_services_api_internal', :git => "git@github.com:engineyard/ey_services_api_internal.git"
|
13
13
|
# gem 'ey_services_api_internal', :path => "../ey_services_api_internal"
|
14
14
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module EY
|
2
2
|
module ServicesAPI
|
3
|
-
class ServiceAccountCreation < APIStruct.new(:name, :url, :messages_url, :invoices_url)
|
3
|
+
class ServiceAccountCreation < APIStruct.new(:id, :name, :url, :messages_url, :invoices_url)
|
4
4
|
|
5
5
|
def self.from_request(request)
|
6
6
|
json = JSON.parse(request)
|
@@ -19,6 +19,7 @@ describe EY::ServicesAPI::ServiceAccountCreation do
|
|
19
19
|
@service_account_hash = @tresfiestas.service_account
|
20
20
|
service_account = AccountSaveThis.stuff
|
21
21
|
service_account.name.should eq @service_account_hash[:name]
|
22
|
+
service_account.id.should eq @service_account_hash[:id]
|
22
23
|
URI.parse(service_account.url).path.should eq URI.parse(@service_account_hash[:url]).path
|
23
24
|
URI.parse(service_account.messages_url).path.should eq URI.parse(@service_account_hash[:messages_url]).path
|
24
25
|
URI.parse(service_account.invoices_url).path.should eq URI.parse(@service_account_hash[:invoices_url]).path
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey_services_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 14
|
10
|
+
version: 0.3.14
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jacob & Thorben & David & mkb & Josh & Others
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-08-06 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rspec
|