Skip to content

Commit

Permalink
tags api now resty
Browse files Browse the repository at this point in the history
  • Loading branch information
schacon authored and rtomayko committed Jun 22, 2011
1 parent f38eecb commit f19c39b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/grit/git-ruby/git_object.rb
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def raw_log(sha)
end

class Tag < GitObject
attr_accessor :object, :tag, :tagger, :message
attr_accessor :object, :tag, :tagger, :message, :object_type
attr_writer :type

def self.from_raw(rawobject, repository=nil)
Expand Down Expand Up @@ -332,6 +332,7 @@ def self.from_raw(rawobject, repository=nil)
def initialize(object, type, tag, tagger, message, repository=nil)
@object = object
@type = type
@object_type = type
@tag = tag
@tagger = tagger
@repository = repository
Expand Down

0 comments on commit f19c39b

Please sign in to comment.