rails-server-monitor 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4c02a410440fe656a5775b8fcbf634cde598ccfbdc931ea6df0c100fd52b566
4
- data.tar.gz: d9f857b9f0cfa8da45543c2f9b5a7fdb8aa39388bb31a6020dfe66c9c90984e6
3
+ metadata.gz: 42a5e4efd2fa04d41325825215360f65ae66c648a9a3b117f32b3bec8c59d6b7
4
+ data.tar.gz: 5ec3f5a55ea2c9fd59b4c667688c16cd8f3a9fd415b37a96bfa4c4a5c1dad6da
5
5
  SHA512:
6
- metadata.gz: 68a29e610bb3bb98ba4381c930301fd39c74e9195eeaf173d8803f58dec0152f9076a2897f88f917119602ef6ee0567f53ae53aace1edf0b2cc905c15e14e62f
7
- data.tar.gz: b17b84868d09d28008763b049601124eac946b34d42d3b3f20aa73e2e38bf0a3bb3f7f983c01db6a8ca19645ef12494c898250f8f7cec5c5c9d06c561b9db46e
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/rspec ADDED
@@ -0,0 +1,5 @@
1
+ #!/bin/bash
2
+
3
+ cd dummy
4
+
5
+ bin/rspec
data/bin/start ADDED
@@ -0,0 +1,4 @@
1
+ #!/bin/bash
2
+
3
+ cd dummy
4
+ bundle exec foreman start
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsServerMonitor
4
- VERSION = "0.1.7"
4
+ VERSION = "0.1.8"
5
5
  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.7
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