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.212.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.212.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.211.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.210.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.210.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.209.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.209.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.208.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.207.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.206.2 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.206.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.206.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.205.2 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.205.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.205.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.204.3 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.204.2 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.204.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.204.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.203.0 spaceship/lib/spaceship/helper/plist_middleware.rb