distribuo 0.1.8 → 0.1.16
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 +4 -4
- data/app/models/distribuo/release.rb +2 -2
- data/app/views/distribuo/admin/apps/edit.html.slim +2 -2
- data/app/views/distribuo/admin/apps/index.html.slim +2 -2
- data/app/views/distribuo/admin/apps/releases/edit.html.slim +2 -2
- data/app/views/distribuo/admin/apps/releases/index.html.slim +2 -2
- data/app/views/distribuo/apps/index.html.slim +8 -8
- data/lib/distribuo/engine.rb +0 -8
- data/lib/distribuo/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b35c36c9ac4979cd67baffc52f1f5c4258f010690ddc249be9cd992061b9d702
|
4
|
+
data.tar.gz: 516e16c44d9cf17247d10ec3f0200c67a143560e1784852b8057f4ccaafddc4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c0d4c4f4bfab0b9c4fd0f79e463b463803f4b648b69e9dfc9efd9d268786e0261ec851d4186f622c51e531f01291dc80b404e3ba23f81508bb96a6e9bff9a8c
|
7
|
+
data.tar.gz: ecd1e73fc8747274a8b12b4020a8e43a4fb2ea497604c50a9a21940ae486fdb93fa1c3f43c83213d658519c7e53f49133f211f54560326f34a467bd4aabee44b
|
@@ -15,11 +15,11 @@ module Distribuo
|
|
15
15
|
def download_url(controller, from_manifest: false)
|
16
16
|
if app.operating_system == 'ios' && from_manifest == false
|
17
17
|
url = controller.distribuo.app_release_manifest_url(app_id: app.id, release_id: id, host: controller.request.host,
|
18
|
-
|
18
|
+
protocol: controller.request.protocol, format: :plist)
|
19
19
|
"itms-services://?action=download-manifest&url=#{url}"
|
20
20
|
else
|
21
21
|
controller.distribuo.app_release_download_url(app, self, host: controller.request.host,
|
22
|
-
|
22
|
+
protocol: controller.request.protocol)
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
= sts.form_for [:admin, @app] do |f|
|
2
|
-
= sts.card(
|
3
|
-
- card.
|
2
|
+
= sts.card(:distribuo_admin_apps, menu: distribuo_app_menu, icon: 'fad fa-laptop-mobile') do |card|
|
3
|
+
- card.with_action
|
4
4
|
= f.submit
|
5
5
|
|
6
6
|
.grid.grid-cols-12.gap-4
|
@@ -1,2 +1,2 @@
|
|
1
|
-
= sts.card title: t('.apps'), icon: 'fad fa-laptop-mobile', content_padding: false, menu: distribuo_apps_menu do |card|
|
2
|
-
=
|
1
|
+
= sts.card :distribuo_admin_apps, title: t('.apps'), icon: 'fad fa-laptop-mobile', content_padding: false, menu: distribuo_apps_menu do |card|
|
2
|
+
= card.with_table:distribuo_apps, custom_views: true
|
@@ -1,2 +1,2 @@
|
|
1
|
-
= sts.card title: t('.releases'), icon: 'fad fa-ship', content_padding: false, menu: distribuo_app_releases_menu do |card|
|
2
|
-
=
|
1
|
+
= sts.card :distribuo_admin_apps_releases, title: t('.releases'), icon: 'fad fa-ship', content_padding: false, menu: distribuo_app_releases_menu do |card|
|
2
|
+
= card.with_table'distribuo/releases', parameters: {app_id: @app.id}, custom_views: true
|
@@ -1,4 +1,4 @@
|
|
1
|
-
= sts.card
|
1
|
+
= sts.card :distribuo_apps do |card|
|
2
2
|
.grid.grid-cols-12.gap-4
|
3
3
|
.col-span-12
|
4
4
|
- for app in @apps do
|
@@ -7,12 +7,12 @@
|
|
7
7
|
= app.name
|
8
8
|
|
9
9
|
= sts.info class: "grid grid-cols-1 gap-4 sm:grid-cols-3" do |info|
|
10
|
-
= info.
|
10
|
+
= info.with_item :icon, class: "sm:col-span-1"
|
11
11
|
- if app.icon.attached?
|
12
12
|
= image_tag(main_app.url_for(app.icon.variant(resize_to_limit: [48, 48])))
|
13
13
|
|
14
|
-
= info.
|
15
|
-
= info.
|
14
|
+
= info.with_item :operating_system, content: app.operating_system, class: "sm:col-span-1"
|
15
|
+
= info.with_item :release_type, content: app.release_type, class: "sm:col-span-1"
|
16
16
|
|
17
17
|
- if app.latest_release
|
18
18
|
.col-span-4
|
@@ -20,9 +20,9 @@
|
|
20
20
|
= t('.latest_release')
|
21
21
|
= sts.info class: "grid grid-cols-1 gap-4 sm:grid-cols-3" do |info|
|
22
22
|
|
23
|
-
= info.
|
24
|
-
= info.
|
25
|
-
= info.
|
26
|
-
= info.
|
23
|
+
= info.with_item :version, content: app.latest_release.version, class: "sm:col-span-1"
|
24
|
+
= info.with_item :build_number, content: app.latest_release.build_number, class: "sm:col-span-1"
|
25
|
+
= info.with_item :notes, content: app.latest_release.notes, class: "sm:col-span-3"
|
26
|
+
= info.with_item :download, class: "sm:col-span-1"
|
27
27
|
= link_to(app.latest_release.download_url(self), data: { turbo: false }) do
|
28
28
|
i.fal.fa-cloud-arrow-down.fa-2x
|
data/lib/distribuo/engine.rb
CHANGED
@@ -8,13 +8,5 @@ module Distribuo
|
|
8
8
|
end
|
9
9
|
route && route.path
|
10
10
|
end
|
11
|
-
|
12
|
-
initializer :append_migrations do |app|
|
13
|
-
unless app.root.to_s.match? root.to_s
|
14
|
-
config.paths['db/migrate'].expanded.each do |expanded_path|
|
15
|
-
app.config.paths['db/migrate'] << expanded_path
|
16
|
-
end
|
17
|
-
end
|
18
|
-
end
|
19
11
|
end
|
20
12
|
end
|
data/lib/distribuo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: distribuo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom de Grunt
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acts_as_list
|
@@ -157,7 +157,7 @@ homepage: https://code.entropydecelerator.com/components/distribuo
|
|
157
157
|
licenses:
|
158
158
|
- MIT
|
159
159
|
metadata: {}
|
160
|
-
post_install_message:
|
160
|
+
post_install_message:
|
161
161
|
rdoc_options: []
|
162
162
|
require_paths:
|
163
163
|
- lib
|
@@ -172,8 +172,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
requirements: []
|
175
|
-
rubygems_version: 3.
|
176
|
-
signing_key:
|
175
|
+
rubygems_version: 3.4.10
|
176
|
+
signing_key:
|
177
177
|
specification_version: 4
|
178
178
|
summary: Simple mobile app distribution
|
179
179
|
test_files: []
|