jwt_rails_api_auth 1.0.2 → 1.0.3

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: 576cb9e67de8823b8ad0281d934a4f6d0f8e02d2e1dc134d97cced50703b4571
4
- data.tar.gz: b86f1297772d1d676abab6a6a15f0730cc89817267c9a7d844b236c271cf547e
3
+ metadata.gz: 9064f923b970a71c5a2c5c89529c4b75b0ccc44c338d0b51449a4f424f7ce66f
4
+ data.tar.gz: ca03ceac4f04ad00872e34b39a57e684801897e3374b3541105b34d486bb2deb
5
5
  SHA512:
6
- metadata.gz: b26c7f77046c5482f9963286de72fd740a3d7d21058500205711e887076b456e21f9960f261457d0bd425db5ffc620ec42f88c185ce97a863a6e6f1a6a830d9a
7
- data.tar.gz: 4a2587af7942214a51137eca031f55a1c330ae9ba07214e7b43e8df0bee66bba4ee100fe9907fb2f7f2a8238dd1151ddbef2fe77bf81063020b1693246c60094
6
+ metadata.gz: 60f16effeccec4579791f68424d816fd599b411f08f370ad688f6c80c08adfb2102c77daf848b5d231c483b27d3398ed29b5e0fd40453ee36471f9bf0a5d182c
7
+ data.tar.gz: b454e74e5b0177200844f0d406edb149b727575f566cb4549c03e76866f5350c69ee6ee385274c1556d4a405539a872592a11eb16b95ab0e92d8480d49fba037
data/README.md CHANGED
@@ -33,7 +33,7 @@
33
33
  Add this line to your application's Gemfile:
34
34
 
35
35
  ```bash
36
- gem 'jwt_rails_api_auth', '~> 1.0'
36
+ gem 'jwt_rails_api_auth', '~> 1.0', '>= 1.0.2'
37
37
  ```
38
38
 
39
39
  and then run :
@@ -125,4 +125,4 @@ This project follows a [Code of Conduct](CODE_OF_CONDUCT.md). Please respect it
125
125
 
126
126
  ## Authors
127
127
 
128
- - [@Zeyad Hassan](https://https://github.com/Zeyad-Hassan-1)
128
+ - [@Zeyad Hassan](https://https://github.com/Zeyad-Hassan-1)
@@ -2,16 +2,16 @@ class AuthGenerator < Rails::Generators::Base
2
2
  include Rails::Generators::Migration
3
3
  source_root File.expand_path("templates", __dir__)
4
4
 
5
- def modify_gemfile
5
+ def modify_gemfile
6
6
  insert_into_file "Gemfile", after: /^source ['"].*['"]\n/ do
7
- <<~RUBY
8
- gem 'bcrypt', '~> 3.1', '>= 3.1.12'
9
- gem 'jwt', '~> 2.5'
10
- gem 'rack-cors'
11
- gem 'active_model_serializers', '~> 0.10.12'
12
- RUBY
7
+ <<~RUBY
8
+ gem "bcrypt", ">= 3.1.12"
9
+ gem "jwt", ">= 2.5"
10
+ gem "rack-cors", ">= 0"
11
+ gem "active_model_serializers", ">= 0.10.12"
12
+ RUBY
13
13
  end
14
- end
14
+ end
15
15
 
16
16
  def modify_application_rb
17
17
  insert_into_file "config/application.rb", after: "config.api_only = true\n" do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JwtRailsApiAuth
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.3"
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.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zeyad Hassan