rugged v0.24.0b14 发布,Git 的 Ruby 开发包

oschina
 oschina
发布于 2016年03月03日
收藏 1

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#ident and Repository#ident= to read and set the identity that is used when writing reflog entries.

    Arthur Schreiber

  • Rugged::Remote instances are now immutable.

    Arthur Schreiber

    • Remote#clear_refspecs and Remote#save were removed without replacement.

    • Remote#url= and Remote#push_url= were removed and replaced byRemoteCollection#set_url and RemoteCollection#set_push_url.

    • Remote#add_push and Remote#add_fetch were removed and replaced byRemoteCollection#add_push_refspec andRemoteCollection#add_fetch_refspec.

  • Update bundled libgit2 to 9042693e283f65d9afb4906ed693a862a250664b.

    Arthur Schreiber

  • Updated the API of reflog modifying methods.

    This removes both the optional :message as well as :signature options from the following methods:

    Additionally, the :signature option from Remote#fetch was 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#rename

    • ReferenceCollection#create, ReferenceCollection#rename

    • Remote#push

    • Repository#reset

  • The :safe_create flag was removed from Repository#checkout_tree.

    You can use :create in combination with :recreate_missing instead.

    Arthur Schreiber


下载地址:https://github.com/libgit2/rugged/archive/master.zip

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
转载请注明:文章转载自 OSCHINA 社区 [http://www.oschina.net]
本文标题:rugged v0.24.0b14 发布,Git 的 Ruby 开发包
加载中
返回顶部
顶部