Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,3 @@

# Ignore master key for decrypting credentials and more.
/config/master.key

/app/assets/builds/*
!/app/assets/builds/.keep

.idea/
4 changes: 1 addition & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ gem "stimulus-rails"
gem "jbuilder"

# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
gem "bcrypt", "~> 3.1.7"
# gem "bcrypt", "~> 3.1.7"

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: %i[ windows jruby ]
Expand Down Expand Up @@ -63,5 +63,3 @@ group :test do
gem "database_cleaner"
gem "selenium-webdriver"
end

gem "tailwindcss-rails", "~> 4.4"
11 changes: 0 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ GEM
public_suffix (>= 2.0.2, < 7.0)
ast (2.4.3)
base64 (0.3.0)
bcrypt (3.1.20)
bcrypt_pbkdf (1.1.1)
benchmark (0.5.0)
bigdecimal (3.3.1)
Expand Down Expand Up @@ -369,14 +368,6 @@ GEM
sys-uname (1.4.1)
ffi (~> 1.1)
memoist3 (~> 1.0.0)
tailwindcss-rails (4.4.0)
railties (>= 7.0.0)
tailwindcss-ruby (~> 4.0)
tailwindcss-ruby (4.1.16)
tailwindcss-ruby (4.1.16-aarch64-linux-gnu)
tailwindcss-ruby (4.1.16-aarch64-linux-musl)
tailwindcss-ruby (4.1.16-x86_64-linux-gnu)
tailwindcss-ruby (4.1.16-x86_64-linux-musl)
thor (1.4.0)
thruster (0.1.16)
thruster (0.1.16-aarch64-linux)
Expand Down Expand Up @@ -418,7 +409,6 @@ PLATFORMS
x86_64-linux-musl

DEPENDENCIES
bcrypt (~> 3.1.7)
bootsnap
brakeman
capybara
Expand All @@ -438,7 +428,6 @@ DEPENDENCIES
solid_queue
sqlite3 (>= 2.1)
stimulus-rails
tailwindcss-rails (~> 4.4)
thruster
turbo-rails
tzinfo-data
Expand Down
2 changes: 0 additions & 2 deletions Procfile.dev

This file was deleted.

Empty file removed app/assets/builds/.keep
Empty file.
11 changes: 0 additions & 11 deletions app/assets/tailwind/application.css

This file was deleted.

4 changes: 0 additions & 4 deletions app/controllers/home_controller.rb

This file was deleted.

2 changes: 0 additions & 2 deletions app/helpers/home_helper.rb

This file was deleted.

7 changes: 0 additions & 7 deletions app/mailers/user_mailer.rb

This file was deleted.

4 changes: 0 additions & 4 deletions app/models/MatriculaTurma.rb

This file was deleted.

5 changes: 0 additions & 5 deletions app/models/modelo.rb

This file was deleted.

6 changes: 0 additions & 6 deletions app/models/pergunta.rb

This file was deleted.

6 changes: 0 additions & 6 deletions app/models/turma.rb

This file was deleted.

14 changes: 0 additions & 14 deletions app/models/user.rb

This file was deleted.

142 changes: 0 additions & 142 deletions app/services/sigaa_import_service.rb

This file was deleted.

4 changes: 0 additions & 4 deletions app/views/home/index.html.erb

This file was deleted.

19 changes: 7 additions & 12 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,19 @@

<%= yield :head %>

<%# Enable PWA manifest for installable apps (make sure to enable in config/routes.rb too!) %>
<%#= tag.link rel: "manifest", href: pwa_manifest_path(format: :json) %>

<link rel="icon" href="/icon.png" type="image/png">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/icon.png">

<%= stylesheet_link_tag "tailwind", "data-turbo-track": "reload" %>

<%# Includes all stylesheet files in app/assets/stylesheets %>
<%= stylesheet_link_tag :app, "data-turbo-track": "reload" %>
<%= javascript_importmap_tags %>
</head>

<body>
<%# Remover o comentário para verificar o funcionamento do tailwind
Remover essa parte quando alguma tela for implementada %>
<%# <div class="bg-blue-600 text-white text-center p-4 font-bold text-xl">
Tailwind funcionando
</div> %>

<main class="container mx-auto mt-10 px-5">
<%= yield %>
</main>
<%= yield %>
</body>
</html>
</html>
18 changes: 2 additions & 16 deletions bin/dev
Original file line number Diff line number Diff line change
@@ -1,16 +1,2 @@
#!/usr/bin/env sh

if ! gem list foreman -i --silent; then
echo "Installing foreman..."
gem install foreman
fi

# Default to port 3000 if not specified
export PORT="${PORT:-3000}"

# Let the debug gem allow remote connections,
# but avoid loading until `debugger` is called
export RUBY_DEBUG_OPEN="true"
export RUBY_DEBUG_LAZY="true"

exec foreman start -f Procfile.dev "$@"
#!/usr/bin/env ruby
exec "./bin/rails", "server", *ARGV
14 changes: 8 additions & 6 deletions config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Rails.application.configure do
# Configure 'rails notes' to inspect Cucumber files
config.annotations.register_directories("features")
config.annotations.register_extensions("feature") { |tag| /#\s*(#{tag}):?\s*(.*)$/ }
config.annotations.register_directories('features')

Check failure on line 5 in config/environments/development.rb

View workflow job for this annotation

GitHub Actions / lint

Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
config.annotations.register_extensions('feature') { |tag| /#\s*(#{tag}):?\s*(.*)$/ }

Check failure on line 6 in config/environments/development.rb

View workflow job for this annotation

GitHub Actions / lint

Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

# Settings specified here will take precedence over those in config/application.rb.

Expand Down Expand Up @@ -35,11 +35,13 @@
# Store uploaded files on the local file system (see config/storage.yml for options).
config.active_storage.service = :local

# Email configuration
config.action_mailer.raise_delivery_errors = true
config.action_mailer.perform_deliveries = true
config.action_mailer.delivery_method = :letter_opener
# Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false

# Make template changes take effect immediately.
config.action_mailer.perform_caching = false

# Set localhost to be used by links generated in mailer templates.
config.action_mailer.default_url_options = { host: "localhost", port: 3000 }

# Print deprecation notices to the Rails logger.
Expand Down
4 changes: 2 additions & 2 deletions config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

Rails.application.configure do
# Configure 'rails notes' to inspect Cucumber files
config.annotations.register_directories("features")
config.annotations.register_extensions("feature") { |tag| /#\s*(#{tag}):?\s*(.*)$/ }
config.annotations.register_directories('features')

Check failure on line 8 in config/environments/test.rb

View workflow job for this annotation

GitHub Actions / lint

Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
config.annotations.register_extensions('feature') { |tag| /#\s*(#{tag}):?\s*(.*)$/ }

Check failure on line 9 in config/environments/test.rb

View workflow job for this annotation

GitHub Actions / lint

Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.

# Settings specified here will take precedence over those in config/application.rb.

Expand Down
7 changes: 3 additions & 4 deletions config/initializers/inflections.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
# end

# These inflection rules are supported but not enabled by default:
ActiveSupport::Inflector.inflections(:en) do |inflect|
inflect.irregular "pergunta", "perguntas"
# inflect.acronym "RESTful"
end
# ActiveSupport::Inflector.inflections(:en) do |inflect|
# inflect.acronym "RESTful"
# end
3 changes: 1 addition & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Rails.application.routes.draw do
get "home/index"
# Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html

# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
Expand All @@ -11,5 +10,5 @@
# get "service-worker" => "rails/pwa#service_worker", as: :pwa_service_worker

# Defines the root path route ("/")
root "home#index"
# root "posts#index"
end
Loading
Loading