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
data/spec/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
  require File.expand_path('../../../spec/helper', __FILE__)
5
5
 
@@ -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
  spec_require 'erubis'
@@ -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
  spec_require 'ezamar'
@@ -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
  spec_require 'ramaze/gestalt'
@@ -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
  spec_require 'haml'
@@ -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
  spec_require 'liquid'
@@ -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
 
@@ -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
  spec_require 'mustache'
@@ -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
 
@@ -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
  spec_require 'remarkably'
@@ -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
  spec_require 'haml/util', 'sass'
@@ -0,0 +1,49 @@
1
+ require File.expand_path('../../../../spec/helper', __FILE__)
2
+ spec_require 'slim'
3
+
4
+ Ramaze::App.options.views = 'slim'
5
+
6
+ class SpecSlim < Ramaze::Controller
7
+ map '/'
8
+ engine :slim
9
+
10
+ def index
11
+ @value = 'foo'
12
+
13
+ return 'h1 Slim index with #{@value}'
14
+ end
15
+
16
+ def external_vars
17
+ @name = 'Slim'
18
+ end
19
+ end # SpecSlim
20
+
21
+ describe 'Ramaze::View::Slim' do
22
+ behaves_like :rack_test
23
+
24
+ should 'render an inline template' do
25
+ got = get('/')
26
+
27
+ got.body.should == '<h1>Slim index with foo</h1>'
28
+ got.status.should == 200
29
+ got['Content-Type'].should == 'text/html'
30
+ end
31
+
32
+ should 'render an external template' do
33
+ got = get('/external')
34
+
35
+ got.status.should == 200
36
+ got['Content-Type'].should == 'text/html'
37
+ got.body.should == '<html><head><title>Slim Template</title></head>' \
38
+ '<body><p>External Slim template</p></body></html>'
39
+ end
40
+
41
+ should 'render an external template with variables' do
42
+ got = get('/external')
43
+
44
+ got.status.should == 200
45
+ got['Content-Type'].should == 'text/html'
46
+ got.body.should == '<html><head><title>Slim Template</title></head>' \
47
+ '<body><p>External Slim template</p></body></html>'
48
+ end
49
+ end
@@ -0,0 +1,5 @@
1
+ html
2
+ head
3
+ title Slim Template
4
+ body
5
+ p External Slim template
@@ -0,0 +1,5 @@
1
+ html
2
+ head
3
+ title Slim Template
4
+ body
5
+ p External #{@name} template
@@ -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
  spec_require 'tagz'
@@ -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
  spec_require 'tenjin'
@@ -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('../../../../lib/ramaze/spec/helper/snippets', __FILE__)
5
5
 
@@ -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('../../../../lib/ramaze/spec/helper/snippets', __FILE__)
5
5
 
@@ -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('../../../../lib/ramaze/spec/helper/snippets', __FILE__)
5
5
 
@@ -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('../../../../lib/ramaze/spec/helper/snippets', __FILE__)
5
5
 
@@ -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('../../../../lib/ramaze/spec/helper/snippets', __FILE__)
5
5
 
@@ -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('../../../lib/ramaze/spec/helper/snippets', __FILE__)
5
5
 
@@ -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('../../../../lib/ramaze/spec/helper/snippets', __FILE__)
5
5
  require 'fileutils'
@@ -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('../../../../lib/ramaze/spec/helper/snippets', __FILE__)
5
5
 
@@ -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('../../../../lib/ramaze/spec/helper/snippets', __FILE__)
5
5
 
@@ -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('../../../../lib/ramaze/spec/helper/snippets', __FILE__)
5
5
 
@@ -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('../../../../lib/ramaze/spec/helper/snippets', __FILE__)
5
5
 
@@ -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('../../../../lib/ramaze/spec/helper/snippets', __FILE__)
5
5
 
@@ -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('../../../../lib/ramaze/spec/helper/snippets', __FILE__)
5
5
 
@@ -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('../../../../lib/ramaze/spec/helper/snippets', __FILE__)
5
5
 
@@ -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('../../../../lib/ramaze/spec/helper/snippets', __FILE__)
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ramaze
3
3
  version: !ruby/object:Gem::Version
4
- version: 2011.12.28
4
+ version: 2012.03.07
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-28 00:00:00.000000000 Z
12
+ date: 2012-03-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: innate
16
- requirement: &2152388220 !ruby/object:Gem::Requirement
16
+ requirement: &2156549440 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: '2011.12'
21
+ version: '2012.03'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2152388220
24
+ version_requirements: *2156549440
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bacon
27
- requirement: &2152387280 !ruby/object:Gem::Requirement
27
+ requirement: &2156548220 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.1.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2152387280
35
+ version_requirements: *2156548220
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: dalli
38
- requirement: &2152386120 !ruby/object:Gem::Requirement
38
+ requirement: &2156547000 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.0.5
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2152386120
46
+ version_requirements: *2156547000
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: erector
49
- requirement: &2152383400 !ruby/object:Gem::Requirement
49
+ requirement: &2156545960 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 0.8.2
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2152383400
57
+ version_requirements: *2156545960
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: erubis
60
- requirement: &2152382860 !ruby/object:Gem::Requirement
60
+ requirement: &2156545300 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 2.7.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *2152382860
68
+ version_requirements: *2156545300
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: ezamar
71
- requirement: &2152382340 !ruby/object:Gem::Requirement
71
+ requirement: &2156560720 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '2009.06'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *2152382340
79
+ version_requirements: *2156560720
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: sass
82
- requirement: &2152381600 !ruby/object:Gem::Requirement
82
+ requirement: &2156557720 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 3.1.4
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *2152381600
90
+ version_requirements: *2156557720
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: haml
93
- requirement: &2152380920 !ruby/object:Gem::Requirement
93
+ requirement: &2156553480 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: 3.1.2
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *2152380920
101
+ version_requirements: *2156553480
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: hpricot
104
- requirement: &2152378680 !ruby/object:Gem::Requirement
104
+ requirement: &2156567320 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: 0.8.4
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *2152378680
112
+ version_requirements: *2156567320
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: liquid
115
- requirement: &2152378180 !ruby/object:Gem::Requirement
115
+ requirement: &2156566820 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: 2.2.2
121
121
  type: :development
122
122
  prerelease: false
123
- version_requirements: *2152378180
123
+ version_requirements: *2156566820
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: locale
126
- requirement: &2152377740 !ruby/object:Gem::Requirement
126
+ requirement: &2156566220 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ! '>='
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: 2.0.5
132
132
  type: :development
133
133
  prerelease: false
134
- version_requirements: *2152377740
134
+ version_requirements: *2156566220
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: maruku
137
- requirement: &2152376680 !ruby/object:Gem::Requirement
137
+ requirement: &2156565520 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: 0.6.0
143
143
  type: :development
144
144
  prerelease: false
145
- version_requirements: *2152376680
145
+ version_requirements: *2156565520
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: mustache
148
- requirement: &2152375720 !ruby/object:Gem::Requirement
148
+ requirement: &2156564540 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,10 +153,10 @@ dependencies:
153
153
  version: 0.99.4
154
154
  type: :development
155
155
  prerelease: false
156
- version_requirements: *2152375720
156
+ version_requirements: *2156564540
157
157
  - !ruby/object:Gem::Dependency
158
158
  name: rack-contrib
159
- requirement: &2152375200 !ruby/object:Gem::Requirement
159
+ requirement: &2156563960 !ruby/object:Gem::Requirement
160
160
  none: false
161
161
  requirements:
162
162
  - - ! '>='
@@ -164,10 +164,10 @@ dependencies:
164
164
  version: 1.1.0
165
165
  type: :development
166
166
  prerelease: false
167
- version_requirements: *2152375200
167
+ version_requirements: *2156563960
168
168
  - !ruby/object:Gem::Dependency
169
169
  name: rack-test
170
- requirement: &2152374240 !ruby/object:Gem::Requirement
170
+ requirement: &2156562960 !ruby/object:Gem::Requirement
171
171
  none: false
172
172
  requirements:
173
173
  - - ! '>='
@@ -175,10 +175,10 @@ dependencies:
175
175
  version: 0.6.0
176
176
  type: :development
177
177
  prerelease: false
178
- version_requirements: *2152374240
178
+ version_requirements: *2156562960
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: Remarkably
181
- requirement: &2152373060 !ruby/object:Gem::Requirement
181
+ requirement: &2156561880 !ruby/object:Gem::Requirement
182
182
  none: false
183
183
  requirements:
184
184
  - - ! '>='
@@ -186,10 +186,10 @@ dependencies:
186
186
  version: 0.6.1
187
187
  type: :development
188
188
  prerelease: false
189
- version_requirements: *2152373060
189
+ version_requirements: *2156561880
190
190
  - !ruby/object:Gem::Dependency
191
191
  name: sequel
192
- requirement: &2152371580 !ruby/object:Gem::Requirement
192
+ requirement: &2156577520 !ruby/object:Gem::Requirement
193
193
  none: false
194
194
  requirements:
195
195
  - - ! '>='
@@ -197,10 +197,10 @@ dependencies:
197
197
  version: 3.25.0
198
198
  type: :development
199
199
  prerelease: false
200
- version_requirements: *2152371580
200
+ version_requirements: *2156577520
201
201
  - !ruby/object:Gem::Dependency
202
202
  name: slippers
203
- requirement: &2152371080 !ruby/object:Gem::Requirement
203
+ requirement: &2156576860 !ruby/object:Gem::Requirement
204
204
  none: false
205
205
  requirements:
206
206
  - - ! '>='
@@ -208,10 +208,10 @@ dependencies:
208
208
  version: 0.0.14
209
209
  type: :development
210
210
  prerelease: false
211
- version_requirements: *2152371080
211
+ version_requirements: *2156576860
212
212
  - !ruby/object:Gem::Dependency
213
213
  name: sqlite3
214
- requirement: &2152370600 !ruby/object:Gem::Requirement
214
+ requirement: &2156576360 !ruby/object:Gem::Requirement
215
215
  none: false
216
216
  requirements:
217
217
  - - ! '>='
@@ -219,10 +219,10 @@ dependencies:
219
219
  version: 1.3.3
220
220
  type: :development
221
221
  prerelease: false
222
- version_requirements: *2152370600
222
+ version_requirements: *2156576360
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: tagz
225
- requirement: &2152370160 !ruby/object:Gem::Requirement
225
+ requirement: &2156575820 !ruby/object:Gem::Requirement
226
226
  none: false
227
227
  requirements:
228
228
  - - ! '>='
@@ -230,10 +230,10 @@ dependencies:
230
230
  version: 9.0.0
231
231
  type: :development
232
232
  prerelease: false
233
- version_requirements: *2152370160
233
+ version_requirements: *2156575820
234
234
  - !ruby/object:Gem::Dependency
235
235
  name: tenjin
236
- requirement: &2152369620 !ruby/object:Gem::Requirement
236
+ requirement: &2156575020 !ruby/object:Gem::Requirement
237
237
  none: false
238
238
  requirements:
239
239
  - - ! '>='
@@ -241,10 +241,10 @@ dependencies:
241
241
  version: 0.6.1
242
242
  type: :development
243
243
  prerelease: false
244
- version_requirements: *2152369620
244
+ version_requirements: *2156575020
245
245
  - !ruby/object:Gem::Dependency
246
246
  name: yard
247
- requirement: &2152369080 !ruby/object:Gem::Requirement
247
+ requirement: &2156573040 !ruby/object:Gem::Requirement
248
248
  none: false
249
249
  requirements:
250
250
  - - ! '>='
@@ -252,10 +252,10 @@ dependencies:
252
252
  version: 0.7.2
253
253
  type: :development
254
254
  prerelease: false
255
- version_requirements: *2152369080
255
+ version_requirements: *2156573040
256
256
  - !ruby/object:Gem::Dependency
257
257
  name: redis
258
- requirement: &2152368480 !ruby/object:Gem::Requirement
258
+ requirement: &2156571480 !ruby/object:Gem::Requirement
259
259
  none: false
260
260
  requirements:
261
261
  - - ! '>='
@@ -263,10 +263,10 @@ dependencies:
263
263
  version: 2.2.2
264
264
  type: :development
265
265
  prerelease: false
266
- version_requirements: *2152368480
266
+ version_requirements: *2156571480
267
267
  - !ruby/object:Gem::Dependency
268
268
  name: rdiscount
269
- requirement: &2152367820 !ruby/object:Gem::Requirement
269
+ requirement: &2156570240 !ruby/object:Gem::Requirement
270
270
  none: false
271
271
  requirements:
272
272
  - - ! '>='
@@ -274,10 +274,21 @@ dependencies:
274
274
  version: 1.6.8
275
275
  type: :development
276
276
  prerelease: false
277
- version_requirements: *2152367820
277
+ version_requirements: *2156570240
278
+ - !ruby/object:Gem::Dependency
279
+ name: slim
280
+ requirement: &2156585340 !ruby/object:Gem::Requirement
281
+ none: false
282
+ requirements:
283
+ - - ! '>='
284
+ - !ruby/object:Gem::Version
285
+ version: 1.1.0
286
+ type: :development
287
+ prerelease: false
288
+ version_requirements: *2156585340
278
289
  - !ruby/object:Gem::Dependency
279
290
  name: lokar
280
- requirement: &2152367180 !ruby/object:Gem::Requirement
291
+ requirement: &2156584200 !ruby/object:Gem::Requirement
281
292
  none: false
282
293
  requirements:
283
294
  - - ! '>='
@@ -285,10 +296,10 @@ dependencies:
285
296
  version: 0.2.1
286
297
  type: :development
287
298
  prerelease: false
288
- version_requirements: *2152367180
299
+ version_requirements: *2156584200
289
300
  - !ruby/object:Gem::Dependency
290
301
  name: ruby-growl
291
- requirement: &2152366740 !ruby/object:Gem::Requirement
302
+ requirement: &2156582980 !ruby/object:Gem::Requirement
292
303
  none: false
293
304
  requirements:
294
305
  - - ! '>='
@@ -296,10 +307,10 @@ dependencies:
296
307
  version: '3.0'
297
308
  type: :development
298
309
  prerelease: false
299
- version_requirements: *2152366740
310
+ version_requirements: *2156582980
300
311
  - !ruby/object:Gem::Dependency
301
312
  name: nagoro
302
- requirement: &2152366040 !ruby/object:Gem::Requirement
313
+ requirement: &2156581780 !ruby/object:Gem::Requirement
303
314
  none: false
304
315
  requirements:
305
316
  - - ! '>='
@@ -307,7 +318,7 @@ dependencies:
307
318
  version: '2009.05'
308
319
  type: :development
309
320
  prerelease: false
310
- version_requirements: *2152366040
321
+ version_requirements: *2156581780
311
322
  description: Ramaze is a simple and modular web framework
312
323
  email: m.fellinger@gmail.com
313
324
  executables:
@@ -315,6 +326,7 @@ executables:
315
326
  extensions: []
316
327
  extra_rdoc_files: []
317
328
  files:
329
+ - .gems
318
330
  - .gitignore
319
331
  - .mailmap
320
332
  - .rvmrc
@@ -456,8 +468,7 @@ files:
456
468
  - examples/templates/view/external.zmr
457
469
  - guide/AUTHORS
458
470
  - guide/CHANGELOG
459
- - guide/GPL_LICENSE
460
- - guide/RUBY_LICENSE
471
+ - guide/LICENSE
461
472
  - guide/_static/logo.png
462
473
  - guide/_static/logo.svg
463
474
  - guide/_static/ramaze_console.png
@@ -619,6 +630,7 @@ files:
619
630
  - lib/ramaze/view/nagoro/render_partial.rb
620
631
  - lib/ramaze/view/remarkably.rb
621
632
  - lib/ramaze/view/sass.rb
633
+ - lib/ramaze/view/slim.rb
622
634
  - lib/ramaze/view/slippers.rb
623
635
  - lib/ramaze/view/tagz.rb
624
636
  - lib/ramaze/view/tenjin.rb
@@ -765,6 +777,9 @@ files:
765
777
  - spec/ramaze/view/remarkably/sum.rem
766
778
  - spec/ramaze/view/sass.rb
767
779
  - spec/ramaze/view/sass/file.css.sass
780
+ - spec/ramaze/view/slim.rb
781
+ - spec/ramaze/view/slim/external.slim
782
+ - spec/ramaze/view/slim/external_vars.slim
768
783
  - spec/ramaze/view/slippers.rb
769
784
  - spec/ramaze/view/slippers/external.st
770
785
  - spec/ramaze/view/slippers/sum.st
@@ -817,7 +832,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
817
832
  version: 1.3.5
818
833
  requirements: []
819
834
  rubyforge_project:
820
- rubygems_version: 1.8.10
835
+ rubygems_version: 1.8.16
821
836
  signing_key:
822
837
  specification_version: 3
823
838
  summary: Ramaze is a simple and modular web framework