francois-piston 2.0.4 → 2.0.5

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.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 4
3
- :major: 2
4
2
  :minor: 0
3
+ :patch: 5
4
+ :major: 2
@@ -51,7 +51,7 @@ module Piston
51
51
  Dir.chdir(@dir) do
52
52
  target = commit
53
53
  target = "origin/#{target}" unless target.include?("/") || target =~ /^[a-f\d]+$/i
54
- git(:checkout, "-b", branch_name, commit)
54
+ git(:checkout, "-b", branch_name, target)
55
55
  response = git(:log, "-n", "1")
56
56
  @sha1 = $1 if response =~ /commit\s+([a-f\d]{40})/i
57
57
  end
data/piston.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{piston}
5
- s.version = "2.0.4"
5
+ s.version = "2.0.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Francois Beausoleil"]
9
- s.date = %q{2009-07-20}
9
+ s.date = %q{2009-07-21}
10
10
  s.default_executable = %q{piston}
11
11
  s.description = %q{Piston makes it easy to merge vendor branches into your own repository, without worrying about which revisions were grabbed or not. Piston will also keep your local changes in addition to the remote changes.}
12
12
  s.email = %q{francois@teksol.info}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: francois-piston
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francois Beausoleil
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-20 00:00:00 -07:00
12
+ date: 2009-07-21 00:00:00 -07:00
13
13
  default_executable: piston
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency