edward-auto-emo 0.1.0 → 1.0.0

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.
@@ -2,8 +2,46 @@
2
2
 
3
3
  Sometimes, you just need a whole lot of generated emo poetry.
4
4
 
5
- Poems were filched from across the web. No more than a single line from each appears in any generated stanza. So, the marshalled poems are definitely not copyrighted by me, but everything else is.
5
+ Said generated poetry emerges from scraping a ton of some choice
6
+ material and naively randomly sampling lines, and banging it
7
+ together.
8
+
9
+ No more than a single line from any original poem appears in any
10
+ generated stanza.
11
+
12
+ == Usage
13
+
14
+ $ auto-emo [-n poems]
15
+ -n, --number N Generate N poems (default is 3)
16
+
17
+ == Example output
18
+
19
+ $ auto-emo
20
+
21
+ And You Weren't Real...
22
+ the heavens
23
+ Scenic mountain range
24
+ paint me blood red.
25
+ Giving me useless advice, I will never need.
26
+ You are all of these,
27
+
28
+
29
+ When you've had more than what you deserve
30
+ Magma explosions,
31
+ I miss the funny feeling
32
+ A virgin with a reputation
33
+ I'm tired of hurting,
34
+ It's a feeling that only true Lady Sunsets can bring.
35
+
36
+
37
+ Watch it sting
38
+ We'll take it for the road.
39
+ My breath i did hold
40
+ Ive thought over
41
+ wondering eye.I know in my heart
6
42
 
7
43
  == Copyright
8
44
 
45
+ The pilfered poems are definitely not copyrighted by me, but everything else is.
46
+
9
47
  Copyright (c) 2009 Edward Ocampo-Gooding. See LICENSE for details.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 1.0.0
@@ -1,12 +1,12 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{auto-emo}
3
- s.version = "0.1.0"
3
+ s.version = "1.0.0"
4
4
 
5
5
  s.specification_version = 2 if s.respond_to? :specification_version=
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Edward Ocampo-Gooding"]
9
- s.date = %q{2009-06-25}
9
+ s.date = %q{2009-06-26}
10
10
  s.default_executable = %q{auto-emo}
11
11
  s.email = %q{edward@edwardog.net}
12
12
  s.executables = ["auto-emo"]
@@ -10,7 +10,7 @@ options = {:number => 3}
10
10
  ARGV.options do |opts|
11
11
  opts.banner = "Usage: #{File.basename($PROGRAM_NAME)} [-n poems]"
12
12
 
13
- opts.on("-n", "--number N", Integer, "Generate N poems") do |n|
13
+ opts.on("-n", "--number N", Integer, "Generate N poems (default is #{options[:number]})") do |n|
14
14
  options[:number] = n
15
15
  end
16
16
 
@@ -1,7 +1,7 @@
1
1
  require 'test_helper'
2
2
 
3
- class AutoEmoTest < Test::Unit::TestCase
4
- should "probably rename this file and start testing for real" do
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
3
+ class AutoEmoPoemTest < Test::Unit::TestCase
4
+ def test_generation
5
+ assert !AutoEmo::Poem.generate.empty?
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edward-auto-emo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edward Ocampo-Gooding
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-25 00:00:00 -07:00
12
+ date: 2009-06-26 00:00:00 -07:00
13
13
  default_executable: auto-emo
14
14
  dependencies: []
15
15