mina-rollbar 0.1.2 → 0.1.3
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/.ruby-version +1 -1
- data/README.md +4 -3
- data/lib/mina/rollbar/tasks.rb +3 -3
- data/lib/mina/rollbar/version.rb +1 -1
- data/mina-rollbar.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a65699e16483658bbf1735b6b412d82f5a404115
|
|
4
|
+
data.tar.gz: 14c12ebb96d313e359ad2b0ded73b6fb728a309c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea3bb7ecb82040ea03af25f5e38c5019603becf547288152a0342bfe134fd1c8eca2fb896871ad659a4fa80220169d821a79177af2f6fe9606803182b381e82d
|
|
7
|
+
data.tar.gz: f5adf7f95117fadf9ae8a4741a635aeba80b25a676f8f41f02885149859881e7acfd244d517dc62c760a4345ae5a3daedf15a61d5d0a49b5f3ee40dd4e2b86da
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.2.0
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Mina::Rollbar [](https://travis-ci.org/code-lever/mina-rollbar) [](https://gemnasium.com/code-lever/mina-rollbar) [](https://codeclimate.com/github/code-lever/mina-rollbar)
|
|
2
2
|
|
|
3
|
-
[Mina](https://github.com/mina-deploy/mina) tasks for interacting with [Rollbar
|
|
3
|
+
[Mina](https://github.com/mina-deploy/mina) tasks for interacting with [Rollbar](http://rollbar.com).
|
|
4
4
|
|
|
5
5
|
Adds the following tasks:
|
|
6
6
|
|
|
@@ -25,6 +25,7 @@ And then execute:
|
|
|
25
25
|
require 'mina/rollbar'
|
|
26
26
|
|
|
27
27
|
...
|
|
28
|
+
# replace value w/your real access token
|
|
28
29
|
set :rollbar_access_token, '9a18d718214b4348822b7cec493f86d2'
|
|
29
30
|
|
|
30
31
|
task deploy: :environment do
|
|
@@ -42,8 +43,8 @@ And then execute:
|
|
|
42
43
|
|
|
43
44
|
| Name | Description |
|
|
44
45
|
| ---------------------------- | -------------------------------------------------- |
|
|
45
|
-
| `rollbar_access_token` | Rollbar
|
|
46
|
-
| `rollbar_username` | Rollbar
|
|
46
|
+
| `rollbar_access_token` | Rollbar access token (post_server_item token) |
|
|
47
|
+
| `rollbar_username` | Rollbar username of deploying user (optional) |
|
|
47
48
|
| `rollbar_local_username` | Local username of deploying user (optional) |
|
|
48
49
|
| `rollbar_comment` | Comment for this deployment (optional) |
|
|
49
50
|
| `rollbar_notification_debug` | `true` to enable notification debugging info |
|
data/lib/mina/rollbar/tasks.rb
CHANGED
|
@@ -30,7 +30,7 @@ require 'mina/rails'
|
|
|
30
30
|
set_default :rollbar_access_token, nil
|
|
31
31
|
|
|
32
32
|
# ### rollbar_username
|
|
33
|
-
# Sets the Rollbar
|
|
33
|
+
# Sets the Rollbar username of the user who deployed. Optional.
|
|
34
34
|
set_default :rollbar_username, nil
|
|
35
35
|
|
|
36
36
|
# ### rollbar_local_username
|
|
@@ -47,7 +47,7 @@ set_default :rollbar_notification_debug, false
|
|
|
47
47
|
|
|
48
48
|
namespace :rollbar do
|
|
49
49
|
|
|
50
|
-
desc 'Notifies Rollbar
|
|
50
|
+
desc 'Notifies Rollbar of your deployment'
|
|
51
51
|
task notify: :environment do
|
|
52
52
|
|
|
53
53
|
unless rollbar_access_token
|
|
@@ -71,7 +71,7 @@ namespace :rollbar do
|
|
|
71
71
|
script << "-F rollbar_username=#{rollbar_username}" if rollbar_username
|
|
72
72
|
script << "-F comment=#{rollbar_comment}" if rollbar_comment
|
|
73
73
|
|
|
74
|
-
queue! 'echo "-----> Notifying Rollbar
|
|
74
|
+
queue! 'echo "-----> Notifying Rollbar of deployment"'
|
|
75
75
|
queue! %[#{script.join(' ')}]
|
|
76
76
|
|
|
77
77
|
end
|
data/lib/mina/rollbar/version.rb
CHANGED
data/mina-rollbar.gemspec
CHANGED
|
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.version = Mina::Rollbar::VERSION
|
|
9
9
|
spec.authors = ['Nick Veys']
|
|
10
10
|
spec.email = ['nick@codelever.com']
|
|
11
|
-
spec.summary = %q{Mina tasks for Rollbar
|
|
12
|
-
spec.description = %q{Notify Rollbar
|
|
11
|
+
spec.summary = %q{Mina tasks for Rollbar}
|
|
12
|
+
spec.description = %q{Notify Rollbar of Mina deployments.}
|
|
13
13
|
spec.homepage = 'https://github.com/code-lever/mina-rollbar'
|
|
14
14
|
spec.license = 'MIT'
|
|
15
15
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mina-rollbar
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nick Veys
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-01-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mina
|
|
@@ -192,7 +192,7 @@ dependencies:
|
|
|
192
192
|
- - ">="
|
|
193
193
|
- !ruby/object:Gem::Version
|
|
194
194
|
version: '0'
|
|
195
|
-
description: Notify Rollbar
|
|
195
|
+
description: Notify Rollbar of Mina deployments.
|
|
196
196
|
email:
|
|
197
197
|
- nick@codelever.com
|
|
198
198
|
executables: []
|
|
@@ -231,9 +231,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
231
231
|
version: '0'
|
|
232
232
|
requirements: []
|
|
233
233
|
rubyforge_project:
|
|
234
|
-
rubygems_version: 2.
|
|
234
|
+
rubygems_version: 2.4.5
|
|
235
235
|
signing_key:
|
|
236
236
|
specification_version: 4
|
|
237
|
-
summary: Mina tasks for Rollbar
|
|
237
|
+
summary: Mina tasks for Rollbar
|
|
238
238
|
test_files: []
|
|
239
239
|
has_rdoc:
|