mercurial-ruby 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.3
1
+ 0.7.4
@@ -6,7 +6,7 @@ require 'time'
6
6
  #
7
7
  module Mercurial
8
8
 
9
- VERSION = '0.7.3'
9
+ VERSION = '0.7.4'
10
10
 
11
11
  class Error < RuntimeError; end
12
12
 
@@ -19,7 +19,7 @@ module Mercurial
19
19
  # repository.branches.all
20
20
  #
21
21
  def all(cmd_options={})
22
- hg_to_array("branches -c", {}, cmd_options) do |line|
22
+ hg_to_array("branches -c --debug", {}, cmd_options) do |line|
23
23
  build(line)
24
24
  end
25
25
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mercurial-ruby}
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 = ["Ilya Sabanin"]
12
- s.date = %q{2012-03-14}
12
+ s.date = %q{2012-03-15}
13
13
  s.description = %q{Ruby API for Mercurial DVCS.}
14
14
  s.email = %q{ilya.sabanin@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -49,5 +49,10 @@ describe Mercurial::BranchFactory do
49
49
  branches.size.must_equal 5
50
50
  branches.map(&:name).sort.must_equal %w(old-branch new-branch branch-from-remote another-branch default).sort
51
51
  end
52
+
53
+ it "should find branch's full hash_id" do
54
+ branch = @repository.branches.all.first
55
+ branch.hash_id.must_equal 'e47455b9a2383085b400d649af4360b943c6d3cf'
56
+ end
52
57
 
53
58
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mercurial-ruby
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 3
10
- version: 0.7.3
9
+ - 4
10
+ version: 0.7.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ilya Sabanin
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-14 00:00:00 -04:00
18
+ date: 2012-03-15 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency