Sha256: 3f848385c5f1c8dd46c6a0e85d88ee0c4d39ade2e852b7599d7cf79aeac1e549

Contents?: true

Size: 350 Bytes

Versions: 172

Compression:

Stored size: 350 Bytes

Contents

require 'faraday_middleware/response_middleware'

module FaradayMiddleware
  class PlistMiddleware < ResponseMiddleware
    dependency do
      require 'plist' unless defined?(::Plist)
    end

    define_parser do |body|
      Plist.parse_xml(body)
    end
  end
end

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

Version data entries

172 entries across 172 versions & 2 rubygems

Version Path
fastlane-2.9.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.8.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.7.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.6.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.5.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.4.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.3.1 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.3.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.2.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.1.3 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.1.2 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.1.1 spaceship/lib/spaceship/helper/plist_middleware.rb
spaceship-1.0.0 lib/spaceship/helper/plist_middleware.rb
fastlane-2.1.0 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.0.5 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.0.4 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.0.3 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.0.2 spaceship/lib/spaceship/helper/plist_middleware.rb
fastlane-2.0.1 spaceship/lib/spaceship/helper/plist_middleware.rb
spaceship-0.39.0 lib/spaceship/helper/plist_middleware.rb