babynames 0.1.0 → 0.1.1
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.
- data/VERSION +1 -1
- data/babynames.gemspec +2 -2
- data/lib/babynames.rb +2 -2
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
data/babynames.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{babynames}
|
|
8
|
-
s.version = "0.1.
|
|
8
|
+
s.version = "0.1.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Jordan Carter"]
|
|
12
|
-
s.date = %q{2011-06-
|
|
12
|
+
s.date = %q{2011-06-12}
|
|
13
13
|
s.description = %q{Easily name your baby! Or if you're a dev, make some tests with names better than test1, test2, testy}
|
|
14
14
|
s.email = %q{jordan.d.carter@gmail.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/babynames.rb
CHANGED
|
@@ -114,8 +114,8 @@ module BabyNames
|
|
|
114
114
|
protected
|
|
115
115
|
|
|
116
116
|
def read_lines(file_name)
|
|
117
|
-
file = "
|
|
118
|
-
File.read(file).split("\n").collect(&:capitalize)
|
|
117
|
+
file = "../data/#{file_name}.txt"
|
|
118
|
+
File.read(File.expand_path(file, __FILE__)).split("\n").collect(&:capitalize)
|
|
119
119
|
end
|
|
120
120
|
|
|
121
121
|
def r(array)
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: babynames
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.1.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Jordan Carter
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-06-
|
|
18
|
+
date: 2011-06-12 00:00:00 +12:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|