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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec649a8979a8422b3fbfa46fcb639ca82aaed170263d080c5e82d7dd43f60703
4
- data.tar.gz: cd457a00369a715c746be4575ae6436fa734174670d2e3ba7a4c54a62fed65e4
3
+ metadata.gz: 0e1f588a0dcf435d86bd1f2e4f950c57f1f2600fa0ab6660316224a29adcde36
4
+ data.tar.gz: 93899c8c7b8392d2dc65e0ac1244e2a6dcdac02c58ac905a09b5657f8afcba80
5
5
  SHA512:
6
- metadata.gz: a440014d56613dfd0c5c077a8e6364113bb14c06d5f11eaf105d178a8c57637caba2fb8cc607b45794ff9d2c995eb771950d5ad671b7bf4a21f7681bd755f1d1
7
- data.tar.gz: b62f53027f99c04c57ca3cb44ca8b5b476d78ea694693044bbfbe33052d20c5294fc66589c3786b7d8c2dee11b1619869988ca8e384731a9dd472ee39ef0625c
6
+ metadata.gz: a05c642608f4ec67ea96fe831b6922d4f719ede0fda736db97f6d6d706d507041e57baa29b85471a1c03525bbd9275754509917aec9ab1464b0c0ed3f1468242
7
+ data.tar.gz: b950984cb58f124689eb51e8b3555ba6c616327636f0c422c746a53a08e4d2b0412c37b5b0143d26fd3155b2737ca03b9437f038c7cd8a5c16668011829f15f1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- twitter_meme (0.1.7)
4
+ twitter_meme (0.1.8)
5
5
  rest-client (~> 2.0.0)
6
6
  twitter (~> 6.0.0)
7
7
 
@@ -1,3 +1,3 @@
1
1
  module TwitterMeme
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
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))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter_meme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Frye