fastlane 2.84.0.beta.20180227050054 → 2.84.0.beta.20180228050122

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: 47c12dce98e32fc9191e9adfa3dc77c45d6ce6ed
4
- data.tar.gz: aa64091da009613ee4f5edca79af435f2c009edd
3
+ metadata.gz: 5e9e2f79bab4c18f206830a01f8255d4dc6aae82
4
+ data.tar.gz: d23e31bc583e2c463307e78017b196bb8b7352da
5
5
  SHA512:
6
- metadata.gz: dd74dc5f16af9c2cc1b3c8b9411ab7b7477beada1b750a02577782b4e86018e57a4abb94a3e5c0931e781335d27e25f75ce7826e9cc0979400a430cdcdaba9a3
7
- data.tar.gz: b3f13d4b488c81f3241b90abb1a99ae51aeec27c7d1033166cce2ba4041876c23ac4a326f7cd78643fb3428627cea799a10d1ed77adee9a8eb213f88185f58d5
6
+ metadata.gz: 1767db48089241a713e5dea3be63e2ac28a706461cc8395922db60391375e56d3906a934eaa2b0b4d91fcd63dd010202cda6be7fdbee9b66ed0030afadc89235
7
+ data.tar.gz: d1d58bbc89aee17867fec6cee2492a0a8a495454a26167f50cd45740c03b4125b8f2a7793860da7e4477f6e1cfea8e0131b98d5fa0eeab521df1a121b6face54
@@ -121,6 +121,7 @@ module Fastlane
121
121
  FastlaneCore::ConfigItem.new(key: :ssl_verify,
122
122
  env_name: "FL_ARTIFACTORY_SSL_VERIFY",
123
123
  description: "Verify SSL",
124
+ is_string: false,
124
125
  default_value: true,
125
126
  optional: true),
126
127
  FastlaneCore::ConfigItem.new(key: :proxy_username,
@@ -38,7 +38,7 @@ module Fastlane
38
38
  optional: true),
39
39
  FastlaneCore::ConfigItem.new(key: :log_output,
40
40
  description: "If output should be logged to the console",
41
- type: TrueClass,
41
+ type: Boolean,
42
42
  default_value: false,
43
43
  optional: true)
44
44
  ]
@@ -121,6 +121,7 @@ module Fastlane
121
121
  FastlaneCore::ConfigItem.new(key: :ssl_verify,
122
122
  env_name: "FL_NEXUS_SSL_VERIFY",
123
123
  description: "Verify SSL",
124
+ is_string: false,
124
125
  default_value: true,
125
126
  optional: true),
126
127
  FastlaneCore::ConfigItem.new(key: :verbose,
@@ -71,6 +71,7 @@ module Fastlane
71
71
  FastlaneCore::ConfigItem.new(key: :require_variable_prefix,
72
72
  env_name: "FL_VERSION_BUMP_PODSPEC_VERSION_REQUIRE_VARIABLE_PREFIX",
73
73
  description: "true by default, this is used for non CocoaPods version bumps only",
74
+ type: Boolean,
74
75
  default_value: true)
75
76
  ]
76
77
  end
@@ -34,6 +34,7 @@ module Fastlane
34
34
  FastlaneCore::ConfigItem.new(key: :require_variable_prefix,
35
35
  env_name: "FL_VERSION_BUMP_PODSPEC_VERSION_REQUIRE_VARIABLE_PREFIX",
36
36
  description: "true by default, this is used for non CocoaPods version bumps only",
37
+ is_string: false,
37
38
  default_value: true)
38
39
  ]
39
40
  end
@@ -53,6 +53,7 @@ module Fastlane
53
53
  env_name: "FL_ZIP_VERBOSE",
54
54
  description: "Enable verbose output of zipped file",
55
55
  default_value: true,
56
+ type: Boolean,
56
57
  optional: true)
57
58
  ]
58
59
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.84.0.beta.20180227050054'.freeze
2
+ VERSION = '2.84.0.beta.20180228050122'.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
@@ -205,22 +205,21 @@ module FastlaneCore
205
205
  # Raises an exception if the value is invalid
206
206
  def valid?(value)
207
207
  # we also allow nil values, which do not have to be verified.
208
- if value
209
- # Verify that value is the type that we're expecting, if we are expecting a type
208
+ return true if value.nil?
210
209
 
211
- if data_type == Fastlane::Boolean
212
- ensure_boolean_type_passes_validation(value)
213
- else
214
- ensure_generic_type_passes_validation(value)
215
- end
210
+ # Verify that value is the type that we're expecting, if we are expecting a type
211
+ if data_type == Fastlane::Boolean
212
+ ensure_boolean_type_passes_validation(value)
213
+ else
214
+ ensure_generic_type_passes_validation(value)
215
+ end
216
216
 
217
- if @verify_block
218
- begin
219
- @verify_block.call(value)
220
- rescue => ex
221
- UI.error("Error setting value '#{value}' for option '#{@key}'")
222
- raise Interface::FastlaneError.new, ex.to_s
223
- end
217
+ if @verify_block
218
+ begin
219
+ @verify_block.call(value)
220
+ rescue => ex
221
+ UI.error("Error setting value '#{value}' for option '#{@key}'")
222
+ raise Interface::FastlaneError.new, ex.to_s
224
223
  end
225
224
  end
226
225
 
@@ -1,19 +1,21 @@
1
1
  module FastlaneCore
2
2
  class UI
3
3
  class << self
4
- def current
4
+ attr_accessor(:ui_object)
5
+
6
+ def ui_object
5
7
  require_relative 'implementations/shell'
6
- @current ||= Shell.new
8
+ @ui_object ||= Shell.new
7
9
  end
8
- end
9
10
 
10
- def self.method_missing(method_sym, *args, &_block)
11
- # not using `responds` because we don't care about methods like .to_s and so on
12
- require_relative 'interface'
13
- interface_methods = FastlaneCore::Interface.instance_methods - Object.instance_methods
14
- UI.user_error!("Unknown method '#{method_sym}', supported #{interface_methods}") unless interface_methods.include?(method_sym)
11
+ def method_missing(method_sym, *args, &_block)
12
+ # not using `responds` because we don't care about methods like .to_s and so on
13
+ require_relative 'interface'
14
+ interface_methods = FastlaneCore::Interface.instance_methods - Object.instance_methods
15
+ UI.user_error!("Unknown method '#{method_sym}', supported #{interface_methods}") unless interface_methods.include?(method_sym)
15
16
 
16
- self.current.send(method_sym, *args)
17
+ self.ui_object.send(method_sym, *args)
18
+ end
17
19
  end
18
20
  end
19
21
  end
@@ -138,7 +138,7 @@ module Scan
138
138
  FastlaneCore::ConfigItem.new(key: :include_simulator_logs,
139
139
  env_name: "SCAN_INCLUDE_SIMULATOR_LOGS",
140
140
  description: "If the logs generated by the app (e.g. using NSLog, perror, etc.) in the Simulator should be written to the output_directory",
141
- type: TrueClass,
141
+ type: Boolean,
142
142
  default_value: false,
143
143
  optional: true),
144
144
  FastlaneCore::ConfigItem.new(key: :formatter,
@@ -71,7 +71,7 @@ module Snapshot
71
71
  FastlaneCore::ConfigItem.new(key: :output_simulator_logs,
72
72
  env_name: "SNAPSHOT_OUTPUT_SIMULATOR_LOGS",
73
73
  description: "If the logs generated by the app (e.g. using NSLog, perror, etc.) in the Simulator should be written to the output_directory",
74
- type: TrueClass,
74
+ type: Boolean,
75
75
  default_value: false,
76
76
  optional: true),
77
77
  FastlaneCore::ConfigItem.new(key: :ios_version,
@@ -222,6 +222,9 @@ module Spaceship
222
222
  # This enables tracking of networking requests using Charles Web Proxy
223
223
  c.proxy("https://127.0.0.1:8888")
224
224
  c.ssl[:verify_mode] = OpenSSL::SSL::VERIFY_NONE
225
+ elsif ENV["SPACESHIP_PROXY"]
226
+ c.proxy(ENV["SPACESHIP_PROXY"])
227
+ c.ssl[:verify_mode] = OpenSSL::SSL::VERIFY_NONE if ENV["SPACESHIP_PROXY_SSL_VERIFY_NONE"]
225
228
  end
226
229
 
227
230
  if ENV["DEBUG"]
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.84.0.beta.20180227050054
4
+ version: 2.84.0.beta.20180228050122
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -27,7 +27,7 @@ authors:
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2018-02-27 00:00:00.000000000 Z
30
+ date: 2018-02-28 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -1616,24 +1616,24 @@ metadata:
1616
1616
  post_install_message:
1617
1617
  rdoc_options: []
1618
1618
  require_paths:
1619
+ - deliver/lib
1619
1620
  - pem/lib
1620
1621
  - supply/lib
1621
- - precheck/lib
1622
- - fastlane_core/lib
1623
- - match/lib
1622
+ - gym/lib
1623
+ - scan/lib
1624
1624
  - frameit/lib
1625
- - deliver/lib
1626
- - pilot/lib
1625
+ - fastlane_core/lib
1627
1626
  - snapshot/lib
1628
- - scan/lib
1629
- - sigh/lib
1630
- - fastlane/lib
1631
- - credentials_manager/lib
1632
1627
  - produce/lib
1633
- - spaceship/lib
1634
- - gym/lib
1635
1628
  - cert/lib
1636
1629
  - screengrab/lib
1630
+ - credentials_manager/lib
1631
+ - sigh/lib
1632
+ - match/lib
1633
+ - precheck/lib
1634
+ - spaceship/lib
1635
+ - pilot/lib
1636
+ - fastlane/lib
1637
1637
  required_ruby_version: !ruby/object:Gem::Requirement
1638
1638
  requirements:
1639
1639
  - - ">="