fastlane-plugin-ciutils 0.2.2 → 0.2.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02bc24e15c63372c17f42835f9c70566a0976f62
|
4
|
+
data.tar.gz: 2785e38d6f5f255d24364f568b16f66735011e9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30155eeee6b71160710686a8325cb140598c05314a86a6f081ce5247b7d04c9b2eee914d4562dcc263b01d3b75600e9b298d63d6a9ad4a9eb1b16ed117acc86b
|
7
|
+
data.tar.gz: 7d9d2c25d0f8bafc99647257cf65299c69e366570e92a8f66e29cbda20014911e6c32d23141cf4f4772eb8ddce9c7ee55f31a89c6f8a8cbe5c9d79138dcb1530
|
@@ -59,15 +59,22 @@ module Fastlane
|
|
59
59
|
end
|
60
60
|
end
|
61
61
|
|
62
|
-
def self.normalize_paths(paths)
|
63
|
-
paths.split(",").map
|
62
|
+
def self.normalize_paths(paths, use_relative)
|
63
|
+
paths.split(",").map do |path|
|
64
|
+
unless use_relative
|
65
|
+
File.expand_path(path.strip)
|
66
|
+
else
|
67
|
+
path.strip
|
68
|
+
end
|
69
|
+
end
|
64
70
|
end
|
65
71
|
|
66
72
|
def self.lizard_path_args(params)
|
67
73
|
include_files = ""
|
74
|
+
use_relative_paths = params[:lizard_use_relative_paths]
|
68
75
|
|
69
76
|
if params[:include_path]
|
70
|
-
self.normalize_paths(params[:include_path]).each do |path|
|
77
|
+
self.normalize_paths(params[:include_path], use_relative_paths).each do |path|
|
71
78
|
include_files += " '#{path}' "
|
72
79
|
end
|
73
80
|
end
|
@@ -143,6 +150,13 @@ module Fastlane
|
|
143
150
|
FastlaneCore::ConfigItem.new(key: :lizard_extra_args,
|
144
151
|
env_name: "FL_EN_LIZARD_EXTRA ARGS",
|
145
152
|
description: 'Extra command line args for lizard',
|
153
|
+
optional: true),
|
154
|
+
|
155
|
+
FastlaneCore::ConfigItem.new(key: :lizard_use_relative_paths,
|
156
|
+
env_name: "FL_EN_LIZARD_USE_RELATIVE_PATHS",
|
157
|
+
description: "Use relative paths in lizard reports",
|
158
|
+
is_string: false,
|
159
|
+
default_value: true,
|
146
160
|
optional: true)
|
147
161
|
]
|
148
162
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-ciutils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicolae Ghimbovschi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: slather
|