merb-gen 1.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@ Merb::Config.use do |c|
|
|
13
13
|
|
14
14
|
# cookie session store configuration
|
15
15
|
c[:session_secret_key] = '<%= SHA1.new(rand(100000000000).to_s).to_s %>' # required for cookie session store
|
16
|
-
|
16
|
+
c[:session_id_key] = '_<%= base_name %>_session_id' # cookie session id key, defaults to "_session_id"
|
17
17
|
end
|
18
18
|
|
19
19
|
Merb::BootLoader.before_app_loads do
|
@@ -31,7 +31,7 @@ Merb::Config.use { |c|
|
|
31
31
|
# c[:log_file] = Merb.root / "log" / "merb.log",
|
32
32
|
c[:use_mutex] = false,
|
33
33
|
c[:session_store] = 'cookie',
|
34
|
-
c[:session_id_key] = '_session_id',
|
34
|
+
c[:session_id_key] = '_<%= base_name %>_session_id',
|
35
35
|
c[:session_secret_key] = '<%= SHA1.new(rand(100000000000).to_s).to_s %>',
|
36
36
|
c[:exception_details] = true,
|
37
37
|
c[:reload_classes] = true,
|
@@ -12,7 +12,7 @@ Merb::Config.use do |c|
|
|
12
12
|
|
13
13
|
# cookie session store configuration
|
14
14
|
c[:session_secret_key] = '<%= SHA1.new(rand(100000000000).to_s).to_s %>' # required for cookie session store
|
15
|
-
|
15
|
+
c[:session_id_key] = '_<%= base_name %>_session_id' # cookie session id key, defaults to "_session_id"
|
16
16
|
end
|
17
17
|
|
18
18
|
Merb::BootLoader.before_app_loads do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: merb-gen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Nicklas
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-11-
|
12
|
+
date: 2008-11-18 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
23
|
+
version: 1.0.1
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: templater
|