Sha256: 247ad2b6befc26f9389bb98e06a956bcf5b3b8ad98d2ed6adca28c55c8fd2c77

Contents?: true

Size: 405 Bytes

Versions: 660

Compression:

Stored size: 405 Bytes

Contents

require 'faraday_middleware/response_middleware'

module FaradayMiddleware
  class PlistMiddleware < ResponseMiddleware
    dependency do
      require 'plist' unless Object.const_defined?("Plist")
    end

    define_parser do |body|
      body = body.force_encoding("UTF-8")
      Plist.parse_xml(body)
    end
  end
end

Faraday::Response.register_middleware(plist: FaradayMiddleware::PlistMiddleware)

Version data entries

660 entries across 660 versions & 5 rubygems

Version Path
fastlane-2.202.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.201.2 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.201.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.201.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.201.0.rc3 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.201.0.rc2 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.201.0.rc1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.200.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.199.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.198.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.198.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.197.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.196.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.195.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.194.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.193.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.193.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.192.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.191.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.190.0 spaceship/lib/spaceship/helper/plist_middleware.rb