demo_mode 1.1.1 → 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: 46e73fd41a2de481e57d7f7d7fcb472bf44f29f4869d5bdd821f018fd56ea0d9
4
- data.tar.gz: 8cb5e91911955f47c15fb9287191357a50ffe6af24d0f3672bf1e049443ba179
3
+ metadata.gz: 4b7267b0e0096c7bf3003f8208dd32d8a2db0d6a49d4a645d75d962f15395cfa
4
+ data.tar.gz: e3e3b0c6fdb6c2950025cff88f3d79e037ec258763a0d2677898b9e0c40fe71f
5
5
  SHA512:
6
- metadata.gz: 1609e4d9fbbaf1947ec091adb980f551b9a9fbd438aee36a8a6077be2348caf091bcb8935462eb42e160285477d32c40a12d91accde230855bbc986d7b9b75a5
7
- data.tar.gz: 3d1f6a8ab675c5ae226dcde560af0da76b65690cbadc62d1fbe5d36e64fc75684f44d114d43e7bad8c1dee971a6e746c2b0cf4014151a018fde8e2cb546455d3
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');
@@ -1,3 +1,3 @@
1
1
  module DemoMode
2
- VERSION = '1.1.1'.freeze
2
+ VERSION = '1.2.0'.freeze
3
3
  end
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.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-06-12 00:00:00.000000000 Z
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: '5.2'
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: '5.2'
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: '2.7'
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.3.5
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: []