guess_who 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: afd389628bb317da0d52942f9b8568825e06a61f
4
- data.tar.gz: 722fe37144825af6621ae7a6dbe219a8e8b3e27c
3
+ metadata.gz: 4f0934749d80319aef42f5b912477b481c7d9613
4
+ data.tar.gz: 1a123613725cabc6d14920fd5e00332e4149b661
5
5
  SHA512:
6
- metadata.gz: f0e61d6517b8bd9ca370f3434215ad7c175e900d83945893d825c598ca45b4a6bb34123ffb24edac865b83e2d3c572d4c370a9f77e9711d89ff6e715b32eb4a0
7
- data.tar.gz: 046d2b1ea83e678f82412219cf77b541ae00fd3aaa81a6383b1bf0e1862469927d8d955c225137c9b5ae0d4d978bd5ffdd878bb20155b4513d4f763f828da8da
6
+ metadata.gz: 92b38b2b99955d1c8d31d135af43dc6c16429c7d32cd614a4d88b3394f86d4c0716bef82d41b84e077b6b2bd29a7bfae2d2277df6fa5ad87e9c5e9b5cfe8b1e0
7
+ data.tar.gz: 8b0170155f892e123a524cdf833bb21ea5d198a7203eb5e4029179a68eae3fa5c855a13b312c981699bfd7587040346c621ef4d64c283b49c576ec043bbfd7a4
data/README.md ADDED
@@ -0,0 +1,12 @@
1
+ # Guess Who
2
+ Ruby implementation for guess-who nodejs package [https://github.com/fraction/guess-who]
3
+
4
+ ### Installing:
5
+ `gem install guess_who`
6
+
7
+ ### Trying out:
8
+ ```
9
+ > profiler = GuessWho::Profiler.profile("john.doe@gmail.com")
10
+ > profiler.full_name # should say "John Doe"
11
+ > profiler.email # should say "john.doe@gmail.com"
12
+ ```
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/guess_who.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: guess_who 0.1.0 ruby lib
5
+ # stub: guess_who 0.1.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "guess_who".freeze
9
- s.version = "0.1.0"
9
+ s.version = "0.1.1"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.email = "odina.abellana@gmail.com".freeze
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE.txt",
19
- "README.rdoc"
19
+ "README.md"
20
20
  ]
21
21
  s.files = [
22
22
  ".document",
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
24
24
  "Gemfile",
25
25
  "Gemfile.lock",
26
26
  "LICENSE.txt",
27
- "README.rdoc",
27
+ "README.md",
28
28
  "Rakefile",
29
29
  "VERSION",
30
30
  "files/females.txt",
@@ -13,7 +13,8 @@ module GuessWho
13
13
  ]
14
14
 
15
15
  filenames.each do |filename|
16
- f = File.open(filename, "r")
16
+ path = File.join(File.dirname(__FILE__), '../../', filename)
17
+ f = File.open(path, "r")
17
18
  f.each_line { |l| names << l.split(" ")[0] }
18
19
  f.close
19
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guess_who
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - odina
@@ -100,14 +100,14 @@ executables: []
100
100
  extensions: []
101
101
  extra_rdoc_files:
102
102
  - LICENSE.txt
103
- - README.rdoc
103
+ - README.md
104
104
  files:
105
105
  - ".document"
106
106
  - ".rspec"
107
107
  - Gemfile
108
108
  - Gemfile.lock
109
109
  - LICENSE.txt
110
- - README.rdoc
110
+ - README.md
111
111
  - Rakefile
112
112
  - VERSION
113
113
  - files/females.txt
data/README.rdoc DELETED
@@ -1,17 +0,0 @@
1
- = guess_who
2
-
3
- == Contributing to guess_who
4
-
5
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
6
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
7
- * Fork the project.
8
- * Start a feature/bugfix branch.
9
- * Commit and push until you are happy with your contribution.
10
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
11
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
12
-
13
- == Copyright
14
-
15
- Copyright (c) 2017 odina. See LICENSE.txt for
16
- further details.
17
-