fastlane-plugin-polidea 0.4.0 → 0.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 +4 -4
- data/lib/fastlane/plugin/polidea/actions/s3.rb +6 -3
- data/lib/fastlane/plugin/polidea/helper/page_generator.rb +6 -6
- data/lib/fastlane/plugin/polidea/templates/installation_template.erb +3 -3
- data/lib/fastlane/plugin/polidea/templates/secure_installation_template.erb +4 -4
- data/lib/fastlane/plugin/polidea/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1093bae562db7f07320cde5d2d34d1ebc3525d36
|
4
|
+
data.tar.gz: 049ffb1114c94a1775ca0831c089f4a790911fc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcdb7411e1994793a3d280e34689a15f71adb7bfe905984e7ea5072ca96d2051f9f23ed32055ddcd5196a9cdbba75510477df2ed964512237324fac2863eea48
|
7
|
+
data.tar.gz: fc0de504502bce630abaff465493690eddfb98aa727db1bc777ac3b97eeaf910871cad206f88d099cbb3d3ae0a25183943661821581e6144cd5ea0465d6ccf3c
|
@@ -158,13 +158,16 @@ module Fastlane
|
|
158
158
|
# Gets icon from ipa and uploads it
|
159
159
|
icon_url = self.upload_icon(icon_file, url_part, bucket, acl)
|
160
160
|
|
161
|
+
# require 'pry'
|
162
|
+
# binding.pry
|
163
|
+
|
161
164
|
# Creates html from template
|
162
165
|
html_render = PageGenerator.generate({
|
163
166
|
url: "itms-services://?action=download-manifest&url=#{URI.encode_www_form_component(plist_url)}",
|
164
167
|
installation_password: installation_password,
|
165
168
|
app_version: bundle_version,
|
166
169
|
build_number: build_number,
|
167
|
-
|
170
|
+
app_name: app_name,
|
168
171
|
app_icon: icon_url,
|
169
172
|
platform: "ios"
|
170
173
|
})
|
@@ -273,7 +276,7 @@ module Fastlane
|
|
273
276
|
installation_password: installation_password,
|
274
277
|
app_version: app_version,
|
275
278
|
build_number: build_number,
|
276
|
-
|
279
|
+
app_name: app_name,
|
277
280
|
app_icon: icon_url,
|
278
281
|
platform: "android"
|
279
282
|
})
|
@@ -380,7 +383,7 @@ module Fastlane
|
|
380
383
|
".png" => "image/png",
|
381
384
|
".jpg" => "text/jpeg",
|
382
385
|
".gif" => "image/gif",
|
383
|
-
".svg" => "image/svg",
|
386
|
+
".svg" => "image/svg+xml",
|
384
387
|
".log" => "text/plain",
|
385
388
|
".css" => "text/css",
|
386
389
|
".js" => "application/javascript"
|
@@ -21,10 +21,10 @@ module Fastlane
|
|
21
21
|
url: installation_link,
|
22
22
|
salt: salt,
|
23
23
|
iv: iv,
|
24
|
-
app_version: config[:
|
24
|
+
app_version: config[:app_version],
|
25
25
|
build_number: config[:build_number],
|
26
|
-
|
27
|
-
app_icon: config[:
|
26
|
+
app_name: config[:app_name],
|
27
|
+
app_icon: config[:app_icon],
|
28
28
|
platform: config[:platform]
|
29
29
|
})
|
30
30
|
end
|
@@ -36,10 +36,10 @@ module Fastlane
|
|
36
36
|
html_template = eth.load_from_path("#{__dir__}/../templates/installation_template.erb")
|
37
37
|
eth.render(html_template, {
|
38
38
|
url: config[:url],
|
39
|
-
app_version: config[:
|
39
|
+
app_version: config[:app_version],
|
40
40
|
build_number: config[:build_number],
|
41
|
-
|
42
|
-
app_icon: config[:
|
41
|
+
app_name: config[:app_name],
|
42
|
+
app_icon: config[:app_icon],
|
43
43
|
platform: config[:platform]
|
44
44
|
})
|
45
45
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<head lang="en">
|
4
4
|
<meta charset="UTF-8">
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>Install <%=
|
6
|
+
<title>Install <%= app_name %></title>
|
7
7
|
|
8
8
|
<link href='//fonts.googleapis.com/css?family=Open+Sans:300' rel='stylesheet' type='text/css'>
|
9
9
|
<link rel="stylesheet" href="installation-page/css/installation-page.css" type="text/css">
|
@@ -11,7 +11,7 @@
|
|
11
11
|
<body class="background">
|
12
12
|
<div class="row section top-section">
|
13
13
|
<div class="small-12 columns">
|
14
|
-
<object type="image/svg+xml" data="
|
14
|
+
<object type="image/svg+xml" data="installation-page/img/logo.svg"></object>
|
15
15
|
</div>
|
16
16
|
</div>
|
17
17
|
|
@@ -29,7 +29,7 @@
|
|
29
29
|
</div>
|
30
30
|
<div class="small-10 medium-4 columns inner-element">
|
31
31
|
<div class="app-name-wrapper">
|
32
|
-
<span class="title text-left"><%=
|
32
|
+
<span class="title text-left"><%= app_name %></span><br>
|
33
33
|
<span class="version text-left">Version: <%= app_version %>(<%= build_number %>)</span>
|
34
34
|
<span class="version text-left">Platform: <%= platform %></span>
|
35
35
|
</div>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<head lang="en">
|
4
4
|
<meta charset="UTF-8">
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
-
<title>Install <%=
|
6
|
+
<title>Install <%= app_name %></title>
|
7
7
|
|
8
8
|
<link href='//fonts.googleapis.com/css?family=Open+Sans:300' rel='stylesheet' type='text/css'>
|
9
9
|
<link rel="stylesheet" href="installation-page/css/installation-page.css" type="text/css">
|
@@ -11,7 +11,7 @@
|
|
11
11
|
<body class="background">
|
12
12
|
<div class="row section top-section">
|
13
13
|
<div class="small-12 columns">
|
14
|
-
<object type="image/svg+xml" data="
|
14
|
+
<object type="image/svg+xml" data="installation-page/img/logo.svg"></object>
|
15
15
|
</div>
|
16
16
|
</div>
|
17
17
|
|
@@ -23,13 +23,13 @@
|
|
23
23
|
<% if app_icon %>
|
24
24
|
<img src="<%= app_icon %>" class="no-resize icon-margin"/>
|
25
25
|
<% else %>
|
26
|
-
<object type="image/svg+xml" data="
|
26
|
+
<object type="image/svg+xml" data="installation-page/img/logo.svg"
|
27
27
|
class="app-icon no-resize inner-element icon-margin"></object>
|
28
28
|
<% end %>
|
29
29
|
</div>
|
30
30
|
<div class="small-10 columns inner-element" id="app-name">
|
31
31
|
<div class="app-name-wrapper">
|
32
|
-
<span class="title text-left"><%=
|
32
|
+
<span class="title text-left"><%= app_name %></span><br>
|
33
33
|
<span class="version text-left">Version: <%= app_version %>(<%= build_number %>)</span>
|
34
34
|
<span class="version text-left">Platform: <%= platform %></span>
|
35
35
|
</div>
|