Sha256: 52d2ff349c20543b29c58c207bbbe75ff9470060104bc1343e409827f4f8f9f9

Contents?: true

Size: 198 Bytes

Versions: 40

Compression:

Stored size: 198 Bytes

Contents

class OmniAuth::Test::PhonySession
  def initialize(app); @app = app end
  def call(env)
    @session ||= (env['rack.session'] || {})
    env['rack.session'] = @session
    @app.call(env)
  end
end

Version data entries

40 entries across 40 versions & 2 rubygems

Version Path
omniauth-1.1.4 lib/omniauth/test/phony_session.rb
omniauth-1.1.3 lib/omniauth/test/phony_session.rb
omniauth-1.1.2 lib/omniauth/test/phony_session.rb
omniauth-1.1.1 lib/omniauth/test/phony_session.rb
omniauth-1.1.0 lib/omniauth/test/phony_session.rb
omniauth-1.0.3 lib/omniauth/test/phony_session.rb
omniauth-1.0.2 lib/omniauth/test/phony_session.rb
omniauth-1.0.1 lib/omniauth/test/phony_session.rb
omniauth-1.0.0 lib/omniauth/test/phony_session.rb
omniauth-1.0.0.rc2 lib/omniauth/test/phony_session.rb
omniauth-1.0.0.rc1 lib/omniauth/test/phony_session.rb
oa-core-0.3.2 lib/omniauth/test/phony_session.rb
omniauth-1.0.0.beta1 lib/omniauth/test/phony_session.rb
omniauth-1.0.0.pr2 lib/omniauth/test/phony_session.rb
omniauth-1.0.0.pr1 lib/omniauth/test/phony_session.rb
oa-core-0.3.0 lib/omniauth/test/phony_session.rb
oa-core-0.3.0.rc3 lib/omniauth/test/phony_session.rb
omniauth-0.2.6 oa-core/lib/omniauth/test/phony_session.rb
oa-core-0.2.6 lib/omniauth/test/phony_session.rb
omniauth-0.2.5 oa-core/lib/omniauth/test/phony_session.rb