fastlane-plugin-polidea 0.4.0 → 0.4.1

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
  SHA1:
3
- metadata.gz: 78b98a3b34d8fbc94f0c870b5d8fce2067a54288
4
- data.tar.gz: 1da8c0688b0d59deed751304710b4945ec174c52
3
+ metadata.gz: 1093bae562db7f07320cde5d2d34d1ebc3525d36
4
+ data.tar.gz: 049ffb1114c94a1775ca0831c089f4a790911fc5
5
5
  SHA512:
6
- metadata.gz: d7c32aedd8a994017cf83c9a18451146ad2fcf3afcca44960f3212d32f1eda40087ca0409f0bca2895b40f2db7e78c4f237222010f340356d8d6ee57b7ab05aa
7
- data.tar.gz: 39555a300cc4e9805ab037cbe9707c9a870ded3fee2704e29b096d167d5a796878aeaab96f850a18e516344c4aef2a723c7d36208fc7616031e6f86cd9d1885a
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
- title: app_name,
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
- title: app_name,
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[:bundle_version],
24
+ app_version: config[:app_version],
25
25
  build_number: config[:build_number],
26
- title: config[:app_name],
27
- app_icon: config[:icon_url],
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[:bundle_version],
39
+ app_version: config[:app_version],
40
40
  build_number: config[:build_number],
41
- title: config[:app_name],
42
- app_icon: config[:icon_url],
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 <%= title %></title>
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="/release-resources/img/logo.svg"></object>
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"><%= title %></span><br>
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 <%= title %></title>
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="/release-resources/img/logo.svg"></object>
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="/release-resources/img/logo_square.svg"
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"><%= title %></span><br>
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>
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Polidea
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-polidea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotrek Dubiel