moobooks 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aaa9529fe1bfe59525e5d430f4a19a1c84a7dc3a46d01c061df8364b4fd91858
4
- data.tar.gz: 771da7e487722882357836263fa047370850ac54729263051e20a17c5e82d212
3
+ metadata.gz: fbaedbeade74cc4887c98784d9e199104acbd2d22e674043f8e35f189b45f56c
4
+ data.tar.gz: d089fd3894a286f29bb629999a7b5975e48caff568f995ae18bc64cd4a6cdb5e
5
5
  SHA512:
6
- metadata.gz: a5b31138a9cbc966fdb882e77d213a7a9573b69e616b45f71aff80d71b9166a32e0183a487d1e7bb1d624ad9bab3a90aa42a85c2224df84603b85d129bede54f
7
- data.tar.gz: 9bd25c6a54d4081d22ecd7094544c971b70ef865c4e46489e53a5f91a43f9124421ea0d87d1015c963b262443034ae1219b816f450c9965e9271f2361a7b521a
6
+ metadata.gz: 118e28ed04d96f125fb1cd70207dc5912251c01c6dc4b35d29f3f46fdb9f5b2b0603fe68787918fd3ba0719f379f5c54c81a0e46883c9527b867353ebbda364e
7
+ data.tar.gz: d5d53ad1a91d590db8f277e0bdce583c3b8879abc14552ee4b09b8e1f8bce518a3fd5b64d928a998180117527ff8a9fba646a468a399fe8ce35d835331b7b8a1
@@ -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}",
@@ -23,7 +23,7 @@
23
23
  module Moobooks
24
24
  MAJOR = 0
25
25
  MINOR = 3
26
- PATCH = 0
26
+ PATCH = 1
27
27
  NAME = 'moobooks'
28
28
  VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}"
29
29
  DESCRIPTION = 'A framework and CLI to create and manage ebook '\
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moobooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maxine Michalski