jwt_rails_api_auth 1.0.0 → 1.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dad33cdca353eeb19fdeaa43506aac4b0befd645b12ec11dd7a961a22b2b0ed9
4
- data.tar.gz: 17d215ffa73a2edf08b86a26821455259143c1be15a69ae25b0b3dfc429121ed
3
+ metadata.gz: 576cb9e67de8823b8ad0281d934a4f6d0f8e02d2e1dc134d97cced50703b4571
4
+ data.tar.gz: b86f1297772d1d676abab6a6a15f0730cc89817267c9a7d844b236c271cf547e
5
5
  SHA512:
6
- metadata.gz: 178edb954c6e849d1980995027749630e5fa555e53878d555f13f37ec886c8e54739225bcc08e15e9e690a811290d5adf1dfdef80d6a4c692e7ac2faaa4ef968
7
- data.tar.gz: ba2fe26f98fcaa7287fbf28ba8fea2dabfca18368f96d816c25c63540eacba18a02a9a3462c252b47ca1524f9d551fdd8ed55dc69dc06ae4c1cd76922bfb3295
6
+ metadata.gz: b26c7f77046c5482f9963286de72fd740a3d7d21058500205711e887076b456e21f9960f261457d0bd425db5ffc620ec42f88c185ce97a863a6e6f1a6a830d9a
7
+ data.tar.gz: 4a2587af7942214a51137eca031f55a1c330ae9ba07214e7b43e8df0bee66bba4ee100fe9907fb2f7f2a8238dd1151ddbef2fe77bf81063020b1693246c60094
data/Gemfile.lock ADDED
@@ -0,0 +1,282 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ jwt_rails_api_auth (1.0.0)
5
+ active_model_serializers (~> 0.10.12)
6
+ bcrypt (>= 3.1.12)
7
+ jwt (~> 2.5)
8
+ rack-cors
9
+ rails (>= 6.0)
10
+
11
+ GEM
12
+ remote: https://rubygems.org/
13
+ specs:
14
+ actioncable (8.0.2.1)
15
+ actionpack (= 8.0.2.1)
16
+ activesupport (= 8.0.2.1)
17
+ nio4r (~> 2.0)
18
+ websocket-driver (>= 0.6.1)
19
+ zeitwerk (~> 2.6)
20
+ actionmailbox (8.0.2.1)
21
+ actionpack (= 8.0.2.1)
22
+ activejob (= 8.0.2.1)
23
+ activerecord (= 8.0.2.1)
24
+ activestorage (= 8.0.2.1)
25
+ activesupport (= 8.0.2.1)
26
+ mail (>= 2.8.0)
27
+ actionmailer (8.0.2.1)
28
+ actionpack (= 8.0.2.1)
29
+ actionview (= 8.0.2.1)
30
+ activejob (= 8.0.2.1)
31
+ activesupport (= 8.0.2.1)
32
+ mail (>= 2.8.0)
33
+ rails-dom-testing (~> 2.2)
34
+ actionpack (8.0.2.1)
35
+ actionview (= 8.0.2.1)
36
+ activesupport (= 8.0.2.1)
37
+ nokogiri (>= 1.8.5)
38
+ rack (>= 2.2.4)
39
+ rack-session (>= 1.0.1)
40
+ rack-test (>= 0.6.3)
41
+ rails-dom-testing (~> 2.2)
42
+ rails-html-sanitizer (~> 1.6)
43
+ useragent (~> 0.16)
44
+ actiontext (8.0.2.1)
45
+ actionpack (= 8.0.2.1)
46
+ activerecord (= 8.0.2.1)
47
+ activestorage (= 8.0.2.1)
48
+ activesupport (= 8.0.2.1)
49
+ globalid (>= 0.6.0)
50
+ nokogiri (>= 1.8.5)
51
+ actionview (8.0.2.1)
52
+ activesupport (= 8.0.2.1)
53
+ builder (~> 3.1)
54
+ erubi (~> 1.11)
55
+ rails-dom-testing (~> 2.2)
56
+ rails-html-sanitizer (~> 1.6)
57
+ active_model_serializers (0.10.15)
58
+ actionpack (>= 4.1)
59
+ activemodel (>= 4.1)
60
+ case_transform (>= 0.2)
61
+ jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
62
+ activejob (8.0.2.1)
63
+ activesupport (= 8.0.2.1)
64
+ globalid (>= 0.3.6)
65
+ activemodel (8.0.2.1)
66
+ activesupport (= 8.0.2.1)
67
+ activerecord (8.0.2.1)
68
+ activemodel (= 8.0.2.1)
69
+ activesupport (= 8.0.2.1)
70
+ timeout (>= 0.4.0)
71
+ activestorage (8.0.2.1)
72
+ actionpack (= 8.0.2.1)
73
+ activejob (= 8.0.2.1)
74
+ activerecord (= 8.0.2.1)
75
+ activesupport (= 8.0.2.1)
76
+ marcel (~> 1.0)
77
+ activesupport (8.0.2.1)
78
+ base64
79
+ benchmark (>= 0.3)
80
+ bigdecimal
81
+ concurrent-ruby (~> 1.0, >= 1.3.1)
82
+ connection_pool (>= 2.2.5)
83
+ drb
84
+ i18n (>= 1.6, < 2)
85
+ logger (>= 1.4.2)
86
+ minitest (>= 5.1)
87
+ securerandom (>= 0.3)
88
+ tzinfo (~> 2.0, >= 2.0.5)
89
+ uri (>= 0.13.1)
90
+ ast (2.4.3)
91
+ base64 (0.3.0)
92
+ bcrypt (3.1.20)
93
+ benchmark (0.4.1)
94
+ bigdecimal (3.2.2)
95
+ builder (3.3.0)
96
+ case_transform (0.2)
97
+ activesupport
98
+ concurrent-ruby (1.3.5)
99
+ connection_pool (2.5.3)
100
+ crass (1.0.6)
101
+ date (3.4.1)
102
+ diff-lcs (1.6.2)
103
+ drb (2.2.3)
104
+ erb (5.0.2)
105
+ erubi (1.13.1)
106
+ globalid (1.2.1)
107
+ activesupport (>= 6.1)
108
+ i18n (1.14.7)
109
+ concurrent-ruby (~> 1.0)
110
+ io-console (0.8.1)
111
+ irb (1.15.2)
112
+ pp (>= 0.6.0)
113
+ rdoc (>= 4.0.0)
114
+ reline (>= 0.4.2)
115
+ json (2.13.2)
116
+ jsonapi-renderer (0.2.2)
117
+ jwt (2.10.2)
118
+ base64
119
+ language_server-protocol (3.17.0.5)
120
+ lint_roller (1.1.0)
121
+ logger (1.7.0)
122
+ loofah (2.24.1)
123
+ crass (~> 1.0.2)
124
+ nokogiri (>= 1.12.0)
125
+ mail (2.8.1)
126
+ mini_mime (>= 0.1.1)
127
+ net-imap
128
+ net-pop
129
+ net-smtp
130
+ marcel (1.0.4)
131
+ mini_mime (1.1.5)
132
+ minitest (5.25.5)
133
+ net-imap (0.5.9)
134
+ date
135
+ net-protocol
136
+ net-pop (0.1.2)
137
+ net-protocol
138
+ net-protocol (0.2.2)
139
+ timeout
140
+ net-smtp (0.5.1)
141
+ net-protocol
142
+ nio4r (2.7.4)
143
+ nokogiri (1.18.9-aarch64-linux-gnu)
144
+ racc (~> 1.4)
145
+ nokogiri (1.18.9-aarch64-linux-musl)
146
+ racc (~> 1.4)
147
+ nokogiri (1.18.9-arm-linux-gnu)
148
+ racc (~> 1.4)
149
+ nokogiri (1.18.9-arm-linux-musl)
150
+ racc (~> 1.4)
151
+ nokogiri (1.18.9-arm64-darwin)
152
+ racc (~> 1.4)
153
+ nokogiri (1.18.9-x86_64-darwin)
154
+ racc (~> 1.4)
155
+ nokogiri (1.18.9-x86_64-linux-gnu)
156
+ racc (~> 1.4)
157
+ nokogiri (1.18.9-x86_64-linux-musl)
158
+ racc (~> 1.4)
159
+ parallel (1.27.0)
160
+ parser (3.3.9.0)
161
+ ast (~> 2.4.1)
162
+ racc
163
+ pp (0.6.2)
164
+ prettyprint
165
+ prettyprint (0.2.0)
166
+ prism (1.4.0)
167
+ psych (5.2.6)
168
+ date
169
+ stringio
170
+ racc (1.8.1)
171
+ rack (3.2.0)
172
+ rack-cors (3.0.0)
173
+ logger
174
+ rack (>= 3.0.14)
175
+ rack-session (2.1.1)
176
+ base64 (>= 0.1.0)
177
+ rack (>= 3.0.0)
178
+ rack-test (2.2.0)
179
+ rack (>= 1.3)
180
+ rackup (2.2.1)
181
+ rack (>= 3)
182
+ rails (8.0.2.1)
183
+ actioncable (= 8.0.2.1)
184
+ actionmailbox (= 8.0.2.1)
185
+ actionmailer (= 8.0.2.1)
186
+ actionpack (= 8.0.2.1)
187
+ actiontext (= 8.0.2.1)
188
+ actionview (= 8.0.2.1)
189
+ activejob (= 8.0.2.1)
190
+ activemodel (= 8.0.2.1)
191
+ activerecord (= 8.0.2.1)
192
+ activestorage (= 8.0.2.1)
193
+ activesupport (= 8.0.2.1)
194
+ bundler (>= 1.15.0)
195
+ railties (= 8.0.2.1)
196
+ rails-dom-testing (2.3.0)
197
+ activesupport (>= 5.0.0)
198
+ minitest
199
+ nokogiri (>= 1.6)
200
+ rails-html-sanitizer (1.6.2)
201
+ loofah (~> 2.21)
202
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
203
+ railties (8.0.2.1)
204
+ actionpack (= 8.0.2.1)
205
+ activesupport (= 8.0.2.1)
206
+ irb (~> 1.13)
207
+ rackup (>= 1.0.0)
208
+ rake (>= 12.2)
209
+ thor (~> 1.0, >= 1.2.2)
210
+ zeitwerk (~> 2.6)
211
+ rainbow (3.1.1)
212
+ rake (13.3.0)
213
+ rdoc (6.14.2)
214
+ erb
215
+ psych (>= 4.0.0)
216
+ regexp_parser (2.11.2)
217
+ reline (0.6.2)
218
+ io-console (~> 0.5)
219
+ rspec (3.13.1)
220
+ rspec-core (~> 3.13.0)
221
+ rspec-expectations (~> 3.13.0)
222
+ rspec-mocks (~> 3.13.0)
223
+ rspec-core (3.13.5)
224
+ rspec-support (~> 3.13.0)
225
+ rspec-expectations (3.13.5)
226
+ diff-lcs (>= 1.2.0, < 2.0)
227
+ rspec-support (~> 3.13.0)
228
+ rspec-mocks (3.13.5)
229
+ diff-lcs (>= 1.2.0, < 2.0)
230
+ rspec-support (~> 3.13.0)
231
+ rspec-support (3.13.5)
232
+ rubocop (1.79.2)
233
+ json (~> 2.3)
234
+ language_server-protocol (~> 3.17.0.2)
235
+ lint_roller (~> 1.1.0)
236
+ parallel (~> 1.10)
237
+ parser (>= 3.3.0.2)
238
+ rainbow (>= 2.2.2, < 4.0)
239
+ regexp_parser (>= 2.9.3, < 3.0)
240
+ rubocop-ast (>= 1.46.0, < 2.0)
241
+ ruby-progressbar (~> 1.7)
242
+ unicode-display_width (>= 2.4.0, < 4.0)
243
+ rubocop-ast (1.46.0)
244
+ parser (>= 3.3.7.2)
245
+ prism (~> 1.4)
246
+ ruby-progressbar (1.13.0)
247
+ securerandom (0.4.1)
248
+ stringio (3.1.7)
249
+ thor (1.4.0)
250
+ timeout (0.4.3)
251
+ tzinfo (2.0.6)
252
+ concurrent-ruby (~> 1.0)
253
+ unicode-display_width (3.1.5)
254
+ unicode-emoji (~> 4.0, >= 4.0.4)
255
+ unicode-emoji (4.0.4)
256
+ uri (1.0.3)
257
+ useragent (0.16.11)
258
+ websocket-driver (0.8.0)
259
+ base64
260
+ websocket-extensions (>= 0.1.0)
261
+ websocket-extensions (0.1.5)
262
+ zeitwerk (2.7.3)
263
+
264
+ PLATFORMS
265
+ aarch64-linux-gnu
266
+ aarch64-linux-musl
267
+ arm-linux-gnu
268
+ arm-linux-musl
269
+ arm64-darwin
270
+ x86_64-darwin
271
+ x86_64-linux-gnu
272
+ x86_64-linux-musl
273
+
274
+ DEPENDENCIES
275
+ irb
276
+ jwt_rails_api_auth!
277
+ rake (~> 13.0)
278
+ rspec (~> 3.0)
279
+ rubocop (~> 1.21)
280
+
281
+ BUNDLED WITH
282
+ 2.7.1
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
 
3
3
 
4
- [![Gem Version](https://badge.fury.io/rb/jwt_rails_api_auth.svg?icon=si%3Arubygems)](https://badge.fury.io/rb/jwt_rails_api_auth)
4
+ [![Gem Version](https://badge.fury.io/rb/jwt_rails_api_auth.svg)](https://badge.fury.io/rb/jwt_rails_api_auth)
5
5
 
6
6
 
7
7
  # JWT Rails-api auth
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JwtRailsApiAuth
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jwt_rails_api_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zeyad Hassan
@@ -10,19 +10,19 @@ cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
- name: rails
13
+ name: active_model_serializers
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: '6.0'
18
+ version: 0.10.12
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - ">="
24
24
  - !ruby/object:Gem::Version
25
- version: '6.0'
25
+ version: 0.10.12
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: bcrypt
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -41,14 +41,14 @@ dependencies:
41
41
  name: jwt
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
44
- - - "~>"
44
+ - - ">="
45
45
  - !ruby/object:Gem::Version
46
46
  version: '2.5'
47
47
  type: :runtime
48
48
  prerelease: false
49
49
  version_requirements: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
51
+ - - ">="
52
52
  - !ruby/object:Gem::Version
53
53
  version: '2.5'
54
54
  - !ruby/object:Gem::Dependency
@@ -66,19 +66,19 @@ dependencies:
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  - !ruby/object:Gem::Dependency
69
- name: active_model_serializers
69
+ name: rails
70
70
  requirement: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - "~>"
72
+ - - ">="
73
73
  - !ruby/object:Gem::Version
74
- version: 0.10.12
74
+ version: '6.0'
75
75
  type: :runtime
76
76
  prerelease: false
77
77
  version_requirements: !ruby/object:Gem::Requirement
78
78
  requirements:
79
- - - "~>"
79
+ - - ">="
80
80
  - !ruby/object:Gem::Version
81
- version: 0.10.12
81
+ version: '6.0'
82
82
  email:
83
83
  - " studying.zezo@gmail.com"
84
84
  executables: []
@@ -88,6 +88,7 @@ files:
88
88
  - CHANGELOG.md
89
89
  - CODE_OF_CONDUCT.md
90
90
  - Gemfile
91
+ - Gemfile.lock
91
92
  - LICENSE.txt
92
93
  - README.md
93
94
  - README_NEW.md
@@ -100,7 +101,7 @@ files:
100
101
  - lib/generators/auth/templates/controllers/auth_controller.rb
101
102
  - lib/generators/auth/templates/controllers/password_resets_controller.rb
102
103
  - lib/generators/auth/templates/controllers/users_controller.rb
103
- - lib/generators/auth/templates/initializers/rails_auth_generator.rb
104
+ - lib/generators/auth/templates/initializers/jwt_rails_api_auth.rb
104
105
  - lib/generators/auth/templates/mailers/application_mailer.rb
105
106
  - lib/generators/auth/templates/mailers/user_mailer.rb
106
107
  - lib/generators/auth/templates/migrations/create_refresh_token.rb