fastlane 2.37.0.beta.20170605010054 → 2.37.0

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: 8b73cec741782f5ac9e4eff8d85ce3cc9743b19d
4
- data.tar.gz: 0a9dadefd08ef96556600458638ef368cd4caa75
3
+ metadata.gz: 2bced4fdf275e465eafc1c9de256284cfb6a97e8
4
+ data.tar.gz: 0fadd71ae5475900a6bfc43964f8d9858f8304cf
5
5
  SHA512:
6
- metadata.gz: d1817d554ebac41e164cd6d12af2457f57c1cc9b054b297c94a86b19547ca9573c1a78c238a0ad718da8de379e124002b5efa6108ad9ff11247c1d6c08c7661d
7
- data.tar.gz: 43fca075c305dd7e11012929647ab1d71280d34f0c3d50f72928e28b37027e8bc935bf0220bb3427cc25bfaf3aa2b5a5dbb438900bfe7ec5c1c7336b27ac4cb5
6
+ metadata.gz: 3f39e7173552fc5810f1d16f9404bba7e7488a276bd5f167c0fc82c51bdd8e42f3374a707a3e5ab0c0ee901767699650d7ebf03edf762b1371baa32eed72ce9c
7
+ data.tar.gz: cd83a476d8cad0420b7598c70c73ca2618ea9b2ab28608b0dd26215b9a0bbf8df7c03f25d743bbae55bc9f7b19e4d64627de57e55d5d8128b12e7513a66c5bce
@@ -195,6 +195,13 @@
195
195
  <%= (@options[:release_notes][language] || '').gsub("\n", "<br />") %>
196
196
  </div>
197
197
  <% end %>
198
+
199
+ <% if @options[:promotional_text] %>
200
+ <div class="app-changelog">
201
+ <div class="cat-headline">Changelog</div>
202
+ <%= (@options[:promotional_text][language] || '').gsub("\n", "<br />") %>
203
+ </div>
204
+ <% end %>
198
205
 
199
206
  <div class="app-screenshots">
200
207
  <div class="cat-headline">Screenshots</div>
@@ -259,6 +259,13 @@ module Deliver
259
259
  UI.user_error!(":keywords must be a hash with all values being strings") unless keywords.kind_of?(String)
260
260
  end
261
261
  end),
262
+ FastlaneCore::ConfigItem.new(key: :promotional_text,
263
+ description: "Metadata: An array of localised promotional texts",
264
+ optional: true,
265
+ is_string: false,
266
+ verify_block: proc do |value|
267
+ UI.user_error!(":keywords must be a Hash, with the language being the key") unless value.kind_of?(Hash)
268
+ end),
262
269
  FastlaneCore::ConfigItem.new(key: :release_notes,
263
270
  description: "Metadata: Localised release notes for this version",
264
271
  optional: true,
@@ -2,7 +2,7 @@ module Deliver
2
2
  # upload description, rating, etc.
3
3
  class UploadMetadata
4
4
  # All the localised values attached to the version
5
- LOCALISED_VERSION_VALUES = [:description, :keywords, :release_notes, :support_url, :marketing_url]
5
+ LOCALISED_VERSION_VALUES = [:description, :keywords, :release_notes, :support_url, :marketing_url, :promotional_text]
6
6
 
7
7
  # Everything attached to the version but not being localised
8
8
  NON_LOCALISED_VERSION_VALUES = [:copyright]
Binary file
Binary file
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.37.0.beta.20170605010054'.freeze
2
+ VERSION = '2.37.0'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
Binary file
@@ -152,6 +152,9 @@ module Spaceship
152
152
  # @return (Hash) A hash representing the keywords in all languages
153
153
  attr_reader :keywords
154
154
 
155
+ # @return (Hash) A hash representing the promotionalText in all languages
156
+ attr_reader :promotional_text
157
+
155
158
  # @return (Hash) A hash representing the description in all languages
156
159
  attr_reader :description
157
160
 
@@ -563,7 +566,8 @@ module Spaceship
563
566
  description: :description,
564
567
  supportUrl: :support_url,
565
568
  marketingUrl: :marketing_url,
566
- releaseNotes: :release_notes
569
+ releaseNotes: :release_notes,
570
+ promotionalText: :promotional_text
567
571
  }.each do |json, attribute|
568
572
  instance_variable_set("@#{attribute}".to_sym, LanguageItem.new(json, languages))
569
573
  end
@@ -811,7 +815,9 @@ module Spaceship
811
815
  result = []
812
816
 
813
817
  display_families.each do |display_family|
814
- trailer_data = display_family.fetch("trailer", {}).fetch("value")
818
+ trailer_raw = display_family["trailer"]
819
+ next if trailer_raw.nil?
820
+ trailer_data = trailer_raw["value"]
815
821
  next if trailer_data.nil?
816
822
  data = {
817
823
  device_type: display_family['name'],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.37.0.beta.20170605010054
4
+ version: 2.37.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -802,6 +802,7 @@ files:
802
802
  - deliver/lib/deliver/upload_price_tier.rb
803
803
  - deliver/lib/deliver/upload_screenshots.rb
804
804
  - fastlane/README.md
805
+ - fastlane/lib/.DS_Store
805
806
  - fastlane/lib/assets/Actions.md.erb
806
807
  - fastlane/lib/assets/AppfileTemplate
807
808
  - fastlane/lib/assets/AppfileTemplateAndroid
@@ -818,6 +819,7 @@ files:
818
819
  - fastlane/lib/assets/s3_plist_template.erb
819
820
  - fastlane/lib/assets/s3_version_template.erb
820
821
  - fastlane/lib/fastlane.rb
822
+ - fastlane/lib/fastlane/.DS_Store
821
823
  - fastlane/lib/fastlane/action.rb
822
824
  - fastlane/lib/fastlane/action_collector.rb
823
825
  - fastlane/lib/fastlane/actions/README.md
@@ -1264,6 +1266,7 @@ files:
1264
1266
  - snapshot/lib/snapshot/test_command_generator.rb
1265
1267
  - snapshot/lib/snapshot/update.rb
1266
1268
  - spaceship/README.md
1269
+ - spaceship/lib/.DS_Store
1267
1270
  - spaceship/lib/assets/languageMapping.json
1268
1271
  - spaceship/lib/assets/languageMappingReadable.json
1269
1272
  - spaceship/lib/spaceship.rb
@@ -1368,23 +1371,23 @@ metadata:
1368
1371
  post_install_message:
1369
1372
  rdoc_options: []
1370
1373
  require_paths:
1371
- - screengrab/lib
1374
+ - cert/lib
1375
+ - credentials_manager/lib
1376
+ - deliver/lib
1372
1377
  - fastlane/lib
1373
- - pem/lib
1378
+ - fastlane_core/lib
1379
+ - frameit/lib
1374
1380
  - gym/lib
1375
- - snapshot/lib
1376
- - supply/lib
1377
1381
  - match/lib
1382
+ - pem/lib
1383
+ - pilot/lib
1378
1384
  - produce/lib
1379
1385
  - scan/lib
1386
+ - screengrab/lib
1380
1387
  - sigh/lib
1381
- - cert/lib
1382
- - deliver/lib
1383
- - frameit/lib
1384
- - pilot/lib
1385
- - credentials_manager/lib
1388
+ - snapshot/lib
1386
1389
  - spaceship/lib
1387
- - fastlane_core/lib
1390
+ - supply/lib
1388
1391
  required_ruby_version: !ruby/object:Gem::Requirement
1389
1392
  requirements:
1390
1393
  - - ">="
@@ -1392,14 +1395,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
1392
1395
  version: 2.0.0
1393
1396
  required_rubygems_version: !ruby/object:Gem::Requirement
1394
1397
  requirements:
1395
- - - ">"
1398
+ - - ">="
1396
1399
  - !ruby/object:Gem::Version
1397
- version: 1.3.1
1400
+ version: '0'
1398
1401
  requirements: []
1399
1402
  rubyforge_project:
1400
- rubygems_version: 2.4.5.2
1403
+ rubygems_version: 2.6.10
1401
1404
  signing_key:
1402
1405
  specification_version: 4
1403
1406
  summary: The easiest way to automate beta deployments and releases for your iOS and
1404
1407
  Android apps
1405
1408
  test_files: []
1409
+ has_rdoc: