fastlane-plugin-polidea 2.1.0 → 2.1.1.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fastlane/plugin/polidea/actions/fota_mail.rb +10 -16
  3. data/lib/fastlane/plugin/polidea/actions/fota_s3.rb +6 -25
  4. data/lib/fastlane/plugin/polidea/helper/mime.rb +22 -0
  5. data/lib/fastlane/plugin/polidea/helper/page_generator.rb +39 -3
  6. data/lib/fastlane/plugin/polidea/helper/qr_generator.rb +1 -1
  7. data/lib/fastlane/plugin/polidea/templates/download.erb +481 -0
  8. data/lib/fastlane/plugin/polidea/templates/images/cover-shuttle.jpg +0 -0
  9. data/lib/fastlane/plugin/polidea/templates/images/icon-placeholder.png +0 -0
  10. data/lib/fastlane/plugin/polidea/templates/images/polidea-logo.png +0 -0
  11. data/lib/fastlane/plugin/polidea/templates/images/social-behance.png +0 -0
  12. data/lib/fastlane/plugin/polidea/templates/images/social-dribbble.png +0 -0
  13. data/lib/fastlane/plugin/polidea/templates/images/social-facebook.png +0 -0
  14. data/lib/fastlane/plugin/polidea/templates/images/social-github.png +0 -0
  15. data/lib/fastlane/plugin/polidea/templates/images/social-instagram.png +0 -0
  16. data/lib/fastlane/plugin/polidea/templates/images/social-linkedin.png +0 -0
  17. data/lib/fastlane/plugin/polidea/templates/images/social-twitter.png +0 -0
  18. data/lib/fastlane/plugin/polidea/templates/installation-page/css/installation-page.css +2835 -1082
  19. data/lib/fastlane/plugin/polidea/templates/installation_template.erb +3 -7
  20. data/lib/fastlane/plugin/polidea/templates/mailgun_template.erb +56 -24
  21. data/lib/fastlane/plugin/polidea/templates/secure_installation_template.erb +6 -10
  22. data/lib/fastlane/plugin/polidea/version.rb +1 -1
  23. metadata +28 -8
  24. data/lib/fastlane/plugin/polidea/templates/images/logo.png +0 -0
  25. data/lib/fastlane/plugin/polidea/templates/images/polidea-facebook-icon.png +0 -0
  26. data/lib/fastlane/plugin/polidea/templates/images/polidea-github-icon.png +0 -0
  27. data/lib/fastlane/plugin/polidea/templates/images/polidea-twitter-icon.png +0 -0
@@ -42,15 +42,11 @@
42
42
  </div>
43
43
  </div>
44
44
 
45
- <% if release_notes && release_notes.count > 0 %>
46
- <div class="row section">
45
+ <% if !release_notes.nil? %>
46
+ <div class="row section release-notes">
47
47
  <div class="small-12 columns">
48
48
  <span class="whats-new">What's new:</span>
49
- <ul>
50
- <% for @item in release_notes %>
51
- <li><%= @item %></li>
52
- <% end %>
53
- </ul>
49
+ <%= release_notes %>
54
50
  </div>
55
51
  </div>
56
52
  <% end %>
@@ -586,11 +586,6 @@ table.radius td {
586
586
  border-radius: 3px;
587
587
  }
588
588
 
589
- table.round td {
590
- -webkit-border-radius: 500px;
591
- -moz-border-radius: 500px;
592
- border-radius: 500px;
593
- }
594
589
 
595
590
  /* Outlook First */
596
591
 
@@ -832,12 +827,6 @@ body.outlook p {
832
827
  max-height: 50px;
833
828
  }
834
829
 
835
- .logo-decoration {
836
- border-radius: 5px;
837
- -moz-border-radius: 5px;
838
- -webkit-border-radius: 5px;
839
- }
840
-
841
830
  .container-margin {
842
831
  margin-top: 10px !important;
843
832
  margin-bottom: 10px !important;
@@ -918,12 +907,61 @@ td.whats-new-wrapper {
918
907
  color: #666666;
919
908
  }
920
909
 
921
- li.release-note {
922
- color: #666666;
910
+ .release-notes {
911
+ color: #666666;
912
+ }
913
+
914
+ .release-notes ul {
915
+ padding-left: 14px !important;
916
+ }
917
+
918
+ .release-notes li {
923
919
  padding: 0;
924
920
  margin: 0;
925
921
  }
926
922
 
923
+ .release-notes h1,
924
+ .release-notes h2,
925
+ .release-notes h3,
926
+ .release-notes h4,
927
+ .release-notes h5,
928
+ .release-notes h6 {
929
+ margin-top: 24px;
930
+ margin-bottom: 16px;
931
+ font-weight: 600;
932
+ line-height: 1.25;
933
+ }
934
+
935
+ .release-notes h1 {
936
+ color: #666666;
937
+ font-size: 1.625em;
938
+ }
939
+
940
+ .release-notes h2 {
941
+ color: #666666;
942
+ font-size: 1.5em;
943
+ }
944
+
945
+ .release-notes h3 {
946
+ color: #666666;
947
+ font-size: 1.25em;
948
+ }
949
+
950
+ .release-notes h4 {
951
+ color: #666666;
952
+ font-size: 1em;
953
+ }
954
+
955
+ .release-notes h5 {
956
+ color: #666666;
957
+ font-size: 0.875em;
958
+ }
959
+
960
+ .release-notes h6 {
961
+ color: #666666;
962
+ font-size: 0.85em;
963
+ }
964
+
927
965
  li.detailed-info {
928
966
  list-style: none;
929
967
  color: #666666;
@@ -1021,7 +1059,7 @@ img.polidea-logo {
1021
1059
  <% if app_icon %>
1022
1060
  <img src="cid:<%= app_icon %>" class="app-icon"/>
1023
1061
  <% else %>
1024
- <img src="cid:icon-placeholder.png" class="app-icon logo-decoration"/>
1062
+ <img src="cid:icon-placeholder.png" class="app-icon"/>
1025
1063
  <% end %>
1026
1064
  </td>
1027
1065
  <td class="expander"></td>
@@ -1072,21 +1110,15 @@ img.polidea-logo {
1072
1110
  </tr>
1073
1111
  </table>
1074
1112
 
1075
- <% if !release_notes.nil? && release_notes.count > 0 %>
1076
- <table class="row section">
1113
+ <% if !release_notes.nil? %>
1114
+ <table class="row section release-notes">
1077
1115
  <tr>
1078
1116
  <td class="wrapper last whats-new-wrapper">
1079
1117
  <table class="twelve columns">
1080
1118
  <tr>
1081
1119
  <td>
1082
-
1083
- <span class="whats-new">What's new:</span>
1084
- <ul class="list">
1085
- <% for @item in release_notes %>
1086
- <li class="release-note"><%= @item %></li>
1087
- <% end %>
1088
- </ul>
1089
-
1120
+ <span class="whats-new">What's new:</span>
1121
+ <%= release_notes %>
1090
1122
  </td>
1091
1123
  </tr>
1092
1124
  </table>
@@ -57,17 +57,13 @@
57
57
  </div>
58
58
  </div>
59
59
 
60
- <% if release_notes && release_notes.count > 0 %>
61
- <div class="row section">
62
- <div class="small-12 columns">
63
- <span class="whats-new">What's new:</span>
64
- <ul>
65
- <% for @item in release_notes %>
66
- <li><%= @item %></li>
67
- <% end %>
68
- </ul>
60
+ <% if !release_notes.nil? %>
61
+ <div class="row section release-notes">
62
+ <div class="small-12 columns">
63
+ <span class="whats-new">What's new:</span>
64
+ <%= release_notes %>
65
+ </div>
69
66
  </div>
70
- </div>
71
67
  <% end %>
72
68
 
73
69
  <script src="installation-page/js/vendor/pbkdf2.js"></script>
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Polidea
3
- VERSION = "2.1.0"
3
+ VERSION = "2.1.1.pre"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-polidea
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotrek Dubiel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-13 00:00:00.000000000 Z
11
+ date: 2020-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: plist
@@ -114,6 +114,20 @@ dependencies:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0.7'
117
+ - !ruby/object:Gem::Dependency
118
+ name: redcarpet
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - ">="
129
+ - !ruby/object:Gem::Version
130
+ version: '0'
117
131
  - !ruby/object:Gem::Dependency
118
132
  name: bundler
119
133
  requirement: !ruby/object:Gem::Requirement
@@ -246,14 +260,20 @@ files:
246
260
  - lib/fastlane/plugin/polidea/actions/import_provisioning.rb
247
261
  - lib/fastlane/plugin/polidea/actions/release_notes.rb
248
262
  - lib/fastlane/plugin/polidea/actions/shuttle.rb
263
+ - lib/fastlane/plugin/polidea/helper/mime.rb
249
264
  - lib/fastlane/plugin/polidea/helper/page_generator.rb
250
265
  - lib/fastlane/plugin/polidea/helper/qr_generator.rb
266
+ - lib/fastlane/plugin/polidea/templates/download.erb
267
+ - lib/fastlane/plugin/polidea/templates/images/cover-shuttle.jpg
251
268
  - lib/fastlane/plugin/polidea/templates/images/icon-placeholder.png
252
- - lib/fastlane/plugin/polidea/templates/images/logo.png
253
- - lib/fastlane/plugin/polidea/templates/images/polidea-facebook-icon.png
254
- - lib/fastlane/plugin/polidea/templates/images/polidea-github-icon.png
255
269
  - lib/fastlane/plugin/polidea/templates/images/polidea-logo.png
256
- - lib/fastlane/plugin/polidea/templates/images/polidea-twitter-icon.png
270
+ - lib/fastlane/plugin/polidea/templates/images/social-behance.png
271
+ - lib/fastlane/plugin/polidea/templates/images/social-dribbble.png
272
+ - lib/fastlane/plugin/polidea/templates/images/social-facebook.png
273
+ - lib/fastlane/plugin/polidea/templates/images/social-github.png
274
+ - lib/fastlane/plugin/polidea/templates/images/social-instagram.png
275
+ - lib/fastlane/plugin/polidea/templates/images/social-linkedin.png
276
+ - lib/fastlane/plugin/polidea/templates/images/social-twitter.png
257
277
  - lib/fastlane/plugin/polidea/templates/installation-page/css/installation-page.css
258
278
  - lib/fastlane/plugin/polidea/templates/installation-page/css/installation-page.css.map
259
279
  - lib/fastlane/plugin/polidea/templates/installation-page/img/bg.png
@@ -358,9 +378,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
358
378
  version: '0'
359
379
  required_rubygems_version: !ruby/object:Gem::Requirement
360
380
  requirements:
361
- - - ">="
381
+ - - ">"
362
382
  - !ruby/object:Gem::Version
363
- version: '0'
383
+ version: 1.3.1
364
384
  requirements: []
365
385
  rubygems_version: 3.0.1
366
386
  signing_key: