fuser 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +11 -7
- data/lib/fuser/request.rb +8 -1
- data/lib/fuser/version.rb +1 -1
- data/lib/locales/fuser.en.yml +1 -0
- metadata +9 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b658d2bf28232e3e09fa696b9d38dc6b899b6f8f68db229071023c4d53ecfd70
|
4
|
+
data.tar.gz: 842adbef26472f12dfac240be883167332892f693d0c187917f8c42dafe5315e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18c5aa9617193a2a964bc3aec0794cea42781595354833875f2da9fd5f01a6396216702a90388ef9af1ba15dc033c99ee7215ba29ebdffbdf849ae8aae2febc1
|
7
|
+
data.tar.gz: c4f2586b77fd3682b8850d96e1b97d7534016f2b09500c6a6ada7d6259a3b2b6f7942d25e91cda5127911dd0642872e305343a312e6112e6e9931ebae4d62ab5
|
data/Gemfile.lock
CHANGED
@@ -1,24 +1,28 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fuser (0.1.
|
4
|
+
fuser (0.1.1)
|
5
5
|
httparty (~> 0.16.2)
|
6
|
-
i18n (~> 1.1.0)
|
6
|
+
i18n (~> 1.1, >= 1.1.0)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
11
|
addressable (2.5.2)
|
12
12
|
public_suffix (>= 2.0.2, < 4.0)
|
13
|
-
concurrent-ruby (1.
|
13
|
+
concurrent-ruby (1.1.4)
|
14
14
|
crack (0.4.3)
|
15
15
|
safe_yaml (~> 1.0.0)
|
16
16
|
diff-lcs (1.3)
|
17
17
|
hashdiff (0.3.7)
|
18
|
-
httparty (0.16.
|
18
|
+
httparty (0.16.3)
|
19
|
+
mime-types (~> 3.0)
|
19
20
|
multi_xml (>= 0.5.2)
|
20
|
-
i18n (1.
|
21
|
+
i18n (1.5.3)
|
21
22
|
concurrent-ruby (~> 1.0)
|
23
|
+
mime-types (3.2.2)
|
24
|
+
mime-types-data (~> 3.2015)
|
25
|
+
mime-types-data (3.2018.0812)
|
22
26
|
multi_xml (0.6.0)
|
23
27
|
public_suffix (3.0.3)
|
24
28
|
rake (10.5.0)
|
@@ -49,7 +53,7 @@ DEPENDENCIES
|
|
49
53
|
fuser!
|
50
54
|
rake (~> 10.0)
|
51
55
|
rspec (~> 3.0)
|
52
|
-
webmock (~> 3.4.2)
|
56
|
+
webmock (~> 3.4, >= 3.4.2)
|
53
57
|
|
54
58
|
BUNDLED WITH
|
55
|
-
1.
|
59
|
+
1.17.2
|
data/lib/fuser/request.rb
CHANGED
@@ -74,9 +74,16 @@ module Fuser
|
|
74
74
|
when :change_password then
|
75
75
|
{
|
76
76
|
'idToken': params[:token],
|
77
|
-
'
|
77
|
+
'password': params[:new_password],
|
78
78
|
'returnSecureToken': true
|
79
79
|
}
|
80
|
+
when :set_account_info then
|
81
|
+
{
|
82
|
+
'idToken': params[:token],
|
83
|
+
'email': params[:new_email],
|
84
|
+
'password': params[:new_password],
|
85
|
+
'returnSecureToken': true
|
86
|
+
}.compact
|
80
87
|
end
|
81
88
|
end
|
82
89
|
end
|
data/lib/fuser/version.rb
CHANGED
data/lib/locales/fuser.en.yml
CHANGED
@@ -10,6 +10,7 @@ en:
|
|
10
10
|
confirm_reset_password: "https://www.googleapis.com/identitytoolkit/v3/relyingparty/resetPassword?key=%{api_key}"
|
11
11
|
change_email: "https://www.googleapis.com/identitytoolkit/v3/relyingparty/setAccountInfo?key=%{api_key}"
|
12
12
|
change_password: "https://www.googleapis.com/identitytoolkit/v3/relyingparty/setAccountInfo?key=%{api_key}"
|
13
|
+
set_account_info: "https://www.googleapis.com/identitytoolkit/v3/relyingparty/setAccountInfo?key=%{api_key}"
|
13
14
|
errors:
|
14
15
|
default: "Something went wrong please try again."
|
15
16
|
sign_up:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fuser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DeeMak13
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -28,22 +28,22 @@ dependencies:
|
|
28
28
|
name: i18n
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '1.1'
|
34
31
|
- - ">="
|
35
32
|
- !ruby/object:Gem::Version
|
36
33
|
version: 1.1.0
|
34
|
+
- - "~>"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '1.1'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
|
-
- - "~>"
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
version: '1.1'
|
44
41
|
- - ">="
|
45
42
|
- !ruby/object:Gem::Version
|
46
43
|
version: 1.1.0
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.1'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,8 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
154
|
- !ruby/object:Gem::Version
|
155
155
|
version: '0'
|
156
156
|
requirements: []
|
157
|
-
|
158
|
-
rubygems_version: 2.7.6
|
157
|
+
rubygems_version: 3.0.1
|
159
158
|
signing_key:
|
160
159
|
specification_version: 4
|
161
160
|
summary: Firebase Authentication and User Management
|