bard 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/bard.gemspec +6 -7
  3. data/lib/bard/git.rb +1 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.3
1
+ 0.7.4
data/bard.gemspec CHANGED
@@ -1,15 +1,15 @@
1
1
  # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bard}
8
- s.version = "0.7.3"
8
+ s.version = "0.7.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Micah Geisel", "Nick Hogle"]
12
- s.date = %q{2009-12-23}
12
+ s.date = %q{2009-12-31}
13
13
  s.default_executable = %q{bard}
14
14
  s.description = %q{This immaculate work of engineering genius allows mere mortals to collaborate with beings of transcendent intelligence like Micah, Michael, and Nick.}
15
15
  s.email = %q{info@botandrose.com}
@@ -55,8 +55,8 @@ Gem::Specification.new do |s|
55
55
  s.rubygems_version = %q{1.3.5}
56
56
  s.summary = %q{Tools for collaborating with Bot and Rose Design.}
57
57
  s.test_files = [
58
- "spec/bard_spec.rb",
59
- "spec/spec_helper.rb"
58
+ "spec/spec_helper.rb",
59
+ "spec/bard_spec.rb"
60
60
  ]
61
61
 
62
62
  if s.respond_to? :specification_version then
@@ -93,4 +93,3 @@ Gem::Specification.new do |s|
93
93
  s.add_dependency(%q<term-ansicolor>, [">= 1.0.3"])
94
94
  end
95
95
  end
96
-
data/lib/bard/git.rb CHANGED
@@ -3,7 +3,7 @@ module BardGit
3
3
  def current_branch
4
4
  ref = `git symbolic-ref HEAD 2>&1`.chomp
5
5
  return false if ref =~ /^fatal:/
6
- ref.split('/').last # /refs/heads/master ... we want "master"
6
+ ref.sub(/refs\/heads\//, '') # refs/heads/master ... we want "master"
7
7
  end
8
8
 
9
9
  def fast_forward_merge?(root = "origin/integration", branch = "HEAD")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-12-23 00:00:00 -08:00
13
+ date: 2009-12-31 00:00:00 -08:00
14
14
  default_executable: bard
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -161,5 +161,5 @@ signing_key:
161
161
  specification_version: 3
162
162
  summary: Tools for collaborating with Bot and Rose Design.
163
163
  test_files:
164
- - spec/bard_spec.rb
165
164
  - spec/spec_helper.rb
165
+ - spec/bard_spec.rb