lib/travis/client/commit.rb in travis-1.2.3 vs lib/travis/client/commit.rb in travis-1.2.4
- old
+ new
@@ -9,10 +9,10 @@
one :commit
many :commits
def subject
- message.to_s.lines.first.strip
+ message.to_s.lines.first.to_s.strip
end
def short_sha
sha.to_s[0..6]
end