git_checker 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module GitChecker
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
data/lib/repository.rb CHANGED
@@ -34,7 +34,7 @@ class Repository
34
34
  end
35
35
 
36
36
  def branch_name list, repo
37
- list.map { |b| b.sub "#{repo}/", '' }
37
+ list.map { |b| b =~ /^#{repo}\// ? b.sub(/^#{repo}\//, '') : nil }.compact
38
38
  end
39
39
 
40
40
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 5
9
- version: 0.0.5
8
+ - 6
9
+ version: 0.0.6
10
10
  platform: ruby
11
11
  authors:
12
12
  - leizzer