fastlane 2.69.0.beta.20171210010003 → 2.69.0.beta.20171211010003

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: 769f2e77cfc9f4bf4c78beb82d7b33d012bd3e9b
4
- data.tar.gz: a51ff04aed44c015278b195bf2457d4e2ee4d124
3
+ metadata.gz: a22b74b5f3c24c296d6a6d2ee67142207b7295e4
4
+ data.tar.gz: aaa6f0f991d571554405fc2a57ccdbef602132ed
5
5
  SHA512:
6
- metadata.gz: 54b85ed7356df0f79c7668bbc0d080dc1f448e8256da6e46fe29e232b0d9b4111848a119619c9d0f20886df8675c964bd6ee86b1dcd2510f3b14abfb6ba78cb9
7
- data.tar.gz: eb0a04a2b532619e2c2aee39eecb01dcfd0f9dcc60f0306b400a102c55b85222e18874b23bb49555d892203ad8aad036b5047cf0f76eef035a51a1b5781c32c6
6
+ metadata.gz: 40df6f3b4a4ceb2f2bfae8a4623eda3223e656e4b5e816449cae616ca86049133952b78615bced4619348df0adb24c37d047deedcd34a9d12a4391ff18985d43
7
+ data.tar.gz: 03fb607a9d3f68bb4939e39d691a89eccf9185e1384d3c44cb7b32f10307959fa413641d372d7b1008bf1d2d4f1d6e10420d4ecc09e9e06e0f88bd6ad67a2dea
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.69.0.beta.20171210010003'.freeze
2
+ VERSION = '2.69.0.beta.20171211010003'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
@@ -0,0 +1,18 @@
1
+ # To be used instead of require "cfpropertylist". Restores extensions from
2
+ # Plist overwritten by CFPropertyList.
3
+
4
+ require "cfpropertylist"
5
+ require "plist"
6
+
7
+ # Brute-force solution to conflict between #to_plist introduced by
8
+ # CFPropertyList and plist. Remove the method added by CFPropertyList
9
+ # and restore the method from Plist::Emit. Each class gains a
10
+ # #to_binary_plist method equivalent to #to_plist from CFPropertyList.
11
+ #
12
+ # CFPropertyList also adds Enumerator#to_plist, but there is no such
13
+ # method from Plist, so leave it.
14
+ [Array, Hash].each do |c|
15
+ c.send :alias_method, :to_binary_plist, :to_plist
16
+ c.send :remove_method, :to_plist
17
+ c.include Plist::Emit
18
+ end
@@ -1,5 +1,5 @@
1
1
  require 'zip'
2
- require 'plist'
2
+ require "fastlane_core/core_ext/cfpropertylist"
3
3
 
4
4
  module FastlaneCore
5
5
  class IpaFileAnalyser
@@ -47,8 +47,7 @@ module FastlaneCore
47
47
  File.open(tmp_path, 'wb') do |output|
48
48
  output.write zipfile.read(file)
49
49
  end
50
- system("plutil -convert xml1 #{tmp_path}")
51
- result = Plist.parse_xml(tmp_path)
50
+ result = CFPropertyList.native_types(CFPropertyList::List.new(file: tmp_path).value)
52
51
 
53
52
  if result['CFBundleIdentifier'] or result['CFBundleVersion']
54
53
  return result
@@ -1,4 +1,5 @@
1
- require 'cfpropertylist'
1
+ require "fastlane_core/core_ext/cfpropertylist"
2
+
2
3
  module Gym
3
4
  # This class detects all kinds of default values
4
5
  class DetectValues
@@ -189,7 +189,7 @@ module Gym
189
189
  UI.command_output("-----------------------------------------")
190
190
  end
191
191
 
192
- to_plist(hash)
192
+ hash.to_plist
193
193
  end
194
194
 
195
195
  def signing_style
@@ -204,11 +204,6 @@ module Gym
204
204
  UI.error("Unable to read provisioning style from .pbxproj file.")
205
205
  return "automatic"
206
206
  end
207
-
208
- # Avoids a Hash#to_plist conflict between CFPropertyList and plist gems
209
- def to_plist(hash)
210
- Plist::Emit.dump(hash, true)
211
- end
212
207
  end
213
208
  end
214
209
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.69.0.beta.20171210010003
4
+ version: 2.69.0.beta.20171211010003
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2017-12-10 00:00:00.000000000 Z
18
+ date: 2017-12-11 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: slack-notifier
@@ -1203,6 +1203,7 @@ files:
1203
1203
  - fastlane_core/lib/fastlane_core/configuration/config_item.rb
1204
1204
  - fastlane_core/lib/fastlane_core/configuration/configuration.rb
1205
1205
  - fastlane_core/lib/fastlane_core/configuration/configuration_file.rb
1206
+ - fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
1206
1207
  - fastlane_core/lib/fastlane_core/core_ext/string.rb
1207
1208
  - fastlane_core/lib/fastlane_core/crash_reporter/crash_report_generator.rb
1208
1209
  - fastlane_core/lib/fastlane_core/crash_reporter/crash_report_sanitizer.rb