linguine 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- linguine (0.0.4)
4
+ linguine (0.0.6)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -34,7 +34,7 @@ class Linguine
34
34
  private
35
35
 
36
36
  def read_common_words
37
- File.open(IO.read('config/common_words_en.txt'), 'r') do |f|
37
+ File.open('config/common_words_en.txt', 'r') do |f|
38
38
  while line = f.gets
39
39
  @@common_words << line.gsub("\n", '')
40
40
  end
@@ -42,7 +42,7 @@ class Linguine
42
42
  end
43
43
 
44
44
  def read_swear_words
45
- File.open(IO.read('config/swear_words_en.txt'), 'r') do |f|
45
+ File.open('config/swear_words_en.txt', 'r') do |f|
46
46
  while line = f.gets
47
47
  @@swear_words << line.gsub("\n", '')
48
48
  end
@@ -1,9 +1,10 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
+ $:.push File.expand_path("../config", __FILE__)
3
4
 
4
5
  Gem::Specification.new do |s|
5
6
  s.name = "linguine"
6
- s.version = '0.0.6'
7
+ s.version = '0.0.7'
7
8
  s.platform = Gem::Platform::RUBY
8
9
  s.authors = ["Daniel Owen van Dommelen"]
9
10
  s.email = ["bunny.rabbit@igotish.com"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linguine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -25,7 +25,6 @@ files:
25
25
  - config/swear_words_en.txt
26
26
  - lib/linguine.rb
27
27
  - lib/linguine/scores.rb
28
- - linguine-0.0.4.gem
29
28
  - linguine.gemspec
30
29
  - spec/linguine_spec.rb
31
30
  - spec/spec_helper.rb
Binary file