merb-slices 1.0.8.1 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,7 @@ Merb::Config.use do |c|
28
28
  # c[:session_id_key] = '_session_id'
29
29
 
30
30
  # The session_secret_key is only required for the cookie session store.
31
- c[:session_secret_key] = '<%= SHA1.new(rand(100000000000).to_s).to_s %>'
31
+ c[:session_secret_key] = '<%= Digest::SHA1.hexdigest(rand(100000000000).to_s).to_s %>'
32
32
 
33
33
  # There are various options here, by default Merb comes with 'cookie',
34
34
  # 'memory', 'memcache' or 'container'.
@@ -24,7 +24,7 @@
24
24
  Merb::Config.use do |c|
25
25
 
26
26
  # The session_secret_key is only required for the cookie session store.
27
- c[:session_secret_key] = '<%= SHA1.new(rand(100000000000).to_s).to_s %>'
27
+ c[:session_secret_key] = '<%= Digest::SHA1.hexdigest(rand(100000000000).to_s).to_s %>'
28
28
 
29
29
  # There are various options here, by default Merb comes with 'cookie',
30
30
  # 'memory', 'memcache' or 'container'.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merb-slices
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8.1
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabien Franzen
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-19 00:00:00 -07:00
12
+ date: 2009-02-12 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: 1.0.8.1
23
+ version: 1.0.9
24
24
  version:
25
25
  description: Merb-Slices is a Merb plugin for using and creating application 'slices' which help you modularize your application.
26
26
  email: info@fabien.be