git-issue 0.8.6 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/git_issue/base.rb +3 -1
- data/lib/git_issue/version.rb +1 -1
- metadata +3 -3
data/lib/git_issue/base.rb
CHANGED
@@ -160,7 +160,9 @@ class GitIssue::Base
|
|
160
160
|
end
|
161
161
|
|
162
162
|
def current_branch
|
163
|
-
|
163
|
+
RUBY_PLATFORM.downcase =~ /mswin(?!ce)|mingw|bccwin|cygwin/ ?
|
164
|
+
%x(git branch -l 2> NUL | grep "*" | cut -d " " -f 2).strip :
|
165
|
+
%x(git branch -l 2> /dev/null | grep "*" | cut -d " " -f 2).strip
|
164
166
|
end
|
165
167
|
|
166
168
|
def guess_ticket
|
data/lib/git_issue/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git-issue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 49
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 8
|
9
|
-
-
|
10
|
-
version: 0.8.
|
9
|
+
- 7
|
10
|
+
version: 0.8.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tomohito Ozaki
|