sbsm 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ === 1.0.8 / 19.02.2012
2
+
3
+ * Make greedy crawlers sleep for 2 seconds.
4
+
1
5
  === 1.0.7 / 24.01.2012
2
6
 
3
7
  * Fix untaint for trans_hander.rb
@@ -23,7 +23,6 @@
23
23
  # Index -- sbsm -- 04.03.2003 -- hwyss@ywesee.com
24
24
 
25
25
  module SBSM
26
- VERSION = '1.0.7'
27
26
  class Index
28
27
  def initialize
29
28
  @values = []
@@ -81,7 +81,7 @@ module SBSM
81
81
  'session_path' => '/',
82
82
  }
83
83
  if(is_crawler?)
84
- sleep 0.5
84
+ sleep 2.0
85
85
  sid = [ENV['DEFAULT_FLAVOR'], @cgi.params['language'], @cgi.user_agent].join('-')
86
86
  args.store('session_id', sid)
87
87
  end
@@ -0,0 +1 @@
1
+ VERSION = '1.0.8'
metadata CHANGED
@@ -1,69 +1,53 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: sbsm
3
- version: !ruby/object:Gem::Version
4
- hash: 25
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.8
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 0
9
- - 7
10
- version: 1.0.7
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Masaomi Hatakeyama, Zeno R.R. Davatz
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-01-25 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-02-19 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: rdoc
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &13305420 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 19
29
- segments:
30
- - 3
31
- - 10
32
- version: "3.10"
20
+ - !ruby/object:Gem::Version
21
+ version: '3.10'
33
22
  type: :development
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: hoe
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *13305420
25
+ - !ruby/object:Gem::Dependency
26
+ name: hoe
27
+ requirement: &13304920 !ruby/object:Gem::Requirement
39
28
  none: false
40
- requirements:
29
+ requirements:
41
30
  - - ~>
42
- - !ruby/object:Gem::Version
43
- hash: 27
44
- segments:
45
- - 2
46
- - 12
47
- version: "2.12"
31
+ - !ruby/object:Gem::Version
32
+ version: '2.13'
48
33
  type: :development
49
- version_requirements: *id002
34
+ prerelease: false
35
+ version_requirements: *13304920
50
36
  description: Application framework for state based session management
51
- email:
37
+ email:
52
38
  - mhatakeyama@ywesee.com, zdavatz@ywesee.com
53
39
  executables: []
54
-
55
40
  extensions: []
56
-
57
- extra_rdoc_files:
41
+ extra_rdoc_files:
58
42
  - History.txt
59
43
  - LICENCE.txt
60
- - Manifest.txt
61
44
  - README.txt
62
45
  - usage-en.txt
63
- files:
46
+ files:
47
+ - lib/version.rb
48
+ - lib/sbsm/index.rb
64
49
  - History.txt
65
50
  - LICENCE.txt
66
- - Manifest.txt
67
51
  - README.txt
68
52
  - Rakefile
69
53
  - data/_flavored_uri.grammar
@@ -79,7 +63,6 @@ files:
79
63
  - lib/sbsm/drbserver.rb
80
64
  - lib/sbsm/exception.rb
81
65
  - lib/sbsm/flavored_uri_parser.rb
82
- - lib/sbsm/index.rb
83
66
  - lib/sbsm/lookandfeel.rb
84
67
  - lib/sbsm/lookandfeelfactory.rb
85
68
  - lib/sbsm/lookandfeelwrapper.rb
@@ -112,39 +95,31 @@ files:
112
95
  - .gemtest
113
96
  homepage: http://scm.ywesee.com/?p=sbsm/.git;a=summary
114
97
  licenses: []
115
-
116
98
  post_install_message:
117
- rdoc_options:
99
+ rdoc_options:
118
100
  - --main
119
101
  - README.txt
120
- require_paths:
102
+ require_paths:
121
103
  - lib
122
- required_ruby_version: !ruby/object:Gem::Requirement
104
+ required_ruby_version: !ruby/object:Gem::Requirement
123
105
  none: false
124
- requirements:
125
- - - ">="
126
- - !ruby/object:Gem::Version
127
- hash: 3
128
- segments:
129
- - 0
130
- version: "0"
131
- required_rubygems_version: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ required_rubygems_version: !ruby/object:Gem::Requirement
132
111
  none: false
133
- requirements:
134
- - - ">="
135
- - !ruby/object:Gem::Version
136
- hash: 3
137
- segments:
138
- - 0
139
- version: "0"
112
+ requirements:
113
+ - - ! '>='
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
140
116
  requirements: []
141
-
142
117
  rubyforge_project: sbsm
143
118
  rubygems_version: 1.8.15
144
119
  signing_key:
145
120
  specification_version: 3
146
121
  summary: Application framework for state based session management
147
- test_files:
122
+ test_files:
148
123
  - test/test_drbserver.rb
149
124
  - test/test_index.rb
150
125
  - test/test_lookandfeel.rb
@@ -1,48 +0,0 @@
1
- History.txt
2
- LICENCE.txt
3
- Manifest.txt
4
- README.txt
5
- Rakefile
6
- data/_flavored_uri.grammar
7
- data/_uri.grammar
8
- data/_zone_uri.grammar
9
- data/flavored_uri.grammar
10
- data/uri.grammar
11
- data/zone_uri.grammar
12
- install.rb
13
- lib/cgi/drbsession.rb
14
- lib/sbsm/cgi.rb
15
- lib/sbsm/drb.rb
16
- lib/sbsm/drbserver.rb
17
- lib/sbsm/exception.rb
18
- lib/sbsm/flavored_uri_parser.rb
19
- lib/sbsm/index.rb
20
- lib/sbsm/lookandfeel.rb
21
- lib/sbsm/lookandfeelfactory.rb
22
- lib/sbsm/lookandfeelwrapper.rb
23
- lib/sbsm/redirector.rb
24
- lib/sbsm/request.rb
25
- lib/sbsm/session.rb
26
- lib/sbsm/state.rb
27
- lib/sbsm/time.rb
28
- lib/sbsm/trans_handler.rb
29
- lib/sbsm/turing.rb
30
- lib/sbsm/uri_parser.rb
31
- lib/sbsm/user.rb
32
- lib/sbsm/validator.rb
33
- lib/sbsm/viralstate.rb
34
- lib/sbsm/zone_uri_parser.rb
35
- test/data/dos_file.txt
36
- test/data/lnf_file.txt
37
- test/data/mac_file.txt
38
- test/stub/cgi.rb
39
- test/suite.rb
40
- test/test_drbserver.rb
41
- test/test_index.rb
42
- test/test_lookandfeel.rb
43
- test/test_session.rb
44
- test/test_state.rb
45
- test/test_trans_handler.rb
46
- test/test_user.rb
47
- test/test_validator.rb
48
- usage-en.txt