diff --git a/README.md b/README.md index 92c1fb3..e439355 100644 --- a/README.md +++ b/README.md @@ -95,3 +95,13 @@ Version 2.0.1 : Fix session-expiry check drifting in background/inactive tabs Version 2.0.0 : **Breaking change** — default Devise behaviour now correctly computes remaining session time from the Warden last-request timestamp rather than always returning the full timeout. `current_user` is no longer exposed to the session check partial. Added `session_active_proc` configuration option for non-Devise session support. Fixed setTimeout multiplier (5000 → 1000) so session checks fire at the correct interval. Bump your dependency to `>= 2.0.0`. Version 1.1.0 : Added optional nonce Version 0.2.1 : Added explicit reference to Devise (which is required) + +## Licence + +The gem is available as open source under the terms of the [MIT Licence](https://opensource.org/licenses/MIT). + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicence, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/session-check.gemspec b/session-check.gemspec index 8739831..6653d75 100644 --- a/session-check.gemspec +++ b/session-check.gemspec @@ -8,8 +8,8 @@ require 'session/check/version' Gem::Specification.new do |s| s.name = 'session-check' s.version = Session::Check::VERSION - s.authors = ['Harry Lascelles'] - s.email = ['harry@harrylascelles.com'] + s.authors = ["Silvercat Devs"] + s.email = ["dev@silvercat.com"] s.homepage = 'https://github.com/bambooengineering/session-check' s.summary = 'A gem for JS clients to check if their session has expired.' s.license = 'MIT'