distribuo 0.1.8 → 0.1.17
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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42f3fccee9e457adbeba0ff22e6db473b6a04b4e9d804385d216ba89f195c2d1
|
4
|
+
data.tar.gz: e7031df03c593ea7bf35b06a39af133f0c1550390b97d18d599458ba64a57b56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa3cb249d6f1cca71e2a95c55bfb5d71593d23e97b80be8233799a19a5ec984af737651a5137cb9fd7175c0b51dbb8642dffb39e3f3db38adcf3aea918c464e2
|
7
|
+
data.tar.gz: c8facb151c5b1bf6b7dca6b6c88c2e920e6685318e2654a4f389eed32b87c220a86dd7295a35b35c1604afbebd6133986ef7704202ed679ecfa7d837b87c2485
|
@@ -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.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom de Grunt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acts_as_list
|
@@ -172,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
requirements: []
|
175
|
-
rubygems_version: 3.
|
175
|
+
rubygems_version: 3.4.10
|
176
176
|
signing_key:
|
177
177
|
specification_version: 4
|
178
178
|
summary: Simple mobile app distribution
|