git-duo 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/git/duo/pair.rb +3 -1
- data/lib/git/duo/version.rb +1 -1
- data/lib/git/duo/wrapper.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb0434e12df6e437095b940a26cf3d5ed32bd590
|
4
|
+
data.tar.gz: 7d7b26077eaab3e987cc83d73a8f311bbc23d9d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 921f32561984695249e5d1dadcff0b2dd6a48df29771463b87536bc222dd160604a76cacf32a68426a6618893b857cbe3332cfa914dce2819145b913c1c8d6b7
|
7
|
+
data.tar.gz: 35428cf7a629580a945cc4880cdf6df02d144fcb463c15966044a6081d3cd73dbc9504e6c3e5c0c616a42f53327e5560e6b06dbe015c51bd6224abdd3f847639
|
data/lib/git/duo/pair.rb
CHANGED
@@ -8,7 +8,9 @@ module Git
|
|
8
8
|
|
9
9
|
def initialize authors, opts = {}
|
10
10
|
@authors = authors.sort_by {|author| author.key }
|
11
|
-
@wrapper = opts.fetch(:wrapper) {
|
11
|
+
@wrapper = opts.fetch(:wrapper) {
|
12
|
+
Git::Duo::Wrapper.new(Git::Duo::Wrapper.top_level + '/.git')
|
13
|
+
}
|
12
14
|
end
|
13
15
|
|
14
16
|
def name
|
data/lib/git/duo/version.rb
CHANGED
data/lib/git/duo/wrapper.rb
CHANGED
@@ -4,7 +4,7 @@ module Git
|
|
4
4
|
PIPE_STDOUT_TO_STDERR = '2>&1'
|
5
5
|
|
6
6
|
def self.top_level
|
7
|
-
directory = `git rev-parse --show-toplevel`.strip
|
7
|
+
directory = `git rev-parse --show-toplevel #{PIPE_STDOUT_TO_STDERR}`.strip
|
8
8
|
raise NotAGitRepository unless $?.exitstatus.zero?
|
9
9
|
directory
|
10
10
|
end
|