Skip to content

Commit

Permalink
Merge pull request #3 from HarvestProfit/remove-all-javascript
Browse files Browse the repository at this point in the history
Remove all javascript/styles
  • Loading branch information
jarydkrish authored Feb 22, 2021
2 parents 144bdf7 + 3df7096 commit 4726523
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 6,187 deletions.
1 change: 0 additions & 1 deletion .node-version

This file was deleted.

1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ gem 'jwt'
gem 'pg', '>= 0.18', '< 2.0'
gem 'puma', '~> 3.11'
gem 'rack-cors'
gem 'webpacker'

group :development, :test do
gem 'byebug'
Expand Down
7 changes: 0 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ GEM
racc (1.5.2)
rack (2.2.3)
rack-cors (1.0.2)
rack-proxy (0.6.4)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (6.1.3)
Expand Down Expand Up @@ -209,10 +207,6 @@ GEM
thor (1.1.0)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
webpacker (3.5.5)
activesupport (>= 4.2)
rack-proxy (>= 0.6.1)
railties (>= 4.2)
websocket-driver (0.7.3)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
Expand Down Expand Up @@ -241,7 +235,6 @@ DEPENDENCIES
simplecov
spring
spring-watcher-listen (~> 2.0.0)
webpacker

RUBY VERSION
ruby 2.7.2p137
Expand Down
4 changes: 0 additions & 4 deletions app/javascript/packs/application.js

This file was deleted.

1 change: 0 additions & 1 deletion app/javascript/styles/application.scss

This file was deleted.

6 changes: 4 additions & 2 deletions app/views/pages/home.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<html>
<head>
<title>React Programming Task</title>
<%= javascript_pack_tag 'application' %>
<%= stylesheet_pack_tag 'application' %>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
</head>
<body>
<div class="container">
Expand All @@ -22,5 +21,8 @@
</p>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
</body>
</html>
15 changes: 0 additions & 15 deletions bin/webpack

This file was deleted.

15 changes: 0 additions & 15 deletions bin/webpack-dev-server

This file was deleted.

24 changes: 12 additions & 12 deletions config/application.rb
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
require_relative 'boot'

require "rails"
require 'rails'
# Pick the frameworks you want:
require "active_model/railtie"
require "active_job/railtie"
require "active_record/railtie"
require "active_storage/engine"
require "action_controller/railtie"
require "action_mailer/railtie"
require "action_view/railtie"
require "action_cable/engine"
# require "sprockets/railtie"
# require "rails/test_unit/railtie"
require 'active_model/railtie'
require 'active_job/railtie'
require 'active_record/railtie'
require 'active_storage/engine'
require 'action_controller/railtie'
require 'action_mailer/railtie'
require 'action_view/railtie'
require 'action_cable/engine'
# require 'sprockets/railtie'
# require 'rails/test_unit/railtie'

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Expand All @@ -20,7 +20,7 @@
module ReactProgrammingTask
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 5.2
config.load_defaults 6.1

config.action_controller.action_on_unpermitted_parameters = :raise

Expand Down
68 changes: 0 additions & 68 deletions config/webpacker.yml

This file was deleted.

12 changes: 0 additions & 12 deletions package.json

This file was deleted.

Loading

0 comments on commit 4726523

Please sign in to comment.