firebase-auth 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7bf096b7cac074f0438a1e9de58ef33a1e177e88
4
+ data.tar.gz: 91000c7a3a18145736e00e6f3ff18c329db00c78
5
+ SHA512:
6
+ metadata.gz: ba38696727528d887afc776fc31406d40bc5fcd08e274faaccb517da900c5fbdd336f19234855d82ba9c67b47eb54b93996cb17c57ddb1cc562e130c5eafff35
7
+ data.tar.gz: 3127485fd806d0ab197478b117e293490fd9a73b8048d18c0ae19dad907dd93c9d15d3e37bf2d96f92c379ee11cbdf92a4e36b5f5f2154c4fea562029b89e2ba
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.3.1
5
+ before_install: gem install bundler -v 1.13.6
@@ -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 hungdh@onaclover.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
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in firebase-auth.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Huy Hùng
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.
@@ -0,0 +1,41 @@
1
+ # Firebase::Auth
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/firebase/auth`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'firebase-auth'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install firebase-auth
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ 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.
30
+
31
+ 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/firebase-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.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
@@ -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
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "firebase/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
@@ -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,27 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'firebase/auth/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "firebase-auth"
8
+ spec.version = Firebase::Auth::VERSION
9
+ spec.authors = ["Huy Hùng"]
10
+ spec.email = ["huyhung1994@gmail.com"]
11
+
12
+ spec.summary = "Firebase Authentication wrapper for Ruby"
13
+ spec.homepage = "https://github.com/hungdh0x5e/firebase-auth"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
+ f.match(%r{^(test|spec|features)/})
18
+ end
19
+ spec.bindir = "exe"
20
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
+ spec.require_paths = ["lib"]
22
+
23
+ spec.add_development_dependency "bundler", "~> 1.13"
24
+ spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "rspec", "~> 3.0"
26
+ spec.add_runtime_dependency "rest-client", "~> 2.0"
27
+ end
@@ -0,0 +1,293 @@
1
+ require 'firebase/auth/version'
2
+ require 'firebase/auth/config'
3
+ require 'rest-client'
4
+ require 'json'
5
+
6
+ module Firebase
7
+ module Auth
8
+ class Client
9
+ attr_reader :api_key
10
+
11
+ def initialize(api_key)
12
+ raise ArgumentError.new('Missing api_key') if (api_key.nil? || api_key.empty?)
13
+
14
+ @api_key = api_key
15
+ end
16
+
17
+ # Create a new email and password user
18
+ # Params:
19
+ # @email: The email for the user to create.
20
+ # @password: The password for the user to create.
21
+ # Error:
22
+ # [EMAIL_EXISTS, OPERATION_NOT_ALLOWED, TOO_MANY_ATTEMPTS_TRY_LATER]
23
+ # Referrences:
24
+ # https://firebase.google.com/docs/reference/rest/auth/#section-create-email-password
25
+ def sign_up_email(email, password, options={})
26
+ data = {
27
+ email: email, password: password,
28
+ displayName: options[:display_name],
29
+ returnSecureToken: true
30
+ }
31
+ process(:post, Config::SIGN_UP_EMAIL, data)
32
+ end
33
+
34
+ # Sign in a user with an email and password
35
+ # # Params:
36
+ # @email:
37
+ # @password:
38
+ # Error:
39
+ # [EMAIL_NOT_FOUND, INVALID_PASSWORD, USER_DISABLED]
40
+ # Referrences:
41
+ # https://firebase.google.com/docs/reference/rest/auth/#section-create-email-password
42
+ def sign_in_email(email, password)
43
+ data = {
44
+ email: email, password: password, returnSecureToken: true
45
+ }
46
+ process(:post, Config::SIGN_IN_EMAIL, data)
47
+ end
48
+
49
+ # Sign in a user anonymously
50
+ def sign_in_anonymously
51
+ data = { returnSecureToken: true }
52
+ process(:post, Config::SIGN_UP_EMAIL, data)
53
+ end
54
+
55
+ # Sign in with OAuth credential
56
+ # Params:
57
+ # @provider: [facebook.com, google.com, github.com, twitter.com]
58
+ # @access_token: OAuth credential
59
+ # @request_uri: The URI to which the IDP redirects the user back.
60
+ # Error
61
+ # [OPERATION_NOT_ALLOWED, INVALID_IDP_RESPONSE]
62
+ def sign_in_oauth(provider, access_token, request_uri)
63
+ data = {
64
+ requestUri: request_uri,
65
+ postBody: "access_token=#{access_token}&providerId=#{provider}",
66
+ returnSecureToken: true,
67
+ returnIdpCredential: true
68
+ }
69
+
70
+ process(:post, Config::SIGN_IN_OAUTH, data)
71
+ end
72
+
73
+ # Fetch providers for email
74
+ # Params:
75
+ # @email: User's email address
76
+ # @continue_uri: The URI to which the IDP redirects the user back
77
+ # Error
78
+ # [INVALID_EMAIL]
79
+ def fetch_providers_for_email(email, continue_uri)
80
+ data = { identifier: email, continueUri: continue_uri }
81
+
82
+ process(:post, Config::GET_PROVIDERS_FOR_EMAIL, data)
83
+ end
84
+
85
+ # Send code confirmation to reset password via email
86
+ # Params:
87
+ # @email: User's email address want reset password
88
+ # Error
89
+ # [EMAIL_NOT_FOUND]
90
+ def send_confirm_code(email)
91
+ data = {
92
+ email: email,
93
+ requestType: Param::PASSWORD_RESET
94
+ }
95
+
96
+ process(:post, Config::SEND_CODE_CONFIRM, data)
97
+ end
98
+
99
+ # Verify password reset code
100
+ # Params:
101
+ # @code: code received though email
102
+ # Error
103
+ # [OPERATION_NOT_ALLOWED, EXPIRED_OOB_CODE, INVALID_OOB_CODE]
104
+ def verfify_password_code(code)
105
+ data = { oobCode: code }
106
+
107
+ process(:post, Config::VERIFY_CODE_RESET_PWD, data)
108
+ end
109
+
110
+ # Reset password
111
+ # Params:
112
+ # @code: code received though email
113
+ # @password: new password want change
114
+ # Error
115
+ # [OPERATION_NOT_ALLOWED, EXPIRED_OOB_CODE, INVALID_OOB_CODE]
116
+ def reset_password(code, password)
117
+ data = { oobCode: code, newPassword: password }
118
+
119
+ process(:post, Config::RESET_PASSWORD, data)
120
+ end
121
+
122
+ # Change a user's email
123
+ # Params:
124
+ # @token: user's token
125
+ # @email: the user's new email.
126
+ # Error
127
+ # [EMAIL_EXISTS, INVALID_ID_TOKEN]
128
+ def change_email(token, email)
129
+ data = { idToken: token, email: email, returnSecureToken: true}
130
+
131
+ process(:post, Config::SET_ACCOUNT_INFO, data)
132
+ end
133
+
134
+ # Change a user's password
135
+ # Params:
136
+ # @token: user's token
137
+ # @password: User's new password.
138
+ # Error
139
+ # [INVALID_ID_TOKEN, WEAK_PASSWORD]
140
+ def change_password(token, password)
141
+ data = { idToken: token, password: password, returnSecureToken: true }
142
+
143
+ process(:post, Config::SET_ACCOUNT_INFO, data)
144
+ end
145
+
146
+ # Update user's profile
147
+ # Params:
148
+ # @token: user's token
149
+ # @user_name: User's new display name
150
+ # @photo_url: User's new photo url
151
+ # Error
152
+ # [INVALID_ID_TOKEN]
153
+ def update_profile(token, user_name, photo_url)
154
+ data = {
155
+ idToken: token, displayName: user_name,
156
+ photoUrl: photo_url, returnSecureToken: true
157
+ }
158
+
159
+ process(:post, Config::SET_ACCOUNT_INFO, data)
160
+ end
161
+
162
+ # Get account info
163
+ # Params:
164
+ # @token: The Firebase ID token of the account
165
+ # Error
166
+ # [INVALID_ID_TOKEN, USER_NOT_FOUND]
167
+ def get_account_info(token)
168
+ data = { idToken: token }
169
+
170
+ process(:post, Config::GET_ACCOUNT_INFO, data)
171
+ end
172
+
173
+ # Link new account (email/ password) with user exist
174
+ # Param:
175
+ # @token: token of main user
176
+ # @email: user's email want link
177
+ # @password: user's password want link
178
+ # Error
179
+ # [CREDENTIAL_TOO_OLD_LOGIN_AGAIN, TOKEN_EXPIRED,
180
+ # INVALID_ID_TOKEN, WEAK_PASSWORD]
181
+ def link_with_email(token, email, password)
182
+ data = {
183
+ idToken: token,
184
+ email: email, password: password,
185
+ returnSecureToken: true
186
+ }
187
+
188
+ process(:post, Config::SET_ACCOUNT_INFO, data)
189
+ end
190
+
191
+ # Link new account (email/ password) with user exist
192
+ # Param:
193
+ # @token: token of main user
194
+ # @email: user's email want link
195
+ # @password: user's password want link
196
+ # Error
197
+ # [CREDENTIAL_TOO_OLD_LOGIN_AGAIN, TOKEN_EXPIRED,
198
+ # INVALID_ID_TOKEN, WEAK_PASSWORD]
199
+ def link_with_oauth(token, provider, access_token, redirect_uri)
200
+ data = {
201
+ idToken: token, requestUri: redirect_uri,
202
+ postBody: "id_token=#{access_token}&providerId=#{provider}",
203
+ returnSecureToken: true, returnIdpCredential: true
204
+ }
205
+
206
+ process(:post, Config::SET_ACCOUNT_INFO, data)
207
+ end
208
+
209
+ # Unlink between account
210
+ # Params:
211
+ # @token: user's token want unlink
212
+ # @providers: list of provider want unlink
213
+ # Error
214
+ # [INVALID_ID_TOKEN]
215
+ def unlink_provider(token, providers=[])
216
+ data = { idToken: token, deleteProvider: providers }
217
+
218
+ process(:post, Config::SET_ACCOUNT_INFO, data)
219
+ end
220
+
221
+ # Send email verification
222
+ # Params:
223
+ # @token: user's token
224
+ # Error
225
+ # [INVALID_ID_TOKEN, USER_NOT_FOUND]
226
+ def send_email_verify(token)
227
+ data = { idToken: token, requestType: Param::VERIFY_EMAIL }
228
+
229
+ process(:post, Config::SEND_CODE_CONFIRM, data)
230
+ end
231
+
232
+ # Verify email by code
233
+ # Params:
234
+ # @code:
235
+ # Error
236
+ # [EXPIRED_OOB_CODE, INVALID_OOB_CODE,
237
+ # USER_DISABLED, EMAIL_NOT_FOUND]
238
+ def confirm_email(code)
239
+ data = { oobCode: code }
240
+
241
+ process(:post, Config::SET_ACCOUNT_INFO, data)
242
+ end
243
+
244
+ def delete_account(token)
245
+ data = { idToken: token }
246
+
247
+ process(:post, Config::DELETE_ACCOUNT, data)
248
+ end
249
+
250
+ def refresh_token(refresh_token)
251
+ data = {
252
+ grant_type: Param::REFRESH_TOKEN,
253
+ refresh_token: refresh_token
254
+ }
255
+
256
+ begin
257
+ RestClient::Request.execute(method: :post,
258
+ url: "#{Config::EXCHANGE_REFRESH_TOKEN}?key=#{api_key}",
259
+ headers: { 'Content-Type': 'application/json' },
260
+ payload: data.to_json,
261
+ timeout: 10)
262
+ rescue RestClient::ExceptionWithResponse => e
263
+ e.response
264
+ end
265
+ end
266
+
267
+ # Additional Get certificate sign token (JWT)
268
+ def get_certificate
269
+ begin
270
+ res = RestClient::Request.execute(method: :get,
271
+ url: "#{Config::GET_CERTIFICATE}",
272
+ timeout: 10)
273
+ certificates = JSON.parse(res.body)
274
+ rescue RestClient::ExceptionWithResponse => e
275
+ e.response
276
+ end
277
+ end
278
+
279
+ private
280
+ def process(verb, path, data=nil)
281
+ begin
282
+ RestClient::Request.execute(method: verb,
283
+ url: "#{Config::BASE_URI}/#{path}?key=#{api_key}",
284
+ headers: { 'Content-Type': 'application/json' },
285
+ payload: data.to_json,
286
+ timeout: 10)
287
+ rescue RestClient::ExceptionWithResponse => e
288
+ e.response
289
+ end
290
+ end
291
+ end
292
+ end
293
+ end
@@ -0,0 +1,28 @@
1
+ module Firebase
2
+ module Auth
3
+ module Config
4
+ BASE_URI = 'https://www.googleapis.com/identitytoolkit/v3/relyingparty'
5
+ EXCHANGE_REFRESH_TOKEN = 'https://securetoken.googleapis.com/v1/token'
6
+ GET_CERTIFICATE = 'https://www.googleapis.com/robot/v1/metadata/x509/securetoken@system.gserviceaccount.com'
7
+ VERIFY_TOKEN_VERSION = 'verifyCustomToken'
8
+ SIGN_UP_EMAIL = 'signupNewUser'
9
+ SIGN_IN_EMAIL = 'verifyPassword'
10
+ SIGN_IN_OAUTH = 'verifyAssertion'
11
+
12
+ SEND_CODE_CONFIRM = 'getOobConfirmationCode'
13
+ RESET_PASSWORD = 'resetPassword'
14
+
15
+ SET_ACCOUNT_INFO = 'setAccountInfo'
16
+ GET_ACCOUNT_INFO = 'getAccountInfo'
17
+ GET_PROVIDERS_FOR_EMAIL = 'createAuthUri'
18
+
19
+ DELETE_ACCOUNT = 'deleteAccount'
20
+ end
21
+
22
+ module Param
23
+ REFRESH_TOKEN = 'refresh_token'
24
+ PASSWORD_RESET = 'PASSWORD_RESET'
25
+ VERIFY_EMAIL = 'VERIFY_EMAIL'
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,5 @@
1
+ module Firebase
2
+ module Auth
3
+ VERSION = "0.1.0"
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,114 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: firebase-auth
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Huy Hùng
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2017-07-13 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.13'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.13'
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: rest-client
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.0'
69
+ description:
70
+ email:
71
+ - huyhung1994@gmail.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ".gitignore"
77
+ - ".rspec"
78
+ - ".travis.yml"
79
+ - CODE_OF_CONDUCT.md
80
+ - Gemfile
81
+ - LICENSE.txt
82
+ - README.md
83
+ - Rakefile
84
+ - bin/console
85
+ - bin/setup
86
+ - firebase-auth.gemspec
87
+ - lib/firebase/auth.rb
88
+ - lib/firebase/auth/config.rb
89
+ - lib/firebase/auth/version.rb
90
+ homepage: https://github.com/hungdh0x5e/firebase-auth
91
+ licenses:
92
+ - MIT
93
+ metadata: {}
94
+ post_install_message:
95
+ rdoc_options: []
96
+ require_paths:
97
+ - lib
98
+ required_ruby_version: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ required_rubygems_version: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
108
+ requirements: []
109
+ rubyforge_project:
110
+ rubygems_version: 2.6.8
111
+ signing_key:
112
+ specification_version: 4
113
+ summary: Firebase Authentication wrapper for Ruby
114
+ test_files: []