Skip to content

Commit 70636ad

Browse files
committed
Revert "Merge pull request #87 from zavan/api-only"
This reverts commit 7f71ec8, reversing changes made to 7875a55.
1 parent fe9db51 commit 70636ad

File tree

6 files changed

+20
-21
lines changed

6 files changed

+20
-21
lines changed

Gemfile.lock

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ PATH
3131
mission_control-jobs (0.3.2)
3232
importmap-rails
3333
irb (~> 1.13)
34-
propshaft
3534
rails (>= 7.1)
3635
stimulus-rails
3736
turbo-rails
@@ -191,11 +190,6 @@ GEM
191190
parser (3.3.0.5)
192191
ast (~> 2.4.1)
193192
racc
194-
propshaft (0.8.0)
195-
actionpack (>= 7.0.0)
196-
activesupport (>= 7.0.0)
197-
rack
198-
railties (>= 7.0.0)
199193
psych (5.1.2)
200194
stringio
201195
public_suffix (5.0.4)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
//= link_directory ../stylesheets/mission_control/jobs .css
2+
//= link_directory ../../javascript/mission_control/jobs .js
3+
//= link_directory ../../javascript/mission_control/jobs/controllers .js
4+
//= link_directory ../../javascript/mission_control/jobs/helpers .js
Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
1-
@import url("./forms.css");
2-
@import url("./jobs.css");
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+
*/
16+

app/controllers/mission_control/jobs/application_controller.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
class MissionControl::Jobs::ApplicationController < MissionControl::Jobs.base_controller_class.constantize
2-
ActionController::Base::MODULES.each do |mod|
3-
include mod unless self < mod
4-
end
5-
62
layout "mission_control/jobs/application"
73

8-
# Include helpers if not already included
9-
helper MissionControl::Jobs::ApplicationHelper unless self < MissionControl::Jobs::ApplicationHelper
10-
helper Importmap::ImportmapTagsHelper unless self < Importmap::ImportmapTagsHelper
11-
124
include MissionControl::Jobs::ApplicationScoped, MissionControl::Jobs::NotFoundRedirections
135
include MissionControl::Jobs::AdapterFeatures
146

lib/mission_control/jobs/engine.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,12 @@
44
require "importmap-rails"
55
require "turbo-rails"
66
require "stimulus-rails"
7-
require "propshaft"
87

98
module MissionControl
109
module Jobs
1110
class Engine < ::Rails::Engine
1211
isolate_namespace MissionControl::Jobs
1312

14-
config.middleware.use ActionDispatch::Flash unless config.action_dispatch.flash
15-
1613
config.mission_control = ActiveSupport::OrderedOptions.new unless config.try(:mission_control)
1714
config.mission_control.jobs = ActiveSupport::OrderedOptions.new
1815

@@ -90,7 +87,6 @@ class Engine < ::Rails::Engine
9087
end
9188

9289
initializer "mission_control-jobs.assets" do |app|
93-
app.config.assets.paths << root.join("app/assets/stylesheets")
9490
app.config.assets.paths << root.join("app/javascript")
9591
app.config.assets.precompile += %w[ mission_control_jobs_manifest ]
9692
end

mission_control-jobs.gemspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Gem::Specification.new do |spec|
1717
end
1818

1919
spec.add_dependency "rails", ">= 7.1"
20-
spec.add_dependency "propshaft"
2120
spec.add_dependency "importmap-rails"
2221
spec.add_dependency "turbo-rails"
2322
spec.add_dependency "stimulus-rails"

0 commit comments

Comments
 (0)