engineyard-serverside-adapter 2.3.0 → 2.3.1

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjhmY2NmYmNiNTJkYzEzYmQwODEzOGMwNjM4Y2U4MTliNmFkYjY3NA==
4
+ NGZiMmNkZjNkYmI5NDE1MmZiMWMxMWZmNjY2Y2VmM2FhZmM1ZmM3NQ==
5
5
  data.tar.gz: !binary |-
6
- NDJhNGEwYzM1YmIyN2M0NGNhMTI5MmQ3MTFmNDg1ZjQxODdmNjg5NQ==
6
+ NjdiNDA2M2MxZGRmNWZjOWE2YTg5NjY3ZWIxNTlhOGY3YTc1ZTRmMQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjA5MWI4Njc5NTUyNzY2Y2VjOWRlNTU5YzhkYzAzMTQ0YzJlMWVjZmIxMWYz
10
- MWFkZjVmNmZlMmY5ZDkzOTdhN2VmZWQwNDI4NzcxMTc2OWUyODMyNTlkNmI3
11
- MTVhMWU1ZDA2ZGQ2NzA4MjVjZmM5OThhNmRmNGExZjljZGQxMGY=
9
+ OTIyYjJiNzlkNWYzOTdkN2Q1ZmExM2E2MWRmNjNmMGE1MThiOTg2NjYxOGUz
10
+ YmUzNDA4OGQwMjg1OTMzODlhMDNlMDg5ODk1MThhYmYwNzFmMmFkNGMxYWFk
11
+ MzFiMDk3MDZhODhlN2Y3ZjkxZTVjM2JjNjBhMjJkN2YxOGYyYTk=
12
12
  data.tar.gz: !binary |-
13
- MTZkZjIwOWQ0NjEwYzM4NjUxNTYwYTc5YWNmODc1OTZhNDIyMGM0YjYyZWJm
14
- MDQxODQxMzc4NzNmMDRiNmEzM2ZjMzY5YjUwOWM3YzUzOGM1MzgzMzBjMmNj
15
- YmI2YjFmZjUzM2RlZTFhODMwN2E1YjgyZmQyZTZmY2I3YzI4YjE=
13
+ MzUzY2NhMWNkOTgyOTQxOTNlOWZiNDRiMTA4Mjc2ZDZiZDM4YWUwMWI2MmUz
14
+ YzNjOGFiYjVjNTYwZmIzMDFkOGUzZTM3MTZmYmMxMGQ3MzU0ZjgxNDVkZGFl
15
+ MTdmZmZjNzkyYjczYjUxNWYyODJlY2M4N2Q5ZTVlN2ExZDlhNjc=
@@ -4,6 +4,10 @@
4
4
 
5
5
  *
6
6
 
7
+ ## v2.3.1 (2014-06-10)
8
+
9
+ * Fixes a bug where maintenance actions incorrectly did not accept --config options.
10
+
7
11
  ## v2.3.0 (2014-06-02)
8
12
 
9
13
  * Support new --ignore-existing option for integrate, which tells rsync not to overwrite existing files on the destination server when syncing existing app files before deploy.
@@ -5,6 +5,7 @@ module EY::Serverside
5
5
 
6
6
  option :app, :string, :required => true
7
7
  option :account_name, :string, :required => true, :version => '>=2.0.0'
8
+ option :config, :json
8
9
  option :environment_name, :string, :required => true, :version => '>=2.0.0'
9
10
  option :instance_names, :hash, :required => true
10
11
  option :instance_roles, :hash, :required => true
@@ -5,6 +5,7 @@ module EY::Serverside
5
5
 
6
6
  option :app, :string, :required => true
7
7
  option :account_name, :string, :required => true, :version => '>=2.0.0'
8
+ option :config, :json
8
9
  option :environment_name, :string, :required => true, :version => '>=2.0.0'
9
10
  option :instance_names, :hash, :required => true
10
11
  option :instance_roles, :hash, :required => true
@@ -1,7 +1,7 @@
1
1
  module EY
2
2
  module Serverside
3
3
  class Adapter
4
- VERSION = "2.3.0"
4
+ VERSION = "2.3.1"
5
5
  end
6
6
  end
7
7
  end
@@ -4,6 +4,7 @@ describe EY::Serverside::Adapter::DisableMaintenance do
4
4
  it_should_behave_like "it installs engineyard-serverside"
5
5
 
6
6
  it_should_behave_like "it accepts app"
7
+ it_should_behave_like "it accepts account_name"
7
8
  it_should_behave_like "it accepts environment_name"
8
9
  it_should_behave_like "it accepts account_name"
9
10
  it_should_behave_like "it accepts instances"
@@ -22,6 +23,8 @@ describe EY::Serverside::Adapter::DisableMaintenance do
22
23
  it_should_exclude_from_command :environment_name, %w[1.6.4]
23
24
  it_should_exclude_from_command :account_name, %w[1.6.4]
24
25
 
26
+ it_should_behave_like "it treats config as optional"
27
+
25
28
  context "with valid arguments" do
26
29
  let(:command) do
27
30
  adapter = described_class.new do |arguments|
@@ -4,6 +4,7 @@ describe EY::Serverside::Adapter::EnableMaintenance do
4
4
  it_should_behave_like "it installs engineyard-serverside"
5
5
 
6
6
  it_should_behave_like "it accepts app"
7
+ it_should_behave_like "it accepts account_name"
7
8
  it_should_behave_like "it accepts environment_name"
8
9
  it_should_behave_like "it accepts account_name"
9
10
  it_should_behave_like "it accepts instances"
@@ -22,6 +23,8 @@ describe EY::Serverside::Adapter::EnableMaintenance do
22
23
  it_should_exclude_from_command :environment_name, %w[1.6.4]
23
24
  it_should_exclude_from_command :account_name, %w[1.6.4]
24
25
 
26
+ it_should_behave_like "it treats config as optional"
27
+
25
28
  context "with valid arguments" do
26
29
 
27
30
  let(:command) do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: engineyard-serverside-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Emde
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-06-03 00:00:00.000000000 Z
12
+ date: 2014-06-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: escape