avo 4.4.0 → 4.4.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af18a167483f1605048b055113e1dcbae22c4f8e3b6cca6dc9f47d616782912b
4
- data.tar.gz: eb193c640b65b76a6eaee39859b00e9a012b3a7f49666dd28615b2c595f34868
3
+ metadata.gz: a73813ac6780ee6f2be7897e9e43d7001547efa7551c02e596e2e0c03904db9f
4
+ data.tar.gz: f901904f867de73dd1a4ceecc1e30e49385be0fe68f67dfcff2a56a894d871b1
5
5
  SHA512:
6
- metadata.gz: efb2423180ec5493a7ce37656d4754f77ffdf2d5b32ee6024b5c2fb26fe3392cadb8660fa4438139742a0fb8d4374d9b3d45bcf6d08b981a0c93a8016db7ca82
7
- data.tar.gz: b5c9d57fc6c7f406e906b0c8acb2f71e4eaae5243024db2907eb9251df3ee9c724f7f3fd56c8c22621d868ad8ea6fc2b4c6121363b4234d70c4017c22d03f54c
6
+ metadata.gz: 643168d1b6a9e4d8c6ea875428403a2ecfb06b7fc724ad9284e6d7ba2cfc6924f5411b9fcb3f45e9e1a031c41a1e3a49e3d696b89064ae058d76f57eec1d161c
7
+ data.tar.gz: 81b2974b0f4285531b469bef2bd383ab08f2045c6611b5d6c5b5ade3488864a4ee9a12945b0929878d9a83a497aeab0933da7ff1be4d9818d34f103bed134231
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (4.4.0)
4
+ avo (4.4.1)
5
5
  actionview (>= 6.1)
6
6
  active_link_to
7
7
  activerecord (>= 6.1)
@@ -27,6 +27,6 @@
27
27
  </ul>
28
28
  <% end %>
29
29
  <% card.with_footer do %>
30
- <%= render partial: "avo/updates/progress" %>
30
+ <%= render partial: "avo/status/updates/progress" %>
31
31
  <% end %>
32
32
  <% end %>
@@ -1,4 +1,4 @@
1
- module Avo
1
+ module Avo::Status
2
2
  class UpdatesController < Avo::ApplicationController
3
3
  before_action :authenticate_developer_or_admin!
4
4
  # Running bundler and restarting the server from a web request is only safe on a developer's machine.
@@ -15,19 +15,19 @@ module Avo
15
15
  end
16
16
 
17
17
  def progress
18
- render partial: "avo/updates/progress"
18
+ render partial: "avo/status/updates/progress"
19
19
  end
20
20
 
21
21
  def run
22
22
  Avo::Services::Updater.start
23
23
 
24
- render partial: "avo/updates/progress"
24
+ render partial: "avo/status/updates/progress"
25
25
  end
26
26
 
27
27
  def restart
28
28
  Avo::Services::Updater.restart
29
29
 
30
- render partial: "avo/updates/progress", locals: {restarting: true}
30
+ render partial: "avo/status/updates/progress", locals: {restarting: true}
31
31
  end
32
32
 
33
33
  private
@@ -18,16 +18,16 @@
18
18
  <%= render ui.card(title: "Available", description: "Newer than what this app runs.") do |card| %>
19
19
  <% card.with_body do %>
20
20
  <div class="updates-page__actions">
21
- <%= render partial: "avo/updates/progress" %>
21
+ <%= render partial: "avo/status/updates/progress" %>
22
22
  </div>
23
- <%= render partial: "avo/updates/release", collection: @available_releases, as: :release, locals: {open: true} %>
23
+ <%= render partial: "avo/status/updates/release", collection: @available_releases, as: :release, locals: {open: true} %>
24
24
  <% end %>
25
25
  <% end %>
26
26
  <% end %>
27
27
  <% if @installed_releases.any? %>
28
28
  <%= render ui.card(title: "Installed") do |card| %>
29
29
  <% card.with_body do %>
30
- <%= render partial: "avo/updates/release", collection: @installed_releases, as: :release, locals: {open: false} %>
30
+ <%= render partial: "avo/status/updates/release", collection: @installed_releases, as: :release, locals: {open: false} %>
31
31
  <% end %>
32
32
  <% end %>
33
33
  <% end %>
data/config/routes.rb CHANGED
@@ -32,10 +32,10 @@ Avo::Engine.routes.draw do
32
32
  end
33
33
 
34
34
  get "status", to: "debug#status", as: "status"
35
- get "updates", to: "updates#index", as: "updates"
36
- get "updates/progress", to: "updates#progress", as: "updates_progress"
37
- post "updates/run", to: "updates#run", as: "run_updates"
38
- post "updates/restart", to: "updates#restart", as: "restart_after_updates"
35
+ get "updates", to: "status/updates#index", as: "updates"
36
+ get "updates/progress", to: "status/updates#progress", as: "updates_progress"
37
+ post "updates/run", to: "status/updates#run", as: "run_updates"
38
+ post "updates/restart", to: "status/updates#restart", as: "restart_after_updates"
39
39
  # The old address is bookmarked and linked from released gems (avo-licensing), so it keeps its helper and redirects.
40
40
  get "avo_private/status", to: redirect("status", status: 301), as: "avo_private_status"
41
41
 
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "4.4.0" unless const_defined?(:VERSION)
2
+ VERSION = "4.4.1" unless const_defined?(:VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.0
4
+ version: 4.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
@@ -775,7 +775,7 @@ files:
775
775
  - app/controllers/avo/private_controller.rb
776
776
  - app/controllers/avo/resources_controller.rb
777
777
  - app/controllers/avo/search_controller.rb
778
- - app/controllers/avo/updates_controller.rb
778
+ - app/controllers/avo/status/updates_controller.rb
779
779
  - app/controllers/concerns/avo/common_controller.rb
780
780
  - app/controllers/concerns/avo/initializes_avo.rb
781
781
  - app/helpers/avo/application_helper.rb
@@ -946,9 +946,9 @@ files:
946
946
  - app/views/avo/private/appearance.html.erb
947
947
  - app/views/avo/private/design.html.erb
948
948
  - app/views/avo/sidebar/_license_warning.html.erb
949
- - app/views/avo/updates/_progress.html.erb
950
- - app/views/avo/updates/_release.html.erb
951
- - app/views/avo/updates/index.html.erb
949
+ - app/views/avo/status/updates/_progress.html.erb
950
+ - app/views/avo/status/updates/_release.html.erb
951
+ - app/views/avo/status/updates/index.html.erb
952
952
  - app/views/layouts/avo/application.html.erb
953
953
  - app/views/layouts/avo/blank.html.erb
954
954
  - app/views/layouts/avo/modal.html.erb