chronicle-foursquare 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
+ SHA256:
3
+ metadata.gz: a0e123371d8afe2ec990238902f728d6fc7c826494b317cdd9809dd118624d3d
4
+ data.tar.gz: 1f6927a304ca2e6526b7e50540bf72765de4099fcccb34d394e7fd950f9cf5f6
5
+ SHA512:
6
+ metadata.gz: 4172b70d9503bdaa5316962484af18753b271ee5a55049dab2897539be6636a27345ede2007fd508ffca92b8d0d38b24a2d66d81737cc7b256c08277ab74fa40
7
+ data.tar.gz: b7d58fed039ba3d03567c16c0599dc111b273b0c136cd4d2aa08057ffb5ef090438c4725db3a8d5d358fd5ac8dd91c67eefaa194ff603c529626a7fc47c92c3a
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ Gemfile.lock
11
+
12
+ # rspec failure tracking
13
+ .rspec_status
14
+ .DS_Store
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at andrew@hyfen.net. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in chronicle-foursquare.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
data/README.md ADDED
@@ -0,0 +1,59 @@
1
+ # Chronicle::Foursquare
2
+ [![Gem Version](https://badge.fury.io/rb/chronicle-foursquare.svg)](https://badge.fury.io/rb/chronicle-foursquare)
3
+
4
+ Extract your Foursquare/Swarm history using the command line with this plugin for [chronicle-etl](https://github.com/chronicle-app/chronicle-etl).
5
+
6
+ ## Usage
7
+
8
+ ### 1. Install Chronicle-ETL and this plugin
9
+
10
+ ```sh
11
+ # Install chronicle-etl and this plugin
12
+ $ gem install chronicle-etl
13
+ $ chronicle-etl plugins:install foursquare
14
+ ```
15
+
16
+ ### 2. Create a Foursquare App
17
+ To get access to the Foursquare API, you must first create an app. Press the "Create New Project" button in the [Developer Home](https://foursquare.com/developers/home).
18
+
19
+ In the app's setting, in the `Redirect URIs` field, add `http://localhost:4567/auth/foursquare/callback`. After your app has been saved, grab the `client_id` and `client_secret` credentials and save them to chronicle-etl secrets:
20
+
21
+ ```sh
22
+ $ chronicle-etl secrets:set foursquare client_id
23
+ $ chronicle-etl secrets:set foursquare client_secret
24
+ ```
25
+
26
+ ### 3. Authorize Foursquare
27
+
28
+ Next, we need an access token for accessing your data. We can use the authorization flow:
29
+
30
+ ```sh
31
+ $ chronicle-etl authorizations:new foursquare
32
+ ```
33
+
34
+ This will open a browser window to authorize on foursquare.com. When the flow is complete, access/refresh tokens will be saved in the chronicle secret system under the "foursquare" namespace. It'll be available automatically whenever you use this plugin.
35
+
36
+ ### 4. Use the the plugin
37
+ ```sh
38
+ # Extract recent checkins
39
+ $ chronicle-etl --extractor foursquare --since 1w
40
+ # Transform as Chronicle Schema
41
+ $ chronicle-etl --extractor foursquare --since 1w --transformer foursquare --loader json
42
+ ```
43
+
44
+ ## Available Connectors
45
+
46
+ ### Extractors
47
+
48
+ #### `visits`
49
+
50
+ Extractor for your Foursquare (via the Swarm app) checkins
51
+
52
+ ##### Settings
53
+ - `access_token`: (required) API access token for foursquare. By default, it's loaded from secrets under the `foursquare` namespace. You can check if it's available with `chronicle-etl secrets:list foursquare`
54
+
55
+ ### Transformers
56
+
57
+ #### `visit`
58
+
59
+ Transform a visit into Chronicle Schema
data/Rakefile ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ task default: %i[]
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require "bundler/setup"
5
+ require "chronicle/foursquare"
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require "irb"
15
+ 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
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path("../lib", __FILE__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require "chronicle/foursquare/version"
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "chronicle-foursquare"
9
+ spec.version = Chronicle::Foursquare::VERSION
10
+ spec.authors = ["Andrew Louis"]
11
+ spec.email = ["andrew@hyfen.net"]
12
+
13
+ spec.summary = "Foursquare importer for Chronicle"
14
+ spec.description = "Foursquare connectors"
15
+ spec.homepage = "https://github.com/chronicle-app/chronicle-foursquare"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ if spec.respond_to?(:metadata)
20
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+
22
+ spec.metadata["homepage_uri"] = spec.homepage
23
+ spec.metadata["source_code_uri"] = "https://github.com/chronicle-app/chronicle-foursquare"
24
+ spec.metadata["changelog_uri"] = "https://github.com/chronicle-app/chronicle-foursquare"
25
+ else
26
+ raise "RubyGems 2.0 or newer is required to protect against " \
27
+ "public gem pushes."
28
+ end
29
+
30
+ # Specify which files should be added to the gem when it is released.
31
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
32
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
33
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
34
+ end
35
+ spec.bindir = "exe"
36
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
+ spec.require_paths = ["lib"]
38
+
39
+ spec.add_dependency "chronicle-etl", "~> 0.5"
40
+ spec.add_dependency "faraday", "~> 2"
41
+ spec.add_dependency "omniauth-oauth2", "~> 1"
42
+
43
+ spec.add_development_dependency "bundler", "~> 2.3"
44
+ spec.add_development_dependency "rake", "~> 13.0.6"
45
+ spec.add_development_dependency "pry-byebug", "~> 3.9"
46
+ end
@@ -0,0 +1,17 @@
1
+ require 'chronicle/etl/oauth_authorizer'
2
+
3
+ module Chronicle
4
+ module Foursquare
5
+ class Authorizer < Chronicle::ETL::OauthAuthorizer
6
+ provider :foursquare
7
+ omniauth_strategy :foursquare
8
+ pluck_secrets({
9
+ access_token: [:credentials, :token],
10
+ uid: [:uid],
11
+ first_name: [:info, :first_name],
12
+ last_name: [:info, :last_name],
13
+ email: [:info, :email],
14
+ })
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,85 @@
1
+ module Chronicle
2
+ module Foursquare
3
+ class CheckinTransformer < Chronicle::ETL::Transformer
4
+ register_connector do |r|
5
+ r.provider = 'foursquare'
6
+ r.description = 'foursquare checkin'
7
+ r.identifier = 'checkin'
8
+ end
9
+
10
+ def transform
11
+ build_checkin
12
+ end
13
+
14
+ def timestamp
15
+ Time.at(checkin[:createdAt])
16
+ end
17
+
18
+ def id
19
+ checkin[:id]
20
+ end
21
+
22
+ private
23
+
24
+ def build_checkin
25
+ record = ::Chronicle::ETL::Models::Activity.new
26
+ record.provider = 'foursquare'
27
+ record.end_at = timestamp
28
+ record.provider_id = id
29
+ record.lat = checkin[:venue][:location][:lat]
30
+ record.lng = checkin[:venue][:location][:lng]
31
+ record.dedupe_on << ['provider', 'provider_id', 'verb']
32
+ record.involved = build_venue
33
+ record.actor = build_actor
34
+ record
35
+ end
36
+
37
+ def build_venue
38
+ record = ::Chronicle::ETL::Models::Entity.new
39
+ record.provider = 'foursquare'
40
+ record.provider = checkin[:venue][:id]
41
+ record.represents = 'venue'
42
+ record.title = checkin[:venue][:name]
43
+ record.provider_id = checkin[:venue][:id]
44
+ record.lat = checkin[:venue][:location][:lat]
45
+ record.lng = checkin[:venue][:location][:lng]
46
+ record.dedupe_on << ['provider', 'provider_id', 'represents']
47
+ record.abouts = checkin[:venue][:categories].map{|category| build_category(category)}
48
+ record
49
+ end
50
+
51
+ def build_actor
52
+ record = ::Chronicle::ETL::Models::Entity.new
53
+ record.provider = 'foursquare'
54
+ record.represents = 'identity'
55
+ record.title = "#{actor[:firstName]} #{actor[:lastName]}"
56
+ record.provider_id = actor[:id]
57
+ record.provider_url = actor[:canonicalUrl]
58
+ record.dedupe_on << ['provider_url']
59
+ record.dedupe_on << ['provider', 'provider_id', 'represents']
60
+ record.attachments = [::Chronicle::ETL::Models::Attachment.new({
61
+ url_original: actor[:photo][:prefix] + "260x260" + actor[:photo][:suffix]
62
+ })]
63
+ record
64
+ end
65
+
66
+ def build_category(category)
67
+ record = ::Chronicle::ETL::Models::Entity.new
68
+ record.provider = 'foursquare'
69
+ record.provider_id = category[:id]
70
+ record.represents = 'topic'
71
+ record.title = category[:name]
72
+ record.dedupe_on << ['provider', 'provider_id', 'represents']
73
+ record
74
+ end
75
+
76
+ def checkin
77
+ @checkin ||= @extraction.data
78
+ end
79
+
80
+ def actor
81
+ @actor ||= @extraction.meta[:actor]
82
+ end
83
+ end
84
+ end
85
+ end
@@ -0,0 +1,58 @@
1
+ require 'faraday'
2
+
3
+ module Chronicle
4
+ module Foursquare
5
+ class Proxy
6
+ API_VERSION = 20170310
7
+
8
+ def initialize(access_token: )
9
+ @access_token = access_token
10
+ end
11
+
12
+ def load_visits(since: nil, limit: nil)
13
+ has_more = true
14
+ visits = []
15
+ count = 0
16
+
17
+ while has_more
18
+ results = load_checkins(limit: 50, offset: count, since: since)
19
+ results = results.first(limit - count) if limit
20
+ visits += results
21
+
22
+ count += results.length
23
+ has_more = results.any?
24
+ end
25
+ visits
26
+ end
27
+
28
+ def load_self
29
+ load_endpoint('users/self')[:response][:user]
30
+ end
31
+
32
+ def load_checkins(limit: 50, offset: 0, since: nil)
33
+ params = {
34
+ limit: limit,
35
+ offset: offset,
36
+ afterTimestamp: since.to_i
37
+ }
38
+
39
+ load_endpoint('users/self/checkins', params)[:response][:checkins][:items]
40
+ end
41
+
42
+ def load_endpoint(endpoint, params={})
43
+ params = params.merge({
44
+ oauth_token: @access_token,
45
+ v: API_VERSION
46
+ })
47
+
48
+ conn = Faraday.new(
49
+ url: 'https://api.foursquare.com/v2/',
50
+ params: params
51
+ )
52
+
53
+ response = conn.get(endpoint)
54
+ JSON.parse(response.body, { symbolize_names: true })
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Chronicle
4
+ module Foursquare
5
+ VERSION = "0.1.0"
6
+ end
7
+ end
@@ -0,0 +1,40 @@
1
+ module Chronicle
2
+ module Foursquare
3
+ class VisitsExtractor < Chronicle::ETL::Extractor
4
+ register_connector do |r|
5
+ r.provider = 'foursquare'
6
+ r.description = 'visits'
7
+ end
8
+
9
+ setting :access_token, required: true
10
+
11
+ def prepare
12
+ raise(Chronicle::ETL::ExtractionError, "Access token is missing") if @config.access_token.empty?
13
+
14
+ @proxy = Chronicle::Foursquare::Proxy.new(access_token: @config.access_token)
15
+ @actor = load_actor
16
+ @visits = load_visits
17
+ end
18
+
19
+ def results_count
20
+ @visits.count
21
+ end
22
+
23
+ def extract
24
+ @visits.each do |visit|
25
+ yield Chronicle::ETL::Extraction.new(data: visit, meta: { actor: @actor})
26
+ end
27
+ end
28
+
29
+ private
30
+
31
+ def load_visits
32
+ @proxy.load_visits(limit: @config.limit, since: @config.since)
33
+ end
34
+
35
+ def load_actor
36
+ @proxy.load_self
37
+ end
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'chronicle/etl'
4
+
5
+ require_relative "foursquare/version"
6
+ require_relative "../omniauth/strategies/foursquare"
7
+ require_relative "foursquare/proxy"
8
+ require_relative "foursquare/authorizer"
9
+ require_relative "foursquare/visits_extractor"
10
+ require_relative "foursquare/checkin_transformer"
@@ -0,0 +1,61 @@
1
+ # Copied from https://github.com/raysrashmi/omniauth-foursquare
2
+ #
3
+ # Dependencies on the gem are old but the strategy still works fine
4
+ # on its own
5
+ #
6
+ # License: MIT
7
+
8
+ require 'omniauth-oauth2'
9
+
10
+ module OmniAuth
11
+ module Strategies
12
+ class Foursquare < OmniAuth::Strategies::OAuth2
13
+ option :client_options, {
14
+ :site => 'https://foursquare.com',
15
+ :authorize_url => '/oauth2/authenticate',
16
+ :token_url => '/oauth2/access_token'
17
+ }
18
+
19
+ uid { raw_info['id'] }
20
+
21
+ info do
22
+ {
23
+ :first_name => raw_info['firstName'],
24
+ :last_name => raw_info['lastName'],
25
+ :name => "#{raw_info['firstName']} #{raw_info['lastName']}",
26
+ :email => (raw_info['contact'] || {})['email'],
27
+ :phone => (raw_info['contact'] || {})['phone'],
28
+ :image => raw_info['photo'],
29
+ :location => raw_info['homeCity'],
30
+ :description => raw_info['bio']
31
+ }
32
+ end
33
+
34
+ extra do
35
+ { :raw_info => raw_info }
36
+ end
37
+
38
+ def request_phase
39
+ options[:authorize_params] = client_params.merge(options[:authorize_params])
40
+ super
41
+ end
42
+
43
+ def auth_hash
44
+ OmniAuth::Utils.deep_merge(super, client_params.merge({
45
+ :grant_type => 'authorization_code'}))
46
+ end
47
+
48
+ def raw_info
49
+ access_token.options[:mode] = :query
50
+ access_token.options[:param_name] = :oauth_token
51
+ @raw_info ||= access_token.get('https://api.foursquare.com/v2/users/self?v=20140128').parsed['response']['user']
52
+ end
53
+
54
+ private
55
+
56
+ def client_params
57
+ {:client_id => options[:client_id], :redirect_uri => callback_url ,:response_type => "code"}
58
+ end
59
+ end
60
+ end
61
+ end
metadata ADDED
@@ -0,0 +1,145 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: chronicle-foursquare
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Andrew Louis
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-05-18 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: chronicle-etl
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.5'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.5'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: omniauth-oauth2
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: bundler
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.3'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 13.0.6
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 13.0.6
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry-byebug
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '3.9'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '3.9'
97
+ description: Foursquare connectors
98
+ email:
99
+ - andrew@hyfen.net
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - CODE_OF_CONDUCT.md
106
+ - Gemfile
107
+ - README.md
108
+ - Rakefile
109
+ - bin/console
110
+ - bin/setup
111
+ - chronicle-foursquare.gemspec
112
+ - lib/chronicle/foursquare.rb
113
+ - lib/chronicle/foursquare/authorizer.rb
114
+ - lib/chronicle/foursquare/checkin_transformer.rb
115
+ - lib/chronicle/foursquare/proxy.rb
116
+ - lib/chronicle/foursquare/version.rb
117
+ - lib/chronicle/foursquare/visits_extractor.rb
118
+ - lib/omniauth/strategies/foursquare.rb
119
+ homepage: https://github.com/chronicle-app/chronicle-foursquare
120
+ licenses: []
121
+ metadata:
122
+ allowed_push_host: https://rubygems.org
123
+ homepage_uri: https://github.com/chronicle-app/chronicle-foursquare
124
+ source_code_uri: https://github.com/chronicle-app/chronicle-foursquare
125
+ changelog_uri: https://github.com/chronicle-app/chronicle-foursquare
126
+ post_install_message:
127
+ rdoc_options: []
128
+ require_paths:
129
+ - lib
130
+ required_ruby_version: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ required_rubygems_version: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ requirements: []
141
+ rubygems_version: 3.3.3
142
+ signing_key:
143
+ specification_version: 4
144
+ summary: Foursquare importer for Chronicle
145
+ test_files: []