fastlane 2.43.0 → 2.44.0.beta.20170630010021

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0af6df1081eb56e6f9abcd701377370dad49c304
4
- data.tar.gz: 52c4df026da78af0f9ae559b514964ea96b523a5
3
+ metadata.gz: 4b6422c85e5f36c3b9fc4ba8a77d4887995b8a87
4
+ data.tar.gz: c9be9711667196b480c9932d37bcd766bd629991
5
5
  SHA512:
6
- metadata.gz: 028a69f7091539a2c9ccdcb693a5adfcaa780fc0440028f281c09b1d18c58f9812c96899ac4b0288e84b3a239c43744808afbc798f816a75811aacd2647cf1c6
7
- data.tar.gz: 428ae4bdb317b61ded1590509a45b3681ca911542ada1a7d242062f11448a3bdfaf2997ee78ce85417bceec62e7f9107a7205d009ede18749bce5e918307f7ea
6
+ metadata.gz: 1c03ca870a23b16c515f2eccde262b623387a27a9bb321380ac6ad5568b3e48dce5932e38a2b866ef99cd85ac4120d360103d10fc3d1c728d109da7c8187085f
7
+ data.tar.gz: 1174abb0715ec4bb8fbed535af5eb83592ad5e30fdfc1ddec1dcc6acd5889243c810129a0b8c5fe99b6a78079ba9176df59dc58f35c04eb5874008247d405107
data/README.md CHANGED
@@ -41,13 +41,13 @@ Then to deploy a new 'beta' version of your app just run
41
41
  :thought_balloon: | Never remember any difficult commands, just `fastlane`
42
42
  :tophat: | Easy setup assistant to get started in a few minutes
43
43
  :email: | Automatically pass on information from one build step to another (*e.g.* path to the `ipa` file)
44
- :page_with_curl: | Store **everything** in Git. Never lookup build commands in `Jenkins` configs again.
44
+ :page_with_curl: | Store **everything** in Git. Never lookup build commands on your CI system again.
45
45
  :rocket: | Saves you **hours** for every app update you release
46
46
  :pencil2: | Flexible configuration using a fully customisable `Fastfile`
47
47
  :mountain_cableway: | Implement a fully working Continuous Delivery process
48
48
  :ghost: | [Jenkins Integration](https://docs.fastlane.tools/best-practices/continuous-integration/#jenkins-integration): Show output directly in test results
49
49
  :book: | Automatically generate Markdown documentation of your lane configurations
50
- :hatching_chick: | Over 170 built-in integrations available
50
+ :hatching_chick: | Over 170 built-in integrations and 170 plugins available
51
51
  :computer: | Support for iOS and Android apps
52
52
  :octocat: | Full Git and Mercurial support
53
53
 
@@ -111,6 +111,11 @@ module Deliver
111
111
  description: "Should the app be automatically released once it's approved?",
112
112
  is_string: false,
113
113
  default_value: false),
114
+ FastlaneCore::ConfigItem.new(key: :phased_release,
115
+ description: "Enable phased the phased release feature of iTC",
116
+ optional: true,
117
+ is_string: false,
118
+ default_value: nil),
114
119
  FastlaneCore::ConfigItem.new(key: :price_tier,
115
120
  short_option: "-r",
116
121
  description: "The price tier of this application",
@@ -55,6 +55,8 @@ module Deliver
55
55
  # Directory name it contains review information
56
56
  REVIEW_INFORMATION_DIR = "review_information"
57
57
 
58
+ # rubocop:disable Metrics/PerceivedComplexity
59
+
58
60
  # Make sure to call `load_from_filesystem` before calling upload
59
61
  def upload(options)
60
62
  return if options[:skip_metadata]
@@ -111,6 +113,7 @@ module Deliver
111
113
  end
112
114
 
113
115
  v.release_on_approval = options[:automatic_release]
116
+ v.toggle_phased_release(enabled: !!options[:phased_release]) unless options[:phased_release].nil?
114
117
 
115
118
  set_trade_representative_contact_information(v, options)
116
119
  set_review_information(v, options)
@@ -133,6 +136,8 @@ module Deliver
133
136
  end
134
137
  end
135
138
 
139
+ # rubocop:enable Metrics/PerceivedComplexity
140
+
136
141
  # If the user is using the 'default' language, then assign values where they are needed
137
142
  def assign_defaults(options)
138
143
  # Build a complete list of the required languages
data/fastlane/README.md CHANGED
@@ -85,13 +85,13 @@ fastlane release
85
85
  :thought_balloon: | Never remember any difficult commands, just `fastlane`
86
86
  :tophat: | Easy setup assistant to get started in a few minutes
87
87
  :email: | Automatically pass on information from one build step to another (e.g. path to the `ipa` file)
88
- :page_with_curl: | Store **everything** in git. Never again lookup the build commands in the `Jenkins` configs
88
+ :page_with_curl: | Store **everything** in Git. Never lookup build commands on your CI system again.
89
89
  :rocket: | Saves you **hours** for every app update you release
90
90
  :pencil2: | Very flexible configuration using a fully customisable `Fastfile`
91
91
  :mountain_cableway: | Implement a fully working Continuous Delivery process
92
92
  :ghost: | [Jenkins Integration](https://docs.fastlane.tools/best-practices/continuous-integration/#jenkins-integration): Show the output directly in the Jenkins test results
93
93
  :book: | Automatically generate a markdown documentation of your lane config
94
- :hatching_chick: | Over 170 built-in integrations available
94
+ :hatching_chick: | Over 170 built-in integrations and 170 plugins available
95
95
  :computer: | Support for iOS and Android apps
96
96
  :octocat: | Full git and mercurial support
97
97
 
@@ -23,7 +23,7 @@ import './path/to/other/Fastfile'
23
23
 
24
24
  <%- @categories.each do |category, actions| %>
25
25
  # <%= category %>
26
- <%- actions.sort.reverse.to_h.each do |_number_of_launches, action| -%>
26
+ <%- actions.sort.to_h.each do |_number_of_launches, action| -%>
27
27
 
28
28
  ### <%= action.action_name %>
29
29
 
@@ -63,8 +63,13 @@ module Fastlane
63
63
  output << "The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools)."
64
64
  output << ""
65
65
 
66
- File.write(output_path, output.join("\n"))
67
- UI.success "Successfully generated documentation at path '#{File.expand_path(output_path)}'" if FastlaneCore::Globals.verbose?
66
+ begin
67
+ File.write(output_path, output.join("\n"))
68
+ UI.success "Successfully generated documentation at path '#{File.expand_path(output_path)}'" if FastlaneCore::Globals.verbose?
69
+ rescue => ex
70
+ UI.error(ex)
71
+ UI.error("Couldn't save fastlane documentation at path '#{File.expand_path(output_path)}', make sure you have write access to the containing directory.")
72
+ end
68
73
  end
69
74
 
70
75
  #####################################################
@@ -1,7 +1,5 @@
1
1
  module Fastlane
2
2
  class MarkdownDocsGenerator
3
- ENHANCER_URL = "https://enhancer.fastlane.tools"
4
-
5
3
  attr_accessor :categories
6
4
 
7
5
  def initialize
@@ -34,34 +32,15 @@ module Fastlane
34
32
  end
35
33
 
36
34
  def number_of_launches_for_action(action_name)
37
- found = all_actions_from_enhancer.find { |c| c["action"] == action_name.to_s }
35
+ found = all_actions_from_enhancer.find { |c| c['action'] == action_name.to_s }
38
36
 
39
- return found["launches"] if found
40
- return rand # so we don't overwrite another action, this is between 0 and 1
37
+ return found["index"] if found
38
+ return 10_000 + rand # new actions that we've never tracked before will be shown at the bottom of the page, need `rand` to not overwrite them
41
39
  end
42
40
 
43
41
  def all_actions_from_enhancer
44
- require 'faraday'
45
42
  require 'json'
46
-
47
- # Only Fabric team members have access to the enhancer instance
48
- # This can be used to check doc changes for everyone else
49
- if FastlaneCore::Env.truthy?('USE_ENHANCE_TEST_DATA')
50
- return [{ "action" => "puts", "launches" => 123, "errors" => 0, "ratio" => 0.0, "crashes" => 0 },
51
- { "action" => "fastlane_version", "launches" => 123, "errors" => 43, "ratio" => 0.34, "crashes" => 0 },
52
- { "action" => "default_platform", "launches" => 123, "errors" => 33, "ratio" => 0.27, "crashes" => 31 }]
53
- end
54
-
55
- unless @launches
56
- conn = Faraday.new(ENHANCER_URL)
57
- conn.basic_auth(ENV["ENHANCER_USER"], ENV["ENHANCER_PASSWORD"])
58
- begin
59
- @launches = JSON.parse(conn.get('/index.json?minimum_launches=0').body)
60
- rescue
61
- UI.user_error!("Couldn't fetch usage data, make sure to have ENHANCER_USER and ENHANCER_PASSWORD")
62
- end
63
- end
64
- @launches
43
+ @_launches ||= JSON.parse(File.read(File.join(Fastlane::ROOT, "assets/action_ranking.json"))) # root because we're in a temporary directory here
65
44
  end
66
45
 
67
46
  def generate!(target_path: "docs/Actions.md")
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.43.0'.freeze
2
+ VERSION = '2.44.0.beta.20170630010021'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
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.43.0
4
+ version: 2.44.0.beta.20170630010021
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-06-29 00:00:00.000000000 Z
18
+ date: 2017-06-30 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: slack-notifier
@@ -313,14 +313,20 @@ dependencies:
313
313
  requirements:
314
314
  - - ">="
315
315
  - !ruby/object:Gem::Version
316
- version: '1.6'
316
+ version: 2.1.0
317
+ - - "<"
318
+ - !ruby/object:Gem::Version
319
+ version: 3.0.0
317
320
  type: :runtime
318
321
  prerelease: false
319
322
  version_requirements: !ruby/object:Gem::Requirement
320
323
  requirements:
321
324
  - - ">="
322
325
  - !ruby/object:Gem::Version
323
- version: '1.6'
326
+ version: 2.1.0
327
+ - - "<"
328
+ - !ruby/object:Gem::Version
329
+ version: 3.0.0
324
330
  - !ruby/object:Gem::Dependency
325
331
  name: gh_inspector
326
332
  requirement: !ruby/object:Gem::Requirement
@@ -1288,7 +1294,6 @@ files:
1288
1294
  - spaceship/lib/assets/languageMapping.json
1289
1295
  - spaceship/lib/assets/languageMappingReadable.json
1290
1296
  - spaceship/lib/spaceship.rb
1291
- - spaceship/lib/spaceship/.DS_Store
1292
1297
  - spaceship/lib/spaceship/babosa_fix.rb
1293
1298
  - spaceship/lib/spaceship/base.rb
1294
1299
  - spaceship/lib/spaceship/client.rb
@@ -1390,24 +1395,24 @@ metadata:
1390
1395
  post_install_message:
1391
1396
  rdoc_options: []
1392
1397
  require_paths:
1393
- - cert/lib
1394
- - credentials_manager/lib
1395
- - deliver/lib
1396
- - fastlane/lib
1397
1398
  - fastlane_core/lib
1399
+ - screengrab/lib
1398
1400
  - frameit/lib
1399
- - gym/lib
1400
- - match/lib
1401
- - pem/lib
1402
- - pilot/lib
1403
- - precheck/lib
1404
- - produce/lib
1405
1401
  - scan/lib
1406
- - screengrab/lib
1407
- - sigh/lib
1402
+ - cert/lib
1403
+ - fastlane/lib
1404
+ - match/lib
1405
+ - gym/lib
1408
1406
  - snapshot/lib
1407
+ - produce/lib
1408
+ - pem/lib
1409
1409
  - spaceship/lib
1410
+ - deliver/lib
1411
+ - precheck/lib
1410
1412
  - supply/lib
1413
+ - credentials_manager/lib
1414
+ - pilot/lib
1415
+ - sigh/lib
1411
1416
  required_ruby_version: !ruby/object:Gem::Requirement
1412
1417
  requirements:
1413
1418
  - - ">="
@@ -1415,15 +1420,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
1415
1420
  version: 2.0.0
1416
1421
  required_rubygems_version: !ruby/object:Gem::Requirement
1417
1422
  requirements:
1418
- - - ">="
1423
+ - - ">"
1419
1424
  - !ruby/object:Gem::Version
1420
- version: '0'
1425
+ version: 1.3.1
1421
1426
  requirements: []
1422
1427
  rubyforge_project:
1423
- rubygems_version: 2.2.5
1428
+ rubygems_version: 2.4.5.2
1424
1429
  signing_key:
1425
1430
  specification_version: 4
1426
1431
  summary: The easiest way to automate beta deployments and releases for your iOS and
1427
1432
  Android apps
1428
1433
  test_files: []
1429
- has_rdoc:
Binary file