twitter_meme 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/twitter_meme/version.rb +1 -1
- data/lib/twitter_meme.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e1f588a0dcf435d86bd1f2e4f950c57f1f2600fa0ab6660316224a29adcde36
|
4
|
+
data.tar.gz: 93899c8c7b8392d2dc65e0ac1244e2a6dcdac02c58ac905a09b5657f8afcba80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a05c642608f4ec67ea96fe831b6922d4f719ede0fda736db97f6d6d706d507041e57baa29b85471a1c03525bbd9275754509917aec9ab1464b0c0ed3f1468242
|
7
|
+
data.tar.gz: b950984cb58f124689eb51e8b3555ba6c616327636f0c422c746a53a08e4d2b0412c37b5b0143d26fd3155b2737ca03b9437f038c7cd8a5c16668011829f15f1
|
data/Gemfile.lock
CHANGED
data/lib/twitter_meme/version.rb
CHANGED
data/lib/twitter_meme.rb
CHANGED
@@ -42,8 +42,6 @@ module TwitterMeme
|
|
42
42
|
tweets.reverse.each do |tweet|
|
43
43
|
puts 'Going to tweet!'
|
44
44
|
|
45
|
-
self.last_id = tweet.id
|
46
|
-
|
47
45
|
# use full_text here so we don't get a truncated twitter link
|
48
46
|
text0, text1 = Util.split_text(CGI.unescapeHTML(tweet.full_text))
|
49
47
|
next unless text0
|
@@ -64,6 +62,8 @@ module TwitterMeme
|
|
64
62
|
end
|
65
63
|
|
66
64
|
def send_tweet(tweet, meme_file)
|
65
|
+
self.last_id = tweet.id
|
66
|
+
|
67
67
|
print 'Tweeting to main account... '
|
68
68
|
# my_tweet = client.update_with_media(nil, File.new(meme_file))
|
69
69
|
my_tweet = client.update_with_media(CGI.unescapeHTML(tweet.text), File.new(meme_file))
|