bugsnag 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/VERSION +1 -1
- data/lib/bugsnag/capistrano.rb +1 -0
- data/lib/bugsnag/capistrano2.rb +0 -2
- data/lib/bugsnag/tasks/bugsnag.cap +15 -13
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3df43adc7e6a279be8b5d1e7e454745573c6ce6b
|
4
|
+
data.tar.gz: 285955b0b0f441e442c2d888400d3049e2819371
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e75646fd35a624c3b03d6be994fee9e44b019a90f791a4ec090479e11382c6b3fb580961ecae3a3cc8cd50ec2232b4779a98460da032b0930d229ab869b8292
|
7
|
+
data.tar.gz: 1662f2351b795995731a4298d24831ba42eecc503de8101522e75c9681bdfddd3e3aa8976120253a17ad1e19e6a88380f59051912005c2c1525311651fd05101
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.0.
|
1
|
+
2.0.1
|
data/lib/bugsnag/capistrano.rb
CHANGED
data/lib/bugsnag/capistrano2.rb
CHANGED
@@ -24,20 +24,22 @@ namespace :bugsnag do
|
|
24
24
|
|
25
25
|
desc 'Notify Bugsnag that new production code has been deployed'
|
26
26
|
task :deploy do
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
27
|
+
run_locally do
|
28
|
+
begin
|
29
|
+
Bugsnag::Deploy.notify({
|
30
|
+
:api_key => fetch(:bugsnag_api_key, ENV["BUGSNAG_API_KEY"]),
|
31
|
+
:release_stage => fetch(:bugsnag_env) || fetch(:rails_env) || fetch(:stage) || ENV["BUGSNAG_RELEASE_STAGE"] || "production",
|
32
|
+
:revision => fetch(:current_revision, ENV["BUGSNAG_REVISION"]),
|
33
|
+
:repository => fetch(:repo_url, ENV["BUGSNAG_REPOSITORY"]),
|
34
|
+
:branch => fetch(:branch, ENV["BUGSNAG_BRANCH"]),
|
35
|
+
:app_version => fetch(:app_version, ENV["BUGSNAG_APP_VERSION"])
|
36
|
+
})
|
37
|
+
rescue
|
38
|
+
error "Bugsnag deploy notification failed, #{$!.inspect}"
|
39
|
+
end
|
40
|
+
|
41
|
+
info 'Bugsnag deploy notification complete.'
|
38
42
|
end
|
39
|
-
|
40
|
-
info 'Bugsnag deploy notification complete.'
|
41
43
|
end
|
42
44
|
|
43
45
|
end
|