email2face 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/Gemfile +16 -0
- data/Gemfile.lock +68 -0
- data/LICENSE.txt +20 -0
- data/README.md +49 -0
- data/Rakefile +46 -0
- data/VERSION +1 -0
- data/email2face.gemspec +74 -0
- data/lib/email2face.rb +110 -0
- data/test/helper.rb +18 -0
- data/test/test_email2face.rb +7 -0
- metadata +208 -0
data/.document
ADDED
data/Gemfile
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
source "http://rubygems.org"
|
2
|
+
|
3
|
+
gem 'json', :require => 'json'
|
4
|
+
gem 'capybara', :require => 'capybara'
|
5
|
+
gem 'capybara-webkit', :require => 'capybara/webkit'
|
6
|
+
gem 'headless', :require => "headless"
|
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 "shoulda", ">= 0"
|
12
|
+
gem "rdoc", "~> 3.12"
|
13
|
+
gem "bundler"
|
14
|
+
gem "jeweler", "~> 1.8.3"
|
15
|
+
gem "simplecov"
|
16
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
addressable (2.2.8)
|
5
|
+
capybara (1.1.2)
|
6
|
+
mime-types (>= 1.16)
|
7
|
+
nokogiri (>= 1.3.3)
|
8
|
+
rack (>= 1.0.0)
|
9
|
+
rack-test (>= 0.5.4)
|
10
|
+
selenium-webdriver (~> 2.0)
|
11
|
+
xpath (~> 0.1.4)
|
12
|
+
capybara-webkit (0.11.0)
|
13
|
+
capybara (>= 1.0.0, < 1.2)
|
14
|
+
json
|
15
|
+
childprocess (0.3.2)
|
16
|
+
ffi (~> 1.0.6)
|
17
|
+
ffi (1.0.11)
|
18
|
+
git (1.2.5)
|
19
|
+
headless (0.3.1)
|
20
|
+
jeweler (1.8.3)
|
21
|
+
bundler (~> 1.0)
|
22
|
+
git (>= 1.2.5)
|
23
|
+
rake
|
24
|
+
rdoc
|
25
|
+
json (1.7.0)
|
26
|
+
libwebsocket (0.1.3)
|
27
|
+
addressable
|
28
|
+
mime-types (1.18)
|
29
|
+
multi_json (1.3.4)
|
30
|
+
nokogiri (1.5.2)
|
31
|
+
rack (1.4.1)
|
32
|
+
rack-test (0.6.1)
|
33
|
+
rack (>= 1.0)
|
34
|
+
rake (0.9.2.2)
|
35
|
+
rdoc (3.12)
|
36
|
+
json (~> 1.4)
|
37
|
+
rubyzip (0.9.8)
|
38
|
+
selenium-webdriver (2.21.2)
|
39
|
+
childprocess (>= 0.2.5)
|
40
|
+
ffi (~> 1.0)
|
41
|
+
libwebsocket (~> 0.1.3)
|
42
|
+
multi_json (~> 1.0)
|
43
|
+
rubyzip
|
44
|
+
shoulda (3.0.1)
|
45
|
+
shoulda-context (~> 1.0.0)
|
46
|
+
shoulda-matchers (~> 1.0.0)
|
47
|
+
shoulda-context (1.0.0)
|
48
|
+
shoulda-matchers (1.0.0)
|
49
|
+
simplecov (0.6.2)
|
50
|
+
multi_json (~> 1.3)
|
51
|
+
simplecov-html (~> 0.5.3)
|
52
|
+
simplecov-html (0.5.3)
|
53
|
+
xpath (0.1.4)
|
54
|
+
nokogiri (~> 1.3)
|
55
|
+
|
56
|
+
PLATFORMS
|
57
|
+
ruby
|
58
|
+
|
59
|
+
DEPENDENCIES
|
60
|
+
bundler
|
61
|
+
capybara
|
62
|
+
capybara-webkit
|
63
|
+
headless
|
64
|
+
jeweler (~> 1.8.3)
|
65
|
+
json
|
66
|
+
rdoc (~> 3.12)
|
67
|
+
shoulda
|
68
|
+
simplecov
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2012 Jarred Sumner
|
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.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Email2Face
|
2
|
+
|
3
|
+
You give it an email. It gives you their face.
|
4
|
+
|
5
|
+
## Dependencies & Warnings
|
6
|
+
|
7
|
+
It needs a Facebook account to work. I *do not* recommend using your own Facebook, and, to demotivate you from doing that, it stores the Facebook account you give it in plaintext. In other words, if you give it your Facebook account, then it's going to be *very* easy for other people to get access to your Facebook, so make a fake Facebook for using this.
|
8
|
+
|
9
|
+
### Before jumping in
|
10
|
+
|
11
|
+
You need to have Xvfb and QTWebkit installed in order to use this.
|
12
|
+
|
13
|
+
To install it on Mac OS X run (with Homebrew):
|
14
|
+
|
15
|
+
```bash
|
16
|
+
$ brew install qt4
|
17
|
+
```
|
18
|
+
|
19
|
+
To install it on Arch Linux run:
|
20
|
+
|
21
|
+
```bash
|
22
|
+
$ sudo pacman -S xorg-server-xvfb qtwebkit
|
23
|
+
```
|
24
|
+
|
25
|
+
To install it on Ubuntu run:
|
26
|
+
|
27
|
+
```bash
|
28
|
+
$ sudo apt-get install xvfb libqtwebkit4 libqtwebkit4-dev
|
29
|
+
```
|
30
|
+
|
31
|
+
**You need to make a fake Facebook account to use this!**
|
32
|
+
|
33
|
+
## Using it
|
34
|
+
|
35
|
+
Start off by installing the gem:
|
36
|
+
|
37
|
+
```ruby
|
38
|
+
gem install 'email2face'
|
39
|
+
```
|
40
|
+
|
41
|
+
Then, we pass in the email, with the Facebook account in a hash:
|
42
|
+
|
43
|
+
```ruby
|
44
|
+
require 'email2face'
|
45
|
+
Email2Face.face("the.email.i.use.to.sign.into.facebook@example.com", { :username => "my.fake.facebook@example.com", :password => "123456" })
|
46
|
+
```
|
47
|
+
|
48
|
+
You only need to pass in the fake Facebook the first time you run it. Afterwards, it'll store the account details.
|
49
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,46 @@
|
|
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://docs.rubygems.org/read/chapter/20 for more options
|
17
|
+
gem.name = "email2face"
|
18
|
+
gem.homepage = "http://github.com/jarred-sumner/email2face"
|
19
|
+
gem.license = "MIT"
|
20
|
+
gem.summary = %Q{You give email2face an email, and it gives you a link to their face }
|
21
|
+
gem.description = %Q{ Email2Face finds an email's corresponding Facebook profile, and then gives you a link to their profile picture. It requires a Facebook account to work. I highly recommend that you make a Facebook just for it. See http://github.com/jarred-sumner/email2face for more details. }
|
22
|
+
gem.email = "jarred@jarredsumner.com"
|
23
|
+
gem.authors = ["Jarred Sumner"]
|
24
|
+
# dependencies defined in Gemfile
|
25
|
+
end
|
26
|
+
Jeweler::RubygemsDotOrgTasks.new
|
27
|
+
|
28
|
+
require 'rake/testtask'
|
29
|
+
Rake::TestTask.new(:test) do |test|
|
30
|
+
test.libs << 'lib' << 'test'
|
31
|
+
test.pattern = 'test/**/test_*.rb'
|
32
|
+
test.verbose = true
|
33
|
+
end
|
34
|
+
|
35
|
+
|
36
|
+
task :default => :test
|
37
|
+
|
38
|
+
require 'rdoc/task'
|
39
|
+
Rake::RDocTask.new do |rdoc|
|
40
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
41
|
+
|
42
|
+
rdoc.rdoc_dir = 'rdoc'
|
43
|
+
rdoc.title = "email2face #{version}"
|
44
|
+
rdoc.rdoc_files.include('README*')
|
45
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
46
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.0.1
|
data/email2face.gemspec
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "email2face"
|
8
|
+
s.version = "0.0.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Jarred Sumner"]
|
12
|
+
s.date = "2012-05-06"
|
13
|
+
s.description = " Email2Face finds an email's corresponding Facebook profile, and then gives you a link to their profile picture. It requires a Facebook account to work. I highly recommend that you make a Facebook just for it. See http://github.com/jarred-sumner/email2face for more details. "
|
14
|
+
s.email = "jarred@jarredsumner.com"
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE.txt",
|
17
|
+
"README.md"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
"Gemfile",
|
22
|
+
"Gemfile.lock",
|
23
|
+
"LICENSE.txt",
|
24
|
+
"README.md",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"email2face.gemspec",
|
28
|
+
"lib/email2face.rb",
|
29
|
+
"test/helper.rb",
|
30
|
+
"test/test_email2face.rb"
|
31
|
+
]
|
32
|
+
s.homepage = "http://github.com/jarred-sumner/email2face"
|
33
|
+
s.licenses = ["MIT"]
|
34
|
+
s.require_paths = ["lib"]
|
35
|
+
s.rubygems_version = "1.8.23"
|
36
|
+
s.summary = "You give email2face an email, and it gives you a link to their face"
|
37
|
+
|
38
|
+
if s.respond_to? :specification_version then
|
39
|
+
s.specification_version = 3
|
40
|
+
|
41
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
42
|
+
s.add_runtime_dependency(%q<json>, [">= 0"])
|
43
|
+
s.add_runtime_dependency(%q<capybara>, [">= 0"])
|
44
|
+
s.add_runtime_dependency(%q<capybara-webkit>, [">= 0"])
|
45
|
+
s.add_runtime_dependency(%q<headless>, [">= 0"])
|
46
|
+
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
47
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
48
|
+
s.add_development_dependency(%q<bundler>, [">= 0"])
|
49
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
50
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
51
|
+
else
|
52
|
+
s.add_dependency(%q<json>, [">= 0"])
|
53
|
+
s.add_dependency(%q<capybara>, [">= 0"])
|
54
|
+
s.add_dependency(%q<capybara-webkit>, [">= 0"])
|
55
|
+
s.add_dependency(%q<headless>, [">= 0"])
|
56
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
57
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
58
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
59
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
60
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
61
|
+
end
|
62
|
+
else
|
63
|
+
s.add_dependency(%q<json>, [">= 0"])
|
64
|
+
s.add_dependency(%q<capybara>, [">= 0"])
|
65
|
+
s.add_dependency(%q<capybara-webkit>, [">= 0"])
|
66
|
+
s.add_dependency(%q<headless>, [">= 0"])
|
67
|
+
s.add_dependency(%q<shoulda>, [">= 0"])
|
68
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
69
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
70
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
71
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
data/lib/email2face.rb
ADDED
@@ -0,0 +1,110 @@
|
|
1
|
+
require 'capybara/dsl'
|
2
|
+
require 'capybara-webkit'
|
3
|
+
require 'headless'
|
4
|
+
require 'json'
|
5
|
+
|
6
|
+
class Email2Face
|
7
|
+
attr_accessor :username, :password, :verbose
|
8
|
+
|
9
|
+
def self.filepath
|
10
|
+
"Sandvich"
|
11
|
+
end
|
12
|
+
|
13
|
+
CHROME_USER_AGENT = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.41 Safari/536.5
|
14
|
+
"
|
15
|
+
|
16
|
+
def self.face(email, options = {}, from_thor = false)
|
17
|
+
user = Email2Face.new
|
18
|
+
if options[:username].nil? || options[:password].nil?
|
19
|
+
user.load_auth_from_disk(options)
|
20
|
+
else
|
21
|
+
user.username = options[:username]
|
22
|
+
user.password = options[:password]
|
23
|
+
user.verbose = options[:verbose]
|
24
|
+
end
|
25
|
+
if user.username.nil? || user.username == "" || user.password.nil? || user.password == ""
|
26
|
+
user.no_login_details
|
27
|
+
end
|
28
|
+
html = user.face_html(email)
|
29
|
+
return user.face(html)
|
30
|
+
end
|
31
|
+
|
32
|
+
def load_auth_from_disk(options)
|
33
|
+
if File.exists?(Email2Face.filepath)
|
34
|
+
json = JSON.parse(File.open(Email2Face.filepath, "r").read)
|
35
|
+
self.username = json[:username]
|
36
|
+
self.password = json[:password]
|
37
|
+
self.verbose = options[:verbose]
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def no_login_details
|
42
|
+
puts "Email2Face requires a Facebook account to search for faces. Don't use a Facebook account that matters."
|
43
|
+
puts "Usage: Email2Face.face(email, { :username => USERNAME, :password => PASSWORD } )"
|
44
|
+
puts "Afterwards, I'll store thlse Facebook account, so you don't have to do this everytime."
|
45
|
+
exit(0)
|
46
|
+
end
|
47
|
+
|
48
|
+
def face_html(email)
|
49
|
+
configure_capybara
|
50
|
+
puts "Logging in..." if self.verbose
|
51
|
+
Headless.ly do
|
52
|
+
browser = Capybara::Session.new(:webkit, browser)
|
53
|
+
#self.driver.header("User-Agent", CHROME_USER_AGENT)
|
54
|
+
browser.visit "https://www.facebook.com/login.php"
|
55
|
+
browser.within "#loginform" do
|
56
|
+
browser.fill_in "email", :with => self.username
|
57
|
+
browser.fill_in "pass", :with => self.password
|
58
|
+
browser.click_button "Log In"
|
59
|
+
end
|
60
|
+
if browser.driver.cookies["c_user", ".facebook.com"]
|
61
|
+
login_success!
|
62
|
+
puts "Login Successful! Getting Face URL" if self.verbose
|
63
|
+
url = "https://www.facebook.com/search/results.php?o=2048&init=s%3Aemail&q=#{ email.sub("@", "%40") }"
|
64
|
+
browser.visit url
|
65
|
+
return browser.html
|
66
|
+
else
|
67
|
+
login_failed!
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
def login_success!
|
73
|
+
File.new(Email2Face.filepath, "w") unless File.exists?(Email2Face.filepath)
|
74
|
+
File.open(Email2Face.filepath, "w") do |f|
|
75
|
+
f.write(self.to_json)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
def to_json
|
80
|
+
hash = Hash.new
|
81
|
+
hash[:username] = self.username
|
82
|
+
hash[:password] = self.password
|
83
|
+
hash.to_json
|
84
|
+
end
|
85
|
+
|
86
|
+
def login_failed!
|
87
|
+
puts "Couldn't login to Facebook. Maybe you misspelled your username or password?"
|
88
|
+
exit(0)
|
89
|
+
end
|
90
|
+
|
91
|
+
def face(html)
|
92
|
+
parser = Nokogiri::HTML(html)
|
93
|
+
element = parser.xpath("//*[@id='pagelet_search_results_objects']/div/div/div/div/div[2]/div[1]/a") || parser.xpath('//*[@id="js_0"]')
|
94
|
+
href = element.attribute("href")
|
95
|
+
uri = URI.parse(href)
|
96
|
+
uri.host = "graph.facebook.com"
|
97
|
+
uri.path = uri.path + "/picture"
|
98
|
+
uri.to_s
|
99
|
+
rescue Exception
|
100
|
+
"I couldn't find a face for that email :("
|
101
|
+
end
|
102
|
+
|
103
|
+
def configure_capybara
|
104
|
+
Capybara.app = self
|
105
|
+
Capybara.javascript_driver = :webkit
|
106
|
+
Capybara.current_driver = :webkit
|
107
|
+
Capybara.run_server = false
|
108
|
+
end
|
109
|
+
|
110
|
+
end
|
data/test/helper.rb
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
begin
|
4
|
+
Bundler.setup(:default, :development)
|
5
|
+
rescue Bundler::BundlerError => e
|
6
|
+
$stderr.puts e.message
|
7
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
+
exit e.status_code
|
9
|
+
end
|
10
|
+
require 'test/unit'
|
11
|
+
require 'shoulda'
|
12
|
+
|
13
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
14
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
15
|
+
require 'email2face'
|
16
|
+
|
17
|
+
class Test::Unit::TestCase
|
18
|
+
end
|
metadata
ADDED
@@ -0,0 +1,208 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: email2face
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Jarred Sumner
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-05-06 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: json
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: capybara
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: capybara-webkit
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: headless
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: shoulda
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: rdoc
|
96
|
+
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '3.12'
|
102
|
+
type: :development
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
106
|
+
requirements:
|
107
|
+
- - ~>
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '3.12'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: bundler
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '0'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: jeweler
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
130
|
+
requirements:
|
131
|
+
- - ~>
|
132
|
+
- !ruby/object:Gem::Version
|
133
|
+
version: 1.8.3
|
134
|
+
type: :development
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ~>
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 1.8.3
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: simplecov
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ! '>='
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
150
|
+
type: :development
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: '0'
|
158
|
+
description: ! ' Email2Face finds an email''s corresponding Facebook profile, and
|
159
|
+
then gives you a link to their profile picture. It requires a Facebook account to
|
160
|
+
work. I highly recommend that you make a Facebook just for it. See http://github.com/jarred-sumner/email2face
|
161
|
+
for more details. '
|
162
|
+
email: jarred@jarredsumner.com
|
163
|
+
executables: []
|
164
|
+
extensions: []
|
165
|
+
extra_rdoc_files:
|
166
|
+
- LICENSE.txt
|
167
|
+
- README.md
|
168
|
+
files:
|
169
|
+
- .document
|
170
|
+
- Gemfile
|
171
|
+
- Gemfile.lock
|
172
|
+
- LICENSE.txt
|
173
|
+
- README.md
|
174
|
+
- Rakefile
|
175
|
+
- VERSION
|
176
|
+
- email2face.gemspec
|
177
|
+
- lib/email2face.rb
|
178
|
+
- test/helper.rb
|
179
|
+
- test/test_email2face.rb
|
180
|
+
homepage: http://github.com/jarred-sumner/email2face
|
181
|
+
licenses:
|
182
|
+
- MIT
|
183
|
+
post_install_message:
|
184
|
+
rdoc_options: []
|
185
|
+
require_paths:
|
186
|
+
- lib
|
187
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
188
|
+
none: false
|
189
|
+
requirements:
|
190
|
+
- - ! '>='
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: '0'
|
193
|
+
segments:
|
194
|
+
- 0
|
195
|
+
hash: -181464691
|
196
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
197
|
+
none: false
|
198
|
+
requirements:
|
199
|
+
- - ! '>='
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
requirements: []
|
203
|
+
rubyforge_project:
|
204
|
+
rubygems_version: 1.8.23
|
205
|
+
signing_key:
|
206
|
+
specification_version: 3
|
207
|
+
summary: You give email2face an email, and it gives you a link to their face
|
208
|
+
test_files: []
|