Soph-integrity-twitter 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/integrity-twitter.gemspec +1 -1
- data/lib/notifier/integrity_twitter.rb +4 -3
- metadata +1 -1
data/integrity-twitter.gemspec
CHANGED
@@ -11,10 +11,11 @@ module Integrity
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def deliver!
|
14
|
-
|
15
|
-
@tweet.
|
14
|
+
httpauth = Twitter::HTTPAuth.new(@config["email"], @config["pass"])
|
15
|
+
@tweet = Twitter::Base.new(httpauth)
|
16
|
+
@tweet.update("#{commit.project.name}: #{short_message} #{commit_url}")
|
16
17
|
end
|
17
|
-
|
18
|
+
|
18
19
|
end
|
19
20
|
end
|
20
21
|
end
|