Skip to content

Commit d41759d

Browse files
author
Mezgani Ali
committed
administrate and devise appended
1 parent f4863af commit d41759d

22 files changed

+63816
-39
lines changed

.gitignore

+57-24
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,69 @@
1-
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2-
#
3-
# If you find yourself ignoring temporary files generated by your text editor
4-
# or operating system, you probably want to add a global ignore instead:
5-
# git config --global core.excludesfile '~/.gitignore_global'
6-
7-
# Ignore bundler config.
8-
/.bundle
1+
*.rbc
2+
capybara-*.html
3+
.rspec
4+
/db/*.sqlite3
5+
/db/*.sqlite3-journal
6+
/db/*.sqlite3-[0-9]*
7+
/public/system
8+
/coverage/
9+
/spec/tmp
10+
*.orig
11+
rerun.txt
12+
pickle-email-*.html
913

1014
# Ignore all logfiles and tempfiles.
1115
/log/*
1216
/tmp/*
1317
!/log/.keep
1418
!/tmp/.keep
1519

16-
# Ignore pidfiles, but keep the directory.
17-
/tmp/pids/*
18-
!/tmp/pids/
19-
!/tmp/pids/.keep
20+
# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
21+
config/initializers/secret_token.rb
22+
config/master.key
2023

21-
# Ignore uploaded files in development.
22-
/storage/*
23-
!/storage/.keep
24-
/tmp/storage/*
25-
!/tmp/storage/
26-
!/tmp/storage/.keep
24+
# Only include if you have production secrets in this file, which is no longer a Rails default
25+
# config/secrets.yml
2726

28-
/public/assets
27+
# dotenv, dotenv-rails
28+
# TODO Comment out these rules if environment variables can be committed
29+
.env
30+
.env*.local
31+
32+
## Environment normalization:
33+
/.bundle
34+
/vendor/bundle
35+
36+
# these should all be checked in to normalize the environment:
37+
# Gemfile.lock, .ruby-version, .ruby-gemset
2938

30-
# Ignore master key for decrypting credentials and more.
31-
/config/master.key
39+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
40+
.rvmrc
3241

33-
/app/assets/builds/*
34-
!/app/assets/builds/.keep
42+
# if using bower-rails ignore default bower_components path bower.json files
43+
/vendor/assets/bower_components
44+
*.bowerrc
45+
bower.json
3546

36-
/node_modules
47+
# Ignore pow environment settings
48+
.powenv
49+
50+
# Ignore Byebug command history file.
51+
.byebug_history
52+
53+
# Ignore node_modules
54+
node_modules/
55+
56+
# Ignore precompiled javascript packs
57+
/public/packs
58+
/public/packs-test
59+
/public/assets
60+
61+
# Ignore yarn files
62+
/yarn-error.log
63+
yarn-debug.log*
64+
.yarn-integrity
65+
66+
# Ignore uploaded files in development
67+
/storage/*
68+
!/storage/.keep
69+
/public/uploads

Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
33

44
ruby "3.2.0"
55

6+
gem "administrate"
7+
8+
gem "devise"
9+
610
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
711
gem "rails", "~> 7.0.4"
812

Gemfile.lock

+50-2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,15 @@ GEM
6666
i18n (>= 1.6, < 2)
6767
minitest (>= 5.1)
6868
tzinfo (~> 2.0)
69+
administrate (0.18.0)
70+
actionpack (>= 5.0)
71+
actionview (>= 5.0)
72+
activerecord (>= 5.0)
73+
jquery-rails (>= 4.0)
74+
kaminari (>= 1.0)
75+
sassc-rails (~> 2.1)
76+
selectize-rails (~> 0.6)
77+
bcrypt (3.1.18)
6978
bindex (0.8.1)
7079
bootsnap (1.15.0)
7180
msgpack (~> 1.2)
@@ -78,7 +87,14 @@ GEM
7887
debug (1.7.1)
7988
irb (>= 1.5.0)
8089
reline (>= 0.3.1)
90+
devise (4.8.1)
91+
bcrypt (~> 3.0)
92+
orm_adapter (~> 0.1)
93+
railties (>= 4.1.0)
94+
responders
95+
warden (~> 1.2.3)
8196
erubi (1.12.0)
97+
ffi (1.15.5)
8298
globalid (1.0.0)
8399
activesupport (>= 5.0)
84100
i18n (1.12.0)
@@ -89,8 +105,24 @@ GEM
89105
jbuilder (2.11.5)
90106
actionview (>= 5.0.0)
91107
activesupport (>= 5.0.0)
108+
jquery-rails (4.5.1)
109+
rails-dom-testing (>= 1, < 3)
110+
railties (>= 4.2.0)
111+
thor (>= 0.14, < 2.0)
92112
jsbundling-rails (1.1.1)
93113
railties (>= 6.0.0)
114+
kaminari (1.2.2)
115+
activesupport (>= 4.1.0)
116+
kaminari-actionview (= 1.2.2)
117+
kaminari-activerecord (= 1.2.2)
118+
kaminari-core (= 1.2.2)
119+
kaminari-actionview (1.2.2)
120+
actionview
121+
kaminari-core (= 1.2.2)
122+
kaminari-activerecord (1.2.2)
123+
activerecord
124+
kaminari-core (= 1.2.2)
125+
kaminari-core (1.2.2)
94126
loofah (2.19.1)
95127
crass (~> 1.0.2)
96128
nokogiri (>= 1.5.9)
@@ -119,7 +151,7 @@ GEM
119151
nokogiri (1.13.10)
120152
mini_portile2 (~> 2.8.0)
121153
racc (~> 1.4)
122-
pagy (6.0.1)
154+
orm_adapter (0.5.0)
123155
puma (5.6.5)
124156
nio4r (~> 2.0)
125157
racc (1.6.2)
@@ -156,6 +188,18 @@ GEM
156188
redis (4.8.0)
157189
reline (0.3.2)
158190
io-console (~> 0.5)
191+
responders (3.0.1)
192+
actionpack (>= 5.0)
193+
railties (>= 5.0)
194+
sassc (2.4.0)
195+
ffi (~> 1.9)
196+
sassc-rails (2.1.2)
197+
railties (>= 4.0.0)
198+
sassc (>= 2.0)
199+
sprockets (> 3.0)
200+
sprockets-rails
201+
tilt
202+
selectize-rails (0.12.6)
159203
sprockets (4.2.0)
160204
concurrent-ruby (~> 1.0)
161205
rack (>= 2.2.4, < 4)
@@ -166,13 +210,16 @@ GEM
166210
stimulus-rails (1.2.1)
167211
railties (>= 6.0.0)
168212
thor (1.2.1)
213+
tilt (2.0.11)
169214
timeout (0.3.1)
170215
turbo-rails (1.3.2)
171216
actionpack (>= 6.0.0)
172217
activejob (>= 6.0.0)
173218
railties (>= 6.0.0)
174219
tzinfo (2.0.5)
175220
concurrent-ruby (~> 1.0)
221+
warden (1.2.9)
222+
rack (>= 2.0.9)
176223
web-console (4.2.0)
177224
actionview (>= 6.0.0)
178225
activemodel (>= 6.0.0)
@@ -187,13 +234,14 @@ PLATFORMS
187234
x86_64-darwin-21
188235

189236
DEPENDENCIES
237+
administrate
190238
bootsnap
191239
cssbundling-rails
192240
debug
241+
devise
193242
jbuilder
194243
jsbundling-rails
195244
mysql2 (~> 0.5)
196-
pagy (~> 6.0)
197245
puma (~> 5.0)
198246
rails (~> 7.0.4)
199247
redis (~> 4.0)

0 commit comments

Comments
 (0)