mynewsdesk-git-pair 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -9,7 +9,7 @@ Install the gem:
9
9
 
10
10
  gem install edgecase-git-pair
11
11
 
12
- And here's how to use it!
12
+ And here's how to use it!
13
13
 
14
14
  $ git pair
15
15
 
@@ -20,6 +20,13 @@ And here's how to use it!
20
20
  -a, --add AUTHOR Add an author. Format: "Author Name <author@example.com>"
21
21
  -r, --remove NAME Remove an author. Use the full name.
22
22
  -d, --reset Reset current author to default (global) config
23
+ --pattern PATTERN Set email pattern. Example: "dev+%name+%name@%domain"
24
+ %name - First name
25
+ %last - Last name
26
+ %abbr - Abbreviation
27
+ %domain - Use domain from global config
28
+ --remove-pattern Reset the current email pattern to default.
29
+
23
30
 
24
31
  Switching authors:
25
32
  git pair aa [bb] Where AA and BB are any abbreviation of an
@@ -34,17 +41,21 @@ And here's how to use it!
34
41
 
35
42
  ## How does it work?
36
43
 
37
- The list of authors is maintained in the global git configuration file.
44
+ The list of authors is maintained in the global git configuration file.
38
45
  The current author is set in the git configuration local to the project.
39
46
  The email address for a pair is generated using the default email address
40
47
  from the global configuration along with the developer abbreviations.
41
48
 
42
49
  ## About this version
43
50
 
44
- This was forked from http://github.com/chrisk/git-pair. Many thanks to
45
- Chris Kampmeier for the original version. Our version added the --reset
46
- option, modified how email addresses are handled, and refactored much of
47
- the code.
51
+ This was forked from http://github.com/edgecase/git-pair, which its turn
52
+ was forked from http://github.com/chrisk/git-pair. Many thanks to
53
+ Chris Kampmeier for the original version. Jon Distad and Ehren Murdick's
54
+ version added the --reset option and did a great job refactoring the code.
55
+
56
+ We updated the gem to depend on Bundler rather than Jeweler and added
57
+ the option to configure how the pair's email address is generated since
58
+ the hardcoded one didn't adopt to the one we got by using Hitch.
48
59
 
49
60
  ## License
50
61
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
@@ -1,5 +1,5 @@
1
1
  module Git
2
2
  module Pair
3
- VERSION = "0.2.3"
3
+ VERSION = "0.2.4"
4
4
  end
5
5
  end
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
6
6
  s.name = "mynewsdesk-git-pair"
7
7
  s.version = Git::Pair::VERSION
8
8
  s.platform = Gem::Platform::RUBY
9
- s.authors = ["Chris Kampmeier", "Adam McCrea", "Jon Distad", "Ingemar"]
9
+ s.authors = ["Chris Kampmeier", "Adam McCrea", "Jon Distad", "ingemar"]
10
10
  s.email = "dev@mynewsdesk.com"
11
11
  s.homepage = "http://github.com/mynewsdesk/git-pair"
12
12
  s.summary = "Configure git to commit as more than one author"
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mynewsdesk-git-pair
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 0.2.3
9
+ - 4
10
+ version: 0.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Kampmeier
14
14
  - Adam McCrea
15
15
  - Jon Distad
16
- - Ingemar
16
+ - ingemar
17
17
  autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []