capistrano_mailer 3.1.6 → 3.1.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 6
3
2
  :major: 3
4
3
  :minor: 1
4
+ :patch: 7
5
5
  :build:
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{capistrano_mailer}
8
- s.version = "3.1.6"
8
+ s.version = "3.1.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Peter Boling"]
12
- s.date = %q{2009-11-10}
12
+ s.date = %q{2010-01-02}
13
13
  s.description = %q{Capistrano Deployment Email Notification. Keep the whole team informed of each release!}
14
14
  s.email = %q{peter.boling@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -27,7 +27,6 @@ Gem::Specification.new do |s|
27
27
  "views/cap_mailer/_section.html.erb",
28
28
  "views/cap_mailer/_section.text.erb",
29
29
  "views/cap_mailer/_section_custom.html.erb",
30
- "views/cap_mailer/_section_custom.html.erb",
31
30
  "views/cap_mailer/notification_email.text.html.erb",
32
31
  "views/cap_mailer/notification_email.text.plain.erb"
33
32
  ]
data/lib/cap_mailer.rb CHANGED
@@ -92,6 +92,7 @@ class CapMailer < ActionMailer::Base
92
92
  :revision => cap_vars.first[:revision],
93
93
  :released => repo_end,
94
94
  :repository => cap_vars.first[:repository],
95
+ :branch => cap_vars.first[:branch],
95
96
  :scm => cap_vars.first[:scm],
96
97
  :deploy_via => cap_vars.first[:deploy_via],
97
98
  :deploy_to => cap_vars.first[:deploy_to]
@@ -8,7 +8,7 @@
8
8
  when 'deployment'
9
9
  [:date,:time,:rails_env,:task_name,:inferred_command,:host,:release_name]
10
10
  when 'source_control'
11
- [:scm,:released,:revision,:deploy_via,:deploy_to,:repository]
11
+ [:scm,:released,:branch,:revision,:deploy_via,:deploy_to,:repository]
12
12
  when 'latest_release'
13
13
  [:latest_release,:latest_revision,:real_revision,:release_path,:current_path]
14
14
  when 'previous_release'
@@ -6,7 +6,7 @@
6
6
  when 'deployment'
7
7
  [:date,:time,:rails_env,:task,:inferred_command,:host,:release_name]
8
8
  when 'source_control'
9
- [:scm,:released,:revision,:deploy_via,:deploy_to,:repository]
9
+ [:scm,:released,:branch,:revision,:deploy_via,:deploy_to,:repository]
10
10
  when 'latest_release'
11
11
  [:latest_release,:latest_revision,:real_revision,:release_path,:current_path]
12
12
  when 'previous_release'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano_mailer
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.6
4
+ version: 3.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-10 00:00:00 -05:00
12
+ date: 2010-01-02 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency