eb_deployer 0.6.0.beta2 → 0.6.0.beta3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c161d0c728f733b1caba8893e2076b1233479a6c
4
+ data.tar.gz: bc011777da1c1cb2a9ae6cd77d85b4c8538ca579
5
+ SHA512:
6
+ metadata.gz: 6bec3a8df34550a01e00091f81c354f762b8314b12f0b7c6f0ad72716c6353b8c06ac6df1c5e2f54f3f3afc15000179c37666e484c9dcc718d9ce49ecefcbf9d
7
+ data.tar.gz: 1ec020f93b12e33db499198a70f280f6519cbf261476bc9754e256807746ee827f29259e38b2f4ec226f6356f3ab3f5606d7cee18da8e3aed8b29e4ae10c60e4
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 1.9.3-p484
1
+ 2.2.2
data/.travis.yml CHANGED
@@ -1,10 +1,11 @@
1
1
  rvm:
2
2
  - 1.9.3
3
3
  - 2.0.0
4
- - 2.1.0
4
+ - 2.1.6
5
+ - 2.2.2
5
6
  - jruby-1.7.10
6
7
  script: "bundle exec rake"
7
8
  bundler_args: "--without repl documentation"
8
9
  branches:
9
10
  only:
10
- - master
11
+ - master
data/CHANGELOG.md CHANGED
@@ -1,7 +1,8 @@
1
- 0.6.0.beta1
2
- ===========
1
+ 0.6.0
2
+ =====
3
3
 
4
- * aws-sdk 2.0
4
+ * Use aws-sdk 2.0
5
+ * Ruby 2.2 support
5
6
 
6
7
  0.5.1
7
8
  =====
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # EbDeployer [![Build Status](https://travis-ci.org/ThoughtWorksStudios/eb_deployer.png?branch=master)](https://travis-ci.org/ThoughtWorksStudios/eb_deployer)
1
+ # EbDeployer [![Build Status](https://snap-ci.com/ThoughtWorksStudios/eb_deployer/branch/master/build_image)](https://snap-ci.com/ThoughtWorksStudios/eb_deployer/branch/master) [![Build Status](https://travis-ci.org/ThoughtWorksStudios/eb_deployer.png?branch=master)](https://travis-ci.org/ThoughtWorksStudios/eb_deployer)
2
2
 
3
3
  [Built with :yellow_heart: and :coffee: in San Francisco](http://getmingle.io)
4
4
 
data/eb_deployer.gemspec CHANGED
@@ -10,6 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.license = 'MIT'
11
11
 
12
12
  gem.add_runtime_dependency 'aws-sdk', '~> 2', '>= 2.0.0'
13
+ gem.add_development_dependency 'minitest', '~> 5'
13
14
 
14
15
  gem.files = `git ls-files`.split($\).reject {|f| f =~ /^samples\// }
15
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -110,7 +110,7 @@ module EbDeployer
110
110
 
111
111
  def environment_swap_cname(app_name, env1, env2)
112
112
  env1_id, env2_id = convert_env_name_to_id(app_name, [env1, env2])
113
- @client.swap_environment_cnam_es(:source_environment_id => env1_id,
113
+ @client.swap_environment_cnames(:source_environment_id => env1_id,
114
114
  :destination_environment_id => env2_id)
115
115
  end
116
116
 
@@ -1,3 +1,3 @@
1
1
  module EbDeployer
2
- VERSION = "0.6.0.beta2"
2
+ VERSION = "0.6.0.beta3"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  require 'test_helper'
2
2
 
3
- class ConfigLoaderTest < MiniTest::Unit::TestCase
3
+ class ConfigLoaderTest < MiniTest::Test
4
4
  def setup
5
5
  @loader = EbDeployer::ConfigLoader.new
6
6
  @sample_package = sample_file('app-package.war')
data/test/deploy_test.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'test_helper'
2
2
 
3
- class DeployTest < MiniTest::Unit::TestCase
3
+ class DeployTest < MiniTest::Test
4
4
  def setup
5
5
  @eb = ErrorRaisingWrapper.new(EBStub.new)
6
6
  @s3_driver = S3Stub.new
@@ -1,6 +1,6 @@
1
1
  require 'test_helper'
2
2
 
3
- class EbEnvironmentTest < MiniTest::Unit::TestCase
3
+ class EbEnvironmentTest < MiniTest::Test
4
4
  def setup
5
5
  @eb_driver = EBStub.new
6
6
  @eb_driver.create_application("myapp")
@@ -1,6 +1,6 @@
1
1
  require 'test_helper'
2
2
 
3
- class EventPollerTest < MiniTest::Unit::TestCase
3
+ class EventPollerTest < MiniTest::Test
4
4
  def setup
5
5
  @eb = EBStub.new
6
6
  @poller = EbDeployer::EventPoller.new("myapp", "test", @eb)
@@ -1,6 +1,6 @@
1
1
  require 'test_helper'
2
2
 
3
- class SmokeTestTest < MiniTest::Unit::TestCase
3
+ class SmokeTestTest < MiniTest::Test
4
4
  def test_call_proc_type_smoke_tests
5
5
  host_name_in_proc = nil
6
6
  EbDeployer::SmokeTest.new(lambda {|v| host_name_in_proc = v }).run("foo")
data/test/test_helper.rb CHANGED
@@ -55,7 +55,7 @@ class ErrorRaisingWrapper < SimpleDelegator
55
55
  end
56
56
  end
57
57
 
58
- class MiniTest::Unit::TestCase
58
+ class MiniTest::Test
59
59
  def sample_file(file_name, content='s' * 100)
60
60
  path = File.join('/tmp', file_name)
61
61
  File.open(path, 'w') { |f| f << content }
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eb_deployer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0.beta2
5
- prerelease: 6
4
+ version: 0.6.0.beta3
6
5
  platform: ruby
7
6
  authors:
8
7
  - wpc
@@ -15,25 +14,37 @@ dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: aws-sdk
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ~>
18
+ - - "~>"
21
19
  - !ruby/object:Gem::Version
22
20
  version: '2'
23
- - - ! '>='
21
+ - - ">="
24
22
  - !ruby/object:Gem::Version
25
23
  version: 2.0.0
26
24
  type: :runtime
27
25
  prerelease: false
28
26
  version_requirements: !ruby/object:Gem::Requirement
29
- none: false
30
27
  requirements:
31
- - - ~>
28
+ - - "~>"
32
29
  - !ruby/object:Gem::Version
33
30
  version: '2'
34
- - - ! '>='
31
+ - - ">="
35
32
  - !ruby/object:Gem::Version
36
33
  version: 2.0.0
34
+ - !ruby/object:Gem::Dependency
35
+ name: minitest
36
+ requirement: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '5'
41
+ type: :development
42
+ prerelease: false
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5'
37
48
  description: For automating Blue-Green deployment flows on Elastic Beanstalk.
38
49
  email:
39
50
  - alex.hal9000@gmail.com
@@ -44,10 +55,10 @@ executables:
44
55
  extensions: []
45
56
  extra_rdoc_files: []
46
57
  files:
47
- - .gitignore
48
- - .ruby-gemset
49
- - .ruby-version
50
- - .travis.yml
58
+ - ".gitignore"
59
+ - ".ruby-gemset"
60
+ - ".ruby-version"
61
+ - ".travis.yml"
51
62
  - CHANGELOG.md
52
63
  - Gemfile
53
64
  - LICENSE
@@ -107,27 +118,26 @@ files:
107
118
  homepage: https://github.com/ThoughtWorksStudios/eb_deployer
108
119
  licenses:
109
120
  - MIT
121
+ metadata: {}
110
122
  post_install_message:
111
123
  rdoc_options: []
112
124
  require_paths:
113
125
  - lib
114
126
  required_ruby_version: !ruby/object:Gem::Requirement
115
- none: false
116
127
  requirements:
117
- - - ! '>='
128
+ - - ">="
118
129
  - !ruby/object:Gem::Version
119
130
  version: '0'
120
131
  required_rubygems_version: !ruby/object:Gem::Requirement
121
- none: false
122
132
  requirements:
123
- - - ! '>'
133
+ - - ">"
124
134
  - !ruby/object:Gem::Version
125
135
  version: 1.3.1
126
136
  requirements: []
127
137
  rubyforge_project:
128
- rubygems_version: 1.8.23
138
+ rubygems_version: 2.4.5
129
139
  signing_key:
130
- specification_version: 3
140
+ specification_version: 4
131
141
  summary: Low friction deployments should be a breeze. Elastic Beanstalk provides a
132
142
  great foundation for performing Blue-Green deployments, and EbDeployer add a missing
133
143
  top to automate the whole flow out of the box.