sbsm 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.txt +4 -0
  2. data/lib/sbsm/state.rb +4 -5
  3. data/lib/version.rb +1 -1
  4. metadata +8 -8
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.1.6 / 28.04.2012
2
+
3
+ * Updated http_headers in state class
4
+
1
5
  === 1.1.5 / 19.03.2012
2
6
 
3
7
  * Re-allow windows user to first process
data/lib/sbsm/state.rb CHANGED
@@ -20,7 +20,8 @@
20
20
  # ywesee - intellectual capital connected, Winterthurerstrasse 52, CH-8006 Z�rich, Switzerland
21
21
  # hwyss@ywesee.com
22
22
  #
23
- # State -- sbsm -- 22.10.2002 -- hwyss@ywesee.com
23
+ # SBSM::State -- sbsm -- 27.04.2012 -- yasaka@ywesee.com
24
+ # SBSM::State -- sbsm -- 22.10.2002 -- hwyss@ywesee.com
24
25
 
25
26
  module SBSM
26
27
  class ProcessingError < RuntimeError
@@ -41,7 +42,7 @@ module SBSM
41
42
  end
42
43
  class State
43
44
  attr_reader :errors, :infos, :events, :previous, :warnings, :model
44
- attr_accessor :next, :request_path, :redirected
45
+ attr_accessor :next, :request_path, :redirected, :http_headers
45
46
  DIRECT_EVENT = nil
46
47
  ZONE = nil
47
48
  ZONES = []
@@ -240,9 +241,7 @@ module SBSM
240
241
  }
241
242
  end
242
243
  model = @filter ? @filter.call(@model) : @model
243
- view = klass.new(model, @session)
244
- @http_headers = view.http_headers
245
- view
244
+ klass.new(model, @session)
246
245
  end
247
246
  def volatile?
248
247
  self::class::VOLATILE
data/lib/version.rb CHANGED
@@ -1 +1 @@
1
- VERSION = '1.1.5'
1
+ VERSION = '1.1.6'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sbsm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-19 00:00:00.000000000 Z
12
+ date: 2012-04-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdoc
16
- requirement: &10607400 !ruby/object:Gem::Requirement
16
+ requirement: &12135060 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '3.10'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *10607400
24
+ version_requirements: *12135060
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: hoe
27
- requirement: &10606960 !ruby/object:Gem::Requirement
27
+ requirement: &12134640 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '2.13'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *10606960
35
+ version_requirements: *12134640
36
36
  description: Application framework for state based session management
37
37
  email:
38
38
  - mhatakeyama@ywesee.com, zdavatz@ywesee.com
@@ -44,8 +44,6 @@ extra_rdoc_files:
44
44
  - README.txt
45
45
  - usage-en.txt
46
46
  files:
47
- - lib/version.rb
48
- - lib/sbsm/index.rb
49
47
  - History.txt
50
48
  - LICENCE.txt
51
49
  - README.txt
@@ -63,6 +61,7 @@ files:
63
61
  - lib/sbsm/drbserver.rb
64
62
  - lib/sbsm/exception.rb
65
63
  - lib/sbsm/flavored_uri_parser.rb
64
+ - lib/sbsm/index.rb
66
65
  - lib/sbsm/lookandfeel.rb
67
66
  - lib/sbsm/lookandfeelfactory.rb
68
67
  - lib/sbsm/lookandfeelwrapper.rb
@@ -78,6 +77,7 @@ files:
78
77
  - lib/sbsm/validator.rb
79
78
  - lib/sbsm/viralstate.rb
80
79
  - lib/sbsm/zone_uri_parser.rb
80
+ - lib/version.rb
81
81
  - test/data/dos_file.txt
82
82
  - test/data/lnf_file.txt
83
83
  - test/data/mac_file.txt