ramaze 2011.12.28 → 2012.03.07
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.
- data/.gems +34 -0
- data/.travis.yml +0 -1
- data/.yardopts +3 -2
- data/README.md +8 -6
- data/examples/app/blog/controller/init.rb +0 -1
- data/examples/app/blog/controller/posts.rb +0 -9
- data/examples/app/blog/controller/users.rb +0 -8
- data/examples/app/blog/model/comment.rb +0 -3
- data/examples/app/blog/model/post.rb +0 -2
- data/examples/app/blog/model/user.rb +1 -6
- data/examples/app/wikore/spec/wikore.rb +2 -2
- data/examples/app/wikore/src/model.rb +2 -8
- data/examples/app/wikore/start.rb +2 -2
- data/examples/misc/memleak_detector.rb +1 -1
- data/guide/AUTHORS +5 -2
- data/guide/CHANGELOG +203 -0
- data/guide/LICENSE +19 -0
- data/guide/general/contributing.md +74 -1
- data/guide/general/helpers.md +14 -0
- data/guide/general/middlewares.md +35 -16
- data/guide/general/sessions.md +39 -13
- data/lib/proto/layout/default.xhtml +1 -1
- data/lib/ramaze.rb +1 -1
- data/lib/ramaze/cache.rb +1 -1
- data/lib/ramaze/cache/localmemcache.rb +1 -1
- data/lib/ramaze/cache/lru.rb +1 -1
- data/lib/ramaze/controller.rb +1 -1
- data/lib/ramaze/dependencies.rb +3 -2
- data/lib/ramaze/gestalt.rb +1 -1
- data/lib/ramaze/helper.rb +1 -1
- data/lib/ramaze/helper/auth.rb +1 -1
- data/lib/ramaze/helper/cache.rb +1 -1
- data/lib/ramaze/helper/csrf.rb +14 -21
- data/lib/ramaze/helper/erector.rb +1 -1
- data/lib/ramaze/helper/flash.rb +1 -1
- data/lib/ramaze/helper/formatting.rb +1 -1
- data/lib/ramaze/helper/identity.rb +1 -1
- data/lib/ramaze/helper/link.rb +1 -1
- data/lib/ramaze/helper/markaby.rb +1 -1
- data/lib/ramaze/helper/stack.rb +1 -1
- data/lib/ramaze/helper/tagz.rb +1 -1
- data/lib/ramaze/helper/thread.rb +1 -1
- data/lib/ramaze/helper/user.rb +68 -30
- data/lib/ramaze/log.rb +1 -1
- data/lib/ramaze/log/analogger.rb +1 -1
- data/lib/ramaze/log/growl.rb +1 -1
- data/lib/ramaze/log/hub.rb +1 -1
- data/lib/ramaze/log/informer.rb +1 -1
- data/lib/ramaze/log/knotify.rb +1 -1
- data/lib/ramaze/log/logger.rb +1 -1
- data/lib/ramaze/log/logging.rb +1 -1
- data/lib/ramaze/log/syslog.rb +1 -1
- data/lib/ramaze/log/xosd.rb +1 -1
- data/lib/ramaze/plugin.rb +1 -1
- data/lib/ramaze/reloader.rb +1 -1
- data/lib/ramaze/request.rb +1 -1
- data/lib/ramaze/response.rb +1 -1
- data/lib/ramaze/snippets.rb +1 -1
- data/lib/ramaze/snippets/array/put_within.rb +1 -1
- data/lib/ramaze/snippets/kernel/pretty_inspect.rb +1 -1
- data/lib/ramaze/snippets/numeric/filesize_format.rb +1 -1
- data/lib/ramaze/snippets/object/__dir__.rb +1 -1
- data/lib/ramaze/snippets/object/instance_variable_defined.rb +1 -1
- data/lib/ramaze/snippets/ordered_set.rb +1 -1
- data/lib/ramaze/snippets/ramaze/acquire.rb +1 -1
- data/lib/ramaze/snippets/ramaze/struct.rb +1 -1
- data/lib/ramaze/snippets/string/camel_case.rb +1 -1
- data/lib/ramaze/snippets/string/color.rb +1 -1
- data/lib/ramaze/snippets/string/end_with.rb +1 -1
- data/lib/ramaze/snippets/string/ord.rb +1 -1
- data/lib/ramaze/snippets/string/snake_case.rb +1 -1
- data/lib/ramaze/snippets/thread/into.rb +1 -1
- data/lib/ramaze/spec/helper/template_examples.rb +1 -1
- data/lib/ramaze/version.rb +1 -1
- data/lib/ramaze/view.rb +3 -2
- data/lib/ramaze/view/erector.rb +16 -14
- data/lib/ramaze/view/erubis.rb +4 -3
- data/lib/ramaze/view/ezamar.rb +3 -1
- data/lib/ramaze/view/haml.rb +4 -0
- data/lib/ramaze/view/liquid.rb +4 -3
- data/lib/ramaze/view/lokar.rb +3 -1
- data/lib/ramaze/view/mustache.rb +3 -1
- data/lib/ramaze/view/nagoro.rb +4 -1
- data/lib/ramaze/view/remarkably.rb +4 -0
- data/lib/ramaze/view/sass.rb +5 -1
- data/lib/ramaze/view/slim.rb +45 -0
- data/lib/ramaze/view/slippers.rb +8 -6
- data/lib/ramaze/view/tagz.rb +3 -1
- data/lib/ramaze/view/tenjin.rb +3 -1
- data/ramaze.gemspec +1 -1
- data/spec/examples/templates/template_erubis.rb +1 -1
- data/spec/examples/templates/template_ezamar.rb +1 -1
- data/spec/examples/templates/template_haml.rb +1 -1
- data/spec/examples/templates/template_liquid.rb +1 -1
- data/spec/examples/templates/template_markaby.rb +1 -1
- data/spec/examples/templates/template_mustache.rb +1 -1
- data/spec/examples/templates/template_nagoro.rb +1 -1
- data/spec/examples/templates/template_remarkably.rb +1 -1
- data/spec/examples/templates/template_tenjin.rb +1 -1
- data/spec/ramaze/action/render.rb +1 -1
- data/spec/ramaze/app.rb +1 -1
- data/spec/ramaze/app/location.rb +1 -1
- data/spec/ramaze/cache/localmemcache.rb +1 -1
- data/spec/ramaze/cache/lru.rb +1 -1
- data/spec/ramaze/cache/memcache.rb +1 -1
- data/spec/ramaze/cache/redis.rb +1 -1
- data/spec/ramaze/cache/sequel.rb +1 -1
- data/spec/ramaze/controller/actionless_templates.rb +1 -1
- data/spec/ramaze/controller/lonely_mapping.rb +1 -1
- data/spec/ramaze/controller/mapping.rb +1 -1
- data/spec/ramaze/controller/provide_inheritance.rb +1 -1
- data/spec/ramaze/controller/resolve.rb +1 -1
- data/spec/ramaze/controller/subclass.rb +1 -1
- data/spec/ramaze/controller/template_resolving.rb +1 -1
- data/spec/ramaze/dispatcher/directory.rb +1 -1
- data/spec/ramaze/dispatcher/file.rb +1 -1
- data/spec/ramaze/error.rb +1 -1
- data/spec/ramaze/files.rb +1 -1
- data/spec/ramaze/gestalt.rb +1 -1
- data/spec/ramaze/helper/auth.rb +1 -1
- data/spec/ramaze/helper/bench.rb +1 -1
- data/spec/ramaze/helper/cache.rb +1 -1
- data/spec/ramaze/helper/csrf.rb +10 -19
- data/spec/ramaze/helper/flash.rb +1 -1
- data/spec/ramaze/helper/formatting.rb +1 -1
- data/spec/ramaze/helper/gestalt.rb +1 -1
- data/spec/ramaze/helper/gravatar.rb +1 -1
- data/spec/ramaze/helper/layout.rb +1 -1
- data/spec/ramaze/helper/link.rb +1 -1
- data/spec/ramaze/helper/localize.rb +1 -1
- data/spec/ramaze/helper/maruku.rb +1 -1
- data/spec/ramaze/helper/paginate.rb +1 -1
- data/spec/ramaze/helper/request_accessor.rb +1 -1
- data/spec/ramaze/helper/simple_captcha.rb +1 -1
- data/spec/ramaze/helper/stack.rb +1 -1
- data/spec/ramaze/helper/user.rb +1 -1
- data/spec/ramaze/helper/xhtml.rb +1 -1
- data/spec/ramaze/log/informer.rb +1 -1
- data/spec/ramaze/log/logging.rb +1 -1
- data/spec/ramaze/log/syslog.rb +1 -1
- data/spec/ramaze/params.rb +1 -1
- data/spec/ramaze/request.rb +1 -1
- data/spec/ramaze/session/memcache.rb +1 -1
- data/spec/ramaze/struct.rb +1 -1
- data/spec/ramaze/view.rb +1 -1
- data/spec/ramaze/view/erubis.rb +1 -1
- data/spec/ramaze/view/ezamar.rb +1 -1
- data/spec/ramaze/view/gestalt.rb +1 -1
- data/spec/ramaze/view/haml.rb +1 -1
- data/spec/ramaze/view/liquid.rb +1 -1
- data/spec/ramaze/view/lokar.rb +1 -1
- data/spec/ramaze/view/mustache.rb +1 -1
- data/spec/ramaze/view/nagoro.rb +1 -1
- data/spec/ramaze/view/remarkably.rb +1 -1
- data/spec/ramaze/view/sass.rb +1 -1
- data/spec/ramaze/view/slim.rb +49 -0
- data/spec/ramaze/view/slim/external.slim +5 -0
- data/spec/ramaze/view/slim/external_vars.slim +5 -0
- data/spec/ramaze/view/tagz.rb +1 -1
- data/spec/ramaze/view/tenjin.rb +1 -1
- data/spec/snippets/array/put_within.rb +1 -1
- data/spec/snippets/binding/locals.rb +1 -1
- data/spec/snippets/numeric/filesize_format.rb +1 -1
- data/spec/snippets/numeric/time.rb +1 -1
- data/spec/snippets/object/__dir__.rb +1 -1
- data/spec/snippets/ordered_set.rb +1 -1
- data/spec/snippets/ramaze/acquire.rb +1 -1
- data/spec/snippets/ramaze/dictionary.rb +1 -1
- data/spec/snippets/ramaze/lru_hash.rb +1 -1
- data/spec/snippets/ramaze/struct.rb +1 -1
- data/spec/snippets/string/camel_case.rb +1 -1
- data/spec/snippets/string/color.rb +1 -1
- data/spec/snippets/string/snake_case.rb +1 -1
- data/spec/snippets/string/unindent.rb +1 -1
- data/spec/snippets/thread/into.rb +1 -1
- metadata +75 -60
- data/guide/GPL_LICENSE +0 -339
- data/guide/RUBY_LICENSE +0 -53
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
|
|
2
|
-
# All files in this distribution are subject to the terms of the
|
|
2
|
+
# All files in this distribution are subject to the terms of the MIT license.
|
|
3
3
|
|
|
4
4
|
shared :template_spec do
|
|
5
5
|
behaves_like :rack_test
|
data/lib/ramaze/version.rb
CHANGED
data/lib/ramaze/view.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
|
|
2
|
-
# All files in this distribution are subject to the terms of the
|
|
2
|
+
# All files in this distribution are subject to the terms of the MIT license.
|
|
3
3
|
|
|
4
4
|
module Ramaze
|
|
5
5
|
View = Innate::View
|
|
@@ -22,10 +22,11 @@ module Ramaze
|
|
|
22
22
|
auto_register :Haml, :haml
|
|
23
23
|
auto_register :Less, :lss, :less
|
|
24
24
|
auto_register :Liquid, :liquid
|
|
25
|
-
|
|
25
|
+
auto_register :Lokar, :lok
|
|
26
26
|
auto_register :Nagoro, :nag
|
|
27
27
|
auto_register :Remarkably, :rem
|
|
28
28
|
auto_register :Sass, :sass
|
|
29
|
+
auto_register :Slim, :slim
|
|
29
30
|
auto_register :Tagz, :tagz
|
|
30
31
|
auto_register :Tenjin, :rbhtml, :tenjin
|
|
31
32
|
auto_register :Slippers, :st
|
data/lib/ramaze/view/erector.rb
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
Ramaze.setup(:verbose => false) do
|
|
2
|
+
gem 'erector'
|
|
3
|
+
end
|
|
2
4
|
|
|
3
|
-
module Ramaze
|
|
5
|
+
module Ramaze
|
|
4
6
|
module View
|
|
5
7
|
##
|
|
6
8
|
# Adapter for Erector. Erector is a view engine that works a bit like
|
|
@@ -39,17 +41,17 @@ module Ramaze
|
|
|
39
41
|
# head do
|
|
40
42
|
# title 'Erector Layout'
|
|
41
43
|
# end
|
|
42
|
-
#
|
|
44
|
+
#
|
|
43
45
|
# body do
|
|
44
46
|
# rawtext @content
|
|
45
47
|
# end
|
|
46
48
|
#
|
|
47
49
|
# end
|
|
48
|
-
# end
|
|
50
|
+
# end
|
|
49
51
|
#
|
|
50
52
|
# # And here's the view
|
|
51
53
|
# class Index < Erector::Widget
|
|
52
|
-
# def content
|
|
54
|
+
# def content
|
|
53
55
|
# h2 'This is the view'
|
|
54
56
|
# end
|
|
55
57
|
# end
|
|
@@ -67,44 +69,44 @@ module Ramaze
|
|
|
67
69
|
# Include the Erector gem. By doing this Erector views can extend the
|
|
68
70
|
# Erector gem without causing any namespace errors.
|
|
69
71
|
include ::Erector
|
|
70
|
-
|
|
72
|
+
|
|
71
73
|
##
|
|
72
74
|
# The call method is called whenever a view is loaded. A view can either
|
|
73
75
|
# be a layout or an actual view since they're treated the same way. First
|
|
74
76
|
# the view is loaded, followed by the layout.
|
|
75
77
|
#
|
|
76
78
|
# @author Yorick Peterse
|
|
77
|
-
# @param [Object] action Object containing a copy of the current Action
|
|
79
|
+
# @param [Object] action Object containing a copy of the current Action
|
|
78
80
|
# class data.
|
|
79
81
|
# @param [String] string The content of the currently loaded layout. This
|
|
80
|
-
# variable isn't used by the Erector adapter but is required since Ramaze
|
|
81
|
-
# expects 2 parameters. Usually this string is used to inline load (or
|
|
82
|
+
# variable isn't used by the Erector adapter but is required since Ramaze
|
|
83
|
+
# expects 2 parameters. Usually this string is used to inline load (or
|
|
82
84
|
# evaluate) the content of a view.
|
|
83
85
|
# @return [String] The generated HTML.
|
|
84
86
|
#
|
|
85
87
|
def self.call action, string
|
|
86
88
|
# Return the contents unless a view has been defined
|
|
87
89
|
return string, 'text/html' unless action.view
|
|
88
|
-
|
|
90
|
+
|
|
89
91
|
# Evaluate the class so we can use it. The content of "string"
|
|
90
92
|
# is a full blown class that should always have a "content" method.
|
|
91
93
|
#eval string, action.binding
|
|
92
94
|
eval string
|
|
93
95
|
|
|
94
96
|
# Generate the class name based on the filename.
|
|
95
|
-
# Class names are a CamelCased version of the filename (without the
|
|
97
|
+
# Class names are a CamelCased version of the filename (without the
|
|
96
98
|
# extension).
|
|
97
99
|
klass = File.basename action.view, '.erector'
|
|
98
100
|
klass = klass.camel_case
|
|
99
101
|
view_obj = self.const_get(klass)
|
|
100
|
-
|
|
101
|
-
# Synchronize the methods of action.instance with the view. These
|
|
102
|
+
|
|
103
|
+
# Synchronize the methods of action.instance with the view. These
|
|
102
104
|
# methods can be accessed by calling @controller.METHOD
|
|
103
105
|
action.variables[:controller] = action.instance
|
|
104
106
|
|
|
105
107
|
# Now that we have all the data we can start rendering the HTML.
|
|
106
108
|
# Note that we pass the action.variables hash to the new() method. This
|
|
107
|
-
# is done to give the view access to all existing (instance) variables.
|
|
109
|
+
# is done to give the view access to all existing (instance) variables.
|
|
108
110
|
# Syncing them using action.copy_variables didn't seem to do the trick.
|
|
109
111
|
html = view_obj.new(action.variables).to_html
|
|
110
112
|
|
data/lib/ramaze/view/erubis.rb
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
|
|
2
|
-
# All files in this distribution are subject to the terms of the
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
# All files in this distribution are subject to the terms of the MIT license.
|
|
3
|
+
Ramaze.setup(:verbose => false) do
|
|
4
|
+
gem 'erubis'
|
|
5
|
+
end
|
|
5
6
|
|
|
6
7
|
module Ramaze
|
|
7
8
|
module View
|
data/lib/ramaze/view/ezamar.rb
CHANGED
data/lib/ramaze/view/haml.rb
CHANGED
data/lib/ramaze/view/liquid.rb
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
|
|
2
|
-
# All files in this distribution are subject to the terms of the
|
|
3
|
-
|
|
4
|
-
require 'liquid'
|
|
2
|
+
# All files in this distribution are subject to the terms of the MIT license.
|
|
3
|
+
Ramaze.setup(:verbose => false) do
|
|
4
|
+
require 'liquid'
|
|
5
|
+
end
|
|
5
6
|
|
|
6
7
|
module Ramaze
|
|
7
8
|
module View
|
data/lib/ramaze/view/lokar.rb
CHANGED
data/lib/ramaze/view/mustache.rb
CHANGED
data/lib/ramaze/view/nagoro.rb
CHANGED
data/lib/ramaze/view/sass.rb
CHANGED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
Ramaze.setup(:verbose => false) do
|
|
2
|
+
gem 'slim'
|
|
3
|
+
end
|
|
4
|
+
|
|
5
|
+
module Innate
|
|
6
|
+
module View
|
|
7
|
+
##
|
|
8
|
+
# View adapter for the Slim template engine. For more information about Slim
|
|
9
|
+
# see the following page: https://github.com/stonean/slim
|
|
10
|
+
#
|
|
11
|
+
# @example
|
|
12
|
+
# class MainController < Ramaze::Controller
|
|
13
|
+
# map '/'
|
|
14
|
+
# engine :slim
|
|
15
|
+
#
|
|
16
|
+
# def index
|
|
17
|
+
# # Create some data for the view and render it.
|
|
18
|
+
# end
|
|
19
|
+
# end
|
|
20
|
+
#
|
|
21
|
+
# @since 19-01-2012
|
|
22
|
+
#
|
|
23
|
+
module Slim
|
|
24
|
+
##
|
|
25
|
+
# Compiles the view and returns the HTML and mime type.
|
|
26
|
+
#
|
|
27
|
+
# @since 19-01-2012
|
|
28
|
+
# @param [Innate::Action] action The action for which to compile/render
|
|
29
|
+
# the view.
|
|
30
|
+
# @param [String] string The content of the view.
|
|
31
|
+
# @return [Array] The HTML and MIME type.
|
|
32
|
+
#
|
|
33
|
+
def self.call(action, string)
|
|
34
|
+
filename = action.view || action.method
|
|
35
|
+
slim = View.compile(string) do |str|
|
|
36
|
+
::Slim::Template.new(filename) { str }
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
html = slim.render(action.instance)
|
|
40
|
+
|
|
41
|
+
return html, Response.mime_type
|
|
42
|
+
end
|
|
43
|
+
end # Slim
|
|
44
|
+
end # View
|
|
45
|
+
end # Innate
|
data/lib/ramaze/view/slippers.rb
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
Ramaze.setup(:verbose => false) do
|
|
2
|
+
gem 'slippers'
|
|
3
|
+
end
|
|
2
4
|
|
|
3
5
|
module Ramaze
|
|
4
6
|
module View
|
|
@@ -35,14 +37,14 @@ module Ramaze
|
|
|
35
37
|
end
|
|
36
38
|
|
|
37
39
|
super_group = ::Slippers::TemplateGroup.new(
|
|
38
|
-
:templates => subtemplates,
|
|
39
|
-
:missing_template_handler => missing_template_handler,
|
|
40
|
+
:templates => subtemplates,
|
|
41
|
+
:missing_template_handler => missing_template_handler,
|
|
40
42
|
:default_string => default_string
|
|
41
43
|
)
|
|
42
|
-
|
|
44
|
+
|
|
43
45
|
::Slippers::TemplateGroupDirectory.new(
|
|
44
|
-
views, :super_group => super_group,
|
|
45
|
-
:missing_template_handler => missing_template_handler,
|
|
46
|
+
views, :super_group => super_group,
|
|
47
|
+
:missing_template_handler => missing_template_handler,
|
|
46
48
|
:default_string => default_string
|
|
47
49
|
)
|
|
48
50
|
end
|
data/lib/ramaze/view/tagz.rb
CHANGED
data/lib/ramaze/view/tenjin.rb
CHANGED
data/ramaze.gemspec
CHANGED
|
@@ -7,7 +7,7 @@ path = File.expand_path('../', __FILE__)
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = 'ramaze'
|
|
9
9
|
s.version = Ramaze::VERSION
|
|
10
|
-
s.date = '
|
|
10
|
+
s.date = '2012-03-07'
|
|
11
11
|
s.authors = ['Michael \'manveru\' Fellinger']
|
|
12
12
|
s.email = 'm.fellinger@gmail.com'
|
|
13
13
|
s.summary = 'Ramaze is a simple and modular web framework'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
|
|
2
|
-
# All files in this distribution are subject to the terms of the
|
|
2
|
+
# All files in this distribution are subject to the terms of the MIT license.
|
|
3
3
|
|
|
4
4
|
require File.expand_path('../../../../spec/helper', __FILE__)
|
|
5
5
|
require 'ramaze/spec/helper/template_examples'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
|
|
2
|
-
# All files in this distribution are subject to the terms of the
|
|
2
|
+
# All files in this distribution are subject to the terms of the MIT license.
|
|
3
3
|
|
|
4
4
|
require File.expand_path('../../../../spec/helper', __FILE__)
|
|
5
5
|
require 'ramaze/spec/helper/template_examples'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
|
|
2
|
-
# All files in this distribution are subject to the terms of the
|
|
2
|
+
# All files in this distribution are subject to the terms of the MIT license.
|
|
3
3
|
|
|
4
4
|
require File.expand_path('../../../../spec/helper', __FILE__)
|
|
5
5
|
require 'ramaze/spec/helper/template_examples'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
|
|
2
|
-
# All files in this distribution are subject to the terms of the
|
|
2
|
+
# All files in this distribution are subject to the terms of the MIT license.
|
|
3
3
|
|
|
4
4
|
require File.expand_path('../../../../spec/helper', __FILE__)
|
|
5
5
|
require 'ramaze/spec/helper/template_examples'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
|
|
2
|
-
# All files in this distribution are subject to the terms of the
|
|
2
|
+
# All files in this distribution are subject to the terms of the MIT license.
|
|
3
3
|
|
|
4
4
|
require File.expand_path('../../../../spec/helper', __FILE__)
|
|
5
5
|
require 'ramaze/spec/helper/template_examples'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
|
|
2
|
-
# All files in this distribution are subject to the terms of the
|
|
2
|
+
# All files in this distribution are subject to the terms of the MIT license.
|
|
3
3
|
|
|
4
4
|
require File.expand_path('../../../../spec/helper', __FILE__)
|
|
5
5
|
require 'ramaze/spec/helper/template_examples'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
|
|
2
|
-
# All files in this distribution are subject to the terms of the
|
|
2
|
+
# All files in this distribution are subject to the terms of the MIT license.
|
|
3
3
|
|
|
4
4
|
require File.expand_path('../../../../spec/helper', __FILE__)
|
|
5
5
|
require 'ramaze/spec/helper/template_examples'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
|
|
2
|
-
# All files in this distribution are subject to the terms of the
|
|
2
|
+
# All files in this distribution are subject to the terms of the MIT license.
|
|
3
3
|
|
|
4
4
|
require File.expand_path('../../../../spec/helper', __FILE__)
|
|
5
5
|
require 'ramaze/spec/helper/template_examples'
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# Copyright (c) 2009 Michael Fellinger m.fellinger@gmail.com
|
|
2
|
-
# All files in this distribution are subject to the terms of the
|
|
2
|
+
# All files in this distribution are subject to the terms of the MIT license.
|
|
3
3
|
|
|
4
4
|
require File.expand_path('../../../../spec/helper', __FILE__)
|
|
5
5
|
require 'ramaze/spec/helper/template_examples'
|