fastlane 1.60.0 → 1.61.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/assets/AppfileTemplateAndroid +1 -2
- data/lib/fastlane/actions/xcov.rb +41 -0
- data/lib/fastlane/setup/setup_android.rb +4 -7
- data/lib/fastlane/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9de4b8a9cd1171343c95b4df23237219d6463836
|
4
|
+
data.tar.gz: 9d27352a495f2c000cd49d3e03f45acbc817e8af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 657e03bd83261d4ee1417d05a9fa1b8867cbcecdb08130a3ba6b6459fb53cc0f5cad9a208b715db3f01f94f1caf22ef253a2938f36e3930805ea1cc7e27037a2
|
7
|
+
data.tar.gz: 5ca0349f5e0f03e117cc444243c16a077050e92b115f1ee157b72fae5add22cbfc658f75d4087241b5148b84eb741480dd4a71c0746073cb5488d3164e5f6b9d
|
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
keyfile "[[KEYFILE]]" # Path to the keyfile
|
1
|
+
json_key_file "[[JSON_KEY_FILE]]" # Path to the json secret file - Follow https://github.com/fastlane/supply#setup to get one
|
3
2
|
package_name "[[PACKAGE_NAME]]" # e.g. com.krausefx.app
|
@@ -0,0 +1,41 @@
|
|
1
|
+
module Fastlane
|
2
|
+
module Actions
|
3
|
+
class XcovAction < Action
|
4
|
+
def self.run(values)
|
5
|
+
Actions.verify_gem!('xcov')
|
6
|
+
require 'xcov'
|
7
|
+
|
8
|
+
Xcov::Manager.new.work(values)
|
9
|
+
end
|
10
|
+
|
11
|
+
def self.description
|
12
|
+
"Nice code coverage reports without hassle"
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.details
|
16
|
+
"More information: https://github.com/nakiostudio/xcov"
|
17
|
+
end
|
18
|
+
|
19
|
+
def self.author
|
20
|
+
"nakiostudio"
|
21
|
+
end
|
22
|
+
|
23
|
+
def self.available_options
|
24
|
+
begin
|
25
|
+
Gem::Specification.find_by_name('xcov')
|
26
|
+
rescue Gem::LoadError
|
27
|
+
# Catched missing gem exception and returned empty array
|
28
|
+
# to avoid unused_options_spec failure
|
29
|
+
return []
|
30
|
+
end
|
31
|
+
|
32
|
+
require 'xcov'
|
33
|
+
Xcov::Options.available_options
|
34
|
+
end
|
35
|
+
|
36
|
+
def self.is_supported?(platform)
|
37
|
+
[:ios, :mac].include? platform
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -26,16 +26,13 @@ module Fastlane
|
|
26
26
|
|
27
27
|
package_name = ask('Package Name (com.krausefx.app): '.yellow)
|
28
28
|
puts ""
|
29
|
-
puts "To automatically upload builds and metadata to Google Play, fastlane needs
|
29
|
+
puts "To automatically upload builds and metadata to Google Play, fastlane needs a service action json secret file".yellow
|
30
30
|
puts "Feel free to just click Enter to skip not provide certain things"
|
31
|
-
puts "Follow the Setup Guide on how to get the
|
32
|
-
|
33
|
-
issuer = ask('Issuer: '.yellow)
|
34
|
-
keyfile = ask('Path to the key file: '.yellow)
|
31
|
+
puts "Follow the Setup Guide on how to get the Json file: https://github.com/fastlane/supply#setup".yellow
|
32
|
+
json_key_file = ask('Path to the json secret file: '.yellow)
|
35
33
|
|
36
34
|
template = File.read("#{Helper.gem_path('fastlane')}/lib/assets/AppfileTemplateAndroid")
|
37
|
-
template.gsub!('[[
|
38
|
-
template.gsub!('[[KEYFILE]]', keyfile)
|
35
|
+
template.gsub!('[[JSON_KEY_FILE]]', json_key_file)
|
39
36
|
template.gsub!('[[PACKAGE_NAME]]', package_name)
|
40
37
|
path = File.join(folder, 'Appfile')
|
41
38
|
File.write(path, template)
|
data/lib/fastlane/version.rb
CHANGED
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.
|
4
|
+
version: 1.61.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: 2016-02-
|
11
|
+
date: 2016-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: krausefx-shenzhen
|
@@ -154,7 +154,7 @@ dependencies:
|
|
154
154
|
requirements:
|
155
155
|
- - ">="
|
156
156
|
- !ruby/object:Gem::Version
|
157
|
-
version: 0.
|
157
|
+
version: 0.15.0
|
158
158
|
- - "<"
|
159
159
|
- !ruby/object:Gem::Version
|
160
160
|
version: 1.0.0
|
@@ -164,7 +164,7 @@ dependencies:
|
|
164
164
|
requirements:
|
165
165
|
- - ">="
|
166
166
|
- !ruby/object:Gem::Version
|
167
|
-
version: 0.
|
167
|
+
version: 0.15.0
|
168
168
|
- - "<"
|
169
169
|
- !ruby/object:Gem::Version
|
170
170
|
version: 1.0.0
|
@@ -374,7 +374,7 @@ dependencies:
|
|
374
374
|
requirements:
|
375
375
|
- - ">="
|
376
376
|
- !ruby/object:Gem::Version
|
377
|
-
version: 0.
|
377
|
+
version: 0.4.0
|
378
378
|
- - "<"
|
379
379
|
- !ruby/object:Gem::Version
|
380
380
|
version: 1.0.0
|
@@ -384,7 +384,7 @@ dependencies:
|
|
384
384
|
requirements:
|
385
385
|
- - ">="
|
386
386
|
- !ruby/object:Gem::Version
|
387
|
-
version: 0.
|
387
|
+
version: 0.4.0
|
388
388
|
- - "<"
|
389
389
|
- !ruby/object:Gem::Version
|
390
390
|
version: 1.0.0
|
@@ -763,6 +763,7 @@ files:
|
|
763
763
|
- lib/fastlane/actions/xcode_select.rb
|
764
764
|
- lib/fastlane/actions/xcode_server_get_assets.rb
|
765
765
|
- lib/fastlane/actions/xcodebuild.rb
|
766
|
+
- lib/fastlane/actions/xcov.rb
|
766
767
|
- lib/fastlane/actions/xctool.rb
|
767
768
|
- lib/fastlane/command_line_handler.rb
|
768
769
|
- lib/fastlane/configuration_helper.rb
|