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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 075abcb08857bbd57f088cefcdbd6f45165c69a0
4
- data.tar.gz: 350cdf189f84374e37ba882a31a569b642eb7e32
3
+ metadata.gz: 1735145773a7daa8e7451c0ed1afb9df56331650
4
+ data.tar.gz: b15e7b305b51ee772b4705a417a7bba24a5fd80e
5
5
  SHA512:
6
- metadata.gz: f5c9fe8142b9a1076cfd89fd1af79a75b4ca8cbb69e07f3675e03e1ea8177f085981bb93a9fbca511a5250a7e943e660f36f22c0746b38b7af5b41e724f0d4a5
7
- data.tar.gz: 98367165f6faf198affd5058850c0a5371268b83046ea759d978fbacc84645396995dc0c02873c8364ed717720cb3ec42d84ea0d4870bb3087db32f51c1ab6b1
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",
@@ -1,5 +1,5 @@
1
1
  module Ey
2
2
  module Core
3
- VERSION = "3.0.0"
3
+ VERSION = "3.0.1"
4
4
  end
5
5
  end
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.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-24 00:00:00.000000000 Z
11
+ date: 2015-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable