thunder_punch 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.mdown CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.1.5 (Sept 17, 2015)
2
+ * support the new honeybadger cli via dotenv
3
+
1
4
  == 0.1.4 (Jul 15, 2015)
2
5
  * add a task to honeybadger recipes to support the new honeybadger cli way of deployment notification via ENV variables
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -18,5 +18,18 @@ Capistrano::Configuration.instance(:must_exist).load do
18
18
 
19
19
  run "#{cmds.join(' && ')}"
20
20
  end
21
+
22
+ namespace :dotenv do
23
+ task :notify_deploy, :roles => honeybadger_roles do
24
+ api_key = fetch(:honeybadger_api_key_var, "$HONEYBADGER_API_KEY")
25
+ precommand = fetch(:honeybadger_cli_precommand, "")
26
+
27
+ cmds = ["cd #{current_path}"]
28
+ cmds << precommand if precommand != ""
29
+ cmds << "bundle exec dotenv ./honeybadger_cli.sh #{rails_env} #{repository} #{real_revision} #{honeybadger_user} #{api_key}"
30
+
31
+ run "#{cmds.join(' && ')}"
32
+ end
33
+ end
21
34
  end
22
35
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "thunder_punch"
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bob Burbach"]
12
- s.date = "2015-07-15"
12
+ s.date = "2015-09-17"
13
13
  s.description = "Collection of capistano recipes for deployment and server tasks"
14
14
  s.email = "info@criticaljuncture.org"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thunder_punch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-15 00:00:00.000000000 Z
12
+ date: 2015-09-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jeweler
16
- requirement: &70318702008900 !ruby/object:Gem::Requirement
16
+ requirement: &70365346974540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70318702008900
24
+ version_requirements: *70365346974540
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: thoughtbot-shoulda
27
- requirement: &70318702008220 !ruby/object:Gem::Requirement
27
+ requirement: &70365346972940 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70318702008220
35
+ version_requirements: *70365346972940
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: capistrano
38
- requirement: &70318702007640 !ruby/object:Gem::Requirement
38
+ requirement: &70365346971600 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 2.5.5
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70318702007640
46
+ version_requirements: *70365346971600
47
47
  description: Collection of capistano recipes for deployment and server tasks
48
48
  email: info@criticaljuncture.org
49
49
  executables: []
@@ -105,7 +105,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
105
105
  version: '0'
106
106
  segments:
107
107
  - 0
108
- hash: -374408597647062636
108
+ hash: -2245078163442192594
109
109
  required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  none: false
111
111
  requirements: