fb-auth 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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 106ab81033317409467304dd112b0824da4ecc06
4
+ data.tar.gz: bc4a79e1ea273dd2ab3e19480c49933653a7957c
5
+ SHA512:
6
+ metadata.gz: 2ea2bcffa704f4a249aa558586c6fe139d1eb539bca3e34b4057e366b5d5c7b8012714aa9138c408a6ba1aeb6b28c899dacd2419299d25253a5864b8fb32eacc
7
+ data.tar.gz: 9578d4e367eee8bf8125f11346df95daf274b1fec3618d13f25a6e7430ca98cbef72fbfceac59a3c99b622315b73677760bd53bb4760291685d1a4031dfd958c
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ .DS_Store
11
+ # rspec failure tracking
12
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.4.1
5
+ before_install: gem install bundler -v 1.15.1
6
+ script:
7
+ - bundle exec rspec
8
+ - bundle exec yard stats | grep "100.00% documented"
data/.yardopts ADDED
@@ -0,0 +1 @@
1
+ --no-private
data/CHANGELOG.md ADDED
@@ -0,0 +1,15 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ For more information about changelogs, check
6
+ [Keep a Changelog](http://keepachangelog.com) and
7
+ [Vandamme](http://tech-angels.github.io/vandamme).
8
+
9
+ ## 0.1.0 - 2017/06/29
10
+
11
+ * [FEATURE] Add `Fb::Auth#url`
12
+ * [FEATURE] Add `Fb::Auth#access_token`
13
+ * [FEATURE] Add `Fb::User#pages`
14
+ * [FEATURE] Add `Fb::User#email`
15
+ * [FEATURE] Add `Fb::Error`
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+ gem 'pry-nav'
3
+ # Specify your gem's dependencies in fb-auth.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Fullscreen, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,117 @@
1
+ # Fb::Auth
2
+
3
+ Fb::Auth can authenticate a Facebook user and return an access token with permission to manage pages of that user.
4
+
5
+ [![Build Status](http://img.shields.io/travis/Fullscreen/fb-auth/master.svg)](https://travis-ci.org/Fullscreen/fb-auth)
6
+ [![Coverage Status](http://img.shields.io/coveralls/Fullscreen/fb-auth/master.svg)](https://coveralls.io/r/Fullscreen/fb-auth)
7
+ [![Dependency Status](http://img.shields.io/gemnasium/Fullscreen/fb-auth.svg)](https://gemnasium.com/Fullscreen/fb-auth)
8
+ [![Code Climate](http://img.shields.io/codeclimate/github/Fullscreen/fb-auth.svg)](https://codeclimate.com/github/Fullscreen/fb-auth)
9
+ [![Online docs](http://img.shields.io/badge/docs-✓-green.svg)](http://www.rubydoc.info/gems/fb-auth/frames)
10
+ [![Gem Version](http://img.shields.io/gem/v/fb-auth.svg)](http://rubygems.org/gems/fb-auth)
11
+
12
+ The **source code** is available on [GitHub](https://github.com/Fullscreen/fb-auth) and the **documentation** on [RubyDoc](http://www.rubydoc.info/gems/fb-auth/frames).
13
+
14
+ ### Installing and Configuring Fb::Auth
15
+
16
+ First, add fb-auth to your Gemfile:
17
+
18
+ ```ruby
19
+ gem 'fb-auth'
20
+ ```
21
+ Then run `bundle install`.
22
+
23
+ Fb::Auth will require an Client ID and an Client Secret which you can obtain after registering as a developer on [Facebook for developers](https://developers.facebook.com/).
24
+
25
+ By default, Fb::Auth will look for the environment variables called `FB_CLIENT_ID` and `FB_CLIENT_SECRET`. You can put those keys in your `.bash_profile` and Fb::Auth will work.
26
+
27
+ export FB_CLIENT_ID="YourAppID"
28
+ export FB_CLIENT_SECRET="YourAppSecret"
29
+
30
+ ## Usage
31
+
32
+ Fb::Auth#url
33
+ ---------------------
34
+
35
+ The `url` method helps you obtain a URL where to redirect users who need to
36
+ authenticate with their Facebook account in order to use your application:
37
+
38
+ ```ruby
39
+ redirect_uri = 'https://example.com/auth' # REPLACE WITH REAL ONE
40
+ Fb::Auth.new(redirect_uri: redirect_uri).url
41
+ # => https://www.facebook.com/dialog/oauth?client_id=...&scope=manage_pages&redirect_uri=https%3A%2F%2Fexample.com%2Fauth
42
+ ```
43
+
44
+ Fb::Auth#access_token
45
+ ---------------------
46
+
47
+ After users have authenticated with their Facebook account, they will be
48
+ redirected to the `redirect_uri` you indicated, with an extra `code` query
49
+ parameter, e.g. `https://example.com/auth?code=1234#_=_`
50
+
51
+ The `access_token` method allows you to get a non-expiring access token of the user:
52
+
53
+ ```ruby
54
+ redirect_uri = 'https://example.com/auth' # REPLACE WITH REAL ONE
55
+ code = '1234#_=_' # REPLACE WITH REAL ONE
56
+ Fb::Auth.new(redirect_uri: redirect_uri, code: code).access_token
57
+ # => "kefjej49s82hFS@2333233222FDh66"
58
+ ```
59
+
60
+ Fb::User#pages
61
+ ---------------------
62
+
63
+ Once you have successfully obtain an access token, you can fetch the pages managed
64
+ by that access token. Calling `Fb::User.new(access_token).pages` will return an
65
+ array of type Fb::Page, each with an id and name.
66
+
67
+ ```ruby
68
+ access_token = Fb::Auth.new(redirect_uri: redirect_uri, code: code).access_token
69
+ Fb::User.new(access_token).pages
70
+ # => [#<Fb::Page: @name="sample1", @id="1234">, #<Fb::Page: @name="sample2", @id="5678">]
71
+ ```
72
+
73
+ Fb::User#email
74
+ ---------------------
75
+
76
+ Similarly, you can get the email of the user by calling `Fb::User.new(access_token).email`.
77
+
78
+ ```ruby
79
+ access_token = Fb::Auth.new(redirect_uri: redirect_uri, code: code).access_token
80
+ Fb::User.new(access_token).email
81
+ # => "john.smith@example.com"
82
+ ```
83
+
84
+ Fb::Error
85
+ -------------
86
+
87
+ `Fb::Error` will be raised when an issue occurs during the Facebook authentication process.
88
+ The message of the error will include the details:
89
+
90
+ ```ruby
91
+ redirect_uri = 'https://example.com/auth' # REPLACE WITH REAL ONE
92
+ code = 'invalid-code'
93
+ Fb::Auth.new(redirect_uri: redirect_uri, code: code).access_token
94
+ # => Fb::Error: Invalid verification code format.
95
+ ```
96
+
97
+ ## Development
98
+
99
+ After checking out the repo, run `bin/setup` to install dependencies.
100
+ If you would like to run tests for Fb::Auth, please obtain a long-term access token that manages at least one page
101
+ and has permission to read your Facebook email (set scope to include `email` and `manage_pages`). Then set the token as
102
+ as an environment variable:
103
+
104
+ export FB_TEST_ACCESS_TOKEN="YourToken"
105
+
106
+ Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
107
+
108
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
109
+
110
+ ## Contributing
111
+
112
+ Bug reports and pull requests are welcome on GitHub at https://github.com/Fullscreen/fb-auth. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
113
+
114
+
115
+ ## License
116
+
117
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "fb/auth"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/fb-auth.gemspec ADDED
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "fb/auth/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "fb-auth"
8
+ spec.version = Fb::Auth::VERSION
9
+ spec.authors = ["Aaron Dao"]
10
+ spec.email = ["aaron.dao@fullscreen.com"]
11
+
12
+ spec.summary = %q{Ruby client to authenticate a Facebook user.}
13
+ spec.description = %q{Fb::Auth provides methods to obtain an access token to
14
+ manage pages of a Facebook user.}
15
+ spec.homepage = "https://github.com/Fullscreen/fb-auth"
16
+ spec.license = "MIT"
17
+
18
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
+ f.match(%r{^(test|spec|features)/})
20
+ end
21
+ spec.bindir = "exe"
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ["lib"]
24
+
25
+ spec.add_development_dependency "bundler", "~> 1.15"
26
+ spec.add_development_dependency "rake", "~> 10.0"
27
+ spec.add_development_dependency "rspec", "~> 3.0"
28
+ spec.add_development_dependency "yard", "~> 0.9.9"
29
+ spec.add_development_dependency 'coveralls'
30
+ end
@@ -0,0 +1,7 @@
1
+ module Fb
2
+ class Auth
3
+ # @return [String] the SemVer-compatible gem version.
4
+ # @see http://semver.org
5
+ VERSION = "0.1.0"
6
+ end
7
+ end
data/lib/fb/auth.rb ADDED
@@ -0,0 +1,60 @@
1
+ require 'fb/request'
2
+ require 'fb/configuration'
3
+ # Ruby client to authenticate a Facebook user.
4
+ # @see http://www.rubydoc.info/gems/Fb/
5
+ module Fb
6
+ # Provides methods to authenticate a user with the Facebook OAuth flow.
7
+ # @see https://developers.facebook.com/docs/facebook-login
8
+ class Auth
9
+ # @param [Hash] options the options to initialize an instance of Fb::Auth.
10
+ # @option [String] :redirect_uri The URI to redirect users to
11
+ # after they have completed the Facebook OAuth flow.
12
+ # @option [String] :code A single-use authorization code provided
13
+ # by Facebook OAuth to obtain an access token.
14
+ def initialize(options = {})
15
+ @redirect_uri = options[:redirect_uri]
16
+ @code = options[:code]
17
+ end
18
+
19
+ # @return [String] a url to Facebook's account authentication.
20
+ def url
21
+ Fb::Request.new(url_options).url
22
+ end
23
+
24
+ # @return [String] the non-expiring access token of an authenticated Facebook account.
25
+ def access_token
26
+ response_body = Fb::Request.new(path: '/oauth/access_token',
27
+ params: long_term_token_params).run
28
+ response_body["access_token"]
29
+ end
30
+
31
+ private
32
+
33
+ def short_term_access_token
34
+ response_body = Fb::Request.new(path: '/oauth/access_token',
35
+ params: short_term_token_params).run
36
+ response_body["access_token"]
37
+ end
38
+
39
+ def url_options
40
+ url_params = {scope: 'email,manage_pages', redirect_uri: @redirect_uri}
41
+ {host: 'www.facebook.com', path: '/dialog/oauth', params: url_params}
42
+ end
43
+
44
+ def short_term_token_params
45
+ {}.tap do |params|
46
+ params[:client_secret] = Fb.configuration.client_id
47
+ params[:redirect_uri] = @redirect_uri
48
+ params[:code] = @code
49
+ end
50
+ end
51
+
52
+ def long_term_token_params
53
+ {}.tap do |params|
54
+ params[:client_secret] = Fb.configuration.client_secret
55
+ params[:grant_type] = :fb_exchange_token
56
+ params[:fb_exchange_token] = short_term_access_token
57
+ end
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,33 @@
1
+ module Fb
2
+ # Setter for shared global objects
3
+ # @private
4
+ class Configuration
5
+ attr_accessor :client_id, :client_secret
6
+
7
+ def initialize
8
+ @client_id = ENV['FB_CLIENT_ID']
9
+ @client_secret = ENV['FB_CLIENT_SECRET']
10
+ end
11
+ end
12
+
13
+ # Returns the global [Configuration](Fb/Configuration) object. While
14
+ # you can use this method to access the configuration, the more common
15
+ # convention is to use [Fb.configure].
16
+ #
17
+ # @example
18
+ # Fb.configuration.fb_client_id = 1234
19
+ def self.configuration
20
+ @configuration ||= Configuration.new
21
+ end
22
+
23
+ # Yields the global configuration to a block.
24
+ # @yield [Configuration] global configuration
25
+ #
26
+ # @example
27
+ # Fb.configure do |config|
28
+ # config.fb_client_id = 1234
29
+ # end
30
+ def self.configure
31
+ yield(configuration) if block_given?
32
+ end
33
+ end
data/lib/fb/error.rb ADDED
@@ -0,0 +1,5 @@
1
+ module Fb
2
+ # Provides custom errors for Fb intended to be raised on a failed API call.
3
+ class Error < StandardError
4
+ end
5
+ end
data/lib/fb/page.rb ADDED
@@ -0,0 +1,28 @@
1
+ require 'date'
2
+ # Ruby client to authenticate a Facebook user.
3
+ # @see http://www.rubydoc.info/gems/Fb/
4
+ module Fb
5
+ # Fb::Page reprensents a Facebook page.
6
+ # Provides methods to get/set a page's name and id.
7
+ class Page
8
+ # @return [String] the name of the page.
9
+ attr_reader :name
10
+
11
+ #@return [String] the unique id of the page.
12
+ attr_reader :id
13
+
14
+ # @param [Hash] options the options to initialize an instance of Fb::Page.
15
+ # @option [String] :name The name of the page.
16
+ # @option [String] :id The unique id of the page.
17
+ def initialize(options = {})
18
+ @name = options["name"]
19
+ @id = options["id"]
20
+ end
21
+
22
+ # @return [String] the representation of the page.
23
+ def to_s
24
+ "#<#{self.class.name} id=#{@id}, name=#{@name}>"
25
+ end
26
+ end
27
+ end
28
+
data/lib/fb/request.rb ADDED
@@ -0,0 +1,38 @@
1
+ require 'uri'
2
+ require 'net/http'
3
+ require 'json'
4
+ require 'fb/error'
5
+
6
+ module Fb
7
+ # @private
8
+ class Request
9
+ def initialize(options = {})
10
+ @host = options.fetch :host, 'graph.facebook.com'
11
+ @path = options[:path]
12
+ @params = options.fetch :params, {}
13
+ unless @params.include? :access_token
14
+ @params.merge!(client_id: Fb.configuration.client_id)
15
+ end
16
+ end
17
+
18
+ def url
19
+ uri.to_s
20
+ end
21
+
22
+ def run
23
+ res = Net::HTTP.get_response(uri)
24
+ unless res.is_a?(Net::HTTPSuccess)
25
+ message = JSON.parse(res.body)["error"]["message"]
26
+ raise Fb::Error, message
27
+ end
28
+ JSON.parse(res.body)
29
+ end
30
+
31
+ private
32
+
33
+ def uri
34
+ query = URI.encode_www_form @params
35
+ URI::HTTPS.build host: @host, path: @path, query: query
36
+ end
37
+ end
38
+ end
data/lib/fb/user.rb ADDED
@@ -0,0 +1,33 @@
1
+ require 'fb/request'
2
+ require 'fb/page'
3
+
4
+ module Fb
5
+ # Provides methods to get a collection of pages that an access token is
6
+ # allowed to manage and get page insights on those pages.
7
+ class User
8
+ # @access_token The access token returned by Facebook's OAuth flow.
9
+ def initialize(access_token)
10
+ @access_token = access_token
11
+ end
12
+
13
+ # @return [String] the email of the Facebook user.
14
+ def email
15
+ @email ||= begin
16
+ response_body = Fb::Request.new(path: '/me',
17
+ params: {fields: :email, access_token: @access_token}).run
18
+ response_body["email"]
19
+ end
20
+ end
21
+
22
+ # @return [Array] a collection of pages available to the given access token.
23
+ def pages
24
+ @pages ||= begin
25
+ response_body = Fb::Request.new(path: '/me/accounts',
26
+ params: {access_token: @access_token}).run
27
+ response_body["data"].map do |page_data|
28
+ Fb::Page.new page_data
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
metadata ADDED
@@ -0,0 +1,135 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fb-auth
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Aaron Dao
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-06-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.15'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.15'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: yard
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.9.9
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.9.9
69
+ - !ruby/object:Gem::Dependency
70
+ name: coveralls
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: |-
84
+ Fb::Auth provides methods to obtain an access token to
85
+ manage pages of a Facebook user.
86
+ email:
87
+ - aaron.dao@fullscreen.com
88
+ executables: []
89
+ extensions: []
90
+ extra_rdoc_files: []
91
+ files:
92
+ - ".gitignore"
93
+ - ".rspec"
94
+ - ".travis.yml"
95
+ - ".yardopts"
96
+ - CHANGELOG.md
97
+ - Gemfile
98
+ - LICENSE.txt
99
+ - README.md
100
+ - Rakefile
101
+ - bin/console
102
+ - bin/setup
103
+ - fb-auth.gemspec
104
+ - lib/fb/auth.rb
105
+ - lib/fb/auth/version.rb
106
+ - lib/fb/configuration.rb
107
+ - lib/fb/error.rb
108
+ - lib/fb/page.rb
109
+ - lib/fb/request.rb
110
+ - lib/fb/user.rb
111
+ homepage: https://github.com/Fullscreen/fb-auth
112
+ licenses:
113
+ - MIT
114
+ metadata: {}
115
+ post_install_message:
116
+ rdoc_options: []
117
+ require_paths:
118
+ - lib
119
+ required_ruby_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ required_rubygems_version: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ">="
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ requirements: []
130
+ rubyforge_project:
131
+ rubygems_version: 2.6.11
132
+ signing_key:
133
+ specification_version: 4
134
+ summary: Ruby client to authenticate a Facebook user.
135
+ test_files: []