waw 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/{test/spec/fixtures/empty/waw.deploy → .gemtest} +0 -0
- data/CHANGELOG.md +85 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +37 -0
- data/{LICENCE.rdoc → LICENCE.md} +2 -2
- data/Manifest.txt +19 -0
- data/{README.rdoc → README.md} +11 -9
- data/Rakefile +23 -0
- data/lib/waw.rb +3 -10
- data/lib/waw/controllers/action_controller.rb +7 -2
- data/lib/waw/controllers/static/matcher.rb +77 -8
- data/lib/waw/controllers/static/waw_access.rb +2 -2
- data/lib/waw/loader.rb +3 -0
- data/lib/waw/version.rb +14 -0
- data/{test/spec → spec}/assumptions_spec.rb +1 -0
- data/{test/spec → spec}/controllers/action_controller_spec.rb +1 -1
- data/{test/spec → spec}/controllers/static/waw_access_spec.rb +1 -2
- data/{test/spec → spec}/environment_utils_spec.rb +1 -1
- data/{test/spec → spec}/ext/core/hash_spec.rb +1 -0
- data/{test/spec → spec}/fixtures.rb +0 -0
- data/{test/spec → spec}/fixtures/action/config/default.cfg +0 -0
- data/{test/spec → spec}/fixtures/action/lib/action_controller_test.rb +1 -1
- data/{test/spec → spec}/fixtures/action/waw.deploy +0 -0
- data/{test/spec → spec}/fixtures/action/waw.routing +0 -0
- data/{test/spec/fixtures/empty/waw.routing → spec/fixtures/empty/waw.deploy} +0 -0
- data/spec/fixtures/empty/waw.routing +0 -0
- data/{test/spec → spec}/fullstate/on_class_spec.rb +1 -1
- data/{test/spec → spec}/fullstate/on_instance_spec.rb +1 -1
- data/{test/spec → spec}/fullstate/session_spec.rb +1 -1
- data/{test/spec → spec}/fullstate/variable_spec.rb +1 -1
- data/{test/spec → spec}/resource_collection_spec.rb +1 -1
- data/spec/spec_helper.rb +5 -0
- data/{test/spec → spec}/tools/mail/mail_agent_spec.rb +1 -1
- data/{test/spec → spec}/tools/mail/mail_spec.rb +1 -1
- data/{test/spec → spec}/tools/mail/mailbox_spec.rb +1 -1
- data/{test/spec → spec}/tools/mail/template_spec.rb +1 -1
- data/{test/spec → spec}/validation/array_validation_spec.rb +1 -1
- data/{test/spec → spec}/validation/array_validator_spec.rb +1 -1
- data/{test/spec → spec}/validation/date_validation_spec.rb +1 -1
- data/{test/spec → spec}/validation/datetime_validation_spec.rb +1 -0
- data/{test/spec → spec}/validation/default_validation_spec.rb +1 -1
- data/{test/spec → spec}/validation/disjuctive_validation_spec.rb +1 -1
- data/{test/spec → spec}/validation/errors_spec.rb +1 -1
- data/{test/spec → spec}/validation/file_validator_spec.rb +1 -1
- data/{test/spec → spec}/validation/mail_validation_spec.rb +1 -1
- data/{test/spec → spec}/validation/missing_validation_spec.rb +1 -1
- data/{test/spec → spec}/validation/same_validation_spec.rb +1 -1
- data/{test/spec → spec}/validation/signature_intuition_spec.rb +1 -1
- data/{test/spec → spec}/validation/signature_spec.rb +1 -2
- data/{test/spec → spec}/validation/validation_spec.rb +1 -2
- data/spec/waw_spec.rb +8 -0
- data/{test/spec → spec}/wspec/html_analysis/tag_spec.rb +1 -1
- data/{test/spec → spec}/wspec/html_analysis_spec.rb +1 -1
- data/tasks/debug_mail.rake +78 -0
- data/tasks/debug_mail.txt +13 -0
- data/tasks/gem.rake +68 -0
- data/tasks/oldies.rake +22 -0
- data/tasks/spec_test.rake +79 -0
- data/tasks/unit_test.rake +77 -0
- data/tasks/yard.rake +51 -0
- data/test/bricks/action_controller/config/test.cfg +3 -0
- data/test/bricks/action_controller/logs/webapp.log +489 -0
- data/test/bricks/action_controller/logs/webapp.log.20110122 +84 -0
- data/test/bricks/action_controller/test/action_controller.wspec +6 -0
- data/test/bricks/action_controller/test/test_all.rb +20 -0
- data/test/bricks/action_controller/waw.deploy +1 -0
- data/test/bricks/action_controller/waw.routing +15 -0
- data/test/bricks/static_controller/logs/webapp.log +193 -50
- data/test/bricks/static_controller/logs/webapp.log.20110122 +84 -0
- data/test/bricks/static_controller/test/static_controller.wspec +17 -5
- data/waw.gemspec +191 -0
- data/waw.noespec +59 -0
- metadata +332 -90
- data/test/spec/test_all.rb +0 -7
@@ -1,12 +1,24 @@
|
|
1
1
|
requirement("Friendly static control should be provided by waw") {
|
2
2
|
|
3
|
-
browser.location = index_page + "
|
4
|
-
i_see "
|
5
|
-
|
3
|
+
browser.location = index_page + "123"
|
4
|
+
i_see "is_number"
|
5
|
+
|
6
6
|
browser.location = index_page + "hello"
|
7
7
|
i_see "[a-z]+"
|
8
8
|
|
9
|
-
browser.location = index_page + "
|
10
|
-
i_see "
|
9
|
+
browser.location = index_page + "not_existing"
|
10
|
+
i_see "Not found"
|
11
11
|
|
12
|
+
browser.location = index_page + 'boolean?param1=true¶m2=true'
|
13
|
+
i_see "has_param1 & has_param2"
|
14
|
+
|
15
|
+
browser.location = index_page + 'boolean?param1=true'
|
16
|
+
i_see "has_param1 | has_param2"
|
17
|
+
|
18
|
+
browser.location = index_page + 'boolean?param2=true'
|
19
|
+
i_see "has_param1 | has_param2"
|
20
|
+
|
21
|
+
browser.location = index_page + 'boolean?param3=true'
|
22
|
+
i_see "(has_param1 | has_param2).negate"
|
23
|
+
|
12
24
|
}
|
data/waw.gemspec
ADDED
@@ -0,0 +1,191 @@
|
|
1
|
+
# We require your library, mainly to have access to the VERSION number.
|
2
|
+
# Feel free to set $version manually.
|
3
|
+
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
4
|
+
require "waw/version"
|
5
|
+
$version = Waw::Version.to_s
|
6
|
+
|
7
|
+
#
|
8
|
+
# This is your Gem specification. Default values are provided so that your library
|
9
|
+
# should be correctly packaged given what you have described in the .noespec file.
|
10
|
+
#
|
11
|
+
Gem::Specification.new do |s|
|
12
|
+
|
13
|
+
################################################################### ABOUT YOUR GEM
|
14
|
+
|
15
|
+
# Gem name (required)
|
16
|
+
s.name = "waw"
|
17
|
+
|
18
|
+
# Gem version (required)
|
19
|
+
s.version = $version
|
20
|
+
|
21
|
+
# A short summary of this gem
|
22
|
+
#
|
23
|
+
# This is displayed in `gem list -d`.
|
24
|
+
s.summary = "Waw - Web Another Way"
|
25
|
+
|
26
|
+
# A long description of this gem (required)
|
27
|
+
#
|
28
|
+
# The description should be more detailed than the summary. For example,
|
29
|
+
# you might wish to copy the entire README into the description.
|
30
|
+
s.description = "Waw is a ruby web framework that aims at thinking the web another way. It's has been\noriginally designed in the ReQuest research project of the University of Louvain, has\nbeen entirely rewritten in ruby, and is still actively developped to reach its first\nreal stable version ;-)"
|
31
|
+
|
32
|
+
# The URL of this gem home page (optional)
|
33
|
+
s.homepage = "http://github.com/blambeau/waw"
|
34
|
+
|
35
|
+
# Gem publication date (required but auto)
|
36
|
+
#
|
37
|
+
# Today is automatically used by default, uncomment only if
|
38
|
+
# you know what you do!
|
39
|
+
#
|
40
|
+
# s.date = Time.now.strftime('%Y-%m-%d')
|
41
|
+
|
42
|
+
# The license(s) for the library. Each license must be a short name, no
|
43
|
+
# more than 64 characters.
|
44
|
+
#
|
45
|
+
# s.licences = %w{}
|
46
|
+
|
47
|
+
# The rubyforge project this gem lives under (optional)
|
48
|
+
#
|
49
|
+
# s.rubyforge_project = nil
|
50
|
+
|
51
|
+
################################################################### ABOUT THE AUTHORS
|
52
|
+
|
53
|
+
# The list of author names who wrote this gem.
|
54
|
+
#
|
55
|
+
# If you are providing multiple authors and multiple emails they should be
|
56
|
+
# in the same order.
|
57
|
+
#
|
58
|
+
s.authors = ["Bernard Lambeau", "Louis Lambeau"]
|
59
|
+
|
60
|
+
# Contact emails for this gem
|
61
|
+
#
|
62
|
+
# If you are providing multiple authors and multiple emails they should be
|
63
|
+
# in the same order.
|
64
|
+
#
|
65
|
+
# NOTE: Somewhat strangly this attribute is always singular!
|
66
|
+
# Don't replace by s.emails = ...
|
67
|
+
s.email = ["blambeau@gmail.com", "louislambeau@gmail.com"]
|
68
|
+
|
69
|
+
################################################################### PATHS, FILES, BINARIES
|
70
|
+
|
71
|
+
# Paths in the gem to add to $LOAD_PATH when this gem is
|
72
|
+
# activated (required).
|
73
|
+
#
|
74
|
+
# The default 'lib' is typically sufficient.
|
75
|
+
s.require_paths = ["lib"]
|
76
|
+
|
77
|
+
# Files included in this gem.
|
78
|
+
#
|
79
|
+
# By default, we take all files included in the Manifest.txt file on root
|
80
|
+
# of the project. Entries of the manifest are interpreted as Dir[...]
|
81
|
+
# patterns so that lazy people may use wilcards like lib/**/*
|
82
|
+
#
|
83
|
+
here = File.expand_path(File.dirname(__FILE__))
|
84
|
+
s.files = File.readlines(File.join(here, 'Manifest.txt')).
|
85
|
+
inject([]){|files, pattern| files + Dir[File.join(here, pattern.strip)]}.
|
86
|
+
collect{|x| x[(1+here.size)..-1]}
|
87
|
+
|
88
|
+
# Test files included in this gem.
|
89
|
+
#
|
90
|
+
s.test_files = Dir["test/**/*"] + Dir["spec/**/*"]
|
91
|
+
|
92
|
+
# The path in the gem for executable scripts (optional)
|
93
|
+
#
|
94
|
+
s.bindir = "bin"
|
95
|
+
|
96
|
+
# Executables included in the gem.
|
97
|
+
#
|
98
|
+
s.executables = (Dir["bin/*"]).collect{|f| File.basename(f)}
|
99
|
+
|
100
|
+
################################################################### REQUIREMENTS & INSTALL
|
101
|
+
# Remember the gem version requirements operators and schemes:
|
102
|
+
# = Equals version
|
103
|
+
# != Not equal to version
|
104
|
+
# > Greater than version
|
105
|
+
# < Less than version
|
106
|
+
# >= Greater than or equal to
|
107
|
+
# <= Less than or equal to
|
108
|
+
# ~> Approximately greater than
|
109
|
+
#
|
110
|
+
# Don't forget to have a look at http://lmgtfy.com/?q=Ruby+Versioning+Policies
|
111
|
+
# for setting your gem version.
|
112
|
+
#
|
113
|
+
# For your requirements to other gems, remember that
|
114
|
+
# ">= 2.2.0" (optimistic: specify minimal version)
|
115
|
+
# ">= 2.2.0", "< 3.0" (pessimistic: not greater than the next major)
|
116
|
+
# "~> 2.2" (shortcut for ">= 2.2.0", "< 3.0")
|
117
|
+
# "~> 2.2.0" (shortcut for ">= 2.2.0", "< 2.3.0")
|
118
|
+
#
|
119
|
+
|
120
|
+
#
|
121
|
+
# One call to add_dependency('gem_name', 'gem version requirement') for each
|
122
|
+
# runtime dependency. These gems will be installed with your gem.
|
123
|
+
# One call to add_development_dependency('gem_name', 'gem version requirement')
|
124
|
+
# for each development dependency. These gems are required for developers
|
125
|
+
#
|
126
|
+
s.add_development_dependency("rake", "~> 0.8.7")
|
127
|
+
s.add_development_dependency("bundler", "~> 1.0")
|
128
|
+
s.add_development_dependency("rspec", "~> 2.4.0")
|
129
|
+
s.add_development_dependency("yard", "~> 0.6.4")
|
130
|
+
s.add_development_dependency("bluecloth", "~> 2.0.9")
|
131
|
+
s.add_dependency("rack", "~> 1.2.1")
|
132
|
+
s.add_dependency("wlang", "~> 0.10.1")
|
133
|
+
s.add_dependency("json", ">= 1.1.9")
|
134
|
+
|
135
|
+
# The version of ruby required by this gem
|
136
|
+
#
|
137
|
+
# Uncomment and set this if your gem requires specific ruby versions.
|
138
|
+
#
|
139
|
+
# s.required_ruby_version = ">= 0"
|
140
|
+
|
141
|
+
# The RubyGems version required by this gem
|
142
|
+
#
|
143
|
+
# s.required_rubygems_version = ">= 0"
|
144
|
+
|
145
|
+
# The platform this gem runs on. See Gem::Platform for details.
|
146
|
+
#
|
147
|
+
# s.platform = nil
|
148
|
+
|
149
|
+
# Extensions to build when installing the gem.
|
150
|
+
#
|
151
|
+
# Valid types of extensions are extconf.rb files, configure scripts
|
152
|
+
# and rakefiles or mkrf_conf files.
|
153
|
+
#
|
154
|
+
s.extensions = []
|
155
|
+
|
156
|
+
# External (to RubyGems) requirements that must be met for this gem to work.
|
157
|
+
# It’s simply information for the user.
|
158
|
+
#
|
159
|
+
s.requirements = nil
|
160
|
+
|
161
|
+
# A message that gets displayed after the gem is installed
|
162
|
+
#
|
163
|
+
# Uncomment and set this if you want to say something to the user
|
164
|
+
# after gem installation
|
165
|
+
#
|
166
|
+
s.post_install_message = nil
|
167
|
+
|
168
|
+
################################################################### SECURITY
|
169
|
+
|
170
|
+
# The key used to sign this gem. See Gem::Security for details.
|
171
|
+
#
|
172
|
+
# s.signing_key = nil
|
173
|
+
|
174
|
+
# The certificate chain used to sign this gem. See Gem::Security for
|
175
|
+
# details.
|
176
|
+
#
|
177
|
+
# s.cert_chain = []
|
178
|
+
|
179
|
+
################################################################### RDOC
|
180
|
+
|
181
|
+
# An ARGV style array of options to RDoc
|
182
|
+
#
|
183
|
+
# See 'rdoc --help' about this
|
184
|
+
#
|
185
|
+
s.rdoc_options = []
|
186
|
+
|
187
|
+
# Extra files to add to RDoc such as README
|
188
|
+
#
|
189
|
+
s.extra_rdoc_files = Dir["README.md"] + Dir["CHANGELOG.md"] + Dir["LICENCE.md"]
|
190
|
+
|
191
|
+
end
|
data/waw.noespec
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
# Noe template for ruby gem libraries (https://github.com/blambeau/noe) - short version
|
2
|
+
# Run 'noe show-spec' and 'noe help show-spec' for additional details.
|
3
|
+
|
4
|
+
# Don't remove this entry!
|
5
|
+
template-info:
|
6
|
+
name: "ruby"
|
7
|
+
version: 1.3.0
|
8
|
+
|
9
|
+
# Update to match your own configuration.
|
10
|
+
variables:
|
11
|
+
# A ruby lower case project name.
|
12
|
+
lower:
|
13
|
+
waw
|
14
|
+
|
15
|
+
# A ruby upper case project name.
|
16
|
+
upper:
|
17
|
+
Waw
|
18
|
+
|
19
|
+
# Version of your library
|
20
|
+
version:
|
21
|
+
0.3.1
|
22
|
+
|
23
|
+
# Project summary (~ 1 line).
|
24
|
+
summary: |-
|
25
|
+
Waw - Web Another Way
|
26
|
+
|
27
|
+
# Project description (~ 5 lines). Project description should be more complete
|
28
|
+
# than the summary and will be used to describe your gem on rubygems.org
|
29
|
+
description: |-
|
30
|
+
Waw is a ruby web framework that aims at thinking the web another way. It's has been
|
31
|
+
originally designed in the ReQuest research project of the University of Louvain, has
|
32
|
+
been entirely rewritten in ruby, and is still actively developped to reach its first
|
33
|
+
real stable version ;-)
|
34
|
+
|
35
|
+
# Authors of the project (- {name: Bob, email: bob@gmail.com}, ...)
|
36
|
+
authors:
|
37
|
+
- {name: "Bernard Lambeau", email: blambeau@gmail.com}
|
38
|
+
- {name: "Louis Lambeau", email: louislambeau@gmail.com}
|
39
|
+
|
40
|
+
# Web links for the project (- http://..., - http://...).
|
41
|
+
links:
|
42
|
+
- http://github.com/blambeau/waw
|
43
|
+
|
44
|
+
# Gem dependencies. (- {name: ..., version: ..., groups: [...]}, ...)
|
45
|
+
dependencies:
|
46
|
+
# development
|
47
|
+
- {name: rake, version: "~> 0.8.7", groups: [development]}
|
48
|
+
- {name: bundler, version: "~> 1.0", groups: [development]}
|
49
|
+
- {name: rspec, version: "~> 2.4.0", groups: [development]}
|
50
|
+
- {name: yard, version: "~> 0.6.4", groups: [development]}
|
51
|
+
- {name: bluecloth, version: "~> 2.0.9", groups: [development]}
|
52
|
+
# runtime
|
53
|
+
- {name: rack, version: "~> 1.2.1", groups: [runtime]}
|
54
|
+
- {name: wlang, version: "~> 0.10.1", groups: [runtime]}
|
55
|
+
- {name: json, version: ">= 1.1.9", groups: [runtime]}
|
56
|
+
|
57
|
+
rake_tasks:
|
58
|
+
unit_test:
|
59
|
+
pattern: test/unit/**/*_test.rb
|
metadata
CHANGED
@@ -1,37 +1,204 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: waw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 1
|
10
|
+
version: 0.3.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Bernard Lambeau
|
14
|
+
- Louis Lambeau
|
14
15
|
autorequire:
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2011-
|
19
|
+
date: 2011-02-03 00:00:00 +01:00
|
19
20
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
dependencies:
|
22
|
+
- !ruby/object:Gem::Dependency
|
23
|
+
type: :development
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 49
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
- 8
|
33
|
+
- 7
|
34
|
+
version: 0.8.7
|
35
|
+
name: rake
|
36
|
+
version_requirements: *id001
|
37
|
+
prerelease: false
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
type: :development
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 15
|
46
|
+
segments:
|
47
|
+
- 1
|
48
|
+
- 0
|
49
|
+
version: "1.0"
|
50
|
+
name: bundler
|
51
|
+
version_requirements: *id002
|
52
|
+
prerelease: false
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
type: :development
|
55
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
56
|
+
none: false
|
57
|
+
requirements:
|
58
|
+
- - ~>
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
hash: 31
|
61
|
+
segments:
|
62
|
+
- 2
|
63
|
+
- 4
|
64
|
+
- 0
|
65
|
+
version: 2.4.0
|
66
|
+
name: rspec
|
67
|
+
version_requirements: *id003
|
68
|
+
prerelease: false
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
type: :development
|
71
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
hash: 15
|
77
|
+
segments:
|
78
|
+
- 0
|
79
|
+
- 6
|
80
|
+
- 4
|
81
|
+
version: 0.6.4
|
82
|
+
name: yard
|
83
|
+
version_requirements: *id004
|
84
|
+
prerelease: false
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
type: :development
|
87
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
89
|
+
requirements:
|
90
|
+
- - ~>
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
hash: 29
|
93
|
+
segments:
|
94
|
+
- 2
|
95
|
+
- 0
|
96
|
+
- 9
|
97
|
+
version: 2.0.9
|
98
|
+
name: bluecloth
|
99
|
+
version_requirements: *id005
|
100
|
+
prerelease: false
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
type: :runtime
|
103
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
105
|
+
requirements:
|
106
|
+
- - ~>
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
hash: 29
|
109
|
+
segments:
|
110
|
+
- 1
|
111
|
+
- 2
|
112
|
+
- 1
|
113
|
+
version: 1.2.1
|
114
|
+
name: rack
|
115
|
+
version_requirements: *id006
|
116
|
+
prerelease: false
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
type: :runtime
|
119
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
120
|
+
none: false
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
hash: 53
|
125
|
+
segments:
|
126
|
+
- 0
|
127
|
+
- 10
|
128
|
+
- 1
|
129
|
+
version: 0.10.1
|
130
|
+
name: wlang
|
131
|
+
version_requirements: *id007
|
132
|
+
prerelease: false
|
133
|
+
- !ruby/object:Gem::Dependency
|
134
|
+
type: :runtime
|
135
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
136
|
+
none: false
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
hash: 1
|
141
|
+
segments:
|
142
|
+
- 1
|
143
|
+
- 1
|
144
|
+
- 9
|
145
|
+
version: 1.1.9
|
146
|
+
name: json
|
147
|
+
version_requirements: *id008
|
148
|
+
prerelease: false
|
149
|
+
description: |-
|
150
|
+
Waw is a ruby web framework that aims at thinking the web another way. It's has been
|
151
|
+
originally designed in the ReQuest research project of the University of Louvain, has
|
152
|
+
been entirely rewritten in ruby, and is still actively developped to reach its first
|
153
|
+
real stable version ;-)
|
154
|
+
email:
|
155
|
+
- blambeau@gmail.com
|
156
|
+
- louislambeau@gmail.com
|
24
157
|
executables:
|
25
158
|
- waw
|
26
|
-
-
|
27
|
-
- waw-start
|
159
|
+
- waw-crawl
|
28
160
|
- waw-profile
|
161
|
+
- waw-start
|
162
|
+
- wspec
|
29
163
|
extensions: []
|
30
164
|
|
31
165
|
extra_rdoc_files:
|
32
|
-
- README.
|
33
|
-
-
|
166
|
+
- README.md
|
167
|
+
- CHANGELOG.md
|
168
|
+
- LICENCE.md
|
34
169
|
files:
|
170
|
+
- .gemtest
|
171
|
+
- bin/waw
|
172
|
+
- bin/waw-crawl
|
173
|
+
- bin/waw-profile
|
174
|
+
- bin/waw-start
|
175
|
+
- bin/wspec
|
176
|
+
- CHANGELOG.md
|
177
|
+
- Gemfile
|
178
|
+
- Gemfile.lock
|
179
|
+
- layouts/empty/config/commons.cfg
|
180
|
+
- layouts/empty/config/devel.cfg
|
181
|
+
- layouts/empty/config.ru
|
182
|
+
- layouts/empty/ignore
|
183
|
+
- layouts/empty/logs/dontforgetme
|
184
|
+
- layouts/empty/Rakefile
|
185
|
+
- layouts/empty/resources/messages.rs
|
186
|
+
- layouts/empty/test/wspec/site_respond.wspec
|
187
|
+
- layouts/empty/test/wspec/test_all.rb
|
188
|
+
- layouts/empty/waw.deploy
|
189
|
+
- layouts/empty/waw.routing
|
190
|
+
- layouts/static/dependencies
|
191
|
+
- layouts/static/public/css/style.css
|
192
|
+
- layouts/static/public/images/dontforgetme
|
193
|
+
- layouts/static/public/js/project.js
|
194
|
+
- layouts/static/public/pages/404.wtpl
|
195
|
+
- layouts/static/public/pages/index.wtpl
|
196
|
+
- layouts/static/public/templates/layout.wtpl
|
197
|
+
- layouts/static/test/wspec/static_pages_are_served.wspec
|
198
|
+
- layouts/static/waw.routing
|
199
|
+
- layouts/static/public/.wawaccess
|
200
|
+
- layouts/static/public/pages/.wawaccess
|
201
|
+
- layouts/static/public/templates/.wawaccess
|
35
202
|
- lib/waw/commands/command.rb
|
36
203
|
- lib/waw/commands/crawl_command.rb
|
37
204
|
- lib/waw/commands/profile_command.rb
|
@@ -82,6 +249,7 @@ files:
|
|
82
249
|
- lib/waw/kern/living_state.rb
|
83
250
|
- lib/waw/kern/utils.rb
|
84
251
|
- lib/waw/kern.rb
|
252
|
+
- lib/waw/loader.rb
|
85
253
|
- lib/waw/resource_collection.rb
|
86
254
|
- lib/waw/restart.rb
|
87
255
|
- lib/waw/routing/action_routing.rb
|
@@ -128,6 +296,7 @@ files:
|
|
128
296
|
- lib/waw/validation/string_validator.rb
|
129
297
|
- lib/waw/validation/validator.rb
|
130
298
|
- lib/waw/validation.rb
|
299
|
+
- lib/waw/version.rb
|
131
300
|
- lib/waw/wawgen/create.rb
|
132
301
|
- lib/waw/wawgen/project.rb
|
133
302
|
- lib/waw/wawgen.rb
|
@@ -140,6 +309,63 @@ files:
|
|
140
309
|
- lib/waw/wspec/suite.rb
|
141
310
|
- lib/waw/wspec.rb
|
142
311
|
- lib/waw.rb
|
312
|
+
- LICENCE.md
|
313
|
+
- Manifest.txt
|
314
|
+
- Rakefile
|
315
|
+
- README.md
|
316
|
+
- spec/assumptions_spec.rb
|
317
|
+
- spec/controllers/action_controller_spec.rb
|
318
|
+
- spec/controllers/static/waw_access_spec.rb
|
319
|
+
- spec/environment_utils_spec.rb
|
320
|
+
- spec/ext/core/hash_spec.rb
|
321
|
+
- spec/fixtures/action/config/default.cfg
|
322
|
+
- spec/fixtures/action/lib/action_controller_test.rb
|
323
|
+
- spec/fixtures/action/waw.deploy
|
324
|
+
- spec/fixtures/action/waw.routing
|
325
|
+
- spec/fixtures/empty/waw.deploy
|
326
|
+
- spec/fixtures/empty/waw.routing
|
327
|
+
- spec/fixtures.rb
|
328
|
+
- spec/fullstate/on_class_spec.rb
|
329
|
+
- spec/fullstate/on_instance_spec.rb
|
330
|
+
- spec/fullstate/session_spec.rb
|
331
|
+
- spec/fullstate/variable_spec.rb
|
332
|
+
- spec/resource_collection_spec.rb
|
333
|
+
- spec/spec_helper.rb
|
334
|
+
- spec/tools/mail/mail_agent_spec.rb
|
335
|
+
- spec/tools/mail/mail_spec.rb
|
336
|
+
- spec/tools/mail/mailbox_spec.rb
|
337
|
+
- spec/tools/mail/template_spec.rb
|
338
|
+
- spec/validation/array_validation_spec.rb
|
339
|
+
- spec/validation/array_validator_spec.rb
|
340
|
+
- spec/validation/date_validation_spec.rb
|
341
|
+
- spec/validation/datetime_validation_spec.rb
|
342
|
+
- spec/validation/default_validation_spec.rb
|
343
|
+
- spec/validation/disjuctive_validation_spec.rb
|
344
|
+
- spec/validation/errors_spec.rb
|
345
|
+
- spec/validation/file_validator_spec.rb
|
346
|
+
- spec/validation/mail_validation_spec.rb
|
347
|
+
- spec/validation/missing_validation_spec.rb
|
348
|
+
- spec/validation/same_validation_spec.rb
|
349
|
+
- spec/validation/signature_intuition_spec.rb
|
350
|
+
- spec/validation/signature_spec.rb
|
351
|
+
- spec/validation/validation_spec.rb
|
352
|
+
- spec/waw_spec.rb
|
353
|
+
- spec/wspec/html_analysis/tag_spec.rb
|
354
|
+
- spec/wspec/html_analysis_spec.rb
|
355
|
+
- tasks/debug_mail.rake
|
356
|
+
- tasks/debug_mail.txt
|
357
|
+
- tasks/gem.rake
|
358
|
+
- tasks/oldies.rake
|
359
|
+
- tasks/spec_test.rake
|
360
|
+
- tasks/unit_test.rake
|
361
|
+
- tasks/yard.rake
|
362
|
+
- test/bricks/action_controller/config/test.cfg
|
363
|
+
- test/bricks/action_controller/logs/webapp.log
|
364
|
+
- test/bricks/action_controller/logs/webapp.log.20110122
|
365
|
+
- test/bricks/action_controller/test/action_controller.wspec
|
366
|
+
- test/bricks/action_controller/test/test_all.rb
|
367
|
+
- test/bricks/action_controller/waw.deploy
|
368
|
+
- test/bricks/action_controller/waw.routing
|
143
369
|
- test/bricks/error_handler/config/test.cfg
|
144
370
|
- test/bricks/error_handler/logs/webapp.log
|
145
371
|
- test/bricks/error_handler/test/error_handler.wspec
|
@@ -148,50 +374,13 @@ files:
|
|
148
374
|
- test/bricks/error_handler/waw.routing
|
149
375
|
- test/bricks/static_controller/config/test.cfg
|
150
376
|
- test/bricks/static_controller/logs/webapp.log
|
377
|
+
- test/bricks/static_controller/logs/webapp.log.20110122
|
151
378
|
- test/bricks/static_controller/test/static_controller.wspec
|
152
379
|
- test/bricks/static_controller/test/test_all.rb
|
153
380
|
- test/bricks/static_controller/waw.deploy
|
154
381
|
- test/bricks/static_controller/waw.routing
|
155
382
|
- test/bricks/test_all.rb
|
156
383
|
- test/integration/waw_create_integration_test.rb
|
157
|
-
- test/spec/assumptions_spec.rb
|
158
|
-
- test/spec/controllers/action_controller_spec.rb
|
159
|
-
- test/spec/controllers/static/waw_access_spec.rb
|
160
|
-
- test/spec/environment_utils_spec.rb
|
161
|
-
- test/spec/ext/core/hash_spec.rb
|
162
|
-
- test/spec/fixtures/action/config/default.cfg
|
163
|
-
- test/spec/fixtures/action/lib/action_controller_test.rb
|
164
|
-
- test/spec/fixtures/action/waw.deploy
|
165
|
-
- test/spec/fixtures/action/waw.routing
|
166
|
-
- test/spec/fixtures/empty/waw.deploy
|
167
|
-
- test/spec/fixtures/empty/waw.routing
|
168
|
-
- test/spec/fixtures.rb
|
169
|
-
- test/spec/fullstate/on_class_spec.rb
|
170
|
-
- test/spec/fullstate/on_instance_spec.rb
|
171
|
-
- test/spec/fullstate/session_spec.rb
|
172
|
-
- test/spec/fullstate/variable_spec.rb
|
173
|
-
- test/spec/resource_collection_spec.rb
|
174
|
-
- test/spec/test_all.rb
|
175
|
-
- test/spec/tools/mail/mail_agent_spec.rb
|
176
|
-
- test/spec/tools/mail/mail_spec.rb
|
177
|
-
- test/spec/tools/mail/mailbox_spec.rb
|
178
|
-
- test/spec/tools/mail/template_spec.rb
|
179
|
-
- test/spec/validation/array_validation_spec.rb
|
180
|
-
- test/spec/validation/array_validator_spec.rb
|
181
|
-
- test/spec/validation/date_validation_spec.rb
|
182
|
-
- test/spec/validation/datetime_validation_spec.rb
|
183
|
-
- test/spec/validation/default_validation_spec.rb
|
184
|
-
- test/spec/validation/disjuctive_validation_spec.rb
|
185
|
-
- test/spec/validation/errors_spec.rb
|
186
|
-
- test/spec/validation/file_validator_spec.rb
|
187
|
-
- test/spec/validation/mail_validation_spec.rb
|
188
|
-
- test/spec/validation/missing_validation_spec.rb
|
189
|
-
- test/spec/validation/same_validation_spec.rb
|
190
|
-
- test/spec/validation/signature_intuition_spec.rb
|
191
|
-
- test/spec/validation/signature_spec.rb
|
192
|
-
- test/spec/validation/validation_spec.rb
|
193
|
-
- test/spec/wspec/html_analysis/tag_spec.rb
|
194
|
-
- test/spec/wspec/html_analysis_spec.rb
|
195
384
|
- test/unit/test_all.rb
|
196
385
|
- test/unit/waw/app_test/config/commons.cfg
|
197
386
|
- test/unit/waw/app_test/config/devel.cfg
|
@@ -217,47 +406,15 @@ files:
|
|
217
406
|
- test/unit/waw/validation_test.rb
|
218
407
|
- test/unit/waw/wspec/html_analysis_test.html
|
219
408
|
- test/unit/waw/wspec/html_analysis_test.rb
|
220
|
-
-
|
221
|
-
-
|
222
|
-
- bin/waw-profile
|
223
|
-
- bin/waw-start
|
224
|
-
- bin/wspec
|
225
|
-
- layouts/empty/config/commons.cfg
|
226
|
-
- layouts/empty/config/devel.cfg
|
227
|
-
- layouts/empty/config.ru
|
228
|
-
- layouts/empty/ignore
|
229
|
-
- layouts/empty/logs/dontforgetme
|
230
|
-
- layouts/empty/Rakefile
|
231
|
-
- layouts/empty/resources/messages.rs
|
232
|
-
- layouts/empty/test/wspec/site_respond.wspec
|
233
|
-
- layouts/empty/test/wspec/test_all.rb
|
234
|
-
- layouts/empty/waw.deploy
|
235
|
-
- layouts/empty/waw.routing
|
236
|
-
- layouts/static/dependencies
|
237
|
-
- layouts/static/public/.wawaccess
|
238
|
-
- layouts/static/public/css/style.css
|
239
|
-
- layouts/static/public/images/dontforgetme
|
240
|
-
- layouts/static/public/js/project.js
|
241
|
-
- layouts/static/public/pages/.wawaccess
|
242
|
-
- layouts/static/public/pages/404.wtpl
|
243
|
-
- layouts/static/public/pages/index.wtpl
|
244
|
-
- layouts/static/public/templates/.wawaccess
|
245
|
-
- layouts/static/public/templates/layout.wtpl
|
246
|
-
- layouts/static/test/wspec/static_pages_are_served.wspec
|
247
|
-
- layouts/static/waw.routing
|
248
|
-
- README.rdoc
|
249
|
-
- LICENCE.rdoc
|
409
|
+
- waw.gemspec
|
410
|
+
- waw.noespec
|
250
411
|
has_rdoc: true
|
251
412
|
homepage: http://github.com/blambeau/waw
|
252
413
|
licenses: []
|
253
414
|
|
254
415
|
post_install_message:
|
255
|
-
rdoc_options:
|
256
|
-
|
257
|
-
- Waw - making web applications simple
|
258
|
-
- --main
|
259
|
-
- README.rdoc
|
260
|
-
- --line-numbers
|
416
|
+
rdoc_options: []
|
417
|
+
|
261
418
|
require_paths:
|
262
419
|
- lib
|
263
420
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -281,9 +438,94 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
281
438
|
requirements: []
|
282
439
|
|
283
440
|
rubyforge_project:
|
284
|
-
rubygems_version: 1.
|
441
|
+
rubygems_version: 1.5.0
|
285
442
|
signing_key:
|
286
443
|
specification_version: 3
|
287
|
-
summary: Waw -
|
288
|
-
test_files:
|
289
|
-
|
444
|
+
summary: Waw - Web Another Way
|
445
|
+
test_files:
|
446
|
+
- test/bricks/action_controller/config/test.cfg
|
447
|
+
- test/bricks/action_controller/logs/webapp.log
|
448
|
+
- test/bricks/action_controller/logs/webapp.log.20110122
|
449
|
+
- test/bricks/action_controller/test/action_controller.wspec
|
450
|
+
- test/bricks/action_controller/test/test_all.rb
|
451
|
+
- test/bricks/action_controller/waw.deploy
|
452
|
+
- test/bricks/action_controller/waw.routing
|
453
|
+
- test/bricks/error_handler/config/test.cfg
|
454
|
+
- test/bricks/error_handler/logs/webapp.log
|
455
|
+
- test/bricks/error_handler/test/error_handler.wspec
|
456
|
+
- test/bricks/error_handler/test/test_all.rb
|
457
|
+
- test/bricks/error_handler/waw.deploy
|
458
|
+
- test/bricks/error_handler/waw.routing
|
459
|
+
- test/bricks/static_controller/config/test.cfg
|
460
|
+
- test/bricks/static_controller/logs/webapp.log
|
461
|
+
- test/bricks/static_controller/logs/webapp.log.20110122
|
462
|
+
- test/bricks/static_controller/test/static_controller.wspec
|
463
|
+
- test/bricks/static_controller/test/test_all.rb
|
464
|
+
- test/bricks/static_controller/waw.deploy
|
465
|
+
- test/bricks/static_controller/waw.routing
|
466
|
+
- test/bricks/test_all.rb
|
467
|
+
- test/integration/waw_create_integration_test.rb
|
468
|
+
- test/unit/test_all.rb
|
469
|
+
- test/unit/waw/app_test/config/commons.cfg
|
470
|
+
- test/unit/waw/app_test/config/devel.cfg
|
471
|
+
- test/unit/waw/app_test.rb
|
472
|
+
- test/unit/waw/config_test.rb
|
473
|
+
- test/unit/waw/controllers/action_controller_test.rb
|
474
|
+
- test/unit/waw/controllers/action_test.rb
|
475
|
+
- test/unit/waw/controllers/example_action_controller_test.rb
|
476
|
+
- test/unit/waw/controllers/multiple_action_controller_test.rb
|
477
|
+
- test/unit/waw/controllers/static/example/css/example.css
|
478
|
+
- test/unit/waw/controllers/static/example/index.html
|
479
|
+
- test/unit/waw/controllers/static/example/js/example.js
|
480
|
+
- test/unit/waw/controllers/static/example/pages/hello.wtpl
|
481
|
+
- test/unit/waw/controllers/static/logs/webapp.log
|
482
|
+
- test/unit/waw/controllers/static/waw_access_test.rb
|
483
|
+
- test/unit/waw/ext/rack_test.rb
|
484
|
+
- test/unit/waw/resource_collection_test.rb
|
485
|
+
- test/unit/waw/resources.txt
|
486
|
+
- test/unit/waw/routing/routing_test.rb
|
487
|
+
- test/unit/waw/utils/dsl_helper_test.rb
|
488
|
+
- test/unit/waw/utils/dsl_helper_test_extensions1.rb
|
489
|
+
- test/unit/waw/validation/signature_test.rb
|
490
|
+
- test/unit/waw/validation_test.rb
|
491
|
+
- test/unit/waw/wspec/html_analysis_test.html
|
492
|
+
- test/unit/waw/wspec/html_analysis_test.rb
|
493
|
+
- spec/assumptions_spec.rb
|
494
|
+
- spec/controllers/action_controller_spec.rb
|
495
|
+
- spec/controllers/static/waw_access_spec.rb
|
496
|
+
- spec/environment_utils_spec.rb
|
497
|
+
- spec/ext/core/hash_spec.rb
|
498
|
+
- spec/fixtures/action/config/default.cfg
|
499
|
+
- spec/fixtures/action/lib/action_controller_test.rb
|
500
|
+
- spec/fixtures/action/waw.deploy
|
501
|
+
- spec/fixtures/action/waw.routing
|
502
|
+
- spec/fixtures/empty/waw.deploy
|
503
|
+
- spec/fixtures/empty/waw.routing
|
504
|
+
- spec/fixtures.rb
|
505
|
+
- spec/fullstate/on_class_spec.rb
|
506
|
+
- spec/fullstate/on_instance_spec.rb
|
507
|
+
- spec/fullstate/session_spec.rb
|
508
|
+
- spec/fullstate/variable_spec.rb
|
509
|
+
- spec/resource_collection_spec.rb
|
510
|
+
- spec/spec_helper.rb
|
511
|
+
- spec/tools/mail/mail_agent_spec.rb
|
512
|
+
- spec/tools/mail/mail_spec.rb
|
513
|
+
- spec/tools/mail/mailbox_spec.rb
|
514
|
+
- spec/tools/mail/template_spec.rb
|
515
|
+
- spec/validation/array_validation_spec.rb
|
516
|
+
- spec/validation/array_validator_spec.rb
|
517
|
+
- spec/validation/date_validation_spec.rb
|
518
|
+
- spec/validation/datetime_validation_spec.rb
|
519
|
+
- spec/validation/default_validation_spec.rb
|
520
|
+
- spec/validation/disjuctive_validation_spec.rb
|
521
|
+
- spec/validation/errors_spec.rb
|
522
|
+
- spec/validation/file_validator_spec.rb
|
523
|
+
- spec/validation/mail_validation_spec.rb
|
524
|
+
- spec/validation/missing_validation_spec.rb
|
525
|
+
- spec/validation/same_validation_spec.rb
|
526
|
+
- spec/validation/signature_intuition_spec.rb
|
527
|
+
- spec/validation/signature_spec.rb
|
528
|
+
- spec/validation/validation_spec.rb
|
529
|
+
- spec/waw_spec.rb
|
530
|
+
- spec/wspec/html_analysis/tag_spec.rb
|
531
|
+
- spec/wspec/html_analysis_spec.rb
|