app-info 1.1.0 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/app_info/parser/ipa/info_plist.rb +7 -4
- data/lib/app_info/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 793a068c529256dde69cf03cca101166d5b243e9c0e10d7a00b2356abfc4496c
|
4
|
+
data.tar.gz: 1ded82e082abf6d096e29ebbfb120d3edb1beaa77a44b834c10eebee5ac9cf05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f90c3648d3bbedeb62695b874d9047d50d2b9538a60d4a186c37b287fc16950fdabe9a687b34fd7440ed337a0a9f2198d6f914cbac0fd5ee7d90cb2ebd0363d
|
7
|
+
data.tar.gz: 5ad5fc23c5ff8e30aadfa204567d09629f8b2628e357aa83f75aa49788591017daa6e08de0e5895ebcf2d0e5bbfd3da7669267c9b6629e7721ca72b58d60b228
|
@@ -19,6 +19,7 @@ module AppInfo
|
|
19
19
|
def identifier
|
20
20
|
info.try(:[], 'CFBundleIdentifier')
|
21
21
|
end
|
22
|
+
alias bundle_id identifier
|
22
23
|
|
23
24
|
def name
|
24
25
|
display_name || bundle_name
|
@@ -100,6 +101,12 @@ module AppInfo
|
|
100
101
|
end
|
101
102
|
end
|
102
103
|
|
104
|
+
def [](key)
|
105
|
+
info.try(:[], key.to_s)
|
106
|
+
end
|
107
|
+
|
108
|
+
private
|
109
|
+
|
103
110
|
def info
|
104
111
|
@info ||= CFPropertyList.native_types(CFPropertyList::List.new(file: info_path).value)
|
105
112
|
end
|
@@ -108,10 +115,6 @@ module AppInfo
|
|
108
115
|
File.join(@app_path, 'Info.plist')
|
109
116
|
end
|
110
117
|
|
111
|
-
alias bundle_id identifier
|
112
|
-
|
113
|
-
private
|
114
|
-
|
115
118
|
def icons_root_path
|
116
119
|
iphone = 'CFBundleIcons'.freeze
|
117
120
|
ipad = 'CFBundleIcons~ipad'.freeze
|
data/lib/app_info/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: app-info
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- icyleaf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: CFPropertyList
|