guess_who 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: afd389628bb317da0d52942f9b8568825e06a61f
4
+ data.tar.gz: 722fe37144825af6621ae7a6dbe219a8e8b3e27c
5
+ SHA512:
6
+ metadata.gz: f0e61d6517b8bd9ca370f3434215ad7c175e900d83945893d825c598ca45b4a6bb34123ffb24edac865b83e2d3c572d4c370a9f77e9711d89ff6e715b32eb4a0
7
+ data.tar.gz: 046d2b1ea83e678f82412219cf77b541ae00fd3aaa81a6383b1bf0e1862469927d8d955c225137c9b5ae0d4d978bd5ffdd878bb20155b4513d4f763f828da8da
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ lib/**/*.rb
2
+ bin/*
3
+ -
4
+ features/**/*.feature
5
+ LICENSE.txt
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --color
data/Gemfile ADDED
@@ -0,0 +1,16 @@
1
+ source "https://rubygems.org"
2
+ # Add dependencies required to use your gem here.
3
+ # Example:
4
+ # gem "activesupport", ">= 2.3.5"
5
+
6
+ gem "amatch", "~> 0.4.0"
7
+
8
+ # Add dependencies to develop your gem here.
9
+ # Include everything needed to run rake, tests, features, etc.
10
+ group :development do
11
+ gem "rspec", "~> 3.5.0"
12
+ gem "rdoc", "~> 3.12"
13
+ gem "bundler", "~> 1.15"
14
+ gem "jeweler", "~> 2.2.0"
15
+ gem "simplecov", ">= 0"
16
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,99 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ addressable (2.5.2)
5
+ public_suffix (>= 2.0.2, < 4.0)
6
+ amatch (0.4.0)
7
+ mize
8
+ tins (~> 1.0)
9
+ builder (3.2.3)
10
+ descendants_tracker (0.0.4)
11
+ thread_safe (~> 0.3, >= 0.3.1)
12
+ diff-lcs (1.3)
13
+ docile (1.1.5)
14
+ faraday (0.9.2)
15
+ multipart-post (>= 1.2, < 3)
16
+ git (1.3.0)
17
+ github_api (0.11.3)
18
+ addressable (~> 2.3)
19
+ descendants_tracker (~> 0.0.1)
20
+ faraday (~> 0.8, < 0.10)
21
+ hashie (>= 1.2)
22
+ multi_json (>= 1.7.5, < 2.0)
23
+ nokogiri (~> 1.6.0)
24
+ oauth2
25
+ hashie (3.5.6)
26
+ highline (1.7.8)
27
+ jeweler (2.2.1)
28
+ builder
29
+ bundler (>= 1.0)
30
+ git (>= 1.2.5)
31
+ github_api (~> 0.11.0)
32
+ highline (>= 1.6.15)
33
+ nokogiri (>= 1.5.10)
34
+ psych (~> 2.2)
35
+ rake
36
+ rdoc
37
+ semver
38
+ json (1.8.6)
39
+ jwt (1.5.6)
40
+ mini_portile2 (2.1.0)
41
+ mize (0.3.3)
42
+ protocol
43
+ multi_json (1.12.2)
44
+ multi_xml (0.6.0)
45
+ multipart-post (2.0.0)
46
+ nokogiri (1.6.8.1)
47
+ mini_portile2 (~> 2.1.0)
48
+ oauth2 (1.4.0)
49
+ faraday (>= 0.8, < 0.13)
50
+ jwt (~> 1.0)
51
+ multi_json (~> 1.3)
52
+ multi_xml (~> 0.5)
53
+ rack (>= 1.2, < 3)
54
+ protocol (1.0.1)
55
+ ruby_parser (~> 3.0)
56
+ psych (2.2.4)
57
+ public_suffix (3.0.0)
58
+ rack (2.0.3)
59
+ rake (12.1.0)
60
+ rdoc (3.12.2)
61
+ json (~> 1.4)
62
+ rspec (3.5.0)
63
+ rspec-core (~> 3.5.0)
64
+ rspec-expectations (~> 3.5.0)
65
+ rspec-mocks (~> 3.5.0)
66
+ rspec-core (3.5.4)
67
+ rspec-support (~> 3.5.0)
68
+ rspec-expectations (3.5.0)
69
+ diff-lcs (>= 1.2.0, < 2.0)
70
+ rspec-support (~> 3.5.0)
71
+ rspec-mocks (3.5.0)
72
+ diff-lcs (>= 1.2.0, < 2.0)
73
+ rspec-support (~> 3.5.0)
74
+ rspec-support (3.5.0)
75
+ ruby_parser (3.10.1)
76
+ sexp_processor (~> 4.9)
77
+ semver (1.0.1)
78
+ sexp_processor (4.10.0)
79
+ simplecov (0.15.1)
80
+ docile (~> 1.1.0)
81
+ json (>= 1.8, < 3)
82
+ simplecov-html (~> 0.10.0)
83
+ simplecov-html (0.10.2)
84
+ thread_safe (0.3.6)
85
+ tins (1.15.0)
86
+
87
+ PLATFORMS
88
+ ruby
89
+
90
+ DEPENDENCIES
91
+ amatch (~> 0.4.0)
92
+ bundler (~> 1.15)
93
+ jeweler (~> 2.2.0)
94
+ rdoc (~> 3.12)
95
+ rspec (~> 3.5.0)
96
+ simplecov
97
+
98
+ BUNDLED WITH
99
+ 1.15.4
data/LICENSE.txt ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2017 odina
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.rdoc ADDED
@@ -0,0 +1,17 @@
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
+
data/Rakefile ADDED
@@ -0,0 +1,50 @@
1
+ # encoding: utf-8
2
+
3
+ require 'rubygems'
4
+ require 'bundler'
5
+ begin
6
+ Bundler.setup(:default, :development)
7
+ rescue Bundler::BundlerError => e
8
+ $stderr.puts e.message
9
+ $stderr.puts "Run `bundle install` to install missing gems"
10
+ exit e.status_code
11
+ end
12
+ require 'rake'
13
+
14
+ require 'jeweler'
15
+ Jeweler::Tasks.new do |gem|
16
+ # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
17
+ gem.name = "guess_who"
18
+ gem.homepage = "http://github.com/odina/guess_who"
19
+ gem.license = "MIT"
20
+ gem.summary = %Q{Extract name from email}
21
+ gem.description = %Q{Extracts name from username or email}
22
+ gem.email = "odina.abellana@gmail.com"
23
+ gem.authors = ["odina"]
24
+ # dependencies defined in Gemfile
25
+ end
26
+ Jeweler::RubygemsDotOrgTasks.new
27
+
28
+ require 'rspec/core'
29
+ require 'rspec/core/rake_task'
30
+ RSpec::Core::RakeTask.new(:spec) do |spec|
31
+ spec.pattern = FileList['spec/**/*_spec.rb']
32
+ end
33
+
34
+ desc "Code coverage detail"
35
+ task :simplecov do
36
+ ENV['COVERAGE'] = "true"
37
+ Rake::Task['spec'].execute
38
+ end
39
+
40
+ task :default => :spec
41
+
42
+ require 'rdoc/task'
43
+ Rake::RDocTask.new do |rdoc|
44
+ version = File.exist?('VERSION') ? File.read('VERSION') : ""
45
+
46
+ rdoc.rdoc_dir = 'rdoc'
47
+ rdoc.title = "guess_who #{version}"
48
+ rdoc.rdoc_files.include('README*')
49
+ rdoc.rdoc_files.include('lib/**/*.rb')
50
+ end
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0