fastlane_core 0.46.2 → 0.46.3

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: 57c9dfb3493b58bd5d74cca8e791effe06c970b8
4
- data.tar.gz: 829ed1c0dfb471b3f3f38f865447a6ddd4561628
3
+ metadata.gz: 4b0214358b14e3586af63825d39d4ea34a05abfb
4
+ data.tar.gz: 9f8bf1d501384e32f2833cac4694b28d15955b25
5
5
  SHA512:
6
- metadata.gz: 7e522176c56c7d91cc0f6b802c52d829b5727f588aca609c32b818c44698fb690ff192ca2f09ace14e6b8ffa4506a859fae1135ef7aa977859d256b466244efe
7
- data.tar.gz: 9ca1c53365ce1237e82159b588df7341233de8ed6bffa6a578d1b9dc6ff6e8de0902349d2fd6448d10e1a8ae2c3b12592d218ab715cf250768aa30ba407f9f3d
6
+ metadata.gz: 065b94851db39b584bf1c8a5430404d941c6532628845e289088b659af533eb178b50f7f5d69ff9b81f7e1d2b09e382c138cb5c1b4c5ec9f63cc6f6445e16498
7
+ data.tar.gz: 983e08ed5200832d75d45f8bb969f13b6fffc6c35d22a55b1bc9e4b7601160b9a756788854d0a4b4cb4cc3203019418e813cd88fe367b33f853c68a252995326
@@ -186,7 +186,7 @@ module FastlaneCore
186
186
  return value unless ask
187
187
 
188
188
  # fallback to asking
189
- if Helper.is_test? or Helper.is_ci?
189
+ if Helper.is_test? or !UI.interactive?
190
190
  # Since we don't want to be asked on tests, we'll just call the verify block with no value
191
191
  # to raise the exception that is shown when the user passes an invalid value
192
192
  set(key, '')
@@ -249,7 +249,7 @@ module FastlaneCore
249
249
  end
250
250
 
251
251
  # Aliases `[key]` to `fetch(key)` because Ruby can do it.
252
- alias_method :[], :fetch
253
- alias_method :[]=, :set
252
+ alias [] fetch
253
+ alias []= set
254
254
  end
255
255
  end
@@ -21,13 +21,13 @@ module FastlaneCore
21
21
 
22
22
  # @return true if the currently running program is a unit test
23
23
  def self.test?
24
- defined?SpecHelper
24
+ defined? SpecHelper
25
25
  end
26
26
 
27
27
  # @return [boolean] true if building in a known CI environment
28
28
  def self.ci?
29
29
  # Check for Jenkins, Travis CI, ... environment variables
30
- ['JENKINS_URL', 'TRAVIS', 'CIRCLECI', 'CI', 'TEAMCITY_VERSION', 'GO_PIPELINE_NAME', 'bamboo_buildKey', 'GITLAB_CI', 'XCS'].each do |current|
30
+ ['JENKINS_HOME', 'JENKINS_URL', 'TRAVIS', 'CIRCLECI', 'CI', 'TEAMCITY_VERSION', 'GO_PIPELINE_NAME', 'bamboo_buildKey', 'GITLAB_CI', 'XCS'].each do |current|
31
31
  return true if ENV.key?(current)
32
32
  end
33
33
  return false
@@ -182,9 +182,9 @@ module FastlaneCore
182
182
 
183
183
  def xcodebuild_parameters
184
184
  proj = []
185
- proj << "-workspace '#{options[:workspace]}'" if options[:workspace]
186
- proj << "-scheme '#{options[:scheme]}'" if options[:scheme]
187
- proj << "-project '#{options[:project]}'" if options[:project]
185
+ proj << "-workspace #{options[:workspace].shellescape}" if options[:workspace]
186
+ proj << "-scheme #{options[:scheme].shellescape}" if options[:scheme]
187
+ proj << "-project #{options[:project].shellescape}" if options[:project]
188
188
 
189
189
  return proj
190
190
  end
@@ -135,8 +135,8 @@ module FastlaneCore
135
135
  def self.android_app_identifier_arg?(gem_name, arg)
136
136
  return arg == "--package_name" ||
137
137
  arg == "--app_package_name" ||
138
- (arg == '-p' && gem_name == 'supply') ||
139
- (arg == '-a' && gem_name == 'screengrab')
138
+ (arg == '-p' && gem_name == 'supply') ||
139
+ (arg == '-a' && gem_name == 'screengrab')
140
140
  end
141
141
 
142
142
  # To not count the same projects multiple time for the number of launches
@@ -1,3 +1,3 @@
1
1
  module FastlaneCore
2
- VERSION = "0.46.2".freeze
2
+ VERSION = "0.46.3".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.46.2
4
+ version: 0.46.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-02 00:00:00.000000000 Z
11
+ date: 2016-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -385,7 +385,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
385
385
  version: '0'
386
386
  requirements: []
387
387
  rubyforge_project:
388
- rubygems_version: 2.4.5.1
388
+ rubygems_version: 2.4.0
389
389
  signing_key:
390
390
  specification_version: 4
391
391
  summary: Contains all shared code/dependencies of the fastlane.tools