twitter_ebooks 2.0.6 → 2.0.7

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.
@@ -71,7 +71,7 @@ module Ebooks
71
71
  markov ||= MarkovModel.build(@sentences)
72
72
  tweet = ""
73
73
 
74
- while (tweet = markov.generate(@sentences)) do
74
+ while (tweet = markov.generate) do
75
75
  next if tweet.length > limit
76
76
  next if NLP.unmatched_enclosers?(tweet)
77
77
  break if tweet.length > limit*0.4 || rand > 0.8
@@ -1,3 +1,3 @@
1
1
  module Ebooks
2
- VERSION = "2.0.6"
2
+ VERSION = "2.0.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter_ebooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.6
4
+ version: 2.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: