moobooks 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/moobooks/plush.rb +2 -2
- data/lib/moobooks/version.rb +1 -1
- 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: fbaedbeade74cc4887c98784d9e199104acbd2d22e674043f8e35f189b45f56c
|
4
|
+
data.tar.gz: d089fd3894a286f29bb629999a7b5975e48caff568f995ae18bc64cd4a6cdb5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 118e28ed04d96f125fb1cd70207dc5912251c01c6dc4b35d29f3f46fdb9f5b2b0603fe68787918fd3ba0719f379f5c54c81a0e46883c9527b867353ebbda364e
|
7
|
+
data.tar.gz: d5d53ad1a91d590db8f277e0bdce583c3b8879abc14552ee4b09b8e1f8bce518a3fd5b64d928a998180117527ff8a9fba646a468a399fe8ce35d835331b7b8a1
|
data/lib/moobooks/plush.rb
CHANGED
@@ -67,7 +67,7 @@ module Moobooks
|
|
67
67
|
# Method to post statuses to all available social platforms
|
68
68
|
def post_status!
|
69
69
|
@status = 'trap'
|
70
|
-
@status = @model.update(280) while @status =~ /#{@bad_words.join('|')}/
|
70
|
+
@status = @model.update(280) while @status =~ /#{@bad_words.join('|')}/i
|
71
71
|
@twitter_client&.update(@status)
|
72
72
|
@status
|
73
73
|
end
|
@@ -80,7 +80,7 @@ module Moobooks
|
|
80
80
|
def reply!(status)
|
81
81
|
return if replied?(status)
|
82
82
|
@status = 'trap'
|
83
|
-
while @status =~ /#{@bad_words.join('|')}/
|
83
|
+
while @status =~ /#{@bad_words.join('|')}/i
|
84
84
|
@status = @model.reply(status.text, 200)
|
85
85
|
end
|
86
86
|
@twitter_client&.update("@#{status.user.screen_name} #{@status}",
|
data/lib/moobooks/version.rb
CHANGED