wordsoup 0.1.2 → 0.1.3

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: 1c612134d77f14b21de17c0296bc617f1be44780
4
- data.tar.gz: 81227d0de72aa3e63399aa309d8a18b51dd96c0a
3
+ metadata.gz: 186721c4f5d63aa2e89be4ed62321bfb57cc5285
4
+ data.tar.gz: 42972e9839dad34163d873b5b3ccaab5ecb30ebd
5
5
  SHA512:
6
- metadata.gz: e22b84741d419d03e25dad4ad68aeb6bbd016064d9955d186561499aed9518febe9960d49f98f85543e0fece53c9bfc55e2543bdcd57bb07d793a4ac7dc8186a
7
- data.tar.gz: 7597e18c0d173b2dfb2ef85c28597951bc25aa1e2a902a8db61aef648c796da6359f9355b056207e13f64b46ecda2bcdcd0c22120a2e7fc10216acfe962cdc0d
6
+ metadata.gz: b8b1b3663040f6cf3f4eda8c0a6ee1e1f5c87f75df3876bb6bfe8e70de085198b42ef6ed42c7a77a5fcb7e85b4787b0da5cf6c71e2db3296695e4b6c49c0572b
7
+ data.tar.gz: 1b718e24bf197ec807eaf3dff4428608c80ff76f1fab838775134b66f7d6247e17150ea47ffcb17e6e7f943fd06838d669b1462f782098b803e1a64d5080702f
@@ -1,3 +1,3 @@
1
1
  module Wordsoup
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/wordsoup.rb CHANGED
@@ -85,22 +85,15 @@ module Wordsoup
85
85
 
86
86
  class Hemingway < Author
87
87
 
88
- def initialize(file = "omats.txt")
88
+ def initialize(file = File.join( File.dirname(__FILE__), './omats.txt'))
89
89
  super(file)
90
90
  end
91
91
 
92
92
  end
93
93
 
94
- class Hemingway < Author
95
-
96
- def initialize(file = "omats.txt")
97
- super(file)
98
- end
99
-
100
- end
101
94
  class Bible < Author
102
95
 
103
- def initialize(file = "bible.txt")
96
+ def initialize(file = File.join( File.dirname(__FILE__), './bible.txt'))
104
97
  super(file)
105
98
  end
106
99
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wordsoup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - DouglasTGordon