git-commit-notifier 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.textile CHANGED
@@ -1,20 +1,22 @@
1
- _h1. Git Commit Notifier
1
+ h1. Git Commit Notifier
2
2
 
3
- <pre>by Bodo Tasche (bodo 'at' wannawork 'dot' de), Csoma Zoltan (Primalgrasp) (zoltan 'at' primalgrasp 'dot' com)</pre>
3
+ __by Bodo Tasche (bodo 'at' wannawork 'dot' de), Csoma Zoltan (Primalgrasp) (zoltan 'at' primalgrasp 'dot' com)__
4
4
 
5
- Sends email commit messages splitting commits that were pushed in one
6
- step. Email is delivered as text or HTML with changes refined per
7
- word. Emails have a scanable subject containing the first sentence of
8
- the commit as well as the author, project and branch name.
5
+ Sends email commit messages splitting commits that were pushed in one step.
6
+ Email is delivered as text or HTML with changes refined per word. Emails
7
+ have a scanable subject containing the first sentence of the commit as well
8
+ as the author, project and branch name.
9
9
 
10
10
  For example:
11
+
11
12
  <pre>[rails][master] Fix Brasilia timezone. [#1180 state:resolved] </pre>
12
13
 
13
- A reply-to header is added containing the author of the commit. This makes follow up really simple. If multiple commits are pushed at once, emails are numbered in chronological order:
14
- <pre>
15
- [rails][master][000] Added deprecated warning messages to Float#months and Float#years deprications.
16
- [rails][master][001] Enhance testing for fractional days and weeks. Update changelog.
17
- </pre>
14
+ A reply-to header is added containing the author of the commit. This makes
15
+ follow up really simple. If multiple commits are pushed at once, emails are
16
+ numbered in chronological order:
17
+
18
+ <pre> [rails][master][000] Added deprecated warning messages to Float#months and Float#years deprications.
19
+ [rails][master][001] Enhance testing for fractional days and weeks. Update changelog.</pre>
18
20
 
19
21
  Example email:
20
22
 
@@ -30,24 +32,26 @@ h1. Requirements
30
32
 
31
33
  h1. Installing and Configuring
32
34
 
33
- Before installing the Git Commit Notification script, make sure the following Git settings are correct:
35
+ Before installing the Git Commit Notification script, make sure the following
36
+ Git settings are configured correctly.
37
+
34
38
  * git config hooks.mailinglist (email address of the recipient, probably your mailing list address)
35
- * git config hooks.emailprefix (application name, used in email subject)
39
+ * __Optional:__ git config hooks.emailprefix (application name, used in email subject)
36
40
 
37
- See /usr/local/share/git_commit_notifier/config/config.yml for overriding these settings
41
+ Install the gem:
38
42
 
39
- Run the automated installation script:
40
- <pre>sudo gem install git-commit-notifier</pre>
43
+ <pre>sudo gem install git-commit-notifier</pre>
41
44
 
42
- After you installed the gem, you need to configure your git repository. Add a File called "post-receive" to the __hooks__
43
- directory and add this content:
45
+ After you installed the gem, you need to configure your git repository. Add a file called
46
+ "post-receive" to the "hooks" directory of your git repository with this content:
44
47
 
45
48
  <pre>
46
- #!/bin/sh
47
- git-commit-notifier path_to_config.yml
49
+ #!/bin/sh
50
+ git-commit-notifier path_to_config.yml
48
51
  </pre>
52
+ (Don't forget to make that file executable.)
49
53
 
50
- And don't forget to make that file executable. An example for the config-file can be found in __/usr/local/share/git_commit_notifier/config/config.yml__ .
54
+ An example for the config file can be found in <a href="http://github.com/bodo/git-commit-notifier/blob/master/config/git-notifier-config.yml.sample">config/git-notifier-config.yml.sample</a>.
51
55
 
52
56
  h1. License
53
57
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.2.0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{git-commit-notifier}
8
- s.version = "0.1.0"
8
+ s.version = "0.2.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bodo Tasche"]
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
26
26
  "Rakefile",
27
27
  "VERSION",
28
28
  "bin/git-commit-notifier",
29
- "config/git-notifier-configl.yml.sample",
29
+ "config/git-notifier-config.yml.sample",
30
30
  "git-commit-notifier.gemspec",
31
31
  "lib/commit_hook.rb",
32
32
  "lib/diff_to_html.rb",
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 1
7
+ - 2
8
8
  - 0
9
- version: 0.1.0
9
+ version: 0.2.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Bodo Tasche
@@ -70,7 +70,7 @@ files:
70
70
  - Rakefile
71
71
  - VERSION
72
72
  - bin/git-commit-notifier
73
- - config/git-notifier-configl.yml.sample
73
+ - config/git-notifier-config.yml.sample
74
74
  - git-commit-notifier.gemspec
75
75
  - lib/commit_hook.rb
76
76
  - lib/diff_to_html.rb