fastlane-plugin-app_info 0.5.1 → 0.6.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a9896a19d5b4d3a608034a6ea08e0a0bae5e0e2985a1b890d40fc71b4ff6d35
|
4
|
+
data.tar.gz: da8ca07b96521e897455ad3c31817696186f6487cf0e56d5bd942fa522be9e4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ce6c2e43d06a6cbb233df6838c37df6c03b366c3e1f1b02428eb01eaf84d3d63b3ffc48f65675b078328601cdbfedcb28479df389c0b6e2d930fb279a81252e
|
7
|
+
data.tar.gz: 02acb39cd98772eee54013eebc65f88a54cd49ed345d4a7ab18e236e5db239303170e449e613bed81d6a91f6018ff6fbb09ad25ad0c98438c7320ea1cf6141ba
|
@@ -28,11 +28,10 @@ module Fastlane
|
|
28
28
|
|
29
29
|
app.mobileprovision.mobileprovision.each do |key, value|
|
30
30
|
next if key == 'DeveloperCertificates' || key == 'Name' || key == 'DER-Encoded-Profile'
|
31
|
-
|
32
31
|
obj[upcase(key)] = value
|
33
32
|
end
|
34
33
|
elsif app.os == 'Android'
|
35
|
-
signs = app.signs.map
|
34
|
+
signs = app.signs.map(&:path)
|
36
35
|
issuers = android_certificate_issuer(app)
|
37
36
|
permissions = app.use_permissions
|
38
37
|
features = app.use_features
|
@@ -52,7 +51,7 @@ module Fastlane
|
|
52
51
|
|
53
52
|
def self.common_columns(app)
|
54
53
|
COMMON_COLUMNS.each_with_object({}) do |key, hash|
|
55
|
-
value = key == 'size' ? app.size(true) : app.send(key.to_sym)
|
54
|
+
value = key == 'size' ? app.size(human_size: true) : app.send(key.to_sym)
|
56
55
|
hash[upcase(key)] = value
|
57
56
|
end
|
58
57
|
end
|
@@ -80,7 +79,14 @@ module Fastlane
|
|
80
79
|
end
|
81
80
|
|
82
81
|
def self.upcase(key)
|
83
|
-
|
82
|
+
return key.upcase if key == 'os'
|
83
|
+
|
84
|
+
str = key.dup
|
85
|
+
['-', '_', '\s'].each do |s|
|
86
|
+
str = str.gsub(/(?:#{s}+)([a-z])/) { $1.upcase }
|
87
|
+
end
|
88
|
+
|
89
|
+
return str.gsub(/(\A|\s)([a-z])/) { $1 + $2.upcase }
|
84
90
|
end
|
85
91
|
|
86
92
|
def self.android_certificate_issuer(app)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-app_info
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- icyleaf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: app-info
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.7.0.beta1
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '3'
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 2.
|
29
|
+
version: 2.7.0.beta1
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '3'
|