fastlane_core 0.16.1 → 0.16.2

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: ff6503b84ae535819249e1b4c460570d812e6dce
4
- data.tar.gz: 73a6d95b1b3feb8dbaed688d99fffb25a0f1b845
3
+ metadata.gz: 9b054713d283fb6cd0a07d9a0c7a4076d06b2547
4
+ data.tar.gz: 0383894749511c97d291916575b5ca846c96f3cb
5
5
  SHA512:
6
- metadata.gz: c5adf76523cac34631c1905aded02bd668083798c5983cafbd188ca4043fd6d2e8009be6ac7deb753cb0aa985434b3b23f4a0e20a1f891b69a36cfecfed764b5
7
- data.tar.gz: c21f85680e2da777ad7d492db84bcf979e38073b40cda758815835ec6dbbe63971dd037c10016255f8f71c1fe913acdb0dfdf9ae78a2be3a704ed7cc2d5f85e2
6
+ metadata.gz: 80385bdb808979f26e1db646b2464ef29b846190177af415df06623a733dba6022e759929b470fe8f6e7efe866aaf5909dcd01855499601642fa5d0365475e2d
7
+ data.tar.gz: 8ac1593148c79b9b6953b418afcd5f4e991596e5a608f8584c4b3cf35bede77e2465e089e1de87a72156874eaf73552a8cd4de84f11ed5d7f73b9bdfcf985563
@@ -4,7 +4,6 @@ require 'fastlane_core/configuration/configuration_file'
4
4
 
5
5
  module FastlaneCore
6
6
  class Configuration
7
-
8
7
  attr_accessor :available_options
9
8
 
10
9
  attr_accessor :values
@@ -10,9 +10,19 @@ module FastlaneCore
10
10
  self.config = config
11
11
  @block_for_missing = block_for_missing
12
12
 
13
- # rubocop:disable Lint/Eval
14
- eval(File.read(path))
15
- # rubocop:enable Lint/Eval
13
+ begin
14
+ # rubocop:disable Lint/Eval
15
+ eval(File.read(path)) # this is okay in this case
16
+ # rubocop:enable Lint/Eval
17
+ rescue SyntaxError => ex
18
+ if ex.to_s.include? "‘"
19
+ Helper.log.fatal ex
20
+ raise "Invalid quotation: You used the invalid quote ‘ instead of '. Make sure to use a good text editor like Sublime Text to edit your configuration file".red
21
+ else
22
+ line = ex.to_s.match(/\(eval\):(\d+)/)[1]
23
+ raise "Syntax error in your configuration file '#{path}' on line #{line}: #{ex}".red
24
+ end
25
+ end
16
26
  end
17
27
 
18
28
  def method_missing(method_sym, *arguments, &block)
@@ -2,7 +2,6 @@ require 'zip'
2
2
 
3
3
  module FastlaneCore
4
4
  class IpaFileAnalyser
5
-
6
5
  # Fetches the app identifier (e.g. com.facebook.Facebook) from the given ipa file.
7
6
  def self.fetch_app_identifier(path)
8
7
  plist = IpaFileAnalyser.fetch_info_plist_file(path)
@@ -4,7 +4,6 @@ module FastlaneCore
4
4
  # A wrapper around the Apple iTunes Search API to access app information like
5
5
  # the app identifier of an app.
6
6
  class ItunesSearchApi
7
-
8
7
  # Fetch all information you can get from a specific AppleID of an app
9
8
  # @param id (int) The AppleID of the given app. This usually consists of 9 digits.
10
9
  # @param country (string) The optional ISO-2A country code
@@ -209,6 +209,5 @@ module FastlaneCore
209
209
  def escaped_password(password)
210
210
  Shellwords.escape(password)
211
211
  end
212
-
213
212
  end
214
213
  end
@@ -1,3 +1,3 @@
1
1
  module FastlaneCore
2
- VERSION = "0.16.1"
2
+ VERSION = "0.16.2"
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.16.1
4
+ version: 0.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-08 00:00:00.000000000 Z
11
+ date: 2015-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -142,7 +142,7 @@ dependencies:
142
142
  requirements:
143
143
  - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: 0.8.1
145
+ version: 0.8.2
146
146
  - - "<"
147
147
  - !ruby/object:Gem::Version
148
148
  version: 1.0.0
@@ -152,7 +152,7 @@ dependencies:
152
152
  requirements:
153
153
  - - ">="
154
154
  - !ruby/object:Gem::Version
155
- version: 0.8.1
155
+ version: 0.8.2
156
156
  - - "<"
157
157
  - !ruby/object:Gem::Version
158
158
  version: 1.0.0
@@ -344,7 +344,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
344
344
  version: '0'
345
345
  requirements: []
346
346
  rubyforge_project:
347
- rubygems_version: 2.4.6
347
+ rubygems_version: 2.4.5
348
348
  signing_key:
349
349
  specification_version: 4
350
350
  summary: Contains all shared code/dependencies of the fastlane.tools