Sha256: 25983d9b37dcaa0ef0704a11327a8abeb1dc553d1da04ff505a559bbe3c7a641

Contents?: true

Size: 690 Bytes

Versions: 105

Compression:

Stored size: 690 Bytes

Contents

# To be used instead of require "cfpropertylist". Restores extensions from
# Plist overwritten by CFPropertyList.

require "cfpropertylist"
require "plist"

# Brute-force solution to conflict between #to_plist introduced by
# CFPropertyList and plist. Remove the method added by CFPropertyList
# and restore the method from Plist::Emit. Each class gains a
# #to_binary_plist method equivalent to #to_plist from CFPropertyList.
#
# CFPropertyList also adds Enumerator#to_plist, but there is no such
# method from Plist, so leave it.
[Array, Hash].each do |c|
  c.send(:alias_method, :to_binary_plist, :to_plist)
  c.send(:remove_method, :to_plist)
  c.module_eval("include Plist::Emit")
end

Version data entries

105 entries across 105 versions & 1 rubygems

Version Path
fastlane-2.90.0.beta.20180404050031 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.90.0.beta.20180403050108 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.89.0 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.89.0.beta.20180402050042 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.89.0.beta.20180401050120 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.89.0.beta.20180331050023 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.89.0.beta.20180330050046 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.89.0.beta.20180329050050 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.89.0.beta.20180328050040 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.88.0 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.88.0.beta.20180327050037 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.88.0.beta.20180325050025 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.88.0.beta.20180324050059 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.87.0 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.87.0.beta.20180323050014 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.87.0.beta.20180322050115 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.86.2 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.87.0.beta.20180321050017 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.86.1 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb
fastlane-2.87.0.beta.20180320050108 fastlane_core/lib/fastlane_core/core_ext/cfpropertylist.rb