monikers 0.0.1 → 0.1.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.
- data/lib/monikers.rb +2 -2
- data/lib/monikers/version.rb +1 -1
- data/monikers.gemspec +2 -2
- metadata +3 -3
data/lib/monikers.rb
CHANGED
|
@@ -3,7 +3,7 @@ require "monikers/version"
|
|
|
3
3
|
module Monikers
|
|
4
4
|
@dataset = eval(File.read(File.expand_path("../../lib/data/monikers_hash.rb", __FILE__)))
|
|
5
5
|
|
|
6
|
-
def self.
|
|
6
|
+
def self.list(name)
|
|
7
7
|
name_down = name.downcase
|
|
8
8
|
|
|
9
9
|
if @dataset.key?(name.downcase)
|
|
@@ -13,7 +13,7 @@ module Monikers
|
|
|
13
13
|
end
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
def self.
|
|
16
|
+
def self.equivalents?(name1, name2)
|
|
17
17
|
name1_down = name1.downcase
|
|
18
18
|
name2_down = name2.downcase
|
|
19
19
|
|
data/lib/monikers/version.rb
CHANGED
data/monikers.gemspec
CHANGED
|
@@ -8,9 +8,9 @@ Gem::Specification.new do |gem|
|
|
|
8
8
|
gem.version = Monikers::VERSION
|
|
9
9
|
gem.authors = ["Ben Di"]
|
|
10
10
|
gem.email = ["bdifrancesco@ascensionpress.com"]
|
|
11
|
-
gem.description = %q{Cached List of First Name Monikers}
|
|
11
|
+
gem.description = %q{Cached List of First Name Monikers (nicknames) in easy-access Ruby Gem}
|
|
12
12
|
gem.summary = %q{Gem contains a precached data structure of first name monikers & convenience methods for access & comparison}
|
|
13
|
-
gem.homepage = ""
|
|
13
|
+
gem.homepage = "https://github.com/apbendi/monikers"
|
|
14
14
|
|
|
15
15
|
gem.files = `git ls-files`.split($/)
|
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: monikers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -27,7 +27,7 @@ dependencies:
|
|
|
27
27
|
- - ~>
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
29
|
version: '2.10'
|
|
30
|
-
description: Cached List of First Name Monikers
|
|
30
|
+
description: Cached List of First Name Monikers (nicknames) in easy-access Ruby Gem
|
|
31
31
|
email:
|
|
32
32
|
- bdifrancesco@ascensionpress.com
|
|
33
33
|
executables: []
|
|
@@ -45,7 +45,7 @@ files:
|
|
|
45
45
|
- lib/monikers/generator/generator.rb
|
|
46
46
|
- lib/monikers/version.rb
|
|
47
47
|
- monikers.gemspec
|
|
48
|
-
homepage:
|
|
48
|
+
homepage: https://github.com/apbendi/monikers
|
|
49
49
|
licenses: []
|
|
50
50
|
post_install_message:
|
|
51
51
|
rdoc_options: []
|