wco_hosting 0.0.0.16 → 0.0.0.17

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: 30b3e225190919ad99c8611730e0e75415b394eda5b89bc5d173bf70a921dcb5
4
- data.tar.gz: 904a1f18e6c3df858c15865dc7d366e0431f75c51644f2688fed523c461b1998
3
+ metadata.gz: 925161dea305615f15641b1d225e64ed138116934c5b47cf10c202519b76020d
4
+ data.tar.gz: 97db1e81f6629066cbe060c03ee2b49a3e4094f61feecdce4eb14d5813dda266
5
5
  SHA512:
6
- metadata.gz: 7a3094645efe8b263d3eda8b57912cf38dc18b37a92537356b3a121754a369e298b122249b4d7cb16646468d467c651e7463c02de76c13a4cfe23472fccbf97b
7
- data.tar.gz: 1d9449a7c3718c7b83cafd40a71bd0012092ff79af6167c143c3796a6ec92bceb4f12a0d7841cce2a55f3fcc8d8d846a15526cb69e42d94d4979d3ea7779d2ff
6
+ metadata.gz: 2d0e22a2fdc1b9b025472b4f6a23e7b141efeaac2b7ad3df8ae45036d38cdaec820b6df70c7419249c1712964cc62b48af2a5d7f1e338fd247a547e0553ec6a6
7
+ data.tar.gz: c7d4a7ba01588caf892f0386e4e7f74f45425d377a13cf010b66e790225915a9de63f4cd38ae1ab4102c77d2602f1ae82dd5a00ad5272fa5c42913a887e169f4
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_hosting
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.16
4
+ version: 0.0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-13 00:00:00.000000000 Z
11
+ date: 2024-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cancancan
@@ -232,13 +232,11 @@ files:
232
232
  - app/assets/config/wco_hosting_manifest.js
233
233
  - app/assets/javascript/wco_hosting/application.js
234
234
  - app/assets/stylesheets/wco_hosting/application.css
235
- - app/assets/stylesheets/wco_hosting/dark_theme.scss
236
235
  - app/assets/stylesheets/wco_hosting/main.scss
237
236
  - app/controllers/wco_hosting/appliance_tmpls_controller.rb
238
237
  - app/controllers/wco_hosting/appliances_controller.rb
239
238
  - app/controllers/wco_hosting/application_controller.rb
240
239
  - app/controllers/wco_hosting/domains_controller.rb
241
- - app/controllers/wco_hosting/leadsets_controller.rb-trash
242
240
  - app/controllers/wco_hosting/serverhosts_controller.rb
243
241
  - app/controllers/wco_hosting/subscriptions_controller.rb
244
242
  - app/helpers/wco_hosting/application_helper.rb
@@ -1,16 +0,0 @@
1
-
2
- body {
3
- background: #222;
4
- color: #ccc;
5
- }
6
- a {
7
- // color: #d30048;
8
- color: #00c5b7;
9
- }
10
-
11
- input,
12
- select,
13
- textarea {
14
- background: #333;
15
- color: #ccc;
16
- }
@@ -1,44 +0,0 @@
1
-
2
- class WcoHosting::LeadsetsController < WcoHosting::ApplicationController
3
-
4
- before_action :set_lists
5
-
6
- def index
7
- authorize! :index, Wco::Leadset
8
- @leadsets = Wco::Leadset.all
9
- end
10
-
11
- def show
12
- @leadset = Wco::Leadset.find params[:id]
13
- authorize! :show, @leadset
14
-
15
- end
16
-
17
- def update
18
- @leadset = Wco::Leadset.find params[:id]
19
- authorize! :update, @leadset
20
- params[:leadset][:serverhost_ids].delete("")
21
- puts! params, 'params'
22
-
23
- flag = @leadset.update_attributes( params.require(:leadset).permit(
24
- :company_url, :email, serverhost_ids: [] )
25
- )
26
- if flag
27
- flash_notice @leadset
28
- else
29
- flash_alert @leadset
30
- end
31
- redirect_to action: :index
32
- end
33
-
34
- ##
35
- ## private
36
- ##
37
- private
38
-
39
- def set_lists
40
- @serverhosts_list = WcoHosting::Serverhost.list
41
- end
42
-
43
-
44
- end