banana_split 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,9 +17,14 @@ module BananaSplit
17
17
  end
18
18
 
19
19
  def session_id
20
+ banana_init_session if request.session_options[:id].blank?
20
21
  request.session_options[:id]
21
22
  end
22
23
  end
23
24
 
25
+ def banana_init_session
26
+ session['banana_session_init_hack'] = 'this is a bit of a hack to make sure the session is always initialized'
27
+ session.delete('banana_session_init_hack')
28
+ end
24
29
  end
25
30
  end
@@ -2,7 +2,7 @@ module BananaSplit
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 3
5
+ TINY = 4
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: banana_split
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Dennis Plougman Buus
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-02-25 00:00:00 +01:00
14
+ date: 2011-03-02 00:00:00 +01:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency