From a2ca0da9674eef380562340007e46e076a578f59 Mon Sep 17 00:00:00 2001 From: Jaiden Mispy <^_^@mispy.me> Date: Sat, 6 Dec 2014 22:37:10 +1100 Subject: [PATCH] 3.0.3 --- lib/twitter_ebooks/bot.rb | 2 +- lib/twitter_ebooks/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/twitter_ebooks/bot.rb b/lib/twitter_ebooks/bot.rb index 5efdc46..b92938a 100644 --- a/lib/twitter_ebooks/bot.rb +++ b/lib/twitter_ebooks/bot.rb @@ -70,7 +70,7 @@ module Ebooks # - The tweet mentions list contains our username # - The tweet is not being retweeted by somebody else # - Or soft-retweeted by somebody else - @mentions.map(&:downcase).include?(@bot.username.downcase) && !@tweet.retweeted_status? && !@tweet.text.start_with?('RT ') && !@tweet.text.match(/([`'‘’"“”]|RT|via|by|from)\s*@/i) + @mentions.map(&:downcase).include?(@bot.username.downcase) && !@tweet.retweeted_status? && !@tweet.text.match(/([`'‘’"“”]|RT|via|by|from)\s*@/i) end # @param bot [Ebooks::Bot] diff --git a/lib/twitter_ebooks/version.rb b/lib/twitter_ebooks/version.rb index 46b44d9..c1a9e1c 100644 --- a/lib/twitter_ebooks/version.rb +++ b/lib/twitter_ebooks/version.rb @@ -1,3 +1,3 @@ module Ebooks - VERSION = "3.0.2" + VERSION = "3.0.3" end