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.225.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.224.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.223.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.223.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.222.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.221.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.221.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.220.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.219.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.218.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-security-patched-2.216.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.217.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.216.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.215.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.215.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-mercafacil-2.214.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.214.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.213.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.212.2 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane_pricing_fix-2.212.1 spaceship/lib/spaceship/helper/plist_middleware.rb