ey-core 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ey-core/requests/boot_environment.rb +2 -1
- data/lib/ey-core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1735145773a7daa8e7451c0ed1afb9df56331650
|
4
|
+
data.tar.gz: b15e7b305b51ee772b4705a417a7bba24a5fd80e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d93a039a423036941c0e80c0db46fdbef6e6fdfdddc2d55545b5fca94a8d55a3420b515c55ab2a099c719e628b3138c420f06e08df019b5b1670ff05de69db45
|
7
|
+
data.tar.gz: 42fd085d88c44d9e70b036aeea5ad89988a9bdc098d83468b8a1ad3a028f537b9f7e8f3fdf44d41fc2baa30c68cbd8573c38b8d53d44d6e07bb4a1efd4305f9d
|
@@ -72,6 +72,7 @@ class Ey::Core::Client
|
|
72
72
|
provisioned_id = "i-#{SecureRandom.hex(4)}"
|
73
73
|
provider = get_providers("account" => environment["account"]).body["providers"].first
|
74
74
|
{
|
75
|
+
"account" => url_for("/accounts/#{resource_identity(environment["account"])}"),
|
75
76
|
"alerts" => url_for("/servers/#{id}/alerts"),
|
76
77
|
"created_at" => Time.now.to_s,
|
77
78
|
"deprovisioned_at" => Time.now.to_s,
|
@@ -84,7 +85,7 @@ class Ey::Core::Client
|
|
84
85
|
"logs" => url_for("/servers/#{id}/logs"),
|
85
86
|
"name" => name,
|
86
87
|
"private_hostname" => "#{provisioned_id}.private.example.org",
|
87
|
-
"provider" => provider,
|
88
|
+
"provider" => url_for("/providers/#{provider["id"]}"),
|
88
89
|
"provisioned_at" => Time.now.to_s,
|
89
90
|
"provisioned_id" => provisioned_id,
|
90
91
|
"public_hostname" => "#{provisioned_id}.public.example.org",
|
data/lib/ey-core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Lane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|