Skip to content

Commit 6efa57e

Browse files
Initial commit
0 parents  commit 6efa57e

File tree

78 files changed

+1260
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1260
-0
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/.bundle/
2+
/doc/
3+
/log/*.log
4+
/pkg/
5+
/tmp/
6+
/test/dummy/log/*.log
7+
/test/dummy/storage/
8+
/test/dummy/tmp/

Gemfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
source "https://rubygems.org"
2+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3+
4+
# Specify your gem's dependencies in ombu_labs-auth.gemspec.
5+
gemspec
6+
7+
gem "pg"
8+
9+
gem "sprockets-rails"
10+
11+
# Start debugger with binding.b [https://github.com/ruby/debug]
12+
# gem "debug", ">= 1.0.0"

Gemfile.lock

Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
PATH
2+
remote: .
3+
specs:
4+
ombu_labs-auth (0.1.0)
5+
rails (>= 7.0.4)
6+
7+
GEM
8+
remote: https://rubygems.org/
9+
specs:
10+
actioncable (7.0.4)
11+
actionpack (= 7.0.4)
12+
activesupport (= 7.0.4)
13+
nio4r (~> 2.0)
14+
websocket-driver (>= 0.6.1)
15+
actionmailbox (7.0.4)
16+
actionpack (= 7.0.4)
17+
activejob (= 7.0.4)
18+
activerecord (= 7.0.4)
19+
activestorage (= 7.0.4)
20+
activesupport (= 7.0.4)
21+
mail (>= 2.7.1)
22+
net-imap
23+
net-pop
24+
net-smtp
25+
actionmailer (7.0.4)
26+
actionpack (= 7.0.4)
27+
actionview (= 7.0.4)
28+
activejob (= 7.0.4)
29+
activesupport (= 7.0.4)
30+
mail (~> 2.5, >= 2.5.4)
31+
net-imap
32+
net-pop
33+
net-smtp
34+
rails-dom-testing (~> 2.0)
35+
actionpack (7.0.4)
36+
actionview (= 7.0.4)
37+
activesupport (= 7.0.4)
38+
rack (~> 2.0, >= 2.2.0)
39+
rack-test (>= 0.6.3)
40+
rails-dom-testing (~> 2.0)
41+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
42+
actiontext (7.0.4)
43+
actionpack (= 7.0.4)
44+
activerecord (= 7.0.4)
45+
activestorage (= 7.0.4)
46+
activesupport (= 7.0.4)
47+
globalid (>= 0.6.0)
48+
nokogiri (>= 1.8.5)
49+
actionview (7.0.4)
50+
activesupport (= 7.0.4)
51+
builder (~> 3.1)
52+
erubi (~> 1.4)
53+
rails-dom-testing (~> 2.0)
54+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
55+
activejob (7.0.4)
56+
activesupport (= 7.0.4)
57+
globalid (>= 0.3.6)
58+
activemodel (7.0.4)
59+
activesupport (= 7.0.4)
60+
activerecord (7.0.4)
61+
activemodel (= 7.0.4)
62+
activesupport (= 7.0.4)
63+
activestorage (7.0.4)
64+
actionpack (= 7.0.4)
65+
activejob (= 7.0.4)
66+
activerecord (= 7.0.4)
67+
activesupport (= 7.0.4)
68+
marcel (~> 1.0)
69+
mini_mime (>= 1.1.0)
70+
activesupport (7.0.4)
71+
concurrent-ruby (~> 1.0, >= 1.0.2)
72+
i18n (>= 1.6, < 2)
73+
minitest (>= 5.1)
74+
tzinfo (~> 2.0)
75+
builder (3.2.4)
76+
concurrent-ruby (1.1.10)
77+
crass (1.0.6)
78+
erubi (1.11.0)
79+
globalid (1.0.0)
80+
activesupport (>= 5.0)
81+
i18n (1.12.0)
82+
concurrent-ruby (~> 1.0)
83+
loofah (2.19.0)
84+
crass (~> 1.0.2)
85+
nokogiri (>= 1.5.9)
86+
mail (2.7.1)
87+
mini_mime (>= 0.1.1)
88+
marcel (1.0.2)
89+
method_source (1.0.0)
90+
mini_mime (1.1.2)
91+
minitest (5.16.3)
92+
net-imap (0.3.1)
93+
net-protocol
94+
net-pop (0.1.2)
95+
net-protocol
96+
net-protocol (0.1.3)
97+
timeout
98+
net-smtp (0.3.2)
99+
net-protocol
100+
nio4r (2.5.8)
101+
nokogiri (1.13.8-arm64-darwin)
102+
racc (~> 1.4)
103+
pg (1.4.4)
104+
racc (1.6.0)
105+
rack (2.2.4)
106+
rack-test (2.0.2)
107+
rack (>= 1.3)
108+
rails (7.0.4)
109+
actioncable (= 7.0.4)
110+
actionmailbox (= 7.0.4)
111+
actionmailer (= 7.0.4)
112+
actionpack (= 7.0.4)
113+
actiontext (= 7.0.4)
114+
actionview (= 7.0.4)
115+
activejob (= 7.0.4)
116+
activemodel (= 7.0.4)
117+
activerecord (= 7.0.4)
118+
activestorage (= 7.0.4)
119+
activesupport (= 7.0.4)
120+
bundler (>= 1.15.0)
121+
railties (= 7.0.4)
122+
rails-dom-testing (2.0.3)
123+
activesupport (>= 4.2.0)
124+
nokogiri (>= 1.6)
125+
rails-html-sanitizer (1.4.3)
126+
loofah (~> 2.3)
127+
railties (7.0.4)
128+
actionpack (= 7.0.4)
129+
activesupport (= 7.0.4)
130+
method_source
131+
rake (>= 12.2)
132+
thor (~> 1.0)
133+
zeitwerk (~> 2.5)
134+
rake (13.0.6)
135+
sprockets (4.1.1)
136+
concurrent-ruby (~> 1.0)
137+
rack (> 1, < 3)
138+
sprockets-rails (3.4.2)
139+
actionpack (>= 5.2)
140+
activesupport (>= 5.2)
141+
sprockets (>= 3.0.0)
142+
thor (1.2.1)
143+
timeout (0.3.0)
144+
tzinfo (2.0.5)
145+
concurrent-ruby (~> 1.0)
146+
websocket-driver (0.7.5)
147+
websocket-extensions (>= 0.1.0)
148+
websocket-extensions (0.1.5)
149+
zeitwerk (2.6.1)
150+
151+
PLATFORMS
152+
arm64-darwin-21
153+
154+
DEPENDENCIES
155+
ombu_labs-auth!
156+
pg
157+
sprockets-rails
158+
159+
BUNDLED WITH
160+
2.3.19

MIT-LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright 2022 Tiago Casanova
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.

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# OmbuLabs::Auth
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 "ombu_labs-auth"
12+
```
13+
14+
And then execute:
15+
```bash
16+
$ bundle
17+
```
18+
19+
Or install it yourself as:
20+
```bash
21+
$ gem install ombu_labs-auth
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).

Rakefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
require "bundler/setup"
2+
3+
APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
4+
load "rails/tasks/engine.rake"
5+
6+
load "rails/tasks/statistics.rake"
7+
8+
require "bundler/gem_tasks"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
//= link_directory ../stylesheets/ombu_labs/auth .css

app/assets/images/ombu_labs/auth/.keep

Whitespace-only changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* This is a manifest file that'll be compiled into application.css, which will include all the files
3+
* listed below.
4+
*
5+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7+
*
8+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
9+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10+
* files in this directory. Styles in this file should be added after the last require_* statement.
11+
* It is generally better to create a new file per style scope.
12+
*
13+
*= require_tree .
14+
*= require_self
15+
*/

app/controllers/concerns/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)