fastlane 2.68.0 → 2.68.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.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/{fastlane/lib/fastlane/actions → deliver/lib}/.DS_Store +0 -0
  3. data/fastlane/lib/fastlane/actions/appium.rb +15 -2
  4. data/fastlane/lib/fastlane/actions/build_ios_app.rb +3 -3
  5. data/fastlane/lib/fastlane/actions/capture_android_screenshots.rb +1 -1
  6. data/fastlane/lib/fastlane/actions/capture_ios_screenshots.rb +1 -1
  7. data/fastlane/lib/fastlane/actions/check_app_store_metadata.rb +2 -2
  8. data/fastlane/lib/fastlane/actions/copy_artifacts.rb +1 -1
  9. data/fastlane/lib/fastlane/actions/create_app_online.rb +3 -3
  10. data/fastlane/lib/fastlane/actions/frame_screenshots.rb +1 -1
  11. data/fastlane/lib/fastlane/actions/get_certificates.rb +1 -1
  12. data/fastlane/lib/fastlane/actions/get_provisioning_profile.rb +1 -1
  13. data/fastlane/lib/fastlane/actions/get_push_certificate.rb +1 -1
  14. data/fastlane/lib/fastlane/actions/run_tests.rb +1 -1
  15. data/fastlane/lib/fastlane/actions/sync_code_signing.rb +2 -2
  16. data/fastlane/lib/fastlane/actions/upload_to_app_store.rb +3 -3
  17. data/fastlane/lib/fastlane/actions/upload_to_play_store.rb +1 -1
  18. data/fastlane/lib/fastlane/actions/upload_to_testflight.rb +6 -6
  19. data/fastlane/lib/fastlane/version.rb +1 -1
  20. data/gym/lib/gym/generators/package_command_generator_xcode7.rb +1 -1
  21. data/{fastlane_core → snapshot}/lib/.DS_Store +0 -0
  22. data/spaceship/lib/spaceship/tunes/iap_detail.rb +8 -2
  23. metadata +4 -8
  24. data/fastlane/lib/.DS_Store +0 -0
  25. data/fastlane/lib/fastlane/.DS_Store +0 -0
  26. data/fastlane/lib/fastlane/helper/.DS_Store +0 -0
  27. data/fastlane_core/lib/fastlane_core/.DS_Store +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 99e00ef60187baadd9bf2aab5080db426db7aaf5
4
- data.tar.gz: be1c8e7f66a37ddee03ae6dba115bc4cf5d0b43c
3
+ metadata.gz: 572a013cd15bc30801de30f0fe654ac9f04199f4
4
+ data.tar.gz: ffcc2c9e252d116243010af5c523fb400af9be76
5
5
  SHA512:
6
- metadata.gz: 15c2dfe62701b885458c151e58bf5283d94faf31794383548bcc63eabe5c8c9548cdec16641ccadffb8a2ea7cb9dceac9556cfdfb6f96712f2c8fe9626addd41
7
- data.tar.gz: 8e038b7fb9dbb0ae2db4b4da47a2cd896a9fc455036279cdcda2f9da3ce115a580ba8a2b7ab7e10d3e465597905c3ccc0b0c6d853a1a570e5041ec80970a7f16
6
+ metadata.gz: e40d6207de613550a4b4a76aefa92e26ff877c631be4ee464f84692a0ed23a8a6bd85640d2119615004a04bf77a1da654260375e9a14d8d1a612f379c888c49b
7
+ data.tar.gz: f95e163db65895bf33dd5f01cc5dbc7727f69cc3fd7b1996222c233852f3785a038ef491ec87618bdb48078e4816721b29acdb4e4cde2b2cd614dd9e736aa7fe
@@ -84,10 +84,13 @@ module Fastlane
84
84
  caps[:autoAcceptAlerts] ||= true
85
85
  caps[:app] = params[:app_path]
86
86
 
87
+ appium_lib = params[:appium_lib] || {}
88
+
87
89
  @driver = Appium::Driver.new(
88
90
  caps: caps,
89
91
  server_url: params[:host],
90
- port: params[:port]
92
+ port: params[:port],
93
+ appium_lib: appium_lib
91
94
  ).start_driver
92
95
  Appium.promote_appium_methods(RSpec::Core::ExampleGroup)
93
96
  end
@@ -159,6 +162,13 @@ module Fastlane
159
162
  description: 'Hash of caps for Appium::Driver',
160
163
  is_string: false,
161
164
  optional: true
165
+ ),
166
+ FastlaneCore::ConfigItem.new(
167
+ key: :appium_lib,
168
+ env_name: 'FL_APPIUM_LIB',
169
+ description: 'Hash of appium_lib for Appium::Driver',
170
+ is_string: false,
171
+ optional: true
162
172
  )
163
173
  ]
164
174
  end
@@ -168,7 +178,7 @@ module Fastlane
168
178
  end
169
179
 
170
180
  def self.is_supported?(platform)
171
- platform == :ios
181
+ [:ios, :android].include?(platform)
172
182
  end
173
183
 
174
184
  def self.category
@@ -184,6 +194,9 @@ module Fastlane
184
194
  caps: {
185
195
  versionNumber: "9.1",
186
196
  deviceName: "iPhone 6"
197
+ },
198
+ appium_lib {
199
+ wait: 10
187
200
  }
188
201
  )'
189
202
  ]
@@ -86,7 +86,7 @@ module Fastlane
86
86
  end
87
87
 
88
88
  def self.description
89
- "Easily build and sign your app (via gym)"
89
+ "Easily build and sign your app (via _gym_)"
90
90
  end
91
91
 
92
92
  def self.details
@@ -123,8 +123,8 @@ module Fastlane
123
123
  output_name: "my-app.ipa", # specify the name of the .ipa file to generate (including file extension)
124
124
  sdk: "10.0" # use SDK as the name or path of the base SDK when building the project.
125
125
  )',
126
- 'gym(...) # alias for "build_ios_app"',
127
- 'build_app(...) # alias for "build_ios_app"'
126
+ 'gym # alias for "build_ios_app"',
127
+ 'build_app # alias for "build_ios_app"'
128
128
  ]
129
129
  end
130
130
 
@@ -20,7 +20,7 @@ module Fastlane
20
20
  end
21
21
 
22
22
  def self.description
23
- 'Automated localized screenshots of your Android app (via `screengrab`)'
23
+ 'Automated localized screenshots of your Android app (via _screengrab_)'
24
24
  end
25
25
 
26
26
  def self.available_options
@@ -19,7 +19,7 @@ module Fastlane
19
19
  end
20
20
 
21
21
  def self.description
22
- "Generate new localized screenshots on multiple devices (via `snapshot`)"
22
+ "Generate new localized screenshots on multiple devices (via _snapshot_)"
23
23
  end
24
24
 
25
25
  def self.available_options
@@ -11,7 +11,7 @@ module Fastlane
11
11
  end
12
12
 
13
13
  def self.description
14
- "Check your app's metadata before you submit your app to review (via `precheck`)"
14
+ "Check your app's metadata before you submit your app to review (via _precheck_)"
15
15
  end
16
16
 
17
17
  def self.details
@@ -41,7 +41,7 @@ module Fastlane
41
41
  negative_apple_sentiment(level: :skip), # Set to skip to not run the `negative_apple_sentiment` rule
42
42
  curse_words(level: :warn) # Set to warn to only warn on curse word check failures
43
43
  )',
44
- 'precheck(...) # alias for "check_app_store_metadata"'
44
+ 'precheck # alias for "check_app_store_metadata"'
45
45
  ]
46
46
  end
47
47
 
@@ -97,7 +97,7 @@ module Fastlane
97
97
  reset_git_repo(
98
98
  exclude: "artifacts"
99
99
  )',
100
- '# Copy the .ipa created by `gym` if it was successfully created
100
+ '# Copy the .ipa created by _gym_ if it was successfully created
101
101
  artifacts = []
102
102
  artifacts << lane_context[SharedValues::IPA_OUTPUT_PATH] if lane_context[SharedValues::IPA_OUTPUT_PATH]
103
103
  copy_artifacts(
@@ -22,12 +22,12 @@ module Fastlane
22
22
  end
23
23
 
24
24
  def self.description
25
- "Creates the given application on iTC and the Dev Portal (via `produce`)"
25
+ "Creates the given application on iTC and the Dev Portal (via _produce_)"
26
26
  end
27
27
 
28
28
  def details
29
29
  [
30
- 'Create new apps on iTunes Connect and Apple Developer Portal via `produce`.',
30
+ 'Create new apps on iTunes Connect and Apple Developer Portal via _produce_.',
31
31
  'If the app already exists, `create_app_online` will not do anything.',
32
32
  'For more information about produce, visit its GitHub page:',
33
33
  'https://github.com/fastlane/fastlane/tree/master/produce'
@@ -64,7 +64,7 @@ module Fastlane
64
64
  sku: "123",
65
65
  team_name: "SunApps GmbH" # Only necessary when in multiple teams.
66
66
  )',
67
- 'produce(...) # alias for "create_app_online"'
67
+ 'produce # alias for "create_app_online"'
68
68
  ]
69
69
  end
70
70
 
@@ -15,7 +15,7 @@ module Fastlane
15
15
  end
16
16
 
17
17
  def self.description
18
- "Adds device frames around all screenshots (via `frameit`)"
18
+ "Adds device frames around all screenshots (via _frameit_)"
19
19
  end
20
20
 
21
21
  def self.details
@@ -27,7 +27,7 @@ module Fastlane
27
27
  end
28
28
 
29
29
  def self.description
30
- "Create new iOS code signing certificates (via `cert`)"
30
+ "Create new iOS code signing certificates (via _cert_)"
31
31
  end
32
32
 
33
33
  def self.details
@@ -44,7 +44,7 @@ module Fastlane
44
44
  end
45
45
 
46
46
  def self.description
47
- "Generates a provisioning profile, saving it in the current folder (via `sigh`)"
47
+ "Generates a provisioning profile, saving it in the current folder (via _sigh_)"
48
48
  end
49
49
 
50
50
  def self.author
@@ -22,7 +22,7 @@ module Fastlane
22
22
  end
23
23
 
24
24
  def self.description
25
- "Ensure a valid push profile is active, creating a new one if needed (via `pem`)"
25
+ "Ensure a valid push profile is active, creating a new one if needed (via _pem_)"
26
26
  end
27
27
 
28
28
  def self.author
@@ -38,7 +38,7 @@ module Fastlane
38
38
  end
39
39
 
40
40
  def self.description
41
- "Easily run tests of your iOS app (via `scan`)"
41
+ "Easily run tests of your iOS app (via _scan_)"
42
42
  end
43
43
 
44
44
  def self.details
@@ -55,7 +55,7 @@ module Fastlane
55
55
  #####################################################
56
56
 
57
57
  def self.description
58
- "Easily sync your certificates and profiles across your team (via `match`)"
58
+ "Easily sync your certificates and profiles across your team (via _match_)"
59
59
  end
60
60
 
61
61
  def self.details
@@ -87,7 +87,7 @@ module Fastlane
87
87
  'sync_code_signing(type: "appstore", app_identifier: "tools.fastlane.app")',
88
88
  'sync_code_signing(type: "development", readonly: true)',
89
89
  'sync_code_signing(app_identifier: ["tools.fastlane.app", "tools.fastlane.sleepy"])',
90
- 'match(...) # alias for "sync_code_signing"'
90
+ 'match # alias for "sync_code_signing"'
91
91
  ]
92
92
  end
93
93
 
@@ -18,7 +18,7 @@ module Fastlane
18
18
  end
19
19
 
20
20
  def self.description
21
- "Upload metadata and binary to iTunes Connect (via `deliver`)"
21
+ "Upload metadata and binary to iTunes Connect (via _deliver_)"
22
22
  end
23
23
 
24
24
  def self.details
@@ -54,8 +54,8 @@ module Fastlane
54
54
  force: true, # Set to true to skip PDF verification
55
55
  itc_provider: "abcde12345" # pass a specific value to the iTMSTransporter -itc_provider option
56
56
  )',
57
- 'deliver(...) # alias for "upload_to_app_store"',
58
- 'appstore(...) # alias for "upload_to_app_store"'
57
+ 'deliver # alias for "upload_to_app_store"',
58
+ 'appstore # alias for "upload_to_app_store"'
59
59
  ]
60
60
  end
61
61
 
@@ -26,7 +26,7 @@ module Fastlane
26
26
  #####################################################
27
27
 
28
28
  def self.description
29
- "Upload metadata, screenshots and binaries to Google Play (via `supply`)"
29
+ "Upload metadata, screenshots and binaries to Google Play (via _supply_)"
30
30
  end
31
31
 
32
32
  def self.details
@@ -21,7 +21,7 @@ module Fastlane
21
21
  #####################################################
22
22
 
23
23
  def self.description
24
- "Upload a new binary to iTunes Connect for TestFlight beta testing (via `pilot`)"
24
+ "Upload a new binary to iTunes Connect for TestFlight beta testing (via _pilot_)"
25
25
  end
26
26
 
27
27
  def self.details
@@ -39,11 +39,11 @@ module Fastlane
39
39
 
40
40
  def self.example_code
41
41
  [
42
- 'upload_to_testfight',
43
- 'testflight # alias for "upload_to_testfight"',
44
- 'pilot # alias for "upload_to_testfight"',
45
- 'upload_to_testfight(skip_submission: true) # to only upload the build',
46
- 'upload_to_testfight(
42
+ 'upload_to_testflight',
43
+ 'testflight # alias for "upload_to_testflight"',
44
+ 'pilot # alias for "upload_to_testflight"',
45
+ 'upload_to_testflight(skip_submission: true) # to only upload the build',
46
+ 'upload_to_testflight(
47
47
  username: "felix@krausefx.com",
48
48
  app_identifier: "com.krausefx.app",
49
49
  itc_provider: "abcde12345" # pass a specific value to the iTMSTransporter -itc_provider option
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.68.0'.freeze
2
+ VERSION = '2.68.1'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
@@ -170,7 +170,7 @@ module Gym
170
170
  # xcodebuild will not use provisioning profiles
171
171
  # if we don't specify signingStyle as manual
172
172
  if Helper.xcode_at_least?("9.0") && hash[:provisioningProfiles]
173
- hash[:signingStyle] = signing_style
173
+ hash[:signingStyle] = 'manual'
174
174
  end
175
175
 
176
176
  hash[:teamID] = Gym.config[:export_team_id] if Gym.config[:export_team_id]
@@ -81,7 +81,7 @@ module Spaceship
81
81
  }
82
82
  end
83
83
 
84
- raw_data.set(["versions"], [{ reviewNotes: { value: @review_notes }, contentHosting: raw_data['versions'].first['contentHosting'], "details" => { "value" => new_versions }, "id" => raw_data["versions"].first["id"] }])
84
+ raw_data.set(["versions"], [{ reviewNotes: { value: @review_notes }, "contentHosting" => raw_data['versions'].first['contentHosting'], "details" => { "value" => new_versions }, "id" => raw_data["versions"].first["id"], "reviewScreenshot" => { "value" => review_screenshot } }])
85
85
  end
86
86
 
87
87
  # transforms user-set intervals to iTC ones
@@ -133,6 +133,12 @@ module Spaceship
133
133
  Tunes::IAPStatus.get_from_string(raw_data["versions"].first["status"])
134
134
  end
135
135
 
136
+ # @return (Hash) Hash containing existing review screenshot data
137
+ def review_screenshot
138
+ return nil unless raw_data && raw_data["versions"] && raw_data["versions"].first && raw_data["versions"].first["reviewScreenshot"] && raw_data['versions'].first["reviewScreenshot"]["value"]
139
+ raw_data['versions'].first['reviewScreenshot']['value']
140
+ end
141
+
136
142
  # Saves the current In-App-Purchase
137
143
  def save!
138
144
  # Transform localization versions back to original format.
@@ -147,7 +153,7 @@ module Spaceship
147
153
  }
148
154
  end
149
155
 
150
- raw_data.set(["versions"], [{ reviewNotes: { value: @review_notes }, contentHosting: raw_data['versions'].first[:contentHosting], "details" => { "value" => versions_array }, id: raw_data["versions"].first["id"] }])
156
+ raw_data.set(["versions"], [{ reviewNotes: { value: @review_notes }, contentHosting: raw_data['versions'].first['contentHosting'], "details" => { "value" => versions_array }, id: raw_data["versions"].first["id"], reviewScreenshot: { "value" => review_screenshot } }])
151
157
 
152
158
  # transform pricingDetails
153
159
  intervals_array = []
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.68.0
4
+ version: 2.68.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2017-11-30 00:00:00.000000000 Z
18
+ date: 2017-12-04 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: slack-notifier
@@ -808,6 +808,7 @@ files:
808
808
  - credentials_manager/lib/credentials_manager/appfile_config.rb
809
809
  - credentials_manager/lib/credentials_manager/cli.rb
810
810
  - deliver/README.md
811
+ - deliver/lib/.DS_Store
811
812
  - deliver/lib/assets/DeliverfileDefault
812
813
  - deliver/lib/assets/ScreenshotsHelp
813
814
  - deliver/lib/assets/summary.html.erb
@@ -828,7 +829,6 @@ files:
828
829
  - deliver/lib/deliver/upload_price_tier.rb
829
830
  - deliver/lib/deliver/upload_screenshots.rb
830
831
  - fastlane/README.md
831
- - fastlane/lib/.DS_Store
832
832
  - fastlane/lib/assets/ActionDetails.md.erb
833
833
  - fastlane/lib/assets/Actions.md.erb
834
834
  - fastlane/lib/assets/AppfileTemplate
@@ -846,10 +846,8 @@ files:
846
846
  - fastlane/lib/assets/s3_plist_template.erb
847
847
  - fastlane/lib/assets/s3_version_template.erb
848
848
  - fastlane/lib/fastlane.rb
849
- - fastlane/lib/fastlane/.DS_Store
850
849
  - fastlane/lib/fastlane/action.rb
851
850
  - fastlane/lib/fastlane/action_collector.rb
852
- - fastlane/lib/fastlane/actions/.DS_Store
853
851
  - fastlane/lib/fastlane/actions/README.md
854
852
  - fastlane/lib/fastlane/actions/actions_helper.rb
855
853
  - fastlane/lib/fastlane/actions/adb.rb
@@ -1129,7 +1127,6 @@ files:
1129
1127
  - fastlane/lib/fastlane/fast_file.rb
1130
1128
  - fastlane/lib/fastlane/fastlane_require.rb
1131
1129
  - fastlane/lib/fastlane/features.rb
1132
- - fastlane/lib/fastlane/helper/.DS_Store
1133
1130
  - fastlane/lib/fastlane/helper/README.md
1134
1131
  - fastlane/lib/fastlane/helper/adb_helper.rb
1135
1132
  - fastlane/lib/fastlane/helper/cocoapod_helper.rb
@@ -1191,10 +1188,8 @@ files:
1191
1188
  - fastlane/lib/fastlane/tools.rb
1192
1189
  - fastlane/lib/fastlane/version.rb
1193
1190
  - fastlane_core/README.md
1194
- - fastlane_core/lib/.DS_Store
1195
1191
  - fastlane_core/lib/assets/XMLTemplate.xml.erb
1196
1192
  - fastlane_core/lib/fastlane_core.rb
1197
- - fastlane_core/lib/fastlane_core/.DS_Store
1198
1193
  - fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
1199
1194
  - fastlane_core/lib/fastlane_core/analytics/action_launch_context.rb
1200
1195
  - fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb
@@ -1386,6 +1381,7 @@ files:
1386
1381
  - sigh/lib/sigh/resign.rb
1387
1382
  - sigh/lib/sigh/runner.rb
1388
1383
  - snapshot/README.md
1384
+ - snapshot/lib/.DS_Store
1389
1385
  - snapshot/lib/assets/SnapfileTemplate
1390
1386
  - snapshot/lib/assets/SnapshotHelper.swift
1391
1387
  - snapshot/lib/assets/SnapshotHelperXcode8.swift
Binary file