tweetomator 1.1.9 → 1.2.0

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
  SHA1:
3
- metadata.gz: b5d25f56d5ff4f9bcf039eef79b1e3f305e56924
4
- data.tar.gz: d228c5535d82e0cde622b2a41ac132a49bead8d4
3
+ metadata.gz: 114f6bd19b94db489aaa612d8ec3cdc1da4e353b
4
+ data.tar.gz: 8bd67db55debc3e28a560bf7941dfdb9469784ba
5
5
  SHA512:
6
- metadata.gz: f057d70b33b1405e7e66aebe093454c998bf54adfb0376305526e46abbcc4a7bccf17250b4999da9b7f17dd1eb9f2f20bfea0acf6e51cd5c04dc6c5c117a9627
7
- data.tar.gz: e42afa09452a2676a96d180756c69b0a32a6bd576b91bd3aa01ba82b2fd8c6acb04a4156a962122269fb7051fe8912b1b3c6d52d8223865869db4a2d5f48b63e
6
+ metadata.gz: 9f9caaaf2d9ba4efa52413a44b0008d0edc7b4a489c26322bcededb7e53806442ede364194b04ab28fb52c00ab229b23f12f84cd9a631f3ebb7c59f77a37412b
7
+ data.tar.gz: 1d951d3b7f1d5e8a4a4b57087ff66f7cad6f4340046fa0342d20fddea147300873fcbb3ab83431c714d977f52711eeea9ed4748e223230b9e403c46d85e6bf12
data/README.md CHANGED
@@ -1,7 +1,3 @@
1
- # Tweetomator
2
-
3
- Investigating the principal curvatures of the twittersphere.
4
-
5
1
  ## Installation
6
2
 
7
3
  Add this line to your application's Gemfile:
@@ -26,8 +22,6 @@ Or install it yourself as:
26
22
 
27
23
  Create a new instance of each config class in config/config.rb
28
24
 
29
- (name/type)
30
-
31
25
  **TwitterConfig**
32
26
 
33
27
  - consumer_key / String
@@ -50,7 +44,8 @@ Create a new instance of each config class in config/config.rb
50
44
  - blacklist / Array<String>
51
45
  - stop_words / Array<String>
52
46
  - delay_in_seconds / int
53
-
47
+ - composer_type / String (Class name of a lib/composers/Composer derivative e.g. 'MarkovComposer')
48
+ - input_text_file / String (location of the markov chain's input text)
54
49
 
55
50
  Create a new Tweetomator
56
51
 
@@ -57,7 +57,7 @@ class MarkovComposer < Composer
57
57
  def clean_up(text)
58
58
  text = text.strip.capitalize
59
59
  if text[text.length-1].match('[A-Za-z]') != nil && text.length < @max_length
60
- text << '.'
60
+ text << %w(. ! ? . .).sample
61
61
  end
62
62
  text
63
63
  end
@@ -1,3 +1,3 @@
1
1
  class Tweetomator
2
- VERSION = '1.1.9'
2
+ VERSION = '1.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tweetomator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.9
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nat Young
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-28 00:00:00.000000000 Z
11
+ date: 2015-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler