demo_mode 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b7267b0e0096c7bf3003f8208dd32d8a2db0d6a49d4a645d75d962f15395cfa
|
4
|
+
data.tar.gz: e3e3b0c6fdb6c2950025cff88f3d79e037ec258763a0d2677898b9e0c40fe71f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bb7fa0335b8de78b772e72b976a2d05cd89f4a7f406eb073cd9dd398a7f057b603b3fdc26578c341e22965de8c9f0770da2504196973a962bd3a66c43393ddb
|
7
|
+
data.tar.gz: f248e3d0cba23586bcf7af1ed7eee72f1ed8c21d27174e20c345ca26b99501041aaa768d056354ee0bace46a32e1e97ab38d6903d7efa46e90955510442ea01f
|
@@ -90,6 +90,8 @@
|
|
90
90
|
return {
|
91
91
|
init: function() {
|
92
92
|
var input = document.querySelector('input[data-behavior=table-filter]');
|
93
|
+
if (!input) return;
|
94
|
+
|
93
95
|
input.oninput = debounce(onInputEvent, 250);
|
94
96
|
var urlParams = new URLSearchParams(window.location.search);
|
95
97
|
var search = urlParams.get('search');
|
@@ -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.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Griffith
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '6.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '6.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sprockets-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,7 +104,7 @@ licenses:
|
|
104
104
|
metadata:
|
105
105
|
rubygems_mfa_required: 'true'
|
106
106
|
changelog_uri: https://github.com/Betterment/demo_mode/blob/main/CHANGELOG.md
|
107
|
-
post_install_message:
|
107
|
+
post_install_message:
|
108
108
|
rdoc_options: []
|
109
109
|
require_paths:
|
110
110
|
- lib
|
@@ -112,15 +112,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
112
112
|
requirements:
|
113
113
|
- - ">="
|
114
114
|
- !ruby/object:Gem::Version
|
115
|
-
version: '
|
115
|
+
version: '3.0'
|
116
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
117
|
requirements:
|
118
118
|
- - ">="
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
|
-
rubygems_version: 3.
|
123
|
-
signing_key:
|
122
|
+
rubygems_version: 3.4.18
|
123
|
+
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: A configurable demo mode for your Rails app.
|
126
126
|
test_files: []
|