rails-server-monitor 0.1.7 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/rails +24 -0
- data/bin/rspec +5 -0
- data/bin/start +4 -0
- data/bin/webpack +18 -0
- data/bin/webpack-dev-server +19 -0
- data/lib/rails_server_monitor/version.rb +1 -1
- metadata +6 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42a5e4efd2fa04d41325825215360f65ae66c648a9a3b117f32b3bec8c59d6b7
|
4
|
+
data.tar.gz: 5ec3f5a55ea2c9fd59b4c667688c16cd8f3a9fd415b37a96bfa4c4a5c1dad6da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ef74d34f33f862cdccf698e1f5153aff9f6176a19121b4c3b087e9539ee39a46a1d6648de72315f1c152df6f6dd0767b8168af0787b47262d6ce876394d3e65
|
7
|
+
data.tar.gz: f0a805d4f4573b09fb7f65e03dd0c2f872ee9055acc34a42d1db32fec2c164c844436ac83f3d0a5bccf7692f68a55319daa989198ab2218ee447fc35aa90693e
|
data/bin/rails
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails gems
|
3
|
+
# installed from the root of your application.
|
4
|
+
|
5
|
+
ENGINE_ROOT = File.expand_path('..', __dir__)
|
6
|
+
ENGINE_PATH = File.expand_path('../lib/rails/server/monitor/engine', __dir__)
|
7
|
+
|
8
|
+
# Set up gems listed in the Gemfile.
|
9
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
10
|
+
require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
|
11
|
+
|
12
|
+
require "rails"
|
13
|
+
# Pick the frameworks you want:
|
14
|
+
require "active_model/railtie"
|
15
|
+
# require "active_job/railtie"
|
16
|
+
require "active_record/railtie"
|
17
|
+
# require "active_storage/engine"
|
18
|
+
require "action_controller/railtie"
|
19
|
+
# require "action_mailer/railtie"
|
20
|
+
require "action_view/railtie"
|
21
|
+
# require "action_cable/engine"
|
22
|
+
# require "sprockets/railtie"
|
23
|
+
# require "rails/test_unit/railtie"
|
24
|
+
require "rails/engine/commands"
|
data/bin/start
ADDED
data/bin/webpack
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
|
4
|
+
ENV["NODE_ENV"] ||= "development"
|
5
|
+
|
6
|
+
require "pathname"
|
7
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
8
|
+
Pathname.new(__FILE__).realpath)
|
9
|
+
|
10
|
+
require "bundler/setup"
|
11
|
+
|
12
|
+
require "webpacker"
|
13
|
+
require "webpacker/webpack_runner"
|
14
|
+
|
15
|
+
APP_ROOT = File.expand_path("..", __dir__)
|
16
|
+
Dir.chdir(APP_ROOT) do
|
17
|
+
Webpacker::WebpackRunner.run(ARGV)
|
18
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
ENV["RAILS_ENV"] ||= ENV["RACK_ENV"] || "development"
|
4
|
+
ENV["NODE_ENV"] ||= "development"
|
5
|
+
ENV["WEBPACK_DEV_SERVER"] = "true"
|
6
|
+
|
7
|
+
require "pathname"
|
8
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
9
|
+
Pathname.new(__FILE__).realpath)
|
10
|
+
|
11
|
+
require "bundler/setup"
|
12
|
+
|
13
|
+
require "webpacker"
|
14
|
+
require "webpacker/dev_server_runner"
|
15
|
+
|
16
|
+
APP_ROOT = File.expand_path("..", __dir__)
|
17
|
+
Dir.chdir(APP_ROOT) do
|
18
|
+
Webpacker::DevServerRunner.run(ARGV)
|
19
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-server-monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Personal Social Media
|
@@ -249,6 +249,11 @@ files:
|
|
249
249
|
- app/views/rails_server_monitor/servers/show.html.erb
|
250
250
|
- app/views/rails_server_monitor/snapshots/show.html.erb
|
251
251
|
- babel.config.js
|
252
|
+
- bin/rails
|
253
|
+
- bin/rspec
|
254
|
+
- bin/start
|
255
|
+
- bin/webpack
|
256
|
+
- bin/webpack-dev-server
|
252
257
|
- config/routes.rb
|
253
258
|
- config/webpack/base.js
|
254
259
|
- config/webpack/development.js
|