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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de13f405a18e59274f603e31f18c84f9de6d294f
4
- data.tar.gz: 9ce09b2313140fd2249111b398f51a3ea460737e
3
+ metadata.gz: 33433684e0ddf6d5ea692b73352df41cf6515f0c
4
+ data.tar.gz: 8d5c29273d9ca46fdd18facdca7585621543541d
5
5
  SHA512:
6
- metadata.gz: b2943fcd07a914091f625448f1ecc8905af3b77cffedadf9bc333ae60ffdd96b6f8782244e07dfe25c590bb78ba872cb3fd64d0d5a136a878745140cbb530ca7
7
- data.tar.gz: 7529d31face2e44dacbdcb003a6e9fb2f8b16462829ed82a28e4982de32c5687405f05c40cca49db479162371f47be8a8a44a8bf0d2e0123bc2d5392d555c430
6
+ metadata.gz: cddbe4ec1264f5d36ce6d4bb5e93e90d8b7a3cab3aad95b10e292874ed991196b6e8f5c4fe7d88c411e11e9256191870e6bcdadf536e2f20f7896b4bbede8dcc
7
+ data.tar.gz: 2c7f96f42acc17a18227478ce2099903f2f35c137ab700e8caa38b7595502a41b5d6a3912b4c63a7c9ed6c44dea04a3f71286fc99653e9bb137fa30018e4f928
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- incline (0.2.24)
4
+ incline (0.2.25)
5
5
  ansi (~> 1.5.0)
6
6
  bcrypt
7
7
  bootstrap-sass
@@ -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 :cookie_store, key: app.cookie_name('session')
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
@@ -1,3 +1,3 @@
1
1
  module Incline
2
- VERSION = "0.2.24"
2
+ VERSION = "0.2.25"
3
3
  end
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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: incline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.24
4
+ version: 0.2.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Beau Barker