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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{integrity-twitter}
5
- s.version = "1.0.1"
5
+ s.version = "1.0.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Chris Saylor"]
@@ -11,10 +11,11 @@ module Integrity
11
11
  end
12
12
 
13
13
  def deliver!
14
- @tweet = Twitter::Base.new(@config["email"], @config["pass"])
15
- @tweet.post(short_message)
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Soph-integrity-twitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Saylor