facebook_places 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/.rspec +2 -0
- data/.rubocop.yml +14 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +81 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/facebook_places.gemspec +35 -0
- data/lib/facebook_places/client.rb +32 -0
- data/lib/facebook_places/configuration.rb +16 -0
- data/lib/facebook_places/place.rb +31 -0
- data/lib/facebook_places/request.rb +38 -0
- data/lib/facebook_places/version.rb +3 -0
- data/lib/facebook_places.rb +13 -0
- metadata +190 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ed44bcbdf9157082b9014862aca284c3d0506754
|
4
|
+
data.tar.gz: 691b6fd44f7f4899f59c39edd47bb56d1e19da6a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 27faac1be0f55207240343436ceba0b9c511daf231112e1c3a7fc3e2b30b3c5babbd4fb728c7facc096a82aa76a7b4e46be0bc58daceae5d2c1596f087e1c6f1
|
7
|
+
data.tar.gz: 7efc223f95cf5022c2ac088a9a2efdb1e515d383b7dc971e29fc094b189dbd5cbfde6bd967e937cba76118f2bb4390b67e196de6684f17c65b9af2a041c8325f
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at mohamed.diaa27@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Mohamed Diaa
|
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,81 @@
|
|
1
|
+
# FacebookPlaces
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.com/mohameddiaa27/facebook_places.svg?token=z3yXrVS4yVqTxaf5FPz7&branch=master)](https://travis-ci.com/mohameddiaa27/facebook_places)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/mohameddiaa27/facebook_places/badges/gpa.svg)](https://codeclimate.com/github/mohameddiaa27/facebook_places)
|
5
|
+
[![Issue Count](https://codeclimate.com/github/mohameddiaa27/facebook_places/badges/issue_count.svg)](https://codeclimate.com/github/mohameddiaa27/facebook_places)
|
6
|
+
[![Test Coverage](https://codeclimate.com/github/mohameddiaa27/facebook_places/badges/coverage.svg)](https://codeclimate.com/github/mohameddiaa27/facebook_places/coverage)
|
7
|
+
|
8
|
+
This gem provides a Ruby wrapper around the [Facebook Places API](https://developers.facebook.com/docs/places/overview).
|
9
|
+
|
10
|
+
## Installation
|
11
|
+
|
12
|
+
Add this line to your application's Gemfile:
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
gem 'facebook_places'
|
16
|
+
```
|
17
|
+
|
18
|
+
And then execute:
|
19
|
+
|
20
|
+
$ bundle
|
21
|
+
|
22
|
+
Or install it yourself as:
|
23
|
+
|
24
|
+
$ gem install facebook_places
|
25
|
+
|
26
|
+
## Usage
|
27
|
+
|
28
|
+
Initializing the Places Client by a token
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
client = FacebookPlaces::Client.new(token)
|
32
|
+
```
|
33
|
+
|
34
|
+
### Places Search [Docs](https://developers.facebook.com/docs/places/web/search)
|
35
|
+
With the Places Search API, you can search for millions of places worldwide, and retrieve place-related details like the number of checkins, ratings, and addresses—all with a single request.
|
36
|
+
|
37
|
+
```ruby
|
38
|
+
results = client.search(options)
|
39
|
+
```
|
40
|
+
|
41
|
+
| option | Description |
|
42
|
+
|------------|-------------|
|
43
|
+
| center | The coordinates for the center of the search, in the format: [latitude],[longitude]; e.g., "140.7307,-73.9918".|
|
44
|
+
| fields | An array of [Place fields](https://developers.facebook.com/docs/places/fields) |
|
45
|
+
| distance | The maximum distance from the center, in meters. This parameter can only be used in conjunction with center. |
|
46
|
+
| categories | The place categories to restrict the search results, e.g., ["FOOD_BEVERAGE"].|
|
47
|
+
|
48
|
+
**Pagination**
|
49
|
+
You can paginate through next pages of the search results by
|
50
|
+
|
51
|
+
```ruby
|
52
|
+
new_results = results.next_page
|
53
|
+
```
|
54
|
+
|
55
|
+
### Place Information [Docs](https://developers.facebook.com/docs/places/web/place-information)
|
56
|
+
The Places Information API allows your app to retrieve Place-related information. You can retrieve Place-related information using a place ID.
|
57
|
+
|
58
|
+
```ruby
|
59
|
+
place = client.find(place_id, fields: [])
|
60
|
+
```
|
61
|
+
| params | Description |
|
62
|
+
|------------|-------------|
|
63
|
+
| place_id | PLACE_ID |
|
64
|
+
| fields | An array of [Place fields](https://developers.facebook.com/docs/places/fields) |
|
65
|
+
|
66
|
+
|
67
|
+
## Development
|
68
|
+
|
69
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
70
|
+
|
71
|
+
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).
|
72
|
+
|
73
|
+
## Contributing
|
74
|
+
|
75
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/mohameddiaa27/facebook_places. 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.
|
76
|
+
|
77
|
+
|
78
|
+
## License
|
79
|
+
|
80
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
81
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'facebook_places'
|
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,35 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
lib = File.expand_path('../lib', __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require 'facebook_places/version'
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = 'facebook_places'
|
9
|
+
spec.version = FacebookPlaces::VERSION
|
10
|
+
spec.authors = ['Mohamed Diaa', 'Abanoub Aziz']
|
11
|
+
spec.email = ['mohamed.diaa27@gmail.com', 'abanoub.aziz92@gmail.com']
|
12
|
+
|
13
|
+
spec.summary = 'A simple wrapper for Facebook Places APIs'
|
14
|
+
spec.homepage = 'https://github.com/mohameddiaa27/facebook_places'
|
15
|
+
spec.license = 'MIT'
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
18
|
+
f.match(%r{^(test|spec|features)/})
|
19
|
+
end
|
20
|
+
|
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_dependency 'recursive-open-struct', '~> 1.0'
|
26
|
+
|
27
|
+
spec.add_development_dependency 'bundler', '~> 1.14'
|
28
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
29
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
30
|
+
spec.add_development_dependency 'codeclimate-test-reporter', '~> 1.0.0'
|
31
|
+
spec.add_development_dependency 'simplecov', '~> 0.14.1'
|
32
|
+
spec.add_development_dependency 'addressable', '~> 2.4.0'
|
33
|
+
spec.add_development_dependency 'webmock', '~> 2.3'
|
34
|
+
spec.add_development_dependency 'vcr', '~> 3.0'
|
35
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
module FacebookPlaces
|
2
|
+
class Client
|
3
|
+
## Accessors
|
4
|
+
attr_accessor :access_token
|
5
|
+
|
6
|
+
## Methods
|
7
|
+
def initialize(access_token)
|
8
|
+
@access_token = access_token
|
9
|
+
end
|
10
|
+
|
11
|
+
# Search for place with place id
|
12
|
+
def find(place_id, fields: [])
|
13
|
+
options = {
|
14
|
+
fields: fields.join(','),
|
15
|
+
access_token: access_token
|
16
|
+
}
|
17
|
+
Place.find(place_id, options: options)
|
18
|
+
end
|
19
|
+
|
20
|
+
def search(center: '', q: '', distance: '', categories: [], fields: [])
|
21
|
+
options = {
|
22
|
+
q: q,
|
23
|
+
fields: fields.join(','),
|
24
|
+
center: center,
|
25
|
+
distance: distance,
|
26
|
+
'categories[]' => categories,
|
27
|
+
access_token: access_token
|
28
|
+
}
|
29
|
+
Place.search(options)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module FacebookPlaces
|
2
|
+
# Module including Gem Configuration
|
3
|
+
module Configuration
|
4
|
+
# BASE URLS
|
5
|
+
GRAPH_URL = 'https://graph.facebook.com/'.freeze
|
6
|
+
VERSION = 'v2.9'.freeze
|
7
|
+
BASE_URL = GRAPH_URL + VERSION + '/'
|
8
|
+
|
9
|
+
# API URLS
|
10
|
+
PLACE_URL = BASE_URL + '%{place_id}'
|
11
|
+
SEARCH_URL = BASE_URL + 'search'
|
12
|
+
|
13
|
+
# DEFAULT PARAMS
|
14
|
+
SEARCH_DEFAULT_ATTRIBUTES = { type: 'place' }.freeze
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
module FacebookPlaces
|
2
|
+
class Place
|
3
|
+
## Class Methods
|
4
|
+
class << self
|
5
|
+
def find(id, options: {})
|
6
|
+
url = Configuration::PLACE_URL % { place_id: id }
|
7
|
+
request = Request.new(url, options: options)
|
8
|
+
RecursiveOpenStruct.new(request.parsed_response, recurse_over_arrays: true)
|
9
|
+
end
|
10
|
+
|
11
|
+
def search(options)
|
12
|
+
options.merge! Configuration::SEARCH_DEFAULT_ATTRIBUTES
|
13
|
+
url = Configuration::SEARCH_URL
|
14
|
+
request = Request.new(url, options: options)
|
15
|
+
response = RecursiveOpenStruct.new(request.parsed_response, recurse_over_arrays: true)
|
16
|
+
add_easy_pagination(response) unless response.dig(:paging, :next).nil?
|
17
|
+
response
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def add_easy_pagination(response)
|
23
|
+
def response.next_page
|
24
|
+
uri = URI(paging.next)
|
25
|
+
options = CGI.parse(uri.query)
|
26
|
+
FacebookPlaces::Place.search(options)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module FacebookPlaces
|
2
|
+
class Request
|
3
|
+
## Accessors
|
4
|
+
attr_accessor :response, :uri
|
5
|
+
|
6
|
+
## Methods
|
7
|
+
def initialize(url, options: {})
|
8
|
+
options.delete_if { |_, value| value.to_s.strip == '' }
|
9
|
+
@uri = URI(url)
|
10
|
+
@uri.query = URI.encode_www_form(options)
|
11
|
+
@response = start!
|
12
|
+
end
|
13
|
+
|
14
|
+
def parsed_response
|
15
|
+
JSON.parse(response.body)
|
16
|
+
rescue
|
17
|
+
Logger.new(STDOUT).error 'Failed to Parse Response'
|
18
|
+
end
|
19
|
+
|
20
|
+
private
|
21
|
+
|
22
|
+
def start!
|
23
|
+
http_get do
|
24
|
+
return @response if @response.is_a?(Net::HTTPSuccess)
|
25
|
+
Logger.new(STDOUT).error parsed_response['error']['message']
|
26
|
+
raise StandardError
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def http_get(&block)
|
31
|
+
Net::HTTP.start(uri.host, uri.port, use_ssl: true) do |http|
|
32
|
+
@request = Net::HTTP::Get.new uri
|
33
|
+
@response = http.request @request
|
34
|
+
yield
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'cgi'
|
2
|
+
require 'json'
|
3
|
+
require 'logger'
|
4
|
+
require 'net/http'
|
5
|
+
require 'facebook_places/version'
|
6
|
+
require 'facebook_places/client'
|
7
|
+
require 'facebook_places/configuration'
|
8
|
+
require 'facebook_places/request'
|
9
|
+
require 'facebook_places/place'
|
10
|
+
require 'recursive-open-struct'
|
11
|
+
|
12
|
+
module FacebookPlaces
|
13
|
+
end
|
metadata
ADDED
@@ -0,0 +1,190 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: facebook_places
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mohamed Diaa
|
8
|
+
- Abanoub Aziz
|
9
|
+
autorequire:
|
10
|
+
bindir: exe
|
11
|
+
cert_chain: []
|
12
|
+
date: 2017-04-25 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: recursive-open-struct
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1.0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '1.0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: bundler
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.14'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '1.14'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rake
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '10.0'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '10.0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rspec
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '3.0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: codeclimate-test-reporter
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 1.0.0
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 1.0.0
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: simplecov
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 0.14.1
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 0.14.1
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: addressable
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - "~>"
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 2.4.0
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - "~>"
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: 2.4.0
|
112
|
+
- !ruby/object:Gem::Dependency
|
113
|
+
name: webmock
|
114
|
+
requirement: !ruby/object:Gem::Requirement
|
115
|
+
requirements:
|
116
|
+
- - "~>"
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: '2.3'
|
119
|
+
type: :development
|
120
|
+
prerelease: false
|
121
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
|
+
requirements:
|
123
|
+
- - "~>"
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: '2.3'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: vcr
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - "~>"
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '3.0'
|
133
|
+
type: :development
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '3.0'
|
140
|
+
description:
|
141
|
+
email:
|
142
|
+
- mohamed.diaa27@gmail.com
|
143
|
+
- abanoub.aziz92@gmail.com
|
144
|
+
executables: []
|
145
|
+
extensions: []
|
146
|
+
extra_rdoc_files: []
|
147
|
+
files:
|
148
|
+
- ".gitignore"
|
149
|
+
- ".rspec"
|
150
|
+
- ".rubocop.yml"
|
151
|
+
- ".travis.yml"
|
152
|
+
- CODE_OF_CONDUCT.md
|
153
|
+
- Gemfile
|
154
|
+
- LICENSE.txt
|
155
|
+
- README.md
|
156
|
+
- Rakefile
|
157
|
+
- bin/console
|
158
|
+
- bin/setup
|
159
|
+
- facebook_places.gemspec
|
160
|
+
- lib/facebook_places.rb
|
161
|
+
- lib/facebook_places/client.rb
|
162
|
+
- lib/facebook_places/configuration.rb
|
163
|
+
- lib/facebook_places/place.rb
|
164
|
+
- lib/facebook_places/request.rb
|
165
|
+
- lib/facebook_places/version.rb
|
166
|
+
homepage: https://github.com/mohameddiaa27/facebook_places
|
167
|
+
licenses:
|
168
|
+
- MIT
|
169
|
+
metadata: {}
|
170
|
+
post_install_message:
|
171
|
+
rdoc_options: []
|
172
|
+
require_paths:
|
173
|
+
- lib
|
174
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
175
|
+
requirements:
|
176
|
+
- - ">="
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: '0'
|
179
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
180
|
+
requirements:
|
181
|
+
- - ">="
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: '0'
|
184
|
+
requirements: []
|
185
|
+
rubyforge_project:
|
186
|
+
rubygems_version: 2.6.10
|
187
|
+
signing_key:
|
188
|
+
specification_version: 4
|
189
|
+
summary: A simple wrapper for Facebook Places APIs
|
190
|
+
test_files: []
|