session_timeout_prompter 0.1.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +5 -1
- data/lib/session_timeout_prompter/version.rb +1 -1
- data/session_timeout_prompter.gemspec +25 -24
- metadata +27 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bfa29f34ce36d651e9f5040ce53bfd381b515ec
|
4
|
+
data.tar.gz: 86b284840c687e7c600a06ff799abf923931f812
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06eae5a8baf9491f0f7c689ae093eeaf508fe8e53f9e54974f74d45cd5fedcb64cbc73f9bfde5f62dfaec79d9f3ca08d42857fb8e2383c830f86796ea4059d87
|
7
|
+
data.tar.gz: 993da8e0dd8e0975e26d2c872887e00cd41ca982e904f72e4070928e9446068cf5f2e0f34b22b819dce25e69b8ab5430341ac0b1a1a84235e3eb466889c85dc6
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# Session Timeout Prompter
|
2
2
|
|
3
|
-
A Rails Engine to prompt the user when their session is about to timeout and allow them to extend it.
|
3
|
+
A Rails 5 Engine to prompt the user when their session is about to timeout and allow them to extend it.
|
4
|
+
|
5
|
+
## Dependencies
|
6
|
+
|
7
|
+
This only works with Bootstrap 3 at present, but we would be happy to receive a pull request for Bootstrap 4 compatibility.
|
4
8
|
|
5
9
|
## Installation
|
6
10
|
|
@@ -1,42 +1,43 @@
|
|
1
1
|
# coding: utf-8
|
2
|
-
lib = File.expand_path(
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require
|
4
|
+
require 'session_timeout_prompter/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
7
|
+
spec.name = 'session_timeout_prompter'
|
8
8
|
spec.version = SessionTimeoutPrompter::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
9
|
+
spec.authors = ['Ant Nettleship', 'Ryan Bibby']
|
10
|
+
spec.email = ['anthony.nettleship@epigenesys.org.uk', 'ryan.bibby@epigenesys.org.uk']
|
11
11
|
|
12
|
-
spec.summary =
|
13
|
-
spec.homepage =
|
14
|
-
spec.license =
|
12
|
+
spec.summary = 'A Rails Engine to prompt the user when their session is about to timeout and allow them to extend it.'
|
13
|
+
spec.homepage = 'https://github.com/epigenesys/session-timeout-prompter'
|
14
|
+
spec.license = 'MIT'
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
17
|
f.match(%r{^(test|spec|features|src)/})
|
18
18
|
end
|
19
|
-
spec.bindir =
|
19
|
+
spec.bindir = 'exe'
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
|
-
spec.require_paths = [
|
21
|
+
spec.require_paths = ['lib']
|
22
22
|
|
23
|
-
spec.add_dependency 'rails', '>=
|
24
|
-
spec.add_dependency 'railties', '>=
|
23
|
+
spec.add_dependency 'rails', '>= 5.0'
|
24
|
+
spec.add_dependency 'railties', '>= 5.0'
|
25
25
|
|
26
|
-
spec.add_development_dependency
|
27
|
-
spec.add_development_dependency
|
28
|
-
spec.add_development_dependency
|
29
|
-
spec.add_development_dependency
|
30
|
-
spec.add_development_dependency
|
26
|
+
spec.add_development_dependency 'bundler', '~> 1.15'
|
27
|
+
spec.add_development_dependency 'rake', '~> 10.0'
|
28
|
+
spec.add_development_dependency 'rspec', '>= 3.0'
|
29
|
+
spec.add_development_dependency 'rspec-rails', '>= 3.0'
|
30
|
+
spec.add_development_dependency 'rails', '>= 4.0'
|
31
31
|
spec.add_development_dependency 'jquery-rails', '>= 4.0'
|
32
|
-
spec.add_development_dependency 'bootstrap-sass', '~> 3.
|
32
|
+
spec.add_development_dependency 'bootstrap-sass', '~> 3.4'
|
33
33
|
spec.add_development_dependency 'sass-rails', '>= 3.2'
|
34
|
-
spec.add_development_dependency
|
34
|
+
spec.add_development_dependency 'capybara', '>= 2.4'
|
35
35
|
spec.add_development_dependency 'poltergeist'
|
36
36
|
spec.add_development_dependency 'launchy'
|
37
|
-
spec.add_development_dependency
|
38
|
-
spec.add_development_dependency 'sqlite3'
|
39
|
-
spec.add_development_dependency
|
40
|
-
spec.add_development_dependency
|
41
|
-
spec.add_development_dependency
|
37
|
+
spec.add_development_dependency 'byebug'
|
38
|
+
spec.add_development_dependency 'sqlite3', '~> 1.3.6'
|
39
|
+
spec.add_development_dependency 'jasmine'
|
40
|
+
spec.add_development_dependency 'babel-transpiler'
|
41
|
+
spec.add_development_dependency 'phantomjs'
|
42
|
+
spec.add_development_dependency 'puma'
|
42
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: session_timeout_prompter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ant Nettleship
|
8
|
+
- Ryan Bibby
|
8
9
|
autorequire:
|
9
10
|
bindir: exe
|
10
11
|
cert_chain: []
|
11
|
-
date:
|
12
|
+
date: 2019-02-28 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rails
|
@@ -16,28 +17,28 @@ dependencies:
|
|
16
17
|
requirements:
|
17
18
|
- - ">="
|
18
19
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
20
|
+
version: '5.0'
|
20
21
|
type: :runtime
|
21
22
|
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
25
|
- - ">="
|
25
26
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
27
|
+
version: '5.0'
|
27
28
|
- !ruby/object:Gem::Dependency
|
28
29
|
name: railties
|
29
30
|
requirement: !ruby/object:Gem::Requirement
|
30
31
|
requirements:
|
31
32
|
- - ">="
|
32
33
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
34
|
+
version: '5.0'
|
34
35
|
type: :runtime
|
35
36
|
prerelease: false
|
36
37
|
version_requirements: !ruby/object:Gem::Requirement
|
37
38
|
requirements:
|
38
39
|
- - ">="
|
39
40
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
41
|
+
version: '5.0'
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: bundler
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,14 +129,14 @@ dependencies:
|
|
128
129
|
requirements:
|
129
130
|
- - "~>"
|
130
131
|
- !ruby/object:Gem::Version
|
131
|
-
version: 3.
|
132
|
+
version: '3.4'
|
132
133
|
type: :development
|
133
134
|
prerelease: false
|
134
135
|
version_requirements: !ruby/object:Gem::Requirement
|
135
136
|
requirements:
|
136
137
|
- - "~>"
|
137
138
|
- !ruby/object:Gem::Version
|
138
|
-
version: 3.
|
139
|
+
version: '3.4'
|
139
140
|
- !ruby/object:Gem::Dependency
|
140
141
|
name: sass-rails
|
141
142
|
requirement: !ruby/object:Gem::Requirement
|
@@ -208,6 +209,20 @@ dependencies:
|
|
208
209
|
version: '0'
|
209
210
|
- !ruby/object:Gem::Dependency
|
210
211
|
name: sqlite3
|
212
|
+
requirement: !ruby/object:Gem::Requirement
|
213
|
+
requirements:
|
214
|
+
- - "~>"
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: 1.3.6
|
217
|
+
type: :development
|
218
|
+
prerelease: false
|
219
|
+
version_requirements: !ruby/object:Gem::Requirement
|
220
|
+
requirements:
|
221
|
+
- - "~>"
|
222
|
+
- !ruby/object:Gem::Version
|
223
|
+
version: 1.3.6
|
224
|
+
- !ruby/object:Gem::Dependency
|
225
|
+
name: jasmine
|
211
226
|
requirement: !ruby/object:Gem::Requirement
|
212
227
|
requirements:
|
213
228
|
- - ">="
|
@@ -221,7 +236,7 @@ dependencies:
|
|
221
236
|
- !ruby/object:Gem::Version
|
222
237
|
version: '0'
|
223
238
|
- !ruby/object:Gem::Dependency
|
224
|
-
name:
|
239
|
+
name: babel-transpiler
|
225
240
|
requirement: !ruby/object:Gem::Requirement
|
226
241
|
requirements:
|
227
242
|
- - ">="
|
@@ -235,7 +250,7 @@ dependencies:
|
|
235
250
|
- !ruby/object:Gem::Version
|
236
251
|
version: '0'
|
237
252
|
- !ruby/object:Gem::Dependency
|
238
|
-
name:
|
253
|
+
name: phantomjs
|
239
254
|
requirement: !ruby/object:Gem::Requirement
|
240
255
|
requirements:
|
241
256
|
- - ">="
|
@@ -249,7 +264,7 @@ dependencies:
|
|
249
264
|
- !ruby/object:Gem::Version
|
250
265
|
version: '0'
|
251
266
|
- !ruby/object:Gem::Dependency
|
252
|
-
name:
|
267
|
+
name: puma
|
253
268
|
requirement: !ruby/object:Gem::Requirement
|
254
269
|
requirements:
|
255
270
|
- - ">="
|
@@ -265,6 +280,7 @@ dependencies:
|
|
265
280
|
description:
|
266
281
|
email:
|
267
282
|
- anthony.nettleship@epigenesys.org.uk
|
283
|
+
- ryan.bibby@epigenesys.org.uk
|
268
284
|
executables: []
|
269
285
|
extensions: []
|
270
286
|
extra_rdoc_files: []
|