paratrooper 2.0.0.beta2 → 2.0.0

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58da6246caf420f2f0c79c01abc7491105659c22
4
- data.tar.gz: 5937e0abbdc79eb182c1b8e5c764407e1526f4c2
3
+ metadata.gz: 4b7b516a0d18c8e4e6d1d6de3135759b4458b972
4
+ data.tar.gz: 681ab0705b28dd8d424cba86f14b521e430ad686
5
5
  SHA512:
6
- metadata.gz: bdbbf7413098608585c59257ad2a50d9ce19199b739ccf51515d55710371da6c7b910fe41394915ec314e5215a6f285b5593d1970659e3d4c52b786c53361b6f
7
- data.tar.gz: 9e367345b3608a1bf2ada353fdaaffd86294125f26e9559a955adf4aa7ee7660ea55812654f60783c002f1cc02bdd72dab52aba96d5c43ad3fd89a20dbd2eb8a
6
+ metadata.gz: b4a3c256b073b50946687a9a4233af371700072ba6b2d30dc0ffba0faa6e0c0ea7cb584b34fa2c2074ed9f3fca6dd35b050f2b3992af6ca5eaf3961240b33c50
7
+ data.tar.gz: 7ce24654c188fec8c98e25cfcad858549ab9e35bfbc14aeec96061233f9ed1c9a0aeb34620a32481e0256c6cebce42184002b71e6b34b6c1a374976984e43b9b
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.0.0.beta2
4
+
5
+ - Added license.txt
6
+ - Maintenance mode triggered only when migrations are needed
7
+ - Throw exception if no netrc file is available
8
+ - Callbacks can now output screen notifications
9
+
3
10
  ## 2.0.0.beta1
4
11
 
5
12
  - Callbacks are fired around deployment methods for an easy way to hook into
data/README.md CHANGED
@@ -204,11 +204,13 @@ namespace :deploy do
204
204
  deployment = Paratrooper::Deploy.new("amazing-production-app") do |deploy|
205
205
  deploy.tag = 'production'
206
206
  deploy.match_tag = 'staging'
207
- deploy.add_callback(:before_setup) do
207
+ deploy.add_callback(:before_setup) do |output|
208
+ output.display("Totally going to turn off newrelic")
208
209
  system %Q[curl https://rpm.newrelic.com/accounts/ACCOUNT_ID/applications/APPLICATION_ID/ping_targets/disable -X POST -H "X-Api-Key: API_KEY"]
209
210
  end
210
- deploy.add_callback(:after_teardown) do
211
+ deploy.add_callback(:after_teardown) do |output|
211
212
  system %Q[curl https://rpm.newrelic.com/accounts/ACCOUNT_ID/applications/APPLICATION_ID/ping_targets/enable -X POST -H "X-Api-Key: API_KEY"]
213
+ output.display("Aaaannnd we're back")
212
214
  end
213
215
  end
214
216
 
@@ -1,3 +1,3 @@
1
1
  module Paratrooper
2
- VERSION = "2.0.0.beta2".freeze
2
+ VERSION = "2.0.0".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paratrooper
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta2
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Polito
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-02-16 00:00:00.000000000 Z
12
+ date: 2014-02-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -146,9 +146,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
146
146
  version: 1.9.2
147
147
  required_rubygems_version: !ruby/object:Gem::Requirement
148
148
  requirements:
149
- - - '>'
149
+ - - '>='
150
150
  - !ruby/object:Gem::Version
151
- version: 1.3.1
151
+ version: '0'
152
152
  requirements: []
153
153
  rubyforge_project:
154
154
  rubygems_version: 2.1.11