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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7338920a9e707f019a03f32f2fed9ae1b6fc8789
4
- data.tar.gz: 3b89484069d5ac342ad9e7987c67c132d1998541
3
+ metadata.gz: 67e9a9b7c43aaf99b8346244fb9d460ab63610ff
4
+ data.tar.gz: 0916bd2dfe4f685ada0504433c875c07f3c04ecd
5
5
  SHA512:
6
- metadata.gz: 84de0848ed6f85b1501ccd5ad0d90e0266d6156f5bbfd0ac1b42dd6639f547bf313c65b9c5da14d72b8937842f86ef70ca1f11357127008bb8bb1e7b56587c9d
7
- data.tar.gz: 5d6ee2cdf28880408bf5a897fd7166ea7356fc7a2d8734db2339397dd0fc8e7cc45af82d7b09d31aab6afbe44a5755d6cfc0bde8f72cfaa475d4c90ac6735862
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
@@ -1,3 +1,3 @@
1
1
  module FastlaneCore
2
- VERSION = "0.43.1".freeze
2
+ VERSION = "0.43.2".freeze
3
3
  end
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.1
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-03 00:00:00.000000000 Z
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.5.1
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