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.189.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.188.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.187.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.186.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.185.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.185.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.184.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.184.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.183.2 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.183.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.183.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.182.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.181.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.180.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.180.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.179.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.178.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.177.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.176.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.175.0 spaceship/lib/spaceship/helper/plist_middleware.rb