akashi 0.0.6 → 0.0.7

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: 9578ab2da51b4e6bac5c4649ea48949afa3697e8
4
- data.tar.gz: 8e9fc90836052a360b7fa320877095182db95c8d
3
+ metadata.gz: dc578b2529ece60939019784f3dd530363882f73
4
+ data.tar.gz: 9c2d921d8a401981cdb2162630f9ade48fe8e109
5
5
  SHA512:
6
- metadata.gz: 835bbd20859477ea8f0ad23c1802b46d9407034eb554752e46b9aa96980375455a3a326cd04cf2acca377a3f2f1191341dc5ac6e77d7acba9ef3c4135f1ee837
7
- data.tar.gz: 0042ef7066c052ecdc3fde6ccddd8ade64859263d75d8d9801d8b349a043d79999a890a59282365149b986ce2f8d99f47c52b10208b65f648df5432cb59cfd72
6
+ metadata.gz: fc200e8b5bd46bf56adfdf24c7acaa0f2ce96cdeefb60e21c1f86eb897a1715120dbaf9145c419c46e2c651e3119edc0bae0f9b98f15742ad699fbdaf1965719
7
+ data.tar.gz: 07d67d7f26d25a7e032171a62287aef7c3a24acb715812ed75a3c6fec7ec0969691ac1ddd9ed4b8b71fe37b1ca97b0e76670682c14f691a608cf93d03a479a7c
@@ -15,6 +15,12 @@ module Akashi
15
15
 
16
16
  private
17
17
 
18
+ def create_ssl_certificate
19
+ @ssl_certificate = !!Akashi.manifest.elb.ssl_certificate.name ?
20
+ Akashi::Elb::SslCertificate.find_by(name: Akashi.manifest.elb.ssl_certificate.name) :
21
+ Akashi::Elb::SslCertificate.create
22
+ end
23
+
18
24
  def create_vpc
19
25
  @vpc = Akashi::Vpc::Instance.create
20
26
 
@@ -85,10 +91,6 @@ module Akashi
85
91
  @db_instance = Akashi::Rds::DbInstance.create(security_group: security_group[:rds])
86
92
  end
87
93
 
88
- def create_ssl_certificate
89
- @ssl_certificate = Akashi::Elb::SslCertificate.create
90
- end
91
-
92
94
  def create_load_balancer
93
95
  @load_balancer = Akashi::Elb::LoadBalancer.create(
94
96
  security_group: security_group[:elb],
@@ -1,3 +1,3 @@
1
1
  module Akashi
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: akashi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - asonas
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-25 00:00:00.000000000 Z
12
+ date: 2014-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport