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.
Files changed (178) hide show
  1. data/.gems +34 -0
  2. data/.travis.yml +0 -1
  3. data/.yardopts +3 -2
  4. data/README.md +8 -6
  5. data/examples/app/blog/controller/init.rb +0 -1
  6. data/examples/app/blog/controller/posts.rb +0 -9
  7. data/examples/app/blog/controller/users.rb +0 -8
  8. data/examples/app/blog/model/comment.rb +0 -3
  9. data/examples/app/blog/model/post.rb +0 -2
  10. data/examples/app/blog/model/user.rb +1 -6
  11. data/examples/app/wikore/spec/wikore.rb +2 -2
  12. data/examples/app/wikore/src/model.rb +2 -8
  13. data/examples/app/wikore/start.rb +2 -2
  14. data/examples/misc/memleak_detector.rb +1 -1
  15. data/guide/AUTHORS +5 -2
  16. data/guide/CHANGELOG +203 -0
  17. data/guide/LICENSE +19 -0
  18. data/guide/general/contributing.md +74 -1
  19. data/guide/general/helpers.md +14 -0
  20. data/guide/general/middlewares.md +35 -16
  21. data/guide/general/sessions.md +39 -13
  22. data/lib/proto/layout/default.xhtml +1 -1
  23. data/lib/ramaze.rb +1 -1
  24. data/lib/ramaze/cache.rb +1 -1
  25. data/lib/ramaze/cache/localmemcache.rb +1 -1
  26. data/lib/ramaze/cache/lru.rb +1 -1
  27. data/lib/ramaze/controller.rb +1 -1
  28. data/lib/ramaze/dependencies.rb +3 -2
  29. data/lib/ramaze/gestalt.rb +1 -1
  30. data/lib/ramaze/helper.rb +1 -1
  31. data/lib/ramaze/helper/auth.rb +1 -1
  32. data/lib/ramaze/helper/cache.rb +1 -1
  33. data/lib/ramaze/helper/csrf.rb +14 -21
  34. data/lib/ramaze/helper/erector.rb +1 -1
  35. data/lib/ramaze/helper/flash.rb +1 -1
  36. data/lib/ramaze/helper/formatting.rb +1 -1
  37. data/lib/ramaze/helper/identity.rb +1 -1
  38. data/lib/ramaze/helper/link.rb +1 -1
  39. data/lib/ramaze/helper/markaby.rb +1 -1
  40. data/lib/ramaze/helper/stack.rb +1 -1
  41. data/lib/ramaze/helper/tagz.rb +1 -1
  42. data/lib/ramaze/helper/thread.rb +1 -1
  43. data/lib/ramaze/helper/user.rb +68 -30
  44. data/lib/ramaze/log.rb +1 -1
  45. data/lib/ramaze/log/analogger.rb +1 -1
  46. data/lib/ramaze/log/growl.rb +1 -1
  47. data/lib/ramaze/log/hub.rb +1 -1
  48. data/lib/ramaze/log/informer.rb +1 -1
  49. data/lib/ramaze/log/knotify.rb +1 -1
  50. data/lib/ramaze/log/logger.rb +1 -1
  51. data/lib/ramaze/log/logging.rb +1 -1
  52. data/lib/ramaze/log/syslog.rb +1 -1
  53. data/lib/ramaze/log/xosd.rb +1 -1
  54. data/lib/ramaze/plugin.rb +1 -1
  55. data/lib/ramaze/reloader.rb +1 -1
  56. data/lib/ramaze/request.rb +1 -1
  57. data/lib/ramaze/response.rb +1 -1
  58. data/lib/ramaze/snippets.rb +1 -1
  59. data/lib/ramaze/snippets/array/put_within.rb +1 -1
  60. data/lib/ramaze/snippets/kernel/pretty_inspect.rb +1 -1
  61. data/lib/ramaze/snippets/numeric/filesize_format.rb +1 -1
  62. data/lib/ramaze/snippets/object/__dir__.rb +1 -1
  63. data/lib/ramaze/snippets/object/instance_variable_defined.rb +1 -1
  64. data/lib/ramaze/snippets/ordered_set.rb +1 -1
  65. data/lib/ramaze/snippets/ramaze/acquire.rb +1 -1
  66. data/lib/ramaze/snippets/ramaze/struct.rb +1 -1
  67. data/lib/ramaze/snippets/string/camel_case.rb +1 -1
  68. data/lib/ramaze/snippets/string/color.rb +1 -1
  69. data/lib/ramaze/snippets/string/end_with.rb +1 -1
  70. data/lib/ramaze/snippets/string/ord.rb +1 -1
  71. data/lib/ramaze/snippets/string/snake_case.rb +1 -1
  72. data/lib/ramaze/snippets/thread/into.rb +1 -1
  73. data/lib/ramaze/spec/helper/template_examples.rb +1 -1
  74. data/lib/ramaze/version.rb +1 -1
  75. data/lib/ramaze/view.rb +3 -2
  76. data/lib/ramaze/view/erector.rb +16 -14
  77. data/lib/ramaze/view/erubis.rb +4 -3
  78. data/lib/ramaze/view/ezamar.rb +3 -1
  79. data/lib/ramaze/view/haml.rb +4 -0
  80. data/lib/ramaze/view/liquid.rb +4 -3
  81. data/lib/ramaze/view/lokar.rb +3 -1
  82. data/lib/ramaze/view/mustache.rb +3 -1
  83. data/lib/ramaze/view/nagoro.rb +4 -1
  84. data/lib/ramaze/view/remarkably.rb +4 -0
  85. data/lib/ramaze/view/sass.rb +5 -1
  86. data/lib/ramaze/view/slim.rb +45 -0
  87. data/lib/ramaze/view/slippers.rb +8 -6
  88. data/lib/ramaze/view/tagz.rb +3 -1
  89. data/lib/ramaze/view/tenjin.rb +3 -1
  90. data/ramaze.gemspec +1 -1
  91. data/spec/examples/templates/template_erubis.rb +1 -1
  92. data/spec/examples/templates/template_ezamar.rb +1 -1
  93. data/spec/examples/templates/template_haml.rb +1 -1
  94. data/spec/examples/templates/template_liquid.rb +1 -1
  95. data/spec/examples/templates/template_markaby.rb +1 -1
  96. data/spec/examples/templates/template_mustache.rb +1 -1
  97. data/spec/examples/templates/template_nagoro.rb +1 -1
  98. data/spec/examples/templates/template_remarkably.rb +1 -1
  99. data/spec/examples/templates/template_tenjin.rb +1 -1
  100. data/spec/ramaze/action/render.rb +1 -1
  101. data/spec/ramaze/app.rb +1 -1
  102. data/spec/ramaze/app/location.rb +1 -1
  103. data/spec/ramaze/cache/localmemcache.rb +1 -1
  104. data/spec/ramaze/cache/lru.rb +1 -1
  105. data/spec/ramaze/cache/memcache.rb +1 -1
  106. data/spec/ramaze/cache/redis.rb +1 -1
  107. data/spec/ramaze/cache/sequel.rb +1 -1
  108. data/spec/ramaze/controller/actionless_templates.rb +1 -1
  109. data/spec/ramaze/controller/lonely_mapping.rb +1 -1
  110. data/spec/ramaze/controller/mapping.rb +1 -1
  111. data/spec/ramaze/controller/provide_inheritance.rb +1 -1
  112. data/spec/ramaze/controller/resolve.rb +1 -1
  113. data/spec/ramaze/controller/subclass.rb +1 -1
  114. data/spec/ramaze/controller/template_resolving.rb +1 -1
  115. data/spec/ramaze/dispatcher/directory.rb +1 -1
  116. data/spec/ramaze/dispatcher/file.rb +1 -1
  117. data/spec/ramaze/error.rb +1 -1
  118. data/spec/ramaze/files.rb +1 -1
  119. data/spec/ramaze/gestalt.rb +1 -1
  120. data/spec/ramaze/helper/auth.rb +1 -1
  121. data/spec/ramaze/helper/bench.rb +1 -1
  122. data/spec/ramaze/helper/cache.rb +1 -1
  123. data/spec/ramaze/helper/csrf.rb +10 -19
  124. data/spec/ramaze/helper/flash.rb +1 -1
  125. data/spec/ramaze/helper/formatting.rb +1 -1
  126. data/spec/ramaze/helper/gestalt.rb +1 -1
  127. data/spec/ramaze/helper/gravatar.rb +1 -1
  128. data/spec/ramaze/helper/layout.rb +1 -1
  129. data/spec/ramaze/helper/link.rb +1 -1
  130. data/spec/ramaze/helper/localize.rb +1 -1
  131. data/spec/ramaze/helper/maruku.rb +1 -1
  132. data/spec/ramaze/helper/paginate.rb +1 -1
  133. data/spec/ramaze/helper/request_accessor.rb +1 -1
  134. data/spec/ramaze/helper/simple_captcha.rb +1 -1
  135. data/spec/ramaze/helper/stack.rb +1 -1
  136. data/spec/ramaze/helper/user.rb +1 -1
  137. data/spec/ramaze/helper/xhtml.rb +1 -1
  138. data/spec/ramaze/log/informer.rb +1 -1
  139. data/spec/ramaze/log/logging.rb +1 -1
  140. data/spec/ramaze/log/syslog.rb +1 -1
  141. data/spec/ramaze/params.rb +1 -1
  142. data/spec/ramaze/request.rb +1 -1
  143. data/spec/ramaze/session/memcache.rb +1 -1
  144. data/spec/ramaze/struct.rb +1 -1
  145. data/spec/ramaze/view.rb +1 -1
  146. data/spec/ramaze/view/erubis.rb +1 -1
  147. data/spec/ramaze/view/ezamar.rb +1 -1
  148. data/spec/ramaze/view/gestalt.rb +1 -1
  149. data/spec/ramaze/view/haml.rb +1 -1
  150. data/spec/ramaze/view/liquid.rb +1 -1
  151. data/spec/ramaze/view/lokar.rb +1 -1
  152. data/spec/ramaze/view/mustache.rb +1 -1
  153. data/spec/ramaze/view/nagoro.rb +1 -1
  154. data/spec/ramaze/view/remarkably.rb +1 -1
  155. data/spec/ramaze/view/sass.rb +1 -1
  156. data/spec/ramaze/view/slim.rb +49 -0
  157. data/spec/ramaze/view/slim/external.slim +5 -0
  158. data/spec/ramaze/view/slim/external_vars.slim +5 -0
  159. data/spec/ramaze/view/tagz.rb +1 -1
  160. data/spec/ramaze/view/tenjin.rb +1 -1
  161. data/spec/snippets/array/put_within.rb +1 -1
  162. data/spec/snippets/binding/locals.rb +1 -1
  163. data/spec/snippets/numeric/filesize_format.rb +1 -1
  164. data/spec/snippets/numeric/time.rb +1 -1
  165. data/spec/snippets/object/__dir__.rb +1 -1
  166. data/spec/snippets/ordered_set.rb +1 -1
  167. data/spec/snippets/ramaze/acquire.rb +1 -1
  168. data/spec/snippets/ramaze/dictionary.rb +1 -1
  169. data/spec/snippets/ramaze/lru_hash.rb +1 -1
  170. data/spec/snippets/ramaze/struct.rb +1 -1
  171. data/spec/snippets/string/camel_case.rb +1 -1
  172. data/spec/snippets/string/color.rb +1 -1
  173. data/spec/snippets/string/snake_case.rb +1 -1
  174. data/spec/snippets/string/unindent.rb +1 -1
  175. data/spec/snippets/thread/into.rb +1 -1
  176. metadata +75 -60
  177. data/guide/GPL_LICENSE +0 -339
  178. data/guide/RUBY_LICENSE +0 -53
@@ -1,6 +1,6 @@
1
1
 
2
2
  # Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
3
- # All files in this distribution are subject to the terms of the Ruby license.
3
+ # All files in this distribution are subject to the terms of the MIT license.
4
4
 
5
5
  module Ramaze
6
6
  class Struct < ::Struct
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
2
- # All files in this distribution are subject to the terms of the Ruby license.
2
+ # All files in this distribution are subject to the terms of the MIT license.
3
3
 
4
4
  module Ramaze
5
5
  module CoreExtensions
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
2
- # All files in this distribution are subject to the terms of the Ruby license.
2
+ # All files in this distribution are subject to the terms of the MIT license.
3
3
 
4
4
  module Ramaze
5
5
  module CoreExtensions
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
2
- # All files in this distribution are subject to the terms of the Ruby license.
2
+ # All files in this distribution are subject to the terms of the MIT license.
3
3
 
4
4
  module Ramaze
5
5
  module CoreExtensions
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
2
- # All files in this distribution are subject to the terms of the Ruby license.
2
+ # All files in this distribution are subject to the terms of the MIT license.
3
3
 
4
4
  module Ramaze
5
5
  module CoreExtensions
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
2
- # All files in this distribution are subject to the terms of the Ruby license.
2
+ # All files in this distribution are subject to the terms of the MIT license.
3
3
 
4
4
  module Ramaze
5
5
  module CoreExtensions
@@ -1,5 +1,5 @@
1
1
  # Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
2
- # All files in this distribution are subject to the terms of the Ruby license.
2
+ # All files in this distribution are subject to the terms of the MIT license.
3
3
 
4
4
  # Extensions for Thread
5
5
  class Thread
@@ -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 Ruby license.
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
@@ -1,3 +1,3 @@
1
1
  module Ramaze
2
- VERSION = "2011.12.28"
2
+ VERSION = "2012.03.07"
3
3
  end
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 Ruby license.
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
- auto_register :Lokar, :lok
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
@@ -1,6 +1,8 @@
1
- require 'erector'
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
 
@@ -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 Ruby license.
3
-
4
- require 'erubis'
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
@@ -1,4 +1,6 @@
1
- require 'ezamar'
1
+ Ramaze.setup(:verbose => false) do
2
+ gem 'ezamar'
3
+ end
2
4
 
3
5
  module Ramaze
4
6
  module View
@@ -1,3 +1,7 @@
1
+ Ramaze.setup(:verbose => false) do
2
+ gem 'haml'
3
+ end
4
+
1
5
  require 'haml/util'
2
6
  require 'haml/engine'
3
7
 
@@ -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 Ruby license.
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
@@ -1,4 +1,6 @@
1
- require 'lokar'
1
+ Ramaze.setup(:verbose => false) do
2
+ gem 'lokar'
3
+ end
2
4
 
3
5
  module Ramaze
4
6
  module View
@@ -1,4 +1,6 @@
1
- require 'mustache'
1
+ Ramaze.setup(:verbose => false) do
2
+ gem 'mustache'
3
+ end
2
4
 
3
5
  module Ramaze
4
6
  module View
@@ -1,4 +1,7 @@
1
- require 'nagoro'
1
+ Ramaze.setup(:verbose => false) do
2
+ gem 'nagoro'
3
+ end
4
+
2
5
  require 'ramaze/view/nagoro/render_partial'
3
6
 
4
7
  module Ramaze
@@ -1,3 +1,7 @@
1
+ Ramaze.setup(:verbose => false) do
2
+ gem 'Remarkably', :lib => 'remarkably'
3
+ end
4
+
1
5
  require 'remarkably/engines/html'
2
6
 
3
7
  module Ramaze
@@ -1,5 +1,9 @@
1
+ Ramaze.setup(:verbose => false) do
2
+ gem 'haml'
3
+ gem 'sass'
4
+ end
5
+
1
6
  require 'haml/util'
2
- require 'sass'
3
7
 
4
8
  module Ramaze
5
9
  module View
@@ -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
@@ -1,4 +1,6 @@
1
- require 'slippers'
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
@@ -1,4 +1,6 @@
1
- require 'tagz'
1
+ Ramaze.setup(:verbose => false) do
2
+ gem 'tagz'
3
+ end
2
4
 
3
5
  module Ramaze
4
6
  module View
@@ -1,4 +1,6 @@
1
- require 'tenjin'
1
+ Ramaze.setup(:verbose => false) do
2
+ gem 'tenjin'
3
+ end
2
4
 
3
5
  module Ramaze
4
6
  module View
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 = '2011-12-28'
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 Ruby license.
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 Ruby license.
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 Ruby license.
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 Ruby license.
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 Ruby license.
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 Ruby license.
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 Ruby license.
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 Ruby license.
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 Ruby license.
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'