Sha256: 72dece099e4781563146c1e4fd71eadb82d7693434c4fcd7e01c3d798d9b7cc6

Contents?: true

Size: 276 Bytes

Versions: 65

Compression:

Stored size: 276 Bytes

Contents

module Git
  class Author
    attr_accessor :name, :email, :date
    
    def initialize(author_string)
      if m = /(.*?) <(.*?)> (\d+) (.*)/.match(author_string)
        @name = m[1]
        @email = m[2]
        @date = Time.at(m[3].to_i)
      end
    end
    
  end
end

Version data entries

65 entries across 65 versions & 12 rubygems

Version Path
git-2.3.3 lib/git/author.rb
git-2.3.2 lib/git/author.rb
git-2.3.1 lib/git/author.rb
git-2.3.0 lib/git/author.rb
git-2.2.0 lib/git/author.rb
git-2.1.1 lib/git/author.rb
git-2.1.0 lib/git/author.rb
git-2.0.0.pre3 lib/git/author.rb
git-2.0.0.pre2 lib/git/author.rb
git-2.0.0.pre1 lib/git/author.rb
git-1.19.1 lib/git/author.rb
git-1.19.0 lib/git/author.rb
git-1.18.0 lib/git/author.rb
git-1.17.2 lib/git/author.rb
git-1.17.1 lib/git/author.rb
git-1.17.0 lib/git/author.rb
git-1.16.0 lib/git/author.rb
git-1.15.0 lib/git/author.rb
git-1.14.0 lib/git/author.rb
git-1.13.2 lib/git/author.rb