fastlane 2.20.0.beta.20170315010053 → 2.20.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: 396f7ed2c69d56bdbf8588640f65392ae920e60e
4
- data.tar.gz: c02df5952fa125acf9703529c763d67606b91d84
3
+ metadata.gz: 18d1374e8e66e080731751d8eb7378637ac6a0ef
4
+ data.tar.gz: 34249900b028439d19f3084b011d50269ba6a5f8
5
5
  SHA512:
6
- metadata.gz: bf5830fb8b534d2ff98101fac29dd3a9ac30b9ec308702c62db2cf522b5e2076393ab9622ad2af9a2ff3cfec4febc1bbff1af4f8c169d5ae734472f7cd62bc14
7
- data.tar.gz: ae8f865063f01d6ac863cb07978e6141839258aecb5f68abc638df17506982da1d8289eb348e30dfcdd1b1a929f865b31da0a4b6e6e20dd3945485070ed10c59
6
+ metadata.gz: fdc4f38adc5a14554b49d285bdea5fd4f4d99caa8423d77f665d33f58b3aac3641c28e7df33831002558359a7091181bcef71b4cb93b2942b9cfe8f85f059698
7
+ data.tar.gz: 59aaf53f4bbd916c75c330fc77a267baa29ace2343c066b11c7ebb225bd274bcce2eb881288b135747ede12e4b5b2ffb462830c91e685ed2e218f5005cee605c
data/bin/fastlane CHANGED
@@ -1,4 +1,9 @@
1
1
  #!/usr/bin/env ruby
2
+
3
+ if RUBY_VERSION < '2.0.0'
4
+ abort "fastlane requires Ruby 2.0.0 or higher"
5
+ end
6
+
2
7
  $LOAD_PATH.push File.expand_path("../../lib", __FILE__)
3
8
 
4
9
  require "fastlane/cli_tools_distributor"
@@ -27,7 +27,7 @@ module Fastlane
27
27
 
28
28
  changelog = params[:changelog]
29
29
  unless changelog
30
- path = "./fastlane/changelog.txt"
30
+ path = default_changelog_path
31
31
  UI.message("Looking for changelog in '#{path}'...")
32
32
  if File.exist? path
33
33
  changelog = File.read(path)
@@ -65,6 +65,10 @@ module Fastlane
65
65
  UI.success("👼 Successfully pushed the new changelog to #{v.url}")
66
66
  end
67
67
 
68
+ def self.default_changelog_path
69
+ File.join(FastlaneCore::FastlaneFolder.path.to_s, 'changelog.txt')
70
+ end
71
+
68
72
  #####################################################
69
73
  # @!group Documentation
70
74
  #####################################################
@@ -76,7 +80,7 @@ module Fastlane
76
80
  def self.details
77
81
  [
78
82
  "This is useful if you have only one changelog for all languages.",
79
- "You can store the changelog in `./fastlane/changelog.txt` and it will automatically get loaded from there. This integration is useful if you support e.g. 10 languages and want to use the same \"What's new\"-text for all languages."
83
+ "You can store the changelog in `#{default_changelog_path}` and it will automatically get loaded from there. This integration is useful if you support e.g. 10 languages and want to use the same \"What's new\"-text for all languages."
80
84
  ].join("\n")
81
85
  end
82
86
 
@@ -138,7 +138,7 @@ module Fastlane
138
138
 
139
139
  # Iterates through all available actions and yields from there
140
140
  def self.all_actions(platform = nil)
141
- action_symbols = Fastlane::Actions.constants.select { |c| Fastlane::Actions.const_get(c).kind_of? Class }
141
+ action_symbols = Fastlane::Actions.constants.select { |c| Fastlane::Actions.const_get(c).kind_of?(Class) && c != :TestSampleCodeAction }
142
142
  action_symbols.sort.each do |symbol|
143
143
  action = Fastlane::Actions.const_get(symbol)
144
144
 
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.20.0.beta.20170315010053'.freeze
2
+ VERSION = '2.20.0'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
@@ -8,8 +8,6 @@ module FastlaneCore
8
8
  value ||= "./.#{FOLDER_NAME}/" if File.directory?("./.#{FOLDER_NAME}/") # hidden folder
9
9
  value ||= "./" if File.basename(Dir.getwd) == FOLDER_NAME && File.exist?('Fastfile') # inside the folder
10
10
  value ||= "./" if File.basename(Dir.getwd) == ".#{FOLDER_NAME}" && File.exist?('Fastfile') # inside the folder and hidden
11
-
12
- value = nil if Helper.is_test? # this is required, as the tests would use the ./fastlane folder otherwise
13
11
  return value
14
12
  end
15
13
 
@@ -230,7 +230,7 @@ module FastlaneCore
230
230
 
231
231
  def self.fastlane_enabled?
232
232
  # This is called from the root context on the first start
233
- @enabled ||= (File.directory?("./fastlane") || File.directory?("./.fastlane"))
233
+ @enabled ||= !FastlaneCore::FastlaneFolder.path.nil?
234
234
  end
235
235
 
236
236
  # <b>DEPRECATED:</b> Use the `ROOT` constant from the appropriate tool module instead
Binary file
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.20.0.beta.20170315010053
4
+ version: 2.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -630,14 +630,14 @@ dependencies:
630
630
  requirements:
631
631
  - - "~>"
632
632
  - !ruby/object:Gem::Version
633
- version: 1.19.0
633
+ version: 2.3.2
634
634
  type: :development
635
635
  prerelease: false
636
636
  version_requirements: !ruby/object:Gem::Requirement
637
637
  requirements:
638
638
  - - "~>"
639
639
  - !ruby/object:Gem::Version
640
- version: 1.19.0
640
+ version: 2.3.2
641
641
  - !ruby/object:Gem::Dependency
642
642
  name: coveralls
643
643
  requirement: !ruby/object:Gem::Requirement
@@ -1180,6 +1180,7 @@ files:
1180
1180
  - sigh/lib/sigh/resign.rb
1181
1181
  - sigh/lib/sigh/runner.rb
1182
1182
  - snapshot/README.md
1183
+ - snapshot/lib/.DS_Store
1183
1184
  - snapshot/lib/assets/SnapfileTemplate
1184
1185
  - snapshot/lib/assets/SnapshotHelper.swift
1185
1186
  - snapshot/lib/assets/SnapshotHelper2-3.swift
@@ -1296,23 +1297,23 @@ metadata:
1296
1297
  post_install_message:
1297
1298
  rdoc_options: []
1298
1299
  require_paths:
1299
- - gym/lib
1300
- - scan/lib
1301
- - supply/lib
1302
- - spaceship/lib
1300
+ - cert/lib
1301
+ - credentials_manager/lib
1303
1302
  - deliver/lib
1303
+ - fastlane/lib
1304
1304
  - fastlane_core/lib
1305
+ - frameit/lib
1306
+ - gym/lib
1307
+ - match/lib
1305
1308
  - pem/lib
1306
1309
  - pilot/lib
1307
- - fastlane/lib
1310
+ - produce/lib
1311
+ - scan/lib
1308
1312
  - screengrab/lib
1309
- - frameit/lib
1310
- - snapshot/lib
1311
1313
  - sigh/lib
1312
- - produce/lib
1313
- - credentials_manager/lib
1314
- - match/lib
1315
- - cert/lib
1314
+ - snapshot/lib
1315
+ - spaceship/lib
1316
+ - supply/lib
1316
1317
  required_ruby_version: !ruby/object:Gem::Requirement
1317
1318
  requirements:
1318
1319
  - - ">="
@@ -1320,14 +1321,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
1320
1321
  version: 2.0.0
1321
1322
  required_rubygems_version: !ruby/object:Gem::Requirement
1322
1323
  requirements:
1323
- - - ">"
1324
+ - - ">="
1324
1325
  - !ruby/object:Gem::Version
1325
- version: 1.3.1
1326
+ version: '0'
1326
1327
  requirements: []
1327
1328
  rubyforge_project:
1328
- rubygems_version: 2.4.5.2
1329
+ rubygems_version: 2.5.1
1329
1330
  signing_key:
1330
1331
  specification_version: 4
1331
1332
  summary: The easiest way to automate beta deployments and releases for your iOS and
1332
1333
  Android apps
1333
1334
  test_files: []
1335
+ has_rdoc: