lib/prospectus/modules/github_hash.rb in prospectus-0.0.12 vs lib/prospectus/modules/github_hash.rb in prospectus-0.0.13

- old
+ new

@@ -4,10 +4,10 @@ # Pull state from the latest GitHub commit module GithubHash include Prospectus.helpers.find(:github_api) def load! - fail('No repo specified') unless @repo + raise('No repo specified') unless @repo @branch ||= 'master' @state.value = @long ? hash : hash.slice(0, 7) end private