engineyard-cloud-client 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/engineyard-cloud-client/models/app.rb +1 -1
- data/lib/engineyard-cloud-client/models/environment.rb +1 -1
- data/lib/engineyard-cloud-client/version.rb +1 -1
- data/spec/engineyard-cloud-client/models/app_spec.rb +1 -1
- data/spec/engineyard-cloud-client/models/environment_spec.rb +1 -1
- metadata +3 -3
@@ -9,7 +9,7 @@ module EY
|
|
9
9
|
|
10
10
|
# Return list of all Apps linked to all current user's accounts
|
11
11
|
def self.all(api)
|
12
|
-
self.from_array(api, api.request('/apps')["apps"])
|
12
|
+
self.from_array(api, api.request('/apps?no_instances=true')["apps"])
|
13
13
|
end
|
14
14
|
|
15
15
|
# An everything-you-need helper to create an App
|
@@ -63,7 +63,7 @@ module EY
|
|
63
63
|
|
64
64
|
# Return list of all Environments linked to all current user's accounts
|
65
65
|
def self.all(api)
|
66
|
-
self.from_array(api, api.request('/environments')["environments"])
|
66
|
+
self.from_array(api, api.request('/environments?no_instances=true')["environments"])
|
67
67
|
end
|
68
68
|
|
69
69
|
# Return a constrained list of environments given a set of constraints like:
|
@@ -15,7 +15,7 @@ describe EY::CloudClient::App do
|
|
15
15
|
]
|
16
16
|
}
|
17
17
|
|
18
|
-
FakeWeb.register_uri(:get, "https://cloud.engineyard.com/api/v2/apps",
|
18
|
+
FakeWeb.register_uri(:get, "https://cloud.engineyard.com/api/v2/apps?no_instances=true",
|
19
19
|
:body => response.to_json, :content_type => "application/json")
|
20
20
|
|
21
21
|
apps = EY::CloudClient::App.all(cloud_client)
|
@@ -35,7 +35,7 @@ describe EY::CloudClient::Environment do
|
|
35
35
|
]
|
36
36
|
}
|
37
37
|
|
38
|
-
FakeWeb.register_uri(:get, "https://cloud.engineyard.com/api/v2/environments",
|
38
|
+
FakeWeb.register_uri(:get, "https://cloud.engineyard.com/api/v2/environments?no_instances=true",
|
39
39
|
:body => response.to_json, :content_type => "application/json")
|
40
40
|
|
41
41
|
environments = EY::CloudClient::Environment.all(cloud_client)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: engineyard-cloud-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -344,7 +344,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
344
344
|
version: '0'
|
345
345
|
segments:
|
346
346
|
- 0
|
347
|
-
hash:
|
347
|
+
hash: 2106101747118900682
|
348
348
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
349
349
|
none: false
|
350
350
|
requirements:
|
@@ -353,7 +353,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
353
353
|
version: '0'
|
354
354
|
segments:
|
355
355
|
- 0
|
356
|
-
hash:
|
356
|
+
hash: 2106101747118900682
|
357
357
|
requirements: []
|
358
358
|
rubyforge_project:
|
359
359
|
rubygems_version: 1.8.24
|