demo_mode 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/demo_mode/sessions_controller.rb +3 -0
- data/lib/demo_mode/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46e73fd41a2de481e57d7f7d7fcb472bf44f29f4869d5bdd821f018fd56ea0d9
|
4
|
+
data.tar.gz: 8cb5e91911955f47c15fb9287191357a50ffe6af24d0f3672bf1e049443ba179
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1609e4d9fbbaf1947ec091adb980f551b9a9fbd438aee36a8a6077be2348caf091bcb8935462eb42e160285477d32c40a12d91accde230855bbc986d7b9b75a5
|
7
|
+
data.tar.gz: 3d1f6a8ab675c5ae226dcde560af0da76b65690cbadc62d1fbe5d36e64fc75684f44d114d43e7bad8c1dee971a6e746c2b0cf4014151a018fde8e2cb546455d3
|
@@ -2,6 +2,9 @@ module DemoMode
|
|
2
2
|
class SessionsController < DemoMode::ApplicationController
|
3
3
|
skip_before_action :demo_splash!, raise: false
|
4
4
|
|
5
|
+
# Support link based session creation
|
6
|
+
skip_forgery_protection only: :create
|
7
|
+
|
5
8
|
def show
|
6
9
|
@session = Session.find(params[:id])
|
7
10
|
respond_to do |f|
|
data/lib/demo_mode/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: demo_mode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Griffith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|