Skip to content

Commit

Permalink
Merge pull request #582 from ethomson/release_024
Browse files Browse the repository at this point in the history
Release 0.24.0
  • Loading branch information
Vicent Marti committed Mar 4, 2016
2 parents a472961 + c2a5341 commit bbb2937
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rugged/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Rugged
Version = VERSION = '0.24.0b14'
Version = VERSION = '0.24.0'
end
7 changes: 7 additions & 0 deletions test/tree_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,13 @@ def test_treebuilder_add_nonexistent_fails
end
end

def test_treebuilder_add_submodules_always_succeeds
builder = Rugged::Tree::Builder.new(@repo, @repo.head.target.tree)
builder << { :type => :commit, :name => "submodule", :oid => "0000000000000000000000000000000000000000", :filemode => 0160000 }
newtree = builder.write
assert_equal "ce986db11f99880a0a087ba3220dba61e9afd918", newtree
end

def test_treebuilder_add_nonexistent_can_pass
begin
Rugged::Settings['strict_object_creation'] = false
Expand Down

0 comments on commit bbb2937

Please sign in to comment.