lib/travis/client/commit.rb in travis-1.6.8.travis.447.6 vs lib/travis/client/commit.rb in travis-1.6.8.travis.449.6
- old
+ new
@@ -1,10 +1,12 @@
require 'travis/client'
module Travis
module Client
class Commit < Entity
+ include NotLoadable
+
# @!parse attr_reader :sha, :branch, :message, :committed_at, :author_name, :author_email, :committer_name, :committer_email, :compare_url
attributes :sha, :branch, :message, :committed_at, :author_name, :author_email, :committer_name, :committer_email, :compare_url
time :committed_at
one :commit
@@ -18,17 +20,9 @@
sha.to_s[0..6]
end
def inspect_info
short_sha + " " + subject.inspect
- end
-
- def missing?(attribute)
- false
- end
-
- def complete?
- true
end
end
end
end