incline 0.2.24 → 0.2.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/incline/engine.rb +1 -1
- data/lib/incline/version.rb +1 -1
- data/lib/incline.rb +7 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33433684e0ddf6d5ea692b73352df41cf6515f0c
|
4
|
+
data.tar.gz: 8d5c29273d9ca46fdd18facdca7585621543541d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cddbe4ec1264f5d36ce6d4bb5e93e90d8b7a3cab3aad95b10e292874ed991196b6e8f5c4fe7d88c411e11e9256191870e6bcdadf536e2f20f7896b4bbede8dcc
|
7
|
+
data.tar.gz: 2c7f96f42acc17a18227478ce2099903f2f35c137ab700e8caa38b7595502a41b5d6a3912b4c63a7c9ed6c44dea04a3f71286fc99653e9bb137fa30018e4f928
|
data/Gemfile.lock
CHANGED
data/lib/incline/engine.rb
CHANGED
@@ -84,7 +84,7 @@ module Incline
|
|
84
84
|
Rails.backtrace_cleaner.add_silencer { |line| line =~ /rvm/ }
|
85
85
|
|
86
86
|
# Set the session cookie name.
|
87
|
-
app.config.session_store
|
87
|
+
app.config.session_store Incline::session_store, key: app.cookie_name('session')
|
88
88
|
|
89
89
|
# Configure the app to work with the library.
|
90
90
|
Incline::Engine::add_helpers_to app
|
data/lib/incline/version.rb
CHANGED
data/lib/incline.rb
CHANGED
@@ -5,6 +5,13 @@ require 'erb'
|
|
5
5
|
##
|
6
6
|
# A Rails quick start library.
|
7
7
|
module Incline
|
8
|
+
|
9
|
+
##
|
10
|
+
# Allows the session store to be configured.
|
11
|
+
#
|
12
|
+
# Incline::session_store = :cookie_store
|
13
|
+
mattr_accessor :session_store
|
14
|
+
self.session_store = :cookie_store
|
8
15
|
|
9
16
|
##
|
10
17
|
# Gets the automatic email configuration for the Incline application.
|