rails_guardian 0.1.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 15b24a11802b30ae50ccbd31370722066d443ef7f5cc8b88455624a104cab718
4
+ data.tar.gz: ed6b2587c737e553669c115e8ede3d97b8f53d767f68109db43bba3721157ce2
5
+ SHA512:
6
+ metadata.gz: 939aad881c597b088f3fc108a211093335426f8ace616586963cbd052ffade90791b3c3a52093a399c56411b27ed6fb6ff4242d7f6dc7bc0eba1b6e36cd44133
7
+ data.tar.gz: 4cbb703b838a96cba015f9846b832ab6a1278c9cc96a97a6dae68e3dea9903fe63717ca3313d005d5dfd3bddb41c4cd6d129463831389ebe9e0c32dc92428ad6
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright fabiantorresm
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # RailsGuardian
2
+ Short description and motivation.
3
+
4
+ ## Usage
5
+ How to use my plugin.
6
+
7
+ ## Installation
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem "rails_guardian"
12
+ ```
13
+
14
+ And then execute:
15
+ ```bash
16
+ $ bundle
17
+ ```
18
+
19
+ Or install it yourself as:
20
+ ```bash
21
+ $ gem install rails_guardian
22
+ ```
23
+
24
+ ## Contributing
25
+ Contribution directions go here.
26
+
27
+ ## License
28
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,3 @@
1
+ require "bundler/setup"
2
+
3
+ require "bundler/gem_tasks"
data/lib/engine.rb ADDED
@@ -0,0 +1,5 @@
1
+ module RailsGuardian
2
+ class Engine < ::Rails::Engine
3
+
4
+ end
5
+ end
@@ -0,0 +1,4 @@
1
+ module RailsGuardian
2
+ class Railtie < ::Rails::Railtie
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module RailsGuardian
2
+ VERSION = "0.1.1"
3
+ end
@@ -0,0 +1,14 @@
1
+ require "rails_guardian/version"
2
+ require "rails_guardian/railtie"
3
+
4
+ module RailsGuardian
5
+ require 'rails_guardian/engine' if defined?(Rails)
6
+
7
+ mattr_accessor :model
8
+ @@model = 'User'
9
+
10
+ def self.setup
11
+ yield self
12
+ end
13
+
14
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :rails_guardian do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,69 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_guardian
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - fabiantorresm
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-11-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 7.1.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 7.1.2
27
+ description: This is a gem of ruby that has the ability for authentication to be used
28
+ in Ruby on Rails 7+, it is composed of 10 modules that allow flexibility for user
29
+ management in a Rails application
30
+ email:
31
+ - fabiantorresm@gmail.com
32
+ executables: []
33
+ extensions: []
34
+ extra_rdoc_files: []
35
+ files:
36
+ - MIT-LICENSE
37
+ - README.md
38
+ - Rakefile
39
+ - lib/engine.rb
40
+ - lib/rails_guardian.rb
41
+ - lib/rails_guardian/railtie.rb
42
+ - lib/rails_guardian/version.rb
43
+ - lib/tasks/guardian_tasks.rake
44
+ homepage: https://codigo79.com
45
+ licenses:
46
+ - MIT
47
+ metadata:
48
+ homepage_uri: https://codigo79.com
49
+ post_install_message:
50
+ rdoc_options: []
51
+ require_paths:
52
+ - lib
53
+ required_ruby_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: 3.2.2
58
+ required_rubygems_version: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ requirements: []
64
+ rubygems_version: 3.4.22
65
+ signing_key:
66
+ specification_version: 4
67
+ summary: This is a ruby gem that has the authentication capability to be used in Ruby
68
+ on Rails 7+
69
+ test_files: []