RemoteWebConsole 0.1.0 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/route.rb +6 -0
- data/lib/webconsole.rb +0 -6
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3db366ed82a727cf0026982b7453ecd329a24f23014029b2888ade8d72d80b4b
|
4
|
+
data.tar.gz: 74efce34372237fe877726d9599bdde6041dca07104dc3da2d03c77047c51990
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 394fdb86bcf743adcfef7841800a9363b78e1abc45c05c8a4c3d1504f9c449353530ee333bee35a361fdb44923dbc3467304966cffad34ef4bfe12009ae20f39
|
7
|
+
data.tar.gz: 5e1a00fa36692fabe7d7147052148b4e828245f21ce60e777824e621c266be7f709f9d7ca7b18414a30d21cbdda63bac91af34501321139ca92b6017fdcdce63
|
data/config/route.rb
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
WebConsole::Engine.routes do
|
2
|
+
put '/console', to: 'console#run_command', as: :console_run_command
|
3
|
+
put '/console/connect', to: 'console#connect', as: :console_connect
|
4
|
+
put '/console/connect_remote/:id', to: 'console#connect_remote', as: :console_connect_remote
|
5
|
+
put '/console/send_command', to: 'console#send_command', as: :console_send_command
|
6
|
+
end
|
data/lib/webconsole.rb
CHANGED
@@ -1,8 +1,2 @@
|
|
1
1
|
class WebConsole
|
2
|
-
WebConsole::Engine.routes.draw do
|
3
|
-
put '/console', to: 'console#run_command', as: :console_run_command
|
4
|
-
put '/console/connect', to: 'console#connect', as: :console_connect
|
5
|
-
put '/console/connect_remote/:id', to: 'console#connect_remote', as: :console_connect_remote
|
6
|
-
put '/console/send_command', to: 'console#send_command', as: :console_send_command
|
7
|
-
end
|
8
2
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: RemoteWebConsole
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Eriksson
|
@@ -19,8 +19,9 @@ files:
|
|
19
19
|
- app/controllers/webconsole/webconsole_controller.rb
|
20
20
|
- app/helpers/console_helper.rb
|
21
21
|
- config/locales/en.yml
|
22
|
+
- config/route.rb
|
22
23
|
- lib/webconsole.rb
|
23
|
-
homepage: https://rubygems.org/gems/
|
24
|
+
homepage: https://rubygems.org/gems/RemoteWebConsole
|
24
25
|
licenses:
|
25
26
|
- MIT
|
26
27
|
metadata: {}
|