git_tools 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0bee5df76980fc88244520c21d3321e15ce9dd8b
4
- data.tar.gz: 31eac7a1ba52a3ff0f46306e6b85ff7ce814ef67
3
+ metadata.gz: 20d0bb4e3f40cc05a6d2f684e06f69e3e4160af7
4
+ data.tar.gz: 249cc375da442f650c784832357a3d0465460d24
5
5
  SHA512:
6
- metadata.gz: 64d1b2d863d0038e89dd5f1fd5aa371b4b824184fe5a8aac4c4b1f8274e44195aef5eb4d99ca1b0bf5dc1d8417fcf7765d444578260c463872b6b17f2194465f
7
- data.tar.gz: 457ce5eea993b94b32caf677c36d2937e5af6295c81c48aab31203890181a4ab643e7c11483ac4f30ed221e29ccef3643f7593c3cdfe267f0df1a7e845de7cbe
6
+ metadata.gz: f39a3b7b1b6f0e3bb8324719ceedc7185f38cb1837fcaf4b4eef09bfc9c240f4874e57f16655eba80be7c0b2945e4bd9b8d0ea08172804f57244f4e620d07275
7
+ data.tar.gz: a4324f73f44c2757e185752c337e50a58eddc44ee6d11c94ef378c520af10dc17866ef175cd738180f919c531e72e0e43478dfa0f8e2da212131ee8faed2cfbb
data/git_tools.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "git_tools"
6
- s.version = '0.2.1'
6
+ s.version = '0.2.2'
7
7
  s.authors = ["Birkir A. Barkarson"]
8
8
  s.email = ["birkirb@stoicviking.net"]
9
9
  s.licenses = ['MIT']
@@ -106,7 +106,7 @@ module GitTools
106
106
  end
107
107
 
108
108
  def get_remote_head
109
- head = (`git branch -r | grep #{remote}/HEAD`).sub(/#{remote}\/HEAD -> #{remote}\//, '').strip
109
+ head = (`git branch -r | grep /HEAD`).sub(/\w+\/HEAD -> \w+\//, '').strip
110
110
  head.empty? ? nil : head
111
111
  end
112
112
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git_tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Birkir A. Barkarson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-30 00:00:00.000000000 Z
11
+ date: 2014-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docopt