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 +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +4 -2
- data/lib/paratrooper/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4b7b516a0d18c8e4e6d1d6de3135759b4458b972
|
|
4
|
+
data.tar.gz: 681ab0705b28dd8d424cba86f14b521e430ad686
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b4a3c256b073b50946687a9a4233af371700072ba6b2d30dc0ffba0faa6e0c0ea7cb584b34fa2c2074ed9f3fca6dd35b050f2b3992af6ca5eaf3961240b33c50
|
|
7
|
+
data.tar.gz: 7ce24654c188fec8c98e25cfcad858549ab9e35bfbc14aeec96061233f9ed1c9a0aeb34620a32481e0256c6cebce42184002b71e6b34b6c1a374976984e43b9b
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
data/lib/paratrooper/version.rb
CHANGED
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
|
|
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-
|
|
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:
|
|
151
|
+
version: '0'
|
|
152
152
|
requirements: []
|
|
153
153
|
rubyforge_project:
|
|
154
154
|
rubygems_version: 2.1.11
|