RemoteWebConsole 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/config/route.rb +6 -0
  3. data/lib/webconsole.rb +0 -6
  4. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92719f9c99ff4bb17f4e9edcbfc91645f5ed308c7b715f3663b5be1edc23959d
4
- data.tar.gz: 7358878a5a291bb99d9d8b5c8e6ca3b2bc7c5d5d8b51a670f8c1e4ac3a95102c
3
+ metadata.gz: 3db366ed82a727cf0026982b7453ecd329a24f23014029b2888ade8d72d80b4b
4
+ data.tar.gz: 74efce34372237fe877726d9599bdde6041dca07104dc3da2d03c77047c51990
5
5
  SHA512:
6
- metadata.gz: cb89d3c0e94b88b96d8fc39b28bce3840a4e7dafc24890948a7e65ceb8563d4c39aa34c16454a7de23ef30cf6b465e5c3a9a745a207e6a3fc809a3fe864cf8ef
7
- data.tar.gz: fd2d3290da72b7389e809cdcd7ed096c2516660c16c15e9e3dcebfaeb16fa001bc83858ab91ea3bc612aeae59d652da781f0e592288a1461a8baeff6f3e71432
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.0
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/webconsole
24
+ homepage: https://rubygems.org/gems/RemoteWebConsole
24
25
  licenses:
25
26
  - MIT
26
27
  metadata: {}