fastlane 2.68.2 → 2.69.0.beta.20171201010003

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: 8964dde63cba5a4b1698b0bac40dbe8f18c2213e
4
- data.tar.gz: 623c111554aa9940a85c76fd4216fc91c9786283
3
+ metadata.gz: c559b10de4ccf0eac4522bc6dc70f9940090f670
4
+ data.tar.gz: a4512e049c1abd08f5f4ac00bd0c21dbf75d29c8
5
5
  SHA512:
6
- metadata.gz: 65d60acb15635c58d2a1b630cada88efa1cf17c4e90060f628ac394037af364be08417aa28d65f0decb2f75f9715db934cc57fc85b7294799b267a0e16b742d0
7
- data.tar.gz: f397c43b76d932a8e1d2143cae0f6f24a1cb881d0a46c440235ab7003c2a1d143b741357b0f02587a0274372aa485a5c058a661a8958319dfd8b886bbcaeef50
6
+ metadata.gz: 773b05e9e64379ff7a78e056d0a6817ffcd386c823c61f084600fa2cd726b761e74705842af8f71b03bab4c5bd8a2580e87ad237e08b9abde2098ae80db8e2c0
7
+ data.tar.gz: 64d8505c4a4bb34711b8ea2c4a4a0d9f0d3635a4c36c66694ad1f586a22336e88a1ba9f9b4391bd51379763cecfb7e45de25103fe6f8143d25ba828e1c7bd6e5
@@ -195,7 +195,7 @@ module Fastlane
195
195
  versionNumber: "9.1",
196
196
  deviceName: "iPhone 6"
197
197
  },
198
- appium_lib: {
198
+ appium_lib {
199
199
  wait: 10
200
200
  }
201
201
  )'
@@ -61,7 +61,7 @@ module Fastlane
61
61
  lane :beta do |values|
62
62
  # Fabric generated this lane for deployment to Crashlytics Beta
63
63
  # set 'export_method' to 'ad-hoc' if your Crashlytics Beta distribution uses ad-hoc provisioning
64
- build_app(scheme: '#{@beta_info.schemes.first}', export_method: '#{@beta_info.export_method}')
64
+ gym(scheme: '#{@beta_info.schemes.first}', export_method: '#{@beta_info.export_method}')
65
65
 
66
66
  emails = values[:test_email] ? values[:test_email] : #{beta_info_emails} # You can list more emails here
67
67
  groups = values[:test_email] ? nil : #{beta_info_groups} # You can define groups on the web and reference them here
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.68.2'.freeze
2
+ VERSION = '2.69.0.beta.20171201010003'.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
@@ -135,10 +135,7 @@ module Gym
135
135
  hash = normalize_export_options(Gym.config[:export_options])
136
136
  else
137
137
  # Reads options from file
138
- plist_file_path = Gym.config[:export_options]
139
- UI.user_error!("Couldn't find plist file at path #{File.expand_path(plist_file_path)}") unless File.exist?(plist_file_path)
140
- hash = Plist.parse_xml(plist_file_path)
141
- UI.user_error!("Couldn't read provided plist at path #{File.expand_path(plist_file_path)}") if hash.nil?
138
+ hash = Plist.parse_xml(Gym.config[:export_options])
142
139
  # Convert keys to symbols
143
140
  hash = keys_to_symbols(hash)
144
141
  end
@@ -173,7 +170,7 @@ module Gym
173
170
  # xcodebuild will not use provisioning profiles
174
171
  # if we don't specify signingStyle as manual
175
172
  if Helper.xcode_at_least?("9.0") && hash[:provisioningProfiles]
176
- hash[:signingStyle] = 'manual'
173
+ hash[:signingStyle] = signing_style
177
174
  end
178
175
 
179
176
  hash[:teamID] = Gym.config[:export_team_id] if Gym.config[:export_team_id]
@@ -191,8 +191,8 @@ module Spaceship
191
191
  # Certificate.factory(attrs)
192
192
  # #=> #<PushCertificate ... >
193
193
  #
194
- def factory(attrs, existing_client = nil)
195
- self.new(attrs, existing_client)
194
+ def factory(attrs)
195
+ self.new(attrs)
196
196
  end
197
197
  end
198
198
 
@@ -210,12 +210,12 @@ module Spaceship
210
210
  # attributes that are defined by `attr_mapping`
211
211
  #
212
212
  # Do not override `initialize` in your own models.
213
- def initialize(attrs = {}, existing_client = nil)
213
+ def initialize(attrs = {})
214
214
  attrs.each do |key, val|
215
215
  self.send("#{key}=", val) if respond_to?("#{key}=")
216
216
  end
217
217
  self.raw_data = DataHash.new(attrs)
218
- @client = existing_client || self.class.client
218
+ @client = self.class.client
219
219
  self.setup
220
220
  end
221
221
 
@@ -417,32 +417,11 @@ module Spaceship
417
417
  # This method is used for both the Apple Dev Portal and iTunes Connect
418
418
  # This will also handle 2 step verification
419
419
  def send_shared_login_request(user, password)
420
- # Check if we have a cached/valid session here
421
- # Fixes
422
- # - https://github.com/fastlane/fastlane/issues/10812
423
- # - https://github.com/fastlane/fastlane/issues/10793
424
- #
425
- # Before 4th December 2017 we didn't load existing session from the disk
426
- # but changed it, because Apple introduced a rate limit, which is fine by itself
427
- # but unfortunately it also rate limits successful logins, meaning if you call multiple
428
- # tools in a lane (e.g. call match 5 times), this would mean it locks you out of the account
429
- # for a while.
430
- # By loading existing sessions and checking if they're valid, we're sending less login requests
431
- # More context on why this change was necessary https://github.com/fastlane/fastlane/pull/11108
432
- #
433
- if load_session_from_file
434
- # Check if the session is still valid here
435
- begin
436
- # We use the olympus session to determine if the old session is still valid
437
- # As this will raise an exception if the old session has expired
438
- # If the old session is still valid, we don't have to do anything else in this method
439
- return true if fetch_olympus_session.count > 0
440
- rescue
441
- end
442
- end
443
-
420
+ # First we see if we have a stored cookie for 2 step enabled accounts
421
+ # this is needed as it stores the information on if this computer is a
422
+ # trusted one. In general I think spaceship clients should be trusted
423
+ load_session_from_file
444
424
  # If this is a CI, the user can pass the session via environment variable
445
- # This is used for 2FA related sessions
446
425
  load_session_from_env
447
426
 
448
427
  data = {
@@ -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"], "reviewScreenshot" => { "value" => review_screenshot } }])
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"] }])
85
85
  end
86
86
 
87
87
  # transforms user-set intervals to iTC ones
@@ -133,12 +133,6 @@ 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
-
142
136
  # Saves the current In-App-Purchase
143
137
  def save!
144
138
  # Transform localization versions back to original format.
@@ -153,7 +147,7 @@ module Spaceship
153
147
  }
154
148
  end
155
149
 
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 } }])
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"] }])
157
151
 
158
152
  # transform pricingDetails
159
153
  intervals_array = []
@@ -109,11 +109,7 @@ module Spaceship
109
109
 
110
110
  def send_login_request(user, password)
111
111
  clear_user_cached_data
112
- result = send_shared_login_request(user, password)
113
-
114
- store_cookie
115
-
116
- return result
112
+ send_shared_login_request(user, password)
117
113
  end
118
114
 
119
115
  # Sometimes we get errors or info nested in our data
@@ -757,7 +753,7 @@ module Spaceship
757
753
  # so we cache it
758
754
  # @return [UserDetail] the response
759
755
  def user_detail_data
760
- @_cached_user_detail_data ||= Spaceship::Tunes::UserDetail.factory(user_details_data, self)
756
+ @_cached_user_detail_data ||= Spaceship::Tunes::UserDetail.factory(user_details_data)
761
757
  end
762
758
 
763
759
  #####################################################
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.2
4
+ version: 2.69.0.beta.20171201010003
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-12-05 00:00:00.000000000 Z
18
+ date: 2017-12-01 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: slack-notifier
@@ -808,7 +808,6 @@ 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
812
811
  - deliver/lib/assets/DeliverfileDefault
813
812
  - deliver/lib/assets/ScreenshotsHelp
814
813
  - deliver/lib/assets/summary.html.erb
@@ -1381,7 +1380,6 @@ files:
1381
1380
  - sigh/lib/sigh/resign.rb
1382
1381
  - sigh/lib/sigh/runner.rb
1383
1382
  - snapshot/README.md
1384
- - snapshot/lib/.DS_Store
1385
1383
  - snapshot/lib/assets/SnapfileTemplate
1386
1384
  - snapshot/lib/assets/SnapshotHelper.swift
1387
1385
  - snapshot/lib/assets/SnapshotHelperXcode8.swift
@@ -1524,24 +1522,24 @@ metadata:
1524
1522
  post_install_message:
1525
1523
  rdoc_options: []
1526
1524
  require_paths:
1527
- - cert/lib
1528
- - credentials_manager/lib
1529
- - deliver/lib
1530
- - fastlane/lib
1531
- - fastlane_core/lib
1532
- - frameit/lib
1533
- - gym/lib
1525
+ - supply/lib
1526
+ - screengrab/lib
1534
1527
  - match/lib
1535
- - pem/lib
1536
- - pilot/lib
1537
1528
  - precheck/lib
1529
+ - sigh/lib
1538
1530
  - produce/lib
1539
1531
  - scan/lib
1540
- - screengrab/lib
1541
- - sigh/lib
1532
+ - gym/lib
1542
1533
  - snapshot/lib
1534
+ - frameit/lib
1535
+ - fastlane/lib
1536
+ - cert/lib
1537
+ - pilot/lib
1543
1538
  - spaceship/lib
1544
- - supply/lib
1539
+ - credentials_manager/lib
1540
+ - deliver/lib
1541
+ - fastlane_core/lib
1542
+ - pem/lib
1545
1543
  required_ruby_version: !ruby/object:Gem::Requirement
1546
1544
  requirements:
1547
1545
  - - ">="
@@ -1549,15 +1547,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
1549
1547
  version: 2.0.0
1550
1548
  required_rubygems_version: !ruby/object:Gem::Requirement
1551
1549
  requirements:
1552
- - - ">="
1550
+ - - ">"
1553
1551
  - !ruby/object:Gem::Version
1554
- version: '0'
1552
+ version: 1.3.1
1555
1553
  requirements: []
1556
1554
  rubyforge_project:
1557
- rubygems_version: 2.6.8
1555
+ rubygems_version: 2.4.5.1
1558
1556
  signing_key:
1559
1557
  specification_version: 4
1560
1558
  summary: The easiest way to automate beta deployments and releases for your iOS and
1561
1559
  Android apps
1562
1560
  test_files: []
1563
- has_rdoc:
Binary file
Binary file