rugged v0.24.0b14 發布,Git 的 Ruby 開發包
Rugged 是一個 Git 的 Ruby 開發包,使用 libgit2 API 。更新記錄如下:
Add
Rugged::Repository#checkout_index.This allows to perform checkout from a given GIT index. It might be handy in case of manual merge conflicts resolution with user intervention.
Dmytro Milinevskyy
Add accessors for the Repository ident.
Added
Repository#identandRepository#ident=to read and set the identity that is used when writing reflog entries.Arthur Schreiber
Rugged::Remoteinstances are now immutable.Arthur Schreiber
Remote#clear_refspecsandRemote#savewere removed without replacement.Remote#url=andRemote#push_url=were removed and replaced byRemoteCollection#set_urlandRemoteCollection#set_push_url.Remote#add_pushandRemote#add_fetchwere removed and replaced byRemoteCollection#add_push_refspecandRemoteCollection#add_fetch_refspec.Update bundled libgit2 to 9042693e283f65d9afb4906ed693a862a250664b.
Arthur Schreiber
Updated the API of reflog modifying methods.
This removes both the optional
:messageas well as:signatureoptions from the following methods:Additionally, the
:signatureoption fromRemote#fetchwas removed as well.The reflog message is now automatically generated and committed with the the identity that is set in the Repository's configuration.
Arthur Schreiber
BranchCollection#create,BranchCollection#move,BranchCollection#renameReferenceCollection#create,ReferenceCollection#renameRemote#pushRepository#resetThe
:safe_createflag was removed fromRepository#checkout_tree.You can use
:createin combination with:recreate_missinginstead.Arthur Schreiber
下載地址:https://github.com/libgit2/rugged/archive/master.zip
來自: http://www.oschina.net//news/71184/rugged-v0-24