fastlane_core 0.43.1 → 0.43.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane_core/ipa_file_analyser.rb +9 -0
- data/lib/fastlane_core/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67e9a9b7c43aaf99b8346244fb9d460ab63610ff
|
4
|
+
data.tar.gz: 0916bd2dfe4f685ada0504433c875c07f3c04ecd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b4e6fc941e132c16918f11cfd660ff8f1340eae0d3649ee412788ae4db1f13d0da817f13835c4572752b0294e26941892c6201f98e2933fad3b6cc41314df71
|
7
|
+
data.tar.gz: 1cd457d395a3b4acd24155c3d2c641a02b6f21dd6d48d67c0b6a8c23be0b0cdb178df9763bca2907a3a03b25fe3847a7e014dc0c097830de34c708ce77d35581
|
@@ -17,6 +17,15 @@ module FastlaneCore
|
|
17
17
|
return nil
|
18
18
|
end
|
19
19
|
|
20
|
+
# Fetches the app platform from the given ipa file.
|
21
|
+
def self.fetch_app_platform(path)
|
22
|
+
plist = self.fetch_info_plist_file(path)
|
23
|
+
platform = "ios"
|
24
|
+
platform = plist['DTPlatformName'] if plist
|
25
|
+
platform = "ios" if platform == "iphoneos" # via https://github.com/fastlane/spaceship/issues/247
|
26
|
+
return platform
|
27
|
+
end
|
28
|
+
|
20
29
|
def self.fetch_info_plist_file(path)
|
21
30
|
Zip::File.open(path) do |zipfile|
|
22
31
|
file = zipfile.glob('**/Payload/*.app/Info.plist').first
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.43.
|
4
|
+
version: 0.43.2
|
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-05-
|
11
|
+
date: 2016-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -400,7 +400,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
400
400
|
version: '0'
|
401
401
|
requirements: []
|
402
402
|
rubyforge_project:
|
403
|
-
rubygems_version: 2.4.
|
403
|
+
rubygems_version: 2.4.0
|
404
404
|
signing_key:
|
405
405
|
specification_version: 4
|
406
406
|
summary: Contains all shared code/dependencies of the fastlane.tools
|