fastlane-plugin-app_info 0.5.1 → 0.5.2
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf6ec1a91ce4659cca2e3ef7c061e8c5e669b6830bfa9993a632d067b4299f2a
|
4
|
+
data.tar.gz: 6e0c2257caa7ad083a70c01fb804caac49c5b1397602ba0ee3453675955c2afa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54405927aa32d6b56ca0eebced81c389c56b4a640a60cd95dc9d08b037b6377453719578e0a598792eb9f09746c45c3e9f4194039df049bb5b9ba2e4845f802e
|
7
|
+
data.tar.gz: a87b625bfb4a0f3c4a40fdca6c039295e6a20c3626b018e533f7652715dc100b83cb024149ab2cc694c11ef52dac25c4fb8e6776c2fda877db0f993323eaa888
|
@@ -32,7 +32,7 @@ module Fastlane
|
|
32
32
|
obj[upcase(key)] = value
|
33
33
|
end
|
34
34
|
elsif app.os == 'Android'
|
35
|
-
signs = app.signs.map
|
35
|
+
signs = app.signs.map(&:path)
|
36
36
|
issuers = android_certificate_issuer(app)
|
37
37
|
permissions = app.use_permissions
|
38
38
|
features = app.use_features
|
@@ -52,7 +52,7 @@ module Fastlane
|
|
52
52
|
|
53
53
|
def self.common_columns(app)
|
54
54
|
COMMON_COLUMNS.each_with_object({}) do |key, hash|
|
55
|
-
value = key == 'size' ? app.size(true) : app.send(key.to_sym)
|
55
|
+
value = key == 'size' ? app.size(human_size: true) : app.send(key.to_sym)
|
56
56
|
hash[upcase(key)] = value
|
57
57
|
end
|
58
58
|
end
|
@@ -80,7 +80,14 @@ module Fastlane
|
|
80
80
|
end
|
81
81
|
|
82
82
|
def self.upcase(key)
|
83
|
-
|
83
|
+
return key.upcase if key == 'os'
|
84
|
+
|
85
|
+
str = key.dup
|
86
|
+
['-', '_', '\s'].each do |s|
|
87
|
+
str = str.gsub(/(?:#{s}+)([a-z])/) { $1.upcase }
|
88
|
+
end
|
89
|
+
|
90
|
+
return str.gsub(/(\A|\s)([a-z])/) { $1 + $2.upcase }
|
84
91
|
end
|
85
92
|
|
86
93
|
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.5.
|
4
|
+
version: 0.5.2
|
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-29 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.5
|
19
|
+
version: 2.6.5
|
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.5
|
29
|
+
version: 2.6.5
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '3'
|