fastlane 1.34.0 → 1.35.0

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: 60bb8f2003e94f587d350a0fd71db4809875fc16
4
- data.tar.gz: c542b96abc2e3705fa3a6ccb8449bada06f452ea
3
+ metadata.gz: 21ea062d83c66bdf74f70220012ebc948e815ece
4
+ data.tar.gz: 0d2c1d4a9df4edbb9b527f3d9fa3feefb7c1ad69
5
5
  SHA512:
6
- metadata.gz: 1eb6e7fe364ba12a461a0be7c05ad2140caf93c81c4205db5f007e4038c19d1f581cd2e146991e6bf836e50f64c2b59ae4041fb5ee130adc28b094d492a41d7e
7
- data.tar.gz: bbe2065825279b7ec82b74a7397f4681b3c59615a21996579540704d4381a83e67be7bf986252a5157612d12cfa9e4d323455e1fd11e59c0f5182db002733a13
6
+ metadata.gz: fb8d227f0f8cbb4cb9a68744530cd4f5833f73457d536f285ad5606463e6680f3b6a84c67d9b1dbedb97382a3cdf2fbeb83f7a9d77da7169d7b1b61480e88579
7
+ data.tar.gz: df20cfa2a59ead1d4dd6c47903c2315cb1c0ab9e2dc6220abde3ce277c49b7cb31afdbe4e605bc7cdc11bea1be4cff7ea35c956dd62b5f0568f92da370af2390
data/README.md CHANGED
@@ -9,11 +9,11 @@
9
9
  <a href="https://github.com/KrauseFx/sigh">sigh</a> &bull;
10
10
  <a href="https://github.com/fastlane/produce">produce</a> &bull;
11
11
  <a href="https://github.com/fastlane/cert">cert</a> &bull;
12
- <a href="https://github.com/fastlane/codes">codes</a> &bull;
13
12
  <a href="https://github.com/fastlane/spaceship">spaceship</a> &bull;
14
13
  <a href="https://github.com/fastlane/pilot">pilot</a> &bull;
15
14
  <a href="https://github.com/fastlane/boarding">boarding</a> &bull;
16
- <a href="https://github.com/fastlane/gym">gym</a>
15
+ <a href="https://github.com/fastlane/gym">gym</a> &bull;
16
+ <a href="https://github.com/fastlane/scan">scan</a>
17
17
  </p>
18
18
  -------
19
19
 
@@ -45,7 +45,7 @@ Get in contact with the developer on Twitter: [@KrauseFx](https://twitter.com/Kr
45
45
 
46
46
  Why should you have to remember complicated commands and parameters?
47
47
 
48
- Store your configuration in a text file to easily test, builld, and deploy from _any_ computer.
48
+ Store your configuration in a text file to easily test, build, and deploy from _any_ computer.
49
49
 
50
50
  [Take a look at how Wikipedia and Product Hunt use `fastlane`](https://github.com/fastlane/examples).
51
51
 
@@ -28,13 +28,17 @@ module Fastlane
28
28
  env_name: "FL_LCOV_SCHEME",
29
29
  description: "Scheme of the project"),
30
30
 
31
+ FastlaneCore::ConfigItem.new(key: :arch,
32
+ env_name: "FL_LCOV_ARCH",
33
+ description: "The build arch where will search .gcda files",
34
+ default_value: "i386"),
35
+
31
36
  FastlaneCore::ConfigItem.new(key: :output_dir,
32
37
  env_name: "FL_LCOV_OUTPUT_DIR",
33
38
  description: "The output directory that coverage data will be stored. If not passed will use coverage_reports as default value",
34
39
  optional: true,
35
40
  is_string: true,
36
41
  default_value: "coverage_reports")
37
-
38
42
  ]
39
43
  end
40
44
 
@@ -63,9 +67,10 @@ module Fastlane
63
67
  def self.derived_data_dir(options)
64
68
  pn = options[:project_name]
65
69
  sc = options[:scheme]
70
+ arch = options[:arch]
66
71
 
67
72
  initial_path = "#{Dir.home}/Library/Developer/Xcode/DerivedData/"
68
- end_path = "/Build/Intermediates/#{pn}.build/Debug-iphonesimulator/#{sc}.build/Objects-normal/i386/"
73
+ end_path = "/Build/Intermediates/#{pn}.build/Debug-iphonesimulator/#{sc}.build/Objects-normal/#{arch}/"
69
74
 
70
75
  match = find_project_dir(pn, initial_path)
71
76
 
@@ -0,0 +1,53 @@
1
+ module Fastlane
2
+ module Actions
3
+ class VerifyPodKeysAction < Action
4
+ def self.run(params)
5
+ Helper.log.info "Validating CocoaPods Keys"
6
+
7
+ options = plugin_options
8
+ target = options["target"] || ""
9
+
10
+ options["keys"].each do |key|
11
+ Helper.log.info " - #{key}"
12
+ validate(key, target)
13
+ end
14
+ end
15
+
16
+ def self.plugin_options
17
+ require 'cocoapods-core'
18
+ podfile = Pod::Podfile.from_file "Podfile"
19
+ podfile.plugins["cocoapods-keys"]
20
+ end
21
+
22
+ def self.validate(key, target)
23
+ if value(key, target).length < 2
24
+ message = "Did not pass validation for key #{key}. " \
25
+ "Run `[bundle exec] pod keys get #{key} #{target}` to see what it is. " \
26
+ "It's likely this is running with empty/OSS keys."
27
+ raise message
28
+ end
29
+ end
30
+
31
+ def self.value(key, target)
32
+ value = `pod keys get #{key} #{target}`
33
+ value.split("]").last.strip
34
+ end
35
+
36
+ def self.author
37
+ "ashfurrow"
38
+ end
39
+
40
+ #####################################################
41
+ # @!group Documentation
42
+ #####################################################
43
+
44
+ def self.description
45
+ "Verifies all keys referenced from the Podfile are non-empty"
46
+ end
47
+
48
+ def self.is_supported?(platform)
49
+ return true
50
+ end
51
+ end
52
+ end
53
+ end
@@ -10,8 +10,6 @@ module Fastlane
10
10
  end
11
11
 
12
12
  show_infos
13
- response = agree('Do you want to get started? This will move your Deliverfile and Snapfile (if they exist) (y/n)'.yellow, true)
14
- return unless response
15
13
  response = agree('Do you have everything commited in version control? If not please do so now! (y/n)'.yellow, true)
16
14
  return unless response
17
15
 
@@ -45,7 +43,7 @@ module Fastlane
45
43
  end
46
44
 
47
45
  def files_to_copy
48
- ['Deliverfile', 'Snapfile', 'deliver', 'snapshot.js', 'snapshot-iPad.js', 'SnapshotHelper.js', 'screenshots']
46
+ ['Deliverfile', 'deliver', 'screenshots']
49
47
  end
50
48
 
51
49
  def copy_existing_files
@@ -104,9 +102,10 @@ module Fastlane
104
102
  if agree("Do you want to setup 'snapshot', which will help you to automatically take screenshots of your iOS app in all languages/devices? (y/n)".yellow, true)
105
103
  Helper.log.info "Loading up 'snapshot', this might take a few seconds"
106
104
 
107
- require 'snapshot' # we need both requires
108
- require 'snapshot/snapfile_creator'
109
- Snapshot::SnapfileCreator.create(folder)
105
+ require 'snapshot'
106
+ require 'snapshot/setup'
107
+ Snapshot::Setup.create(folder)
108
+
110
109
  @tools[:snapshot] = true
111
110
  end
112
111
  end
@@ -1,3 +1,3 @@
1
1
  module Fastlane
2
- VERSION = '1.34.0'
2
+ VERSION = '1.35.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.34.0
4
+ version: 1.35.0
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-10-22 00:00:00.000000000 Z
11
+ date: 2015-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -176,7 +176,7 @@ dependencies:
176
176
  requirements:
177
177
  - - ">="
178
178
  - !ruby/object:Gem::Version
179
- version: 0.25.2
179
+ version: 0.25.3
180
180
  - - "<"
181
181
  - !ruby/object:Gem::Version
182
182
  version: 1.0.0
@@ -186,7 +186,7 @@ dependencies:
186
186
  requirements:
187
187
  - - ">="
188
188
  - !ruby/object:Gem::Version
189
- version: 0.25.2
189
+ version: 0.25.3
190
190
  - - "<"
191
191
  - !ruby/object:Gem::Version
192
192
  version: 1.0.0
@@ -256,7 +256,7 @@ dependencies:
256
256
  requirements:
257
257
  - - ">="
258
258
  - !ruby/object:Gem::Version
259
- version: 1.0.0
259
+ version: 1.0.2
260
260
  - - "<"
261
261
  - !ruby/object:Gem::Version
262
262
  version: 2.0.0
@@ -266,7 +266,7 @@ dependencies:
266
266
  requirements:
267
267
  - - ">="
268
268
  - !ruby/object:Gem::Version
269
- version: 1.0.0
269
+ version: 1.0.2
270
270
  - - "<"
271
271
  - !ruby/object:Gem::Version
272
272
  version: 2.0.0
@@ -336,7 +336,7 @@ dependencies:
336
336
  requirements:
337
337
  - - ">="
338
338
  - !ruby/object:Gem::Version
339
- version: 1.0.0
339
+ version: 1.1.0
340
340
  - - "<"
341
341
  - !ruby/object:Gem::Version
342
342
  version: 2.0.0
@@ -346,7 +346,7 @@ dependencies:
346
346
  requirements:
347
347
  - - ">="
348
348
  - !ruby/object:Gem::Version
349
- version: 1.0.0
349
+ version: 1.1.0
350
350
  - - "<"
351
351
  - !ruby/object:Gem::Version
352
352
  version: 2.0.0
@@ -436,7 +436,7 @@ dependencies:
436
436
  requirements:
437
437
  - - ">="
438
438
  - !ruby/object:Gem::Version
439
- version: 0.1.0
439
+ version: 0.1.2
440
440
  - - "<"
441
441
  - !ruby/object:Gem::Version
442
442
  version: 1.0.0
@@ -446,7 +446,7 @@ dependencies:
446
446
  requirements:
447
447
  - - ">="
448
448
  - !ruby/object:Gem::Version
449
- version: 0.1.0
449
+ version: 0.1.2
450
450
  - - "<"
451
451
  - !ruby/object:Gem::Version
452
452
  version: 1.0.0
@@ -683,6 +683,7 @@ files:
683
683
  - lib/fastlane/actions/update_info_plist.rb
684
684
  - lib/fastlane/actions/update_project_code_signing.rb
685
685
  - lib/fastlane/actions/update_project_provisioning.rb
686
+ - lib/fastlane/actions/verify_pods_keys.rb
686
687
  - lib/fastlane/actions/verify_xcode.rb
687
688
  - lib/fastlane/actions/version_bump_podspec.rb
688
689
  - lib/fastlane/actions/version_get_podspec.rb