mynewsdesk-git-pair 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile.lock +15 -12
- data/features/adding_an_author.feature +6 -0
- data/features/step_definitions/config_steps.rb +4 -0
- data/lib/git-pair/config.rb +1 -1
- data/lib/git-pair/version.rb +1 -1
- metadata +24 -20
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: fb59992aec6743e130c8c76da01b20ad48fe45ba
|
4
|
+
data.tar.gz: a796f61de0d7e3d0c09d7483c607b53ae4234cc8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d7fa3c38d9407fd68c217a8a7285b5dc3a51f583641b8bb409e5c060ecae2e585eb4794e99a7af3ec8fd11906cabac12a1f964c2173614b083147f91d33bd052
|
7
|
+
data.tar.gz: ceae12fab2e7902c8fb28f1333e7576f26952db9d7f7ec06c51a2a8de86f95ef2f83859e6845e59fd351f90b2e884fff962e092fa63e6bf910ad83f14617f58a
|
data/Gemfile.lock
CHANGED
@@ -1,22 +1,23 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mynewsdesk-git-pair (0.3.
|
4
|
+
mynewsdesk-git-pair (0.3.1)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: http://rubygems.org/
|
8
8
|
specs:
|
9
|
-
builder (3.
|
10
|
-
cucumber (1.
|
9
|
+
builder (3.2.2)
|
10
|
+
cucumber (1.3.20)
|
11
11
|
builder (>= 2.1.2)
|
12
|
-
diff-lcs (>= 1.1.
|
13
|
-
gherkin (~> 2.
|
14
|
-
|
15
|
-
|
16
|
-
diff-lcs (1.1.
|
17
|
-
gherkin (2.
|
18
|
-
|
19
|
-
|
12
|
+
diff-lcs (>= 1.1.3)
|
13
|
+
gherkin (~> 2.12)
|
14
|
+
multi_json (>= 1.7.5, < 2.0)
|
15
|
+
multi_test (>= 0.1.2)
|
16
|
+
diff-lcs (1.1.3)
|
17
|
+
gherkin (2.12.2)
|
18
|
+
multi_json (~> 1.3)
|
19
|
+
multi_json (1.11.2)
|
20
|
+
multi_test (0.1.2)
|
20
21
|
rspec (2.6.0)
|
21
22
|
rspec-core (~> 2.6.0)
|
22
23
|
rspec-expectations (~> 2.6.0)
|
@@ -25,7 +26,6 @@ GEM
|
|
25
26
|
rspec-expectations (2.6.0)
|
26
27
|
diff-lcs (~> 1.1.2)
|
27
28
|
rspec-mocks (2.6.0)
|
28
|
-
term-ansicolor (1.0.6)
|
29
29
|
|
30
30
|
PLATFORMS
|
31
31
|
ruby
|
@@ -34,3 +34,6 @@ DEPENDENCIES
|
|
34
34
|
cucumber (~> 1.0)
|
35
35
|
mynewsdesk-git-pair!
|
36
36
|
rspec (~> 2.6.0)
|
37
|
+
|
38
|
+
BUNDLED WITH
|
39
|
+
1.10.6
|
@@ -25,3 +25,9 @@ Feature: Adding an author
|
|
25
25
|
And I add the author "Bob Dole"
|
26
26
|
And I add the author "Jimmy <asdf"
|
27
27
|
Then the config file should have no authors
|
28
|
+
|
29
|
+
Scenario: manually adding an author to the local git configuration
|
30
|
+
Given my local Git configuration contains the author "Linus Torvalds <linus@example.org>"
|
31
|
+
Then `git pair` should display "Linus Torvalds" in its author list
|
32
|
+
And the gitconfig should include "Linus Torvalds" in its author list only once
|
33
|
+
And the gitconfig should include "linus@example.org" as the email of "Linus Torvalds"
|
@@ -2,6 +2,10 @@ Given /^I have added the author "([^\"]*)"$/ do |name_and_email|
|
|
2
2
|
When %(I add the author "#{name_and_email}")
|
3
3
|
end
|
4
4
|
|
5
|
+
Given /^my local Git configuration contains the author "([^\"]*)"$/ do |name_and_email|
|
6
|
+
git_config "--local --add git-pair.authors \"#{name_and_email}\""
|
7
|
+
end
|
8
|
+
|
5
9
|
Given /^my global Git configuration is setup with user "([^\"]*)"$/ do |name|
|
6
10
|
git_config "--global user.name \"#{name}\""
|
7
11
|
end
|
data/lib/git-pair/config.rb
CHANGED
data/lib/git-pair/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mynewsdesk-git-pair
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
5
|
-
prerelease:
|
4
|
+
version: 0.3.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Chris Kampmeier
|
@@ -13,30 +12,36 @@ authors:
|
|
13
12
|
autorequire:
|
14
13
|
bindir: bin
|
15
14
|
cert_chain: []
|
16
|
-
date:
|
15
|
+
date: 2015-11-24 00:00:00.000000000 Z
|
17
16
|
dependencies:
|
18
17
|
- !ruby/object:Gem::Dependency
|
19
18
|
name: cucumber
|
20
|
-
requirement:
|
21
|
-
none: false
|
19
|
+
requirement: !ruby/object:Gem::Requirement
|
22
20
|
requirements:
|
23
|
-
- - ~>
|
21
|
+
- - "~>"
|
24
22
|
- !ruby/object:Gem::Version
|
25
23
|
version: '1.0'
|
26
24
|
type: :development
|
27
25
|
prerelease: false
|
28
|
-
version_requirements:
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
requirements:
|
28
|
+
- - "~>"
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '1.0'
|
29
31
|
- !ruby/object:Gem::Dependency
|
30
32
|
name: rspec
|
31
|
-
requirement:
|
32
|
-
none: false
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
33
34
|
requirements:
|
34
|
-
- - ~>
|
35
|
+
- - "~>"
|
35
36
|
- !ruby/object:Gem::Version
|
36
37
|
version: 2.6.0
|
37
38
|
type: :development
|
38
39
|
prerelease: false
|
39
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - "~>"
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 2.6.0
|
40
45
|
description: A git porcelain for pair programming. Changes git-config's user.name
|
41
46
|
and user.email settings so you can commit as more than one author.
|
42
47
|
email: dev@mynewsdesk.com
|
@@ -45,9 +50,9 @@ executables:
|
|
45
50
|
extensions: []
|
46
51
|
extra_rdoc_files: []
|
47
52
|
files:
|
48
|
-
- .autotest
|
49
|
-
- .gitignore
|
50
|
-
- .rvmrc
|
53
|
+
- ".autotest"
|
54
|
+
- ".gitignore"
|
55
|
+
- ".rvmrc"
|
51
56
|
- Gemfile
|
52
57
|
- Gemfile.lock
|
53
58
|
- LICENSE
|
@@ -71,27 +76,26 @@ files:
|
|
71
76
|
- mynewsdesk-git-pair.gemspec
|
72
77
|
homepage: http://github.com/mynewsdesk/git-pair
|
73
78
|
licenses: []
|
79
|
+
metadata: {}
|
74
80
|
post_install_message:
|
75
81
|
rdoc_options: []
|
76
82
|
require_paths:
|
77
83
|
- lib
|
78
84
|
required_ruby_version: !ruby/object:Gem::Requirement
|
79
|
-
none: false
|
80
85
|
requirements:
|
81
|
-
- -
|
86
|
+
- - ">="
|
82
87
|
- !ruby/object:Gem::Version
|
83
88
|
version: '0'
|
84
89
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
86
90
|
requirements:
|
87
|
-
- -
|
91
|
+
- - ">="
|
88
92
|
- !ruby/object:Gem::Version
|
89
93
|
version: '0'
|
90
94
|
requirements: []
|
91
95
|
rubyforge_project: git-pair
|
92
|
-
rubygems_version:
|
96
|
+
rubygems_version: 2.4.5
|
93
97
|
signing_key:
|
94
|
-
specification_version:
|
98
|
+
specification_version: 4
|
95
99
|
summary: Configure git to commit as more than one author
|
96
100
|
test_files:
|
97
101
|
- features/adding_an_author.feature
|