fastlane 2.14.2 → 2.15.0.beta.20170213032052

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/cert/lib/cert/commands_generator.rb +1 -1
  3. data/cert/lib/cert/runner.rb +1 -1
  4. data/credentials_manager/lib/credentials_manager/appfile_config.rb +1 -1
  5. data/deliver/lib/deliver/commands_generator.rb +1 -1
  6. data/deliver/lib/deliver/runner.rb +2 -2
  7. data/deliver/lib/deliver/setup.rb +4 -2
  8. data/fastlane/lib/fastlane/actions/actions_helper.rb +1 -1
  9. data/fastlane/lib/fastlane/actions/add_extra_platforms.rb +45 -0
  10. data/fastlane/lib/fastlane/actions/changelog_from_git_commits.rb +13 -7
  11. data/fastlane/lib/fastlane/actions/crashlytics.rb +2 -2
  12. data/fastlane/lib/fastlane/actions/ensure_no_debug_code.rb +13 -1
  13. data/fastlane/lib/fastlane/actions/git_tag_exists.rb +1 -1
  14. data/fastlane/lib/fastlane/actions/hockey.rb +117 -14
  15. data/fastlane/lib/fastlane/actions/slack.rb +1 -1
  16. data/fastlane/lib/fastlane/cli_tools_distributor.rb +4 -0
  17. data/fastlane/lib/fastlane/commands_generator.rb +12 -12
  18. data/fastlane/lib/fastlane/documentation/docs_generator.rb +1 -1
  19. data/fastlane/lib/fastlane/environment_printer.rb +2 -2
  20. data/fastlane/lib/fastlane/fastlane_require.rb +1 -1
  21. data/fastlane/lib/fastlane/helper/git_helper.rb +22 -15
  22. data/fastlane/lib/fastlane/lane_manager.rb +2 -2
  23. data/fastlane/lib/fastlane/plugins/plugin_info_collector.rb +2 -2
  24. data/fastlane/lib/fastlane/plugins/plugin_manager.rb +5 -5
  25. data/fastlane/lib/fastlane/runner.rb +12 -9
  26. data/fastlane/lib/fastlane/setup/crashlytics_beta_ui.rb +1 -4
  27. data/fastlane/lib/fastlane/supported_platforms.rb +17 -7
  28. data/fastlane/lib/fastlane/version.rb +1 -1
  29. data/fastlane_core/lib/fastlane_core.rb +1 -0
  30. data/fastlane_core/lib/fastlane_core/cert_checker.rb +3 -3
  31. data/fastlane_core/lib/fastlane_core/command_executor.rb +1 -1
  32. data/fastlane_core/lib/fastlane_core/configuration/commander_generator.rb +7 -3
  33. data/fastlane_core/lib/fastlane_core/device_manager.rb +43 -16
  34. data/fastlane_core/lib/fastlane_core/globals.rb +27 -0
  35. data/fastlane_core/lib/fastlane_core/ipa_upload_package_builder.rb +1 -1
  36. data/fastlane_core/lib/fastlane_core/itunes_transporter.rb +2 -4
  37. data/fastlane_core/lib/fastlane_core/keychain_importer.rb +1 -1
  38. data/fastlane_core/lib/fastlane_core/pkg_upload_package_builder.rb +1 -1
  39. data/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb +4 -4
  40. data/fastlane_core/lib/fastlane_core/ui/github_issue_inspector_reporter.rb +1 -1
  41. data/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb +22 -14
  42. data/fastlane_core/lib/fastlane_core/ui/interface.rb +5 -4
  43. data/frameit/README.md +4 -1
  44. data/frameit/lib/frameit/commands_generator.rb +1 -1
  45. data/frameit/lib/frameit/editor.rb +60 -13
  46. data/frameit/lib/frameit/runner.rb +1 -1
  47. data/gym/README.md +14 -0
  48. data/gym/lib/gym/commands_generator.rb +1 -1
  49. data/gym/lib/gym/error_handler.rb +2 -2
  50. data/gym/lib/gym/generators/package_command_generator_xcode7.rb +1 -1
  51. data/gym/lib/gym/runner.rb +3 -3
  52. data/gym/lib/gym/xcodebuild_fixes/package_application_fix.rb +2 -2
  53. data/gym/lib/gym/xcodebuild_fixes/swift_fix.rb +1 -1
  54. data/match/lib/match/commands_generator.rb +1 -1
  55. data/match/lib/match/encrypt.rb +3 -3
  56. data/match/lib/match/git_helper.rb +8 -8
  57. data/match/lib/match/options.rb +1 -1
  58. data/match/lib/match/utils.rb +3 -3
  59. data/pem/lib/pem/commands_generator.rb +1 -1
  60. data/pilot/lib/pilot/commands_generator.rb +1 -1
  61. data/produce/README.md +1 -1
  62. data/produce/lib/produce/commands_generator.rb +2 -2
  63. data/scan/lib/scan/commands_generator.rb +1 -1
  64. data/scan/lib/scan/options.rb +6 -0
  65. data/scan/lib/scan/runner.rb +2 -2
  66. data/scan/lib/scan/test_command_generator.rb +1 -0
  67. data/screengrab/lib/screengrab/commands_generator.rb +1 -1
  68. data/sigh/lib/sigh/commands_generator.rb +3 -3
  69. data/sigh/lib/sigh/local_manage.rb +1 -1
  70. data/sigh/lib/sigh/resign.rb +1 -1
  71. data/sigh/lib/sigh/runner.rb +8 -3
  72. data/snapshot/README.md +3 -3
  73. data/snapshot/lib/snapshot/collector.rb +1 -1
  74. data/snapshot/lib/snapshot/commands_generator.rb +1 -1
  75. data/snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb +1 -1
  76. data/snapshot/lib/snapshot/fixes/simulator_zoom_fix.rb +1 -1
  77. data/snapshot/lib/snapshot/reset_simulators.rb +2 -2
  78. data/snapshot/lib/snapshot/runner.rb +3 -3
  79. data/spaceship/lib/spaceship.rb +2 -0
  80. data/spaceship/lib/spaceship/base.rb +18 -0
  81. data/spaceship/lib/spaceship/client.rb +8 -5
  82. data/spaceship/lib/spaceship/globals.rb +12 -0
  83. data/spaceship/lib/spaceship/portal/app.rb +0 -6
  84. data/spaceship/lib/spaceship/portal/app_group.rb +0 -6
  85. data/spaceship/lib/spaceship/portal/device.rb +0 -6
  86. data/spaceship/lib/spaceship/portal/person.rb +0 -6
  87. data/spaceship/lib/spaceship/portal/portal.rb +1 -0
  88. data/spaceship/lib/spaceship/portal/portal_client.rb +37 -0
  89. data/spaceship/lib/spaceship/portal/spaceship.rb +9 -0
  90. data/spaceship/lib/spaceship/portal/website_push.rb +90 -0
  91. data/spaceship/lib/spaceship/tunes/app_image.rb +0 -6
  92. data/spaceship/lib/spaceship/tunes/app_ratings.rb +0 -9
  93. data/spaceship/lib/spaceship/tunes/app_screenshot.rb +0 -7
  94. data/spaceship/lib/spaceship/tunes/app_trailer.rb +0 -6
  95. data/spaceship/lib/spaceship/tunes/app_version.rb +1 -0
  96. data/spaceship/lib/spaceship/tunes/app_version_generated_promocodes.rb +0 -9
  97. data/spaceship/lib/spaceship/tunes/app_version_history.rb +0 -9
  98. data/spaceship/lib/spaceship/tunes/app_version_promocodes.rb +0 -9
  99. data/spaceship/lib/spaceship/tunes/app_version_ref.rb +0 -6
  100. data/spaceship/lib/spaceship/tunes/app_version_states_history.rb +0 -9
  101. data/spaceship/lib/spaceship/tunes/application.rb +0 -6
  102. data/spaceship/lib/spaceship/tunes/build.rb +0 -8
  103. data/spaceship/lib/spaceship/tunes/build_details.rb +0 -8
  104. data/spaceship/lib/spaceship/tunes/build_train.rb +0 -6
  105. data/spaceship/lib/spaceship/tunes/member.rb +0 -6
  106. data/spaceship/lib/spaceship/tunes/pricing_tier.rb +0 -9
  107. data/spaceship/lib/spaceship/tunes/recovery_device.rb +0 -6
  108. data/spaceship/lib/spaceship/tunes/territory.rb +0 -7
  109. data/spaceship/lib/spaceship/tunes/tester.rb +0 -6
  110. data/spaceship/lib/spaceship/tunes/transit_app_file.rb +0 -6
  111. data/spaceship/lib/spaceship/tunes/tunes_client.rb +2 -2
  112. data/spaceship/lib/spaceship/tunes/user_detail.rb +0 -6
  113. data/spaceship/lib/spaceship/tunes/version_set.rb +0 -11
  114. data/spaceship/lib/spaceship/two_step_client.rb +2 -2
  115. data/supply/lib/supply/commands_generator.rb +1 -1
  116. metadata +34 -17
@@ -48,12 +48,6 @@ module Spaceship
48
48
  )
49
49
 
50
50
  class << self
51
- # Create a new object based on a hash.
52
- # This is used to create a new object based on the server response.
53
- def factory(attrs)
54
- return self.new(attrs)
55
- end
56
-
57
51
  # @return (Array) Returns all apps available for this account
58
52
  def all
59
53
  client.applications.map { |application| self.factory(application) }
@@ -112,14 +112,6 @@ module Spaceship
112
112
  'buildTestInformationTO.externalStatus' => :external_testing_status
113
113
  )
114
114
 
115
- class << self
116
- # Create a new object based on a hash.
117
- # This is used to create a new object based on the server response.
118
- def factory(attrs)
119
- self.new(attrs)
120
- end
121
- end
122
-
123
115
  def setup
124
116
  super
125
117
 
@@ -35,14 +35,6 @@ module Spaceship
35
35
  'buildSdk' => :build_sdk,
36
36
  'fileName' => :file_name
37
37
  )
38
-
39
- class << self
40
- # Create a new object based on a hash.
41
- # This is used to create a new object based on the server response.
42
- def factory(attrs)
43
- self.new(attrs)
44
- end
45
- end
46
38
  end
47
39
  end
48
40
  end
@@ -41,12 +41,6 @@ module Spaceship
41
41
  )
42
42
 
43
43
  class << self
44
- # Create a new object based on a hash.
45
- # This is used to create a new object based on the server response.
46
- def factory(attrs)
47
- self.new(attrs)
48
- end
49
-
50
44
  # @param application (Spaceship::Tunes::Application) The app this train is for
51
45
  # @param app_id (String) The unique Apple ID of this app
52
46
  def all(application, app_id, platform: nil)
@@ -16,12 +16,6 @@ module Spaceship
16
16
  'dsId' => :user_id
17
17
  )
18
18
 
19
- class << self
20
- def factory(attrs)
21
- self.new(attrs)
22
- end
23
- end
24
-
25
19
  def roles
26
20
  parsed_roles = []
27
21
  raw_data["roles"].each do |role|
@@ -67,15 +67,6 @@ module Spaceship
67
67
  'fRetailPrice' => :f_retail_price,
68
68
  'fWholesalePrice' => :f_wholesale_price
69
69
  )
70
-
71
- class << self
72
- # Create a new object based on a hash.
73
- # This is used to create a new object based on the server response.
74
- def factory(attrs)
75
- obj = self.new(attrs)
76
- return obj
77
- end
78
- end
79
70
  end
80
71
  end
81
72
  end
@@ -58,12 +58,6 @@ module Spaceship
58
58
  'lastTwoDigits' => :last_two_digits,
59
59
  'updateDate' => :update_date
60
60
  )
61
-
62
- class << self
63
- def factory(attrs)
64
- return self.new(attrs)
65
- end
66
- end
67
61
  end
68
62
  end
69
63
  end
@@ -25,13 +25,6 @@ module Spaceship
25
25
  )
26
26
 
27
27
  class << self
28
- # Create a new object based on a hash.
29
- # This is used to create a new object based on the server response.
30
- def factory(attrs)
31
- obj = self.new(attrs)
32
- return obj
33
- end
34
-
35
28
  # Create a new object based on a two-character country code (e.g. "US" for the United States)
36
29
  def from_code(code)
37
30
  obj = self.new
@@ -74,12 +74,6 @@ module Spaceship
74
74
  raise "You have to use a subclass: Internal or External"
75
75
  end
76
76
 
77
- # Create a new object based on a hash.
78
- # This is used to create a new object based on the server response.
79
- def factory(attrs)
80
- self.new(attrs)
81
- end
82
-
83
77
  # @return (Array) Returns all beta testers available for this account
84
78
  def all
85
79
  client.testers(self).map { |tester| self.factory(tester) }
@@ -16,12 +16,6 @@ module Spaceship
16
16
  'url' => :url,
17
17
  'name' => :name
18
18
  )
19
-
20
- class << self
21
- def factory(attrs)
22
- self.new(attrs)
23
- end
24
- end
25
19
  end
26
20
  end
27
21
  end
@@ -103,7 +103,7 @@ module Spaceship
103
103
  t_name = (ENV['FASTLANE_ITC_TEAM_NAME'] || '').strip
104
104
 
105
105
  if t_name.length > 0 && t_id.length.zero? # we prefer IDs over names, they are unique
106
- puts "Looking for iTunes Connect Team with name #{t_name}" if $verbose
106
+ puts "Looking for iTunes Connect Team with name #{t_name}" if Spaceship::Globals.verbose?
107
107
 
108
108
  teams.each do |t|
109
109
  t_id = t['contentProvider']['contentProviderId'].to_s if t['contentProvider']['name'].casecmp(t_name.downcase).zero?
@@ -115,7 +115,7 @@ module Spaceship
115
115
  t_id = teams.first['contentProvider']['contentProviderId'].to_s if teams.count == 1
116
116
 
117
117
  if t_id.length > 0
118
- puts "Looking for iTunes Connect Team with ID #{t_id}" if $verbose
118
+ puts "Looking for iTunes Connect Team with ID #{t_id}" if Spaceship::Globals.verbose?
119
119
 
120
120
  # actually set the team id here
121
121
  self.team_id = t_id
@@ -8,12 +8,6 @@ module Spaceship
8
8
  'contentProviderId' => :content_provider_id,
9
9
  'sessionToken.dsId' => :ds_id
10
10
  )
11
-
12
- class << self
13
- def factory(attrs)
14
- self.new(attrs)
15
- end
16
- end
17
11
  end
18
12
  end
19
13
  end
@@ -19,17 +19,6 @@ module Spaceship
19
19
  'type' => :type,
20
20
  'platformString' => :platform
21
21
  )
22
-
23
- class << self
24
- # Create a new object based on a hash.
25
- # This is used to create a new object based on the server response.
26
- def factory(attrs)
27
- self.new(attrs)
28
- end
29
- end
30
22
  end
31
23
  end
32
24
  end
33
-
34
- #
35
- #
@@ -79,7 +79,7 @@ module Spaceship
79
79
  # Only needed for 2 step
80
80
  def load_session_from_file
81
81
  if File.exist?(persistent_cookie_path)
82
- puts "Loading session from '#{persistent_cookie_path}'" if $verbose
82
+ puts "Loading session from '#{persistent_cookie_path}'" if Spaceship::Globals.verbose?
83
83
  @cookie.load(persistent_cookie_path)
84
84
  return true
85
85
  end
@@ -88,7 +88,7 @@ module Spaceship
88
88
 
89
89
  def load_session_from_env
90
90
  return if self.class.spaceship_session_env.to_s.length == 0
91
- puts "Loading session from environment variable" if $verbose
91
+ puts "Loading session from environment variable" if Spaceship::Globals.verbose?
92
92
 
93
93
  file = Tempfile.new('cookie.yml')
94
94
  file.write(self.class.spaceship_session_env.gsub("\\n", "\n"))
@@ -25,7 +25,7 @@ module Supply
25
25
 
26
26
  always_trace!
27
27
 
28
- global_option('--verbose') { $verbose = true }
28
+ global_option('--verbose') { FastlaneCore::Globals.verbose = true }
29
29
 
30
30
  command :run do |c|
31
31
  c.syntax = 'fastlane supply'
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.14.2
4
+ version: 2.15.0.beta.20170213032052
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2017-02-03 00:00:00.000000000 Z
17
+ date: 2017-02-13 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: slack-notifier
@@ -184,6 +184,20 @@ dependencies:
184
184
  - - "~>"
185
185
  - !ruby/object:Gem::Version
186
186
  version: 1.0.0
187
+ - !ruby/object:Gem::Dependency
188
+ name: tty-screen
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - "~>"
192
+ - !ruby/object:Gem::Version
193
+ version: 0.5.0
194
+ type: :runtime
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - "~>"
199
+ - !ruby/object:Gem::Version
200
+ version: 0.5.0
187
201
  - !ruby/object:Gem::Dependency
188
202
  name: babosa
189
203
  requirement: !ruby/object:Gem::Requirement
@@ -761,6 +775,7 @@ files:
761
775
  - fastlane/lib/fastlane/actions/actions_helper.rb
762
776
  - fastlane/lib/fastlane/actions/adb.rb
763
777
  - fastlane/lib/fastlane/actions/adb_devices.rb
778
+ - fastlane/lib/fastlane/actions/add_extra_platforms.rb
764
779
  - fastlane/lib/fastlane/actions/add_git_tag.rb
765
780
  - fastlane/lib/fastlane/actions/app_store_build_number.rb
766
781
  - fastlane/lib/fastlane/actions/appaloosa.rb
@@ -1021,6 +1036,7 @@ files:
1021
1036
  - fastlane_core/lib/fastlane_core/fastlane_folder.rb
1022
1037
  - fastlane_core/lib/fastlane_core/feature/feature.rb
1023
1038
  - fastlane_core/lib/fastlane_core/features.rb
1039
+ - fastlane_core/lib/fastlane_core/globals.rb
1024
1040
  - fastlane_core/lib/fastlane_core/helper.rb
1025
1041
  - fastlane_core/lib/fastlane_core/ipa_file_analyser.rb
1026
1042
  - fastlane_core/lib/fastlane_core/ipa_upload_package_builder.rb
@@ -1198,6 +1214,7 @@ files:
1198
1214
  - spaceship/lib/spaceship/du/du_client.rb
1199
1215
  - spaceship/lib/spaceship/du/upload_file.rb
1200
1216
  - spaceship/lib/spaceship/du/utilities.rb
1217
+ - spaceship/lib/spaceship/globals.rb
1201
1218
  - spaceship/lib/spaceship/helper/net_http_generic_request.rb
1202
1219
  - spaceship/lib/spaceship/helper/plist_middleware.rb
1203
1220
  - spaceship/lib/spaceship/launcher.rb
@@ -1215,6 +1232,7 @@ files:
1215
1232
  - spaceship/lib/spaceship/portal/provisioning_profile.rb
1216
1233
  - spaceship/lib/spaceship/portal/spaceship.rb
1217
1234
  - spaceship/lib/spaceship/portal/ui/select_team.rb
1235
+ - spaceship/lib/spaceship/portal/website_push.rb
1218
1236
  - spaceship/lib/spaceship/spaceauth_runner.rb
1219
1237
  - spaceship/lib/spaceship/tunes/app_details.rb
1220
1238
  - spaceship/lib/spaceship/tunes/app_image.rb
@@ -1277,23 +1295,23 @@ metadata: {}
1277
1295
  post_install_message:
1278
1296
  rdoc_options: []
1279
1297
  require_paths:
1298
+ - sigh/lib
1280
1299
  - cert/lib
1281
- - credentials_manager/lib
1300
+ - pilot/lib
1301
+ - snapshot/lib
1282
1302
  - deliver/lib
1303
+ - match/lib
1304
+ - spaceship/lib
1305
+ - credentials_manager/lib
1306
+ - frameit/lib
1283
1307
  - fastlane/lib
1308
+ - supply/lib
1284
1309
  - fastlane_core/lib
1285
- - frameit/lib
1286
- - gym/lib
1287
- - match/lib
1288
- - pem/lib
1289
- - pilot/lib
1290
- - produce/lib
1291
1310
  - scan/lib
1311
+ - pem/lib
1292
1312
  - screengrab/lib
1293
- - sigh/lib
1294
- - snapshot/lib
1295
- - spaceship/lib
1296
- - supply/lib
1313
+ - gym/lib
1314
+ - produce/lib
1297
1315
  required_ruby_version: !ruby/object:Gem::Requirement
1298
1316
  requirements:
1299
1317
  - - ">="
@@ -1301,15 +1319,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
1301
1319
  version: 2.0.0
1302
1320
  required_rubygems_version: !ruby/object:Gem::Requirement
1303
1321
  requirements:
1304
- - - ">="
1322
+ - - ">"
1305
1323
  - !ruby/object:Gem::Version
1306
- version: '0'
1324
+ version: 1.3.1
1307
1325
  requirements: []
1308
1326
  rubyforge_project:
1309
- rubygems_version: 2.5.1
1327
+ rubygems_version: 2.4.5.2
1310
1328
  signing_key:
1311
1329
  specification_version: 4
1312
1330
  summary: The easiest way to automate beta deployments and releases for your iOS and
1313
1331
  Android apps
1314
1332
  test_files: []
1315
- has_rdoc: