eb_deployer 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,14 @@ module EbDeployer
5
5
  @client = client
6
6
  end
7
7
 
8
+ def create_application(app)
9
+ @client.create_application(:application_name => app)
10
+ end
11
+
12
+ def application_exists?(app)
13
+ @client.describe_applications(:application_name => app)[:applications].any?
14
+ end
15
+
8
16
  def update_environment(app_name, env_name, version, settings)
9
17
  env_id = convert_env_name_to_id(app_name, [env_name]).first
10
18
  @client.update_environment(:environment_id => env_id,
@@ -1,3 +1,3 @@
1
1
  module EbDeployer
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eb_deployer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: