Skip to content
Permalink
Browse files

Initial commit with devise template from https://github.com/lewagon/r…

  • Loading branch information...
arthur-littm committed Jun 16, 2018
0 parents commit 805b3305bb08f227170d62db57488f1fcf89f0ef
Showing with 9,185 additions and 0 deletions.
  1. +18 −0 .babelrc
  2. +17 −0 .gitignore
  3. +3 −0 .postcssrc.yml
  4. +41 −0 .rubocop.yml
  5. +1 −0 .ruby-version
  6. +31 −0 Gemfile
  7. +230 −0 Gemfile.lock
  8. +1 −0 Procfile
  9. +1 −0 README.md
  10. +6 −0 Rakefile
  11. +3 −0 app/assets/config/manifest.js
  12. 0 app/assets/images/.keep
  13. BIN app/assets/images/logo.png
  14. +2 −0 app/assets/javascripts/application.js
  15. +13 −0 app/assets/javascripts/cable.js
  16. 0 app/assets/javascripts/channels/.keep
  17. +101 −0 app/assets/stylesheets/README.md
  18. +15 −0 app/assets/stylesheets/application.scss
  19. +15 −0 app/assets/stylesheets/components/_alert.scss
  20. +3 −0 app/assets/stylesheets/components/_index.scss
  21. +77 −0 app/assets/stylesheets/components/_navbar.scss
  22. +53 −0 app/assets/stylesheets/config/_bootstrap_variables.scss
  23. +10 −0 app/assets/stylesheets/config/_colors.scss
  24. +16 −0 app/assets/stylesheets/config/_fonts.scss
  25. +5 −0 app/assets/stylesheets/layouts/_index.scss
  26. +1 −0 app/assets/stylesheets/pages/_home.scss
  27. +2 −0 app/assets/stylesheets/pages/_index.scss
  28. +4 −0 app/channels/application_cable/channel.rb
  29. +4 −0 app/channels/application_cable/connection.rb
  30. +4 −0 app/controllers/application_controller.rb
  31. 0 app/controllers/concerns/.keep
  32. +6 −0 app/controllers/pages_controller.rb
  33. +2 −0 app/helpers/application_helper.rb
  34. +1 −0 app/javascript/packs/application.js
  35. +2 −0 app/jobs/application_job.rb
  36. +4 −0 app/mailers/application_mailer.rb
  37. +3 −0 app/models/application_record.rb
  38. 0 app/models/concerns/.keep
  39. +6 −0 app/models/user.rb
  40. +16 −0 app/views/devise/confirmations/new.html.erb
  41. +5 −0 app/views/devise/mailer/confirmation_instructions.html.erb
  42. +7 −0 app/views/devise/mailer/email_changed.html.erb
  43. +3 −0 app/views/devise/mailer/password_change.html.erb
  44. +8 −0 app/views/devise/mailer/reset_password_instructions.html.erb
  45. +7 −0 app/views/devise/mailer/unlock_instructions.html.erb
  46. +19 −0 app/views/devise/passwords/edit.html.erb
  47. +15 −0 app/views/devise/passwords/new.html.erb
  48. +27 −0 app/views/devise/registrations/edit.html.erb
  49. +17 −0 app/views/devise/registrations/new.html.erb
  50. +15 −0 app/views/devise/sessions/new.html.erb
  51. +25 −0 app/views/devise/shared/_links.html.erb
  52. +16 −0 app/views/devise/unlocks/new.html.erb
  53. +19 −0 app/views/layouts/application.html.erb
  54. +13 −0 app/views/layouts/mailer.html.erb
  55. +1 −0 app/views/layouts/mailer.text.erb
  56. +2 −0 app/views/pages/home.html.erb
  57. +12 −0 app/views/shared/_flashes.html.erb
  58. +58 −0 app/views/shared/_navbar.html.erb
  59. +3 −0 bin/bundle
  60. +29 −0 bin/figaro
  61. +9 −0 bin/rails
  62. +9 −0 bin/rake
  63. +36 −0 bin/setup
  64. +17 −0 bin/spring
  65. +31 −0 bin/update
  66. +15 −0 bin/webpack
  67. +15 −0 bin/webpack-dev-server
  68. +11 −0 bin/yarn
  69. +5 −0 config.ru
  70. +24 −0 config/application.rb
  71. +4 −0 config/boot.rb
  72. +10 −0 config/cable.yml
  73. +1 −0 config/credentials.yml.enc
  74. +85 −0 config/database.yml
  75. +5 −0 config/environment.rb
  76. +64 −0 config/environments/development.rb
  77. +97 −0 config/environments/production.rb
  78. +46 −0 config/environments/test.rb
  79. +8 −0 config/initializers/application_controller_renderer.rb
  80. +14 −0 config/initializers/assets.rb
  81. +7 −0 config/initializers/backtrace_silencers.rb
  82. +25 −0 config/initializers/content_security_policy.rb
  83. +5 −0 config/initializers/cookies_serializer.rb
  84. +283 −0 config/initializers/devise.rb
  85. +4 −0 config/initializers/filter_parameter_logging.rb
  86. +16 −0 config/initializers/inflections.rb
  87. +4 −0 config/initializers/mime_types.rb
  88. +182 −0 config/initializers/simple_form.rb
  89. +439 −0 config/initializers/simple_form_bootstrap.rb
  90. +14 −0 config/initializers/wrap_parameters.rb
  91. +64 −0 config/locales/devise.en.yml
  92. +33 −0 config/locales/en.yml
  93. +31 −0 config/locales/simple_form.en.yml
  94. +1 −0 config/master.key
  95. +34 −0 config/puma.rb
  96. +5 −0 config/routes.rb
  97. +6 −0 config/spring.rb
  98. +34 −0 config/storage.yml
  99. +5 −0 config/webpack/development.js
  100. +12 −0 config/webpack/environment.js
  101. +5 −0 config/webpack/production.js
  102. +5 −0 config/webpack/test.js
  103. +68 −0 config/webpacker.yml
  104. +44 −0 db/migrate/20180616144724_devise_create_users.rb
  105. +35 −0 db/schema.rb
  106. +7 −0 db/seeds.rb
  107. 0 lib/assets/.keep
  108. 0 lib/tasks/.keep
  109. +15 −0 lib/templates/erb/scaffold/_form.html.erb
  110. 0 log/.keep
  111. +12 −0 package.json
  112. +67 −0 public/404.html
  113. +67 −0 public/422.html
  114. +66 −0 public/500.html
  115. 0 public/apple-touch-icon-precomposed.png
  116. 0 public/apple-touch-icon.png
  117. 0 public/favicon.ico
  118. +1 −0 public/robots.txt
  119. 0 storage/.keep
  120. +5 −0 test/application_system_test_case.rb
  121. 0 test/controllers/.keep
  122. 0 test/fixtures/.keep
  123. 0 test/fixtures/files/.keep
  124. 0 test/helpers/.keep
  125. 0 test/integration/.keep
  126. 0 test/mailers/.keep
  127. 0 test/models/.keep
  128. +7 −0 test/models/user_test.rb
  129. 0 test/system/.keep
  130. +10 −0 test/test_helper.rb
  131. 0 tmp/.keep
  132. +6,043 −0 yarn.lock
@@ -0,0 +1,18 @@
{
"presets": [
["env", {
"modules": false,
"targets": {
"browsers": "> 1%",
"uglify": true
},
"useBuiltIns": true
}]
],

"plugins": [
"syntax-dynamic-import",
"transform-object-rest-spread",
["transform-class-properties", { "spec": true }]
]
}
@@ -0,0 +1,17 @@
.bundle
log/*.log
tmp/**/*
tmp/*
!log/.keep
!tmp/.keep
*.swp
.DS_Store
public/assets
public/packs
public/packs-test
node_modules
yarn-error.log
.byebug_history

# Ignore application configuration
/config/application.yml
@@ -0,0 +1,3 @@
plugins:
postcss-import: {}
postcss-cssnext: {}
@@ -0,0 +1,41 @@
AllCops:
Exclude:
- 'bin/**/*'
- 'db/**/*'
- 'config/**/*'
- 'node_modules/**/*'
- 'script/**/*'
- 'support/**/*'
- 'tmp/**/*'
- 'test/**/*'

ConditionalAssignment:
Enabled: false
StringLiterals:
Enabled: false
RedundantReturn:
Enabled: false
Documentation:
Enabled: false
WordArray:
Enabled: false
AbcSize:
Enabled: false
MutableConstant:
Enabled: false
SignalException:
Enabled: false
Casecmp:
Enabled: false
CyclomaticComplexity:
Enabled: false
MethodMissing:
Enabled: false
Style/FrozenStringLiteralComment:
Enabled: false
LineLength:
Max: 120
Style/EmptyMethod:
Enabled: false
Bundler/OrderedGems:
Enabled: false
@@ -0,0 +1 @@
2.4.4
31 Gemfile
@@ -0,0 +1,31 @@
source 'https://rubygems.org'
ruby '2.4.4'

gem 'bootsnap', require: false
gem 'devise'
gem 'figaro'
gem 'jbuilder', '~> 2.0'
gem 'pg', '~> 0.21'
gem 'puma'
gem 'rails', '5.2.0'
gem 'redis'

gem 'autoprefixer-rails'
gem 'bootstrap-sass', '~> 3.3'
gem 'font-awesome-sass', '~> 5.0.9'
gem 'sass-rails'
gem 'simple_form'
gem 'uglifier'
gem 'webpacker'

group :development do
gem 'web-console', '>= 3.3.0'
end

group :development, :test do
gem 'pry-byebug'
gem 'pry-rails'
gem 'listen', '~> 3.0.5'
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
end
@@ -0,0 +1,230 @@
GEM
remote: https://rubygems.org/
specs:
actioncable (5.2.0)
actionpack (= 5.2.0)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailer (5.2.0)
actionpack (= 5.2.0)
actionview (= 5.2.0)
activejob (= 5.2.0)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.2.0)
actionview (= 5.2.0)
activesupport (= 5.2.0)
rack (~> 2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.2.0)
activesupport (= 5.2.0)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.2.0)
activesupport (= 5.2.0)
globalid (>= 0.3.6)
activemodel (5.2.0)
activesupport (= 5.2.0)
activerecord (5.2.0)
activemodel (= 5.2.0)
activesupport (= 5.2.0)
arel (>= 9.0)
activestorage (5.2.0)
actionpack (= 5.2.0)
activerecord (= 5.2.0)
marcel (~> 0.3.1)
activesupport (5.2.0)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
arel (9.0.0)
autoprefixer-rails (8.6.2)
execjs
bcrypt (3.1.12)
bindex (0.5.0)
bootsnap (1.3.0)
msgpack (~> 1.0)
bootstrap-sass (3.3.7)
autoprefixer-rails (>= 5.2.1)
sass (>= 3.3.4)
builder (3.2.3)
byebug (10.0.2)
coderay (1.1.2)
concurrent-ruby (1.0.5)
crass (1.0.4)
devise (4.4.3)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0, < 6.0)
responders
warden (~> 1.2.3)
erubi (1.7.1)
execjs (2.7.0)
ffi (1.9.25)
figaro (1.1.1)
thor (~> 0.14)
font-awesome-sass (5.0.13)
sassc (>= 1.11)
globalid (0.4.1)
activesupport (>= 4.2.0)
i18n (1.0.1)
concurrent-ruby (~> 1.0)
jbuilder (2.7.0)
activesupport (>= 4.2.0)
multi_json (>= 1.2)
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
loofah (2.2.2)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.0)
mini_mime (>= 0.1.1)
marcel (0.3.2)
mimemagic (~> 0.3.2)
method_source (0.9.0)
mimemagic (0.3.2)
mini_mime (1.0.0)
mini_portile2 (2.3.0)
minitest (5.11.3)
msgpack (1.2.4)
multi_json (1.13.1)
nio4r (2.3.1)
nokogiri (1.8.2)
mini_portile2 (~> 2.3.0)
orm_adapter (0.5.0)
pg (0.21.0)
pry (0.11.3)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
pry-byebug (3.6.0)
byebug (~> 10.0)
pry (~> 0.10)
pry-rails (0.3.6)
pry (>= 0.10.4)
puma (3.11.4)
rack (2.0.5)
rack-proxy (0.6.4)
rack
rack-test (1.0.0)
rack (>= 1.0, < 3)
rails (5.2.0)
actioncable (= 5.2.0)
actionmailer (= 5.2.0)
actionpack (= 5.2.0)
actionview (= 5.2.0)
activejob (= 5.2.0)
activemodel (= 5.2.0)
activerecord (= 5.2.0)
activestorage (= 5.2.0)
activesupport (= 5.2.0)
bundler (>= 1.3.0)
railties (= 5.2.0)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.0.4)
loofah (~> 2.2, >= 2.2.2)
railties (5.2.0)
actionpack (= 5.2.0)
activesupport (= 5.2.0)
method_source
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (12.3.1)
rb-fsevent (0.10.3)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
redis (4.0.1)
responders (2.4.0)
actionpack (>= 4.2.0, < 5.3)
railties (>= 4.2.0, < 5.3)
sass (3.5.6)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sass-rails (5.0.7)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
sassc (1.11.4)
bundler
ffi (~> 1.9.6)
sass (>= 3.3.0)
simple_form (4.0.1)
actionpack (>= 5.0)
activemodel (>= 5.0)
spring (2.0.2)
activesupport (>= 4.2)
spring-watcher-listen (2.0.1)
listen (>= 2.7, < 4.0)
spring (>= 1.2, < 3.0)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.8)
tzinfo (1.2.5)
thread_safe (~> 0.1)
uglifier (4.1.11)
execjs (>= 0.3.0, < 3)
warden (1.2.7)
rack (>= 1.0)
web-console (3.6.2)
actionview (>= 5.0)
activemodel (>= 5.0)
bindex (>= 0.4.0)
railties (>= 5.0)
webpacker (3.5.3)
activesupport (>= 4.2)
rack-proxy (>= 0.6.1)
railties (>= 4.2)
websocket-driver (0.7.0)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3)

PLATFORMS
ruby

DEPENDENCIES
autoprefixer-rails
bootsnap
bootstrap-sass (~> 3.3)
devise
figaro
font-awesome-sass (~> 5.0.9)
jbuilder (~> 2.0)
listen (~> 3.0.5)
pg (~> 0.21)
pry-byebug
pry-rails
puma
rails (= 5.2.0)
redis
sass-rails
simple_form
spring
spring-watcher-listen (~> 2.0.0)
uglifier
web-console (>= 3.3.0)
webpacker

RUBY VERSION
ruby 2.4.4p296

BUNDLED WITH
1.16.2
@@ -0,0 +1 @@
web: bundle exec puma -C config/puma.rb
@@ -0,0 +1 @@
Rails app generated with [lewagon/rails-templates](https://github.com/lewagon/rails-templates), created by the [Le Wagon coding bootcamp](https://www.lewagon.com) team.
@@ -0,0 +1,6 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require_relative 'config/application'

Rails.application.load_tasks
@@ -0,0 +1,3 @@
//= link_tree ../images
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css
No changes.
Binary file not shown.
@@ -0,0 +1,2 @@
//= require rails-ujs
//= require_tree .
@@ -0,0 +1,13 @@
// Action Cable provides the framework to deal with WebSockets in Rails.
// You can generate new channels where WebSocket features live using the `rails generate channel` command.
//
//= require action_cable
//= require_self
//= require_tree ./channels

(function() {
this.App || (this.App = {});

App.cable = ActionCable.createConsumer();

}).call(this);
No changes.

0 comments on commit 805b330

Please sign in to comment.
You can’t perform that action at this time.