Sha256: a2e6d91dae76979c89fa2a5f6be4272f5978851ddeee6f3bbe789141ee16d6ef

Contents?: true

Size: 239 Bytes

Versions: 14

Compression:

Stored size: 239 Bytes

Contents

# frozen_string_literal: true

class Roda
  module RodaPlugins
    module Ssl
      def self.configure(app)
        require 'rack/ssl-enforcer'
        app.use ::Rack::SslEnforcer
      end
    end
    register_plugin(:ssl, Ssl)
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
punk-0.3.6 lib/punk/plugins/ssl.rb
punk-0.3.5 lib/punk/plugins/ssl.rb
punk-0.3.4 lib/punk/plugins/ssl.rb
punk-0.3.3 lib/punk/plugins/ssl.rb
punk-0.3.2 lib/punk/plugins/ssl.rb
punk-0.3.1 lib/punk/plugins/ssl.rb
punk-0.2.0 lib/punk/plugins/ssl.rb
punk-0.1.4 lib/punk/plugins/ssl.rb
punk-0.1.3 lib/punk/plugins/ssl.rb
punk-0.1.2 lib/punk/plugins/ssl.rb
punk-0.1.0 lib/punk/plugins/ssl.rb
punk-0.0.3 lib/punk/plugins/ssl.rb
punk-0.0.2 lib/punk/plugins/ssl.rb
punk-0.0.1 lib/punk/plugins/ssl.rb