ramaze 2011.01.30 → 2011.07.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (229) hide show
  1. data/.gitignore +2 -1
  2. data/.mailmap +2 -0
  3. data/.rvmrc +1 -0
  4. data/README.md +119 -197
  5. data/Rakefile +14 -97
  6. data/bin/ramaze +6 -14
  7. data/doc/AUTHORS +8 -4
  8. data/doc/CHANGELOG +3784 -3339
  9. data/examples/app/chat/start.rb +2 -2
  10. data/lib/proto/app.rb +2 -3
  11. data/lib/proto/config.ru +4 -5
  12. data/lib/proto/controller/init.rb +11 -4
  13. data/lib/proto/controller/main.rb +12 -7
  14. data/lib/proto/layout/default.xhtml +56 -23
  15. data/lib/proto/model/init.rb +3 -1
  16. data/lib/proto/public/css/grid.css +107 -0
  17. data/lib/proto/public/css/layout.css +81 -0
  18. data/lib/proto/public/css/reset.css +123 -0
  19. data/lib/proto/public/css/text.css +109 -0
  20. data/lib/proto/public/images/bg.png +0 -0
  21. data/lib/proto/spec/main.rb +2 -2
  22. data/lib/proto/start.rb +11 -1
  23. data/lib/proto/view/index.xhtml +27 -23
  24. data/lib/ramaze.rb +0 -1
  25. data/lib/ramaze/app.rb +85 -12
  26. data/lib/ramaze/app_graph.rb +107 -0
  27. data/lib/ramaze/bin/console.rb +87 -0
  28. data/lib/ramaze/bin/create.rb +94 -0
  29. data/lib/ramaze/bin/helper.rb +107 -0
  30. data/lib/ramaze/bin/restart.rb +95 -0
  31. data/lib/ramaze/bin/runner.rb +141 -0
  32. data/lib/ramaze/bin/start.rb +206 -0
  33. data/lib/ramaze/bin/status.rb +152 -0
  34. data/lib/ramaze/bin/stop.rb +112 -0
  35. data/lib/ramaze/cache.rb +9 -4
  36. data/lib/ramaze/cache/localmemcache.rb +10 -13
  37. data/lib/ramaze/cache/lru.rb +49 -7
  38. data/lib/ramaze/cache/memcache.rb +170 -92
  39. data/lib/ramaze/cache/sequel.rb +301 -118
  40. data/lib/ramaze/controller.rb +108 -9
  41. data/lib/ramaze/controller/default.rb +15 -2
  42. data/lib/ramaze/current.rb +14 -2
  43. data/lib/ramaze/dependencies.rb +46 -0
  44. data/lib/ramaze/files.rb +38 -3
  45. data/lib/ramaze/gestalt.rb +12 -12
  46. data/lib/ramaze/helper.rb +0 -2
  47. data/lib/ramaze/helper/auth.rb +30 -23
  48. data/lib/ramaze/helper/blue_form.rb +175 -126
  49. data/lib/ramaze/helper/csrf.rb +76 -91
  50. data/lib/ramaze/helper/email.rb +105 -0
  51. data/lib/ramaze/helper/erector.rb +16 -15
  52. data/lib/ramaze/helper/gestalt.rb +2 -2
  53. data/lib/ramaze/helper/layout.rb +89 -73
  54. data/lib/ramaze/helper/link.rb +7 -6
  55. data/lib/ramaze/helper/localize.rb +6 -5
  56. data/lib/ramaze/helper/markaby.rb +25 -23
  57. data/lib/ramaze/helper/maruku.rb +3 -3
  58. data/lib/ramaze/helper/paginate.rb +19 -27
  59. data/lib/ramaze/helper/remarkably.rb +3 -3
  60. data/lib/ramaze/helper/request_accessor.rb +3 -3
  61. data/lib/ramaze/helper/send_file.rb +12 -8
  62. data/lib/ramaze/helper/simple_captcha.rb +5 -6
  63. data/lib/ramaze/helper/stack.rb +7 -4
  64. data/lib/ramaze/helper/tagz.rb +10 -11
  65. data/lib/ramaze/helper/thread.rb +19 -16
  66. data/lib/ramaze/helper/ultraviolet.rb +7 -4
  67. data/lib/ramaze/helper/user.rb +40 -21
  68. data/lib/ramaze/helper/xhtml.rb +29 -20
  69. data/lib/ramaze/log.rb +3 -11
  70. data/lib/ramaze/log/analogger.rb +5 -4
  71. data/lib/ramaze/log/growl.rb +9 -7
  72. data/lib/ramaze/log/hub.rb +3 -5
  73. data/lib/ramaze/log/informer.rb +15 -12
  74. data/lib/ramaze/log/knotify.rb +3 -5
  75. data/lib/ramaze/log/logger.rb +3 -5
  76. data/lib/ramaze/log/logging.rb +6 -8
  77. data/lib/ramaze/log/rotatinginformer.rb +27 -17
  78. data/lib/ramaze/log/syslog.rb +7 -7
  79. data/lib/ramaze/log/xosd.rb +3 -5
  80. data/lib/ramaze/middleware_compiler.rb +27 -4
  81. data/lib/ramaze/reloader.rb +50 -12
  82. data/lib/ramaze/reloader/watch_inotify.rb +4 -5
  83. data/lib/ramaze/reloader/watch_stat.rb +3 -3
  84. data/lib/ramaze/request.rb +18 -8
  85. data/lib/ramaze/response.rb +38 -7
  86. data/lib/ramaze/rest.rb +36 -0
  87. data/lib/ramaze/setup.rb +101 -31
  88. data/lib/ramaze/spec.rb +1 -1
  89. data/lib/ramaze/spec/bacon.rb +6 -3
  90. data/lib/ramaze/spec/helper/bacon.rb +0 -1
  91. data/lib/ramaze/version.rb +1 -1
  92. data/lib/ramaze/view.rb +2 -11
  93. data/lib/ramaze/view/erector.rb +46 -31
  94. data/lib/ramaze/view/erubis.rb +7 -3
  95. data/lib/ramaze/view/ezamar.rb +7 -3
  96. data/lib/ramaze/view/gestalt.rb +9 -3
  97. data/lib/ramaze/view/haml.rb +7 -3
  98. data/lib/ramaze/view/liquid.rb +3 -3
  99. data/lib/ramaze/view/lokar.rb +7 -3
  100. data/lib/ramaze/view/mustache.rb +11 -5
  101. data/lib/ramaze/view/nagoro.rb +3 -3
  102. data/lib/ramaze/view/sass.rb +1 -1
  103. data/lib/ramaze/view/slippers.rb +40 -13
  104. data/lib/ramaze/view/tagz.rb +9 -5
  105. data/ramaze.gemspec +23 -128
  106. data/spec/helper.rb +5 -0
  107. data/spec/ramaze/bin/app/config.ru +11 -0
  108. data/spec/ramaze/bin/create.rb +28 -0
  109. data/spec/ramaze/bin/runner.rb +30 -0
  110. data/spec/ramaze/bin/start.rb +38 -0
  111. data/spec/ramaze/cache/memcache.rb +10 -3
  112. data/spec/ramaze/cache/sequel.rb +7 -0
  113. data/spec/ramaze/controller/provide_inheritance.rb +0 -10
  114. data/spec/ramaze/dispatcher/file.rb +19 -15
  115. data/spec/ramaze/helper/auth.rb +10 -9
  116. data/spec/ramaze/helper/blue_form.rb +121 -68
  117. data/spec/ramaze/helper/email.rb +69 -0
  118. data/spec/ramaze/helper/layout.rb +12 -15
  119. data/spec/ramaze/helper/layout/alternative.xhtml +5 -0
  120. data/spec/ramaze/helper/user.rb +2 -0
  121. data/spec/ramaze/log/growl.rb +14 -1
  122. data/spec/{contrib → ramaze}/rest.rb +1 -1
  123. data/spec/ramaze/session/memcache.rb +2 -2
  124. data/spec/ramaze/view/sass.rb +1 -1
  125. data/tasks/bacon.rake +3 -3
  126. data/tasks/gem.rake +17 -18
  127. data/tasks/rcov.rake +2 -3
  128. data/tasks/release.rake +8 -65
  129. data/tasks/setup.rake +10 -8
  130. data/tasks/todo.rake +9 -5
  131. data/tasks/yard.rake +3 -2
  132. metadata +105 -397
  133. data/MANIFEST +0 -532
  134. data/TODO.md +0 -19
  135. data/benchmark/bench_templates/bench.rb +0 -67
  136. data/benchmark/bench_templates/view/large.erb +0 -79
  137. data/benchmark/bench_templates/view/large.haml +0 -41
  138. data/benchmark/bench_templates/view/large.lok +0 -79
  139. data/benchmark/bench_templates/view/large.xhtml +0 -79
  140. data/benchmark/bench_templates/view/small.erb +0 -21
  141. data/benchmark/bench_templates/view/small.haml +0 -12
  142. data/benchmark/bench_templates/view/small.lok +0 -21
  143. data/benchmark/bench_templates/view/small.xhtml +0 -21
  144. data/benchmark/results.txt +0 -131
  145. data/benchmark/run.rb +0 -355
  146. data/benchmark/suite/minimal.rb +0 -11
  147. data/benchmark/suite/no_informer.rb +0 -7
  148. data/benchmark/suite/no_sessions.rb +0 -9
  149. data/benchmark/suite/no_template.rb +0 -7
  150. data/benchmark/suite/simple.rb +0 -5
  151. data/benchmark/suite/template_erubis.rb +0 -8
  152. data/benchmark/suite/template_etanni.rb +0 -8
  153. data/benchmark/suite/template_ezamar.rb +0 -8
  154. data/benchmark/suite/template_haml.rb +0 -13
  155. data/benchmark/suite/template_liquid.rb +0 -11
  156. data/benchmark/suite/template_markaby.rb +0 -9
  157. data/benchmark/suite/template_nagoro.rb +0 -8
  158. data/benchmark/suite/template_redcloth.rb +0 -13
  159. data/benchmark/suite/template_tenjin.rb +0 -8
  160. data/benchmark/test.rb +0 -35
  161. data/doc/FAQ +0 -92
  162. data/doc/INSTALL +0 -92
  163. data/doc/TODO +0 -29
  164. data/doc/meta/announcement.txt +0 -119
  165. data/doc/meta/configuration.txt +0 -163
  166. data/doc/meta/internals.txt +0 -278
  167. data/doc/meta/users.kml +0 -64
  168. data/doc/tutorial/todolist.html +0 -1512
  169. data/doc/tutorial/todolist.txt +0 -920
  170. data/examples/app/sourceview/public/coderay.css +0 -104
  171. data/examples/app/sourceview/public/images/file.gif +0 -0
  172. data/examples/app/sourceview/public/images/folder.gif +0 -0
  173. data/examples/app/sourceview/public/images/tv-collapsable-last.gif +0 -0
  174. data/examples/app/sourceview/public/images/tv-collapsable.gif +0 -0
  175. data/examples/app/sourceview/public/images/tv-expandable-last.gif +0 -0
  176. data/examples/app/sourceview/public/images/tv-expandable.gif +0 -0
  177. data/examples/app/sourceview/public/images/tv-item-last.gif +0 -0
  178. data/examples/app/sourceview/public/images/tv-item.gif +0 -0
  179. data/examples/app/sourceview/public/jquery.js +0 -11
  180. data/examples/app/sourceview/public/jquery.treeview.css +0 -48
  181. data/examples/app/sourceview/public/jquery.treeview.js +0 -223
  182. data/examples/app/sourceview/public/sourceview.js +0 -52
  183. data/examples/app/sourceview/start.rb +0 -79
  184. data/examples/app/sourceview/view/index.haml +0 -59
  185. data/examples/helpers/httpdigest.rb +0 -107
  186. data/lib/proto/public/css/screen.css +0 -30
  187. data/lib/proto/public/js/jquery.js +0 -7179
  188. data/lib/ramaze/contrib/addressable_route.rb +0 -56
  189. data/lib/ramaze/contrib/app_graph.rb +0 -64
  190. data/lib/ramaze/contrib/email.rb +0 -88
  191. data/lib/ramaze/contrib/facebook.rb +0 -23
  192. data/lib/ramaze/contrib/facebook/facebook.rb +0 -171
  193. data/lib/ramaze/contrib/gettext.rb +0 -113
  194. data/lib/ramaze/contrib/gettext/mo.rb +0 -155
  195. data/lib/ramaze/contrib/gettext/parser.rb +0 -46
  196. data/lib/ramaze/contrib/gettext/po.rb +0 -109
  197. data/lib/ramaze/contrib/gzip_filter.rb +0 -1
  198. data/lib/ramaze/contrib/maruku_uv.rb +0 -59
  199. data/lib/ramaze/contrib/profiling.rb +0 -36
  200. data/lib/ramaze/contrib/rest.rb +0 -23
  201. data/lib/ramaze/contrib/sequel/create_join.rb +0 -26
  202. data/lib/ramaze/contrib/sequel/form_field.rb +0 -129
  203. data/lib/ramaze/contrib/sequel/image.rb +0 -196
  204. data/lib/ramaze/contrib/sequel/relation.rb +0 -98
  205. data/lib/ramaze/helper/httpdigest.rb +0 -96
  206. data/lib/ramaze/tool/bin.rb +0 -340
  207. data/lib/ramaze/tool/create.rb +0 -48
  208. data/lib/ramaze/tool/project_creator.rb +0 -120
  209. data/lib/ramaze/view/less.rb +0 -12
  210. data/lib/ramaze/view/maruku.rb +0 -15
  211. data/lib/ramaze/view/redcloth.rb +0 -21
  212. data/spec/contrib/addressable_route.rb +0 -30
  213. data/spec/examples/helpers/httpdigest.rb +0 -64
  214. data/spec/examples/templates/template_redcloth.rb +0 -13
  215. data/spec/ramaze/bin/ramaze.rb +0 -96
  216. data/spec/ramaze/helper/httpdigest.rb +0 -176
  217. data/spec/ramaze/view/less.rb +0 -60
  218. data/spec/ramaze/view/less/file.css.less +0 -8
  219. data/spec/ramaze/view/redcloth.rb +0 -66
  220. data/spec/ramaze/view/redcloth/external.redcloth +0 -8
  221. data/tasks/copyright.rake +0 -21
  222. data/tasks/gem_setup.rake +0 -112
  223. data/tasks/git.rake +0 -46
  224. data/tasks/grancher.rake +0 -12
  225. data/tasks/jquery.rake +0 -15
  226. data/tasks/manifest.rake +0 -4
  227. data/tasks/metric_changes.rake +0 -24
  228. data/tasks/reversion.rake +0 -8
  229. data/tasks/traits.rake +0 -21
@@ -0,0 +1,69 @@
1
+ require File.expand_path('../../../../spec/helper', __FILE__)
2
+ require 'ramaze/helper/email'
3
+
4
+ include Ramaze::Helper::Email
5
+
6
+ # Modify Net::SMTP so it doesn't actually send the Emails
7
+ class Net::SMTP
8
+ MockData = {
9
+ :email => nil,
10
+ :sender => nil,
11
+ :receivers => [],
12
+ :helo => nil,
13
+ :user => nil,
14
+ :secret => nil,
15
+ :auth_type => nil
16
+ }
17
+
18
+ def start(helo = 'localhost', user = nil, secret = nil, auth_type = nil)
19
+ MockData[:helo], MockData[:user], MockData[:secret], MockData[:auth_type] = helo, \
20
+ user, secret, auth_type
21
+
22
+ if block_given?
23
+ return yield(self)
24
+ else
25
+ return self
26
+ end
27
+ end
28
+
29
+ # Rather than sending the Email we'll store them in a variable
30
+ def send_message(email, sender, *to_addrs)
31
+ MockData[:email], MockData[:sender], MockData[:receivers] = email, sender, to_addrs
32
+ end
33
+ end # Net::SMTP
34
+
35
+ describe Ramaze::Helper::Email do
36
+
37
+ it('The options should be available') do
38
+ Ramaze::Helper::Email.options.host.should.equal ''
39
+ Ramaze::Helper::Email.options.auth_type.should.equal :login
40
+ end
41
+
42
+ it('The options should be editable') do
43
+ Ramaze::Helper::Email.options.host = 'smtp.awesome.tld'
44
+ Ramaze::Helper::Email.options.host.should.equal 'smtp.awesome.tld'
45
+ end
46
+
47
+ it('Send an Email') do
48
+ Ramaze::Helper::Email.options.host = 'smtp_host'
49
+ Ramaze::Helper::Email.options.username = 'smtp_user'
50
+ Ramaze::Helper::Email.options.password = 'smtp_pass'
51
+ Ramaze::Helper::Email.options.sender = 'email@domain.tld'
52
+
53
+ send_email('email@domain.tld', 'simple', 'This is a simple email')
54
+
55
+ Net::SMTP::MockData[:helo].should.empty
56
+ Net::SMTP::MockData[:sender].should.equal 'email@domain.tld'
57
+ Net::SMTP::MockData[:user].should.equal 'smtp_user'
58
+ Net::SMTP::MockData[:secret].should.equal 'smtp_pass'
59
+ Net::SMTP::MockData[:auth_type].should.equal :login
60
+
61
+ # Right, time to validate the actual Email itself
62
+ [
63
+ /From: email@domain\.tld/, /To: <email@domain\.tld>/, /Subject: simple/, /\r\n/
64
+ ].each do |regex|
65
+ Net::SMTP::MockData[:email].should.match regex
66
+ end
67
+ end
68
+
69
+ end
@@ -22,18 +22,16 @@ class LayoutHelperTwo < Ramaze::Controller
22
22
  def not_laid_out; end
23
23
  end
24
24
 
25
- class LayoutHelper < Ramaze::Controller
25
+ class LayoutHelperThree < Ramaze::Controller
26
26
  map '/three'
27
- set_layout_except 'default' => [:not_laid_out1, :not_laid_out2]
27
+ set_layout 'default' => [:laid_out1], 'alternative' => [:laid_out2]
28
+ set_layout 'default' => [:laid_out3]
28
29
 
29
30
  def laid_out1; end
30
31
  def laid_out2; end
31
-
32
- def not_laid_out1; end
33
- def not_laid_out2; end
32
+ def laid_out3; end
34
33
  end
35
34
 
36
-
37
35
  describe Ramaze::Helper::Layout do
38
36
  behaves_like :rack_test
39
37
 
@@ -61,19 +59,18 @@ describe Ramaze::Helper::Layout do
61
59
  last_response.body.should.not.match /laid out/
62
60
  end
63
61
 
64
- it 'lays out all actions except a blacklist' do
62
+ it 'Define a set of method specific layouts' do
65
63
  get '/three/laid_out1'
66
- last_response.status.should == 200
64
+ last_response.status.should === 200
67
65
  last_response.body.should.match /laid out/
66
+
68
67
  get '/three/laid_out2'
69
- last_response.status.should == 200
68
+ last_response.status.should === 200
69
+ last_response.body.should.match /alternative/
70
+
71
+ get '/three/laid_out3'
72
+ last_response.status.should === 200
70
73
  last_response.body.should.match /laid out/
71
- get '/three/not_laid_out1'
72
- last_response.status.should == 200
73
- last_response.body.should.not.match /laid out/
74
- get '/three/not_laid_out2'
75
- last_response.status.should == 200
76
- last_response.body.should.not.match /laid out/
77
74
  end
78
75
 
79
76
  end
@@ -0,0 +1,5 @@
1
+ <em>alternative</em>
2
+
3
+ <div id="content">
4
+ #@content
5
+ </div>
@@ -63,6 +63,7 @@ describe Ramaze::Helper::UserHelper do
63
63
  get('/status').body.should == 'yes'
64
64
  get('/profile').body.should == MockSequelUser.new.profile
65
65
  get('/logout').status.should == 200
66
+ get('/status').body.should == 'no'
66
67
  end
67
68
 
68
69
  should 'login via the callback' do
@@ -71,5 +72,6 @@ describe Ramaze::Helper::UserHelper do
71
72
  get('/callback/status').body.should == 'yes'
72
73
  get('/callback/profile').body.should == MockSequelUser.new.profile
73
74
  get('/logout').status.should == 200
75
+ get('/callback/status').body.should == 'no'
74
76
  end
75
77
  end
@@ -1,7 +1,20 @@
1
1
  require File.expand_path('../../../../spec/helper', __FILE__)
2
2
 
3
3
  spec_precondition 'ruby-growl is installed' do
4
- require 'ruby-growl'
4
+ if !RUBY_PLATFORM.include?('darwin')
5
+ should.flunk 'Growl can only be installed on Mac OS'
6
+ else
7
+ spec_require 'ruby-growl'
8
+ end
9
+ end
10
+
11
+ spec_precondition 'Growl should be running' do
12
+ begin
13
+ growl = Ramaze::Logger::Growl.new
14
+ growl.log(:info, 'Ramaze connection test')
15
+ rescue
16
+ should.flunk 'Growl is not running'
17
+ end
5
18
  end
6
19
 
7
20
  require 'ramaze/log/growl'
@@ -1,5 +1,5 @@
1
1
  require File.expand_path('../../../spec/helper', __FILE__)
2
- require 'ramaze/contrib/rest'
2
+ require 'ramaze/rest'
3
3
 
4
4
  class Posts < Ramaze::Controller
5
5
  map '/'
@@ -2,10 +2,10 @@
2
2
  # All files in this distribution are subject to the terms of the Ruby license.
3
3
 
4
4
  require File.expand_path('../../../../spec/helper', __FILE__)
5
+ require 'dalli'
5
6
 
6
7
  spec_precondition 'memcached is running' do
7
- require 'memcache'
8
- cache = MemCache.new(['localhost:11211'])
8
+ cache = Dalli::Client.new('localhost:11211')
9
9
  cache.set('active', true)
10
10
  end
11
11
 
@@ -2,7 +2,7 @@
2
2
  # All files in this distribution are subject to the terms of the Ruby license.
3
3
 
4
4
  require File.expand_path('../../../../spec/helper', __FILE__)
5
- spec_require 'haml/util', 'sass/engine'
5
+ spec_require 'haml/util', 'sass'
6
6
 
7
7
  Ramaze::App.options.views = 'sass'
8
8
 
data/tasks/bacon.rake CHANGED
@@ -7,10 +7,10 @@ task :bacon => :setup do
7
7
  specs = PROJECT_SPECS
8
8
 
9
9
  some_failed = false
10
- specs_size = specs.size
11
- len = specs.map{|s| s.size }.sort.last
10
+ specs_size = specs.size
11
+ len = specs.map{|s| s.size }.sort.last
12
12
  total_tests = total_assertions = total_failures = total_errors = 0
13
- totals = Vector[0, 0, 0, 0]
13
+ totals = Vector[0, 0, 0, 0]
14
14
 
15
15
  red, yellow, green = "\e[31m%s\e[0m", "\e[33m%s\e[0m", "\e[32m%s\e[0m"
16
16
  left_format = "%4d/%d: %-#{len + 11}s"
data/tasks/gem.rake CHANGED
@@ -1,22 +1,21 @@
1
- require 'rake/gempackagetask'
1
+ namespace :gem do
2
+ desc 'builds the gem and moves it to the pkg/ directory'
3
+ task :build do
4
+ pkg_dir = File.expand_path('../../pkg', __FILE__)
2
5
 
3
- task :gemspec => [:manifest, :changelog] do
4
- gemspec_file = "#{GEMSPEC.name}.gemspec"
5
- File.open(gemspec_file, 'w+'){|gs| gs.puts(GEMSPEC.to_ruby) }
6
- end
6
+ Dir.mkdir(pkg_dir) if !File.directory?(pkg_dir)
7
7
 
8
- desc "package and install from gemspec"
9
- task :install => [:gemspec] do
10
- sh "gem build #{GEMSPEC.name}.gemspec"
11
- sh "gem install #{GEMSPEC.name}-#{GEMSPEC.version}.gem"
12
- end
8
+ sh "gem build #{GEMSPEC.name}.gemspec"
9
+ sh "mv #{GEMSPEC.name}-#{GEMSPEC.version}.gem #{pkg_dir}"
10
+ end
13
11
 
14
- desc "uninstall the gem"
15
- task :uninstall => [:clean] do
16
- sh %{gem uninstall -x #{GEMSPEC.name}}
17
- end
12
+ desc "package and install from gemspec"
13
+ task :install => [:build] do
14
+ sh "gem install pkg/#{GEMSPEC.name}-#{GEMSPEC.version}.gem"
15
+ end
18
16
 
19
- Rake::GemPackageTask.new(GEMSPEC) do |p|
20
- p.need_tar = true
21
- p.need_zip = true
22
- end
17
+ desc "uninstall the gem"
18
+ task :uninstall do
19
+ sh %{gem uninstall -x #{GEMSPEC.name}}
20
+ end
21
+ end # namespace :gem
data/tasks/rcov.rake CHANGED
@@ -1,7 +1,6 @@
1
1
  desc 'code coverage'
2
- task :rcov => :clean do
3
- specs = PROJECT_SPECS
4
-
2
+ task :rcov do
3
+ specs = PROJECT_SPECS
5
4
  ignore = %w[ gem rack bacon innate hpricot nagoro/lib/nagoro ]
6
5
 
7
6
  if RUBY_VERSION >= '1.8.7'
data/tasks/release.rake CHANGED
@@ -1,66 +1,9 @@
1
- namespace :release do
2
- task :prepare => %w[jquery reversion authors gemspec]
3
- task :all => %w[release:github release:rubyforge release:gemcutter]
4
-
5
- desc 'Release on github'
6
- task :github => :prepare do
7
- name, version = GEMSPEC.name, GEMSPEC.version
8
-
9
- sh('git', 'add',
10
- 'MANIFEST', 'doc/CHANGELOG', 'doc/AUTHORS',
11
- "#{name}.gemspec",
12
- 'lib/proto/public/js/jquery.js',
13
- "lib/#{name}/version.rb")
14
-
15
- puts <<-INSTRUCTIONS
16
- ================================================================================
17
-
18
- I added the relevant files, you can commit them, tag the commit, and push:
19
-
20
- git commit -m 'Version #{version}'
21
- git tag -a -m '#{version}' '#{version}'
22
- git push
23
-
24
- ================================================================================
25
- INSTRUCTIONS
26
- end
27
-
28
- desc 'Release on rubyforge'
29
- task :rubyforge => ['release:prepare', :package] do
30
- name, version = GEMSPEC.name, GEMSPEC.version
31
-
32
- pkgs = Dir["pkg/#{name}-#{version}.{tgz,zip}"].map{|file|
33
- "rubyforge add_file #{name} #{name} '#{version}' '#{file}'"
34
- }
35
-
36
- puts <<-INSTRUCTIONS
37
- ================================================================================
38
-
39
- To publish to rubyforge do following:
40
-
41
- rubyforge login
42
- rubyforge add_release #{name} #{name} '#{version}' pkg/#{name}-#{version}.gem
43
-
44
- To publish the archives for distro packagers:
45
-
46
- #{pkgs.join "\n"}
47
-
48
- ================================================================================
49
- INSTRUCTIONS
50
- end
51
-
52
- desc 'Release on gemcutter'
53
- task :gemcutter => ['release:prepare', :package] do
54
- name, version = GEMSPEC.name, GEMSPEC.version
55
-
56
- puts <<-INSTRUCTIONS
57
- ================================================================================
58
-
59
- To publish to gemcutter do following:
60
-
61
- gem push pkg/#{name}-#{version}.gem
62
-
63
- ================================================================================
64
- INSTRUCTIONS
65
- end
1
+ desc 'Release on rubygems'
2
+ task :release => [:authors, 'gem:build'] do
3
+ name, version = GEMSPEC.name, GEMSPEC.version
4
+
5
+ puts <<-INSTRUCTIONS
6
+ To publish to Rubygems do following:
7
+ $ gem push pkg/#{GEMSPEC.name}-#{GEMSPEC.version}.gem
8
+ INSTRUCTIONS
66
9
  end
data/tasks/setup.rake CHANGED
@@ -1,12 +1,14 @@
1
+ require File.expand_path('../../lib/ramaze/setup', __FILE__)
2
+
1
3
  desc 'install all possible dependencies'
2
- task :setup => [:gem_setup] do
3
- GemSetup.new :verbose => false do
4
- DEPENDENCIES.each do |name, options|
5
- gem(name, options)
6
- end
4
+ task :setup do
5
+ Ramaze.setup(:verbose => false) do
6
+ deps = Ramaze::DEPENDENCIES + Ramaze::DEVELOPMENT_DEPENDENCIES
7
7
 
8
- DEVELOPMENT_DEPENDENCIES.each do |name, options|
9
- gem(name, options)
8
+ deps.each do |dep|
9
+ if dep[:setup] != false
10
+ gem(dep[:name], dep[:version], :lib => dep.delete(:lib))
11
+ end
10
12
  end
11
13
  end
12
- end
14
+ end # task :setup
data/tasks/todo.rake CHANGED
@@ -1,20 +1,24 @@
1
1
  desc "show a todolist from all the TODO tags in the source"
2
2
  task :todo do
3
+ yellow = "\e[33m%s\e[0m"
4
+
3
5
  Dir.glob('{lib,spec}/**/*.rb') do |file|
4
6
  lastline = todo = comment = long_comment = false
5
7
 
6
8
  File.readlines(file).each_with_index do |line, lineno|
7
- lineno += 1
8
- comment = line =~ /^\s*?#.*?$/
9
+ lineno += 1
10
+ comment = line =~ /^\s*?#.*?$/
9
11
  long_comment = line =~ /^=begin/
10
12
  long_comment = line =~ /^=end/
13
+
11
14
  todo = true if line =~ /TODO|FIXME|THINK/ and (long_comment or comment)
12
15
  todo = false if line.gsub('#', '').strip.empty?
13
16
  todo = false unless comment or long_comment
17
+
14
18
  if todo
15
19
  unless lastline and lastline + 1 == lineno
16
20
  puts
17
- puts "vim #{file} +#{lineno}"
21
+ puts yellow % "#{file}#L#{lineno}"
18
22
  end
19
23
 
20
24
  l = line.strip.gsub(/^#\s*/, '')
@@ -22,6 +26,6 @@ task :todo do
22
26
  puts l
23
27
  lastline = lineno
24
28
  end
25
- end
29
+ end # File.readlines
26
30
  end
27
- end
31
+ end # task :todo
data/tasks/yard.rake CHANGED
@@ -1,4 +1,5 @@
1
1
  desc 'Generate YARD documentation'
2
- task :yard => :clean do
3
- sh("yardoc -o ydoc -r #{PROJECT_README}")
2
+ task :yard do
3
+ readme = File.expand_path('../../README.md', __FILE__)
4
+ sh("yardoc -o ydoc -r #{readme}")
4
5
  end
metadata CHANGED
@@ -1,12 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ramaze
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 2011
7
- - 1
8
- - 30
9
- version: 2011.01.30
4
+ prerelease:
5
+ version: 2011.07.25
10
6
  platform: ruby
11
7
  authors:
12
8
  - Michael 'manveru' Fellinger
@@ -14,7 +10,7 @@ autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
12
 
17
- date: 2011-01-30 00:00:00 -06:00
13
+ date: 2011-07-25 00:00:00 +02:00
18
14
  default_executable:
19
15
  dependencies:
20
16
  - !ruby/object:Gem::Dependency
@@ -25,475 +21,273 @@ dependencies:
25
21
  requirements:
26
22
  - - ">="
27
23
  - !ruby/object:Gem::Version
28
- segments:
29
- - 2010
30
- - 3
31
24
  version: "2010.03"
32
25
  type: :runtime
33
26
  version_requirements: *id001
34
27
  - !ruby/object:Gem::Dependency
35
- name: abstract
28
+ name: bacon
36
29
  prerelease: false
37
30
  requirement: &id002 !ruby/object:Gem::Requirement
38
31
  none: false
39
32
  requirements:
40
- - - "="
33
+ - - ">="
41
34
  - !ruby/object:Gem::Version
42
- segments:
43
- - 1
44
- - 0
45
- - 0
46
- version: 1.0.0
35
+ version: 1.1.0
47
36
  type: :development
48
37
  version_requirements: *id002
49
38
  - !ruby/object:Gem::Dependency
50
- name: addressable
39
+ name: dalli
51
40
  prerelease: false
52
41
  requirement: &id003 !ruby/object:Gem::Requirement
53
42
  none: false
54
43
  requirements:
55
- - - "="
44
+ - - ">="
56
45
  - !ruby/object:Gem::Version
57
- segments:
58
- - 2
59
- - 1
60
- - 1
61
- version: 2.1.1
46
+ version: 1.0.5
62
47
  type: :development
63
48
  version_requirements: *id003
64
49
  - !ruby/object:Gem::Dependency
65
- name: bacon
50
+ name: erector
66
51
  prerelease: false
67
52
  requirement: &id004 !ruby/object:Gem::Requirement
68
53
  none: false
69
54
  requirements:
70
- - - "="
55
+ - - ">="
71
56
  - !ruby/object:Gem::Version
72
- segments:
73
- - 1
74
- - 1
75
- - 0
76
- version: 1.1.0
57
+ version: 0.8.2
77
58
  type: :development
78
59
  version_requirements: *id004
79
60
  - !ruby/object:Gem::Dependency
80
- name: builder
61
+ name: erubis
81
62
  prerelease: false
82
63
  requirement: &id005 !ruby/object:Gem::Requirement
83
64
  none: false
84
65
  requirements:
85
- - - "="
66
+ - - ">="
86
67
  - !ruby/object:Gem::Version
87
- segments:
88
- - 2
89
- - 1
90
- - 2
91
- version: 2.1.2
68
+ version: 2.7.0
92
69
  type: :development
93
70
  version_requirements: *id005
94
71
  - !ruby/object:Gem::Dependency
95
- name: erector
72
+ name: ezamar
96
73
  prerelease: false
97
74
  requirement: &id006 !ruby/object:Gem::Requirement
98
75
  none: false
99
76
  requirements:
100
- - - "="
77
+ - - ">="
101
78
  - !ruby/object:Gem::Version
102
- segments:
103
- - 0
104
- - 7
105
- - 2
106
- version: 0.7.2
79
+ version: "2009.06"
107
80
  type: :development
108
81
  version_requirements: *id006
109
82
  - !ruby/object:Gem::Dependency
110
- name: erubis
83
+ name: sass
111
84
  prerelease: false
112
85
  requirement: &id007 !ruby/object:Gem::Requirement
113
86
  none: false
114
87
  requirements:
115
- - - "="
88
+ - - ">="
116
89
  - !ruby/object:Gem::Version
117
- segments:
118
- - 2
119
- - 6
120
- - 5
121
- version: 2.6.5
90
+ version: 3.1.4
122
91
  type: :development
123
92
  version_requirements: *id007
124
93
  - !ruby/object:Gem::Dependency
125
- name: ezamar
94
+ name: haml
126
95
  prerelease: false
127
96
  requirement: &id008 !ruby/object:Gem::Requirement
128
97
  none: false
129
98
  requirements:
130
- - - "="
99
+ - - ">="
131
100
  - !ruby/object:Gem::Version
132
- segments:
133
- - 2009
134
- - 6
135
- version: "2009.06"
101
+ version: 3.1.2
136
102
  type: :development
137
103
  version_requirements: *id008
138
104
  - !ruby/object:Gem::Dependency
139
- name: haml
105
+ name: hpricot
140
106
  prerelease: false
141
107
  requirement: &id009 !ruby/object:Gem::Requirement
142
108
  none: false
143
109
  requirements:
144
- - - "="
110
+ - - ">="
145
111
  - !ruby/object:Gem::Version
146
- segments:
147
- - 2
148
- - 2
149
- - 22
150
- version: 2.2.22
112
+ version: 0.8.4
151
113
  type: :development
152
114
  version_requirements: *id009
153
115
  - !ruby/object:Gem::Dependency
154
- name: hpricot
116
+ name: liquid
155
117
  prerelease: false
156
118
  requirement: &id010 !ruby/object:Gem::Requirement
157
119
  none: false
158
120
  requirements:
159
- - - "="
121
+ - - ">="
160
122
  - !ruby/object:Gem::Version
161
- segments:
162
- - 0
163
- - 8
164
- - 2
165
- version: 0.8.2
123
+ version: 2.2.2
166
124
  type: :development
167
125
  version_requirements: *id010
168
126
  - !ruby/object:Gem::Dependency
169
- name: json
127
+ name: locale
170
128
  prerelease: false
171
129
  requirement: &id011 !ruby/object:Gem::Requirement
172
130
  none: false
173
131
  requirements:
174
- - - "="
132
+ - - ">="
175
133
  - !ruby/object:Gem::Version
176
- segments:
177
- - 1
178
- - 2
179
- - 3
180
- version: 1.2.3
134
+ version: 2.0.5
181
135
  type: :development
182
136
  version_requirements: *id011
183
137
  - !ruby/object:Gem::Dependency
184
- name: less
138
+ name: lokar
185
139
  prerelease: false
186
140
  requirement: &id012 !ruby/object:Gem::Requirement
187
141
  none: false
188
142
  requirements:
189
- - - "="
143
+ - - ">="
190
144
  - !ruby/object:Gem::Version
191
- segments:
192
- - 1
193
- - 2
194
- - 21
195
- version: 1.2.21
145
+ version: 0.2.1
196
146
  type: :development
197
147
  version_requirements: *id012
198
148
  - !ruby/object:Gem::Dependency
199
- name: liquid
149
+ name: maruku
200
150
  prerelease: false
201
151
  requirement: &id013 !ruby/object:Gem::Requirement
202
152
  none: false
203
153
  requirements:
204
- - - "="
154
+ - - ">="
205
155
  - !ruby/object:Gem::Version
206
- segments:
207
- - 2
208
- - 0
209
- - 0
210
- version: 2.0.0
156
+ version: 0.6.0
211
157
  type: :development
212
158
  version_requirements: *id013
213
159
  - !ruby/object:Gem::Dependency
214
- name: locale
160
+ name: mustache
215
161
  prerelease: false
216
162
  requirement: &id014 !ruby/object:Gem::Requirement
217
163
  none: false
218
164
  requirements:
219
- - - "="
165
+ - - ">="
220
166
  - !ruby/object:Gem::Version
221
- segments:
222
- - 2
223
- - 0
224
- - 5
225
- version: 2.0.5
167
+ version: 0.99.4
226
168
  type: :development
227
169
  version_requirements: *id014
228
170
  - !ruby/object:Gem::Dependency
229
- name: lokar
171
+ name: nagoro
230
172
  prerelease: false
231
173
  requirement: &id015 !ruby/object:Gem::Requirement
232
174
  none: false
233
175
  requirements:
234
- - - "="
176
+ - - ">="
235
177
  - !ruby/object:Gem::Version
236
- segments:
237
- - 0
238
- - 1
239
- - 0
240
- version: 0.1.0
178
+ version: "2009.05"
241
179
  type: :development
242
180
  version_requirements: *id015
243
181
  - !ruby/object:Gem::Dependency
244
- name: maruku
182
+ name: rack-contrib
245
183
  prerelease: false
246
184
  requirement: &id016 !ruby/object:Gem::Requirement
247
185
  none: false
248
186
  requirements:
249
- - - "="
187
+ - - ">="
250
188
  - !ruby/object:Gem::Version
251
- segments:
252
- - 0
253
- - 6
254
- - 0
255
- version: 0.6.0
189
+ version: 1.1.0
256
190
  type: :development
257
191
  version_requirements: *id016
258
192
  - !ruby/object:Gem::Dependency
259
- name: memcache-client
193
+ name: rack-test
260
194
  prerelease: false
261
195
  requirement: &id017 !ruby/object:Gem::Requirement
262
196
  none: false
263
197
  requirements:
264
- - - "="
198
+ - - ">="
265
199
  - !ruby/object:Gem::Version
266
- segments:
267
- - 1
268
- - 8
269
- - 1
270
- version: 1.8.1
200
+ version: 0.6.0
271
201
  type: :development
272
202
  version_requirements: *id017
273
203
  - !ruby/object:Gem::Dependency
274
- name: mustache
204
+ name: Remarkably
275
205
  prerelease: false
276
206
  requirement: &id018 !ruby/object:Gem::Requirement
277
207
  none: false
278
208
  requirements:
279
- - - "="
209
+ - - ">="
280
210
  - !ruby/object:Gem::Version
281
- segments:
282
- - 0
283
- - 9
284
- - 2
285
- version: 0.9.2
211
+ version: 0.6.1
286
212
  type: :development
287
213
  version_requirements: *id018
288
214
  - !ruby/object:Gem::Dependency
289
- name: mutter
215
+ name: sequel
290
216
  prerelease: false
291
217
  requirement: &id019 !ruby/object:Gem::Requirement
292
218
  none: false
293
219
  requirements:
294
- - - "="
220
+ - - ">="
295
221
  - !ruby/object:Gem::Version
296
- segments:
297
- - 0
298
- - 5
299
- - 3
300
- version: 0.5.3
222
+ version: 3.25.0
301
223
  type: :development
302
224
  version_requirements: *id019
303
225
  - !ruby/object:Gem::Dependency
304
- name: nagoro
226
+ name: slippers
305
227
  prerelease: false
306
228
  requirement: &id020 !ruby/object:Gem::Requirement
307
229
  none: false
308
230
  requirements:
309
- - - "="
231
+ - - ">="
310
232
  - !ruby/object:Gem::Version
311
- segments:
312
- - 2009
313
- - 5
314
- version: "2009.05"
233
+ version: 0.0.14
315
234
  type: :development
316
235
  version_requirements: *id020
317
236
  - !ruby/object:Gem::Dependency
318
- name: rack-contrib
237
+ name: sqlite3
319
238
  prerelease: false
320
239
  requirement: &id021 !ruby/object:Gem::Requirement
321
240
  none: false
322
241
  requirements:
323
- - - "="
242
+ - - ">="
324
243
  - !ruby/object:Gem::Version
325
- segments:
326
- - 0
327
- - 9
328
- - 2
329
- version: 0.9.2
244
+ version: 1.3.3
330
245
  type: :development
331
246
  version_requirements: *id021
332
247
  - !ruby/object:Gem::Dependency
333
- name: rack-test
248
+ name: tagz
334
249
  prerelease: false
335
250
  requirement: &id022 !ruby/object:Gem::Requirement
336
251
  none: false
337
252
  requirements:
338
- - - "="
253
+ - - ">="
339
254
  - !ruby/object:Gem::Version
340
- segments:
341
- - 0
342
- - 5
343
- - 3
344
- version: 0.5.3
255
+ version: 9.0.0
345
256
  type: :development
346
257
  version_requirements: *id022
347
258
  - !ruby/object:Gem::Dependency
348
- name: RedCloth
259
+ name: tenjin
349
260
  prerelease: false
350
261
  requirement: &id023 !ruby/object:Gem::Requirement
351
262
  none: false
352
263
  requirements:
353
- - - "="
264
+ - - ">="
354
265
  - !ruby/object:Gem::Version
355
- segments:
356
- - 4
357
- - 2
358
- - 3
359
- version: 4.2.3
266
+ version: 0.6.1
360
267
  type: :development
361
268
  version_requirements: *id023
362
269
  - !ruby/object:Gem::Dependency
363
- name: Remarkably
270
+ name: yard
364
271
  prerelease: false
365
272
  requirement: &id024 !ruby/object:Gem::Requirement
366
273
  none: false
367
274
  requirements:
368
- - - "="
275
+ - - ">="
369
276
  - !ruby/object:Gem::Version
370
- segments:
371
- - 0
372
- - 5
373
- - 2
374
- version: 0.5.2
277
+ version: 0.7.2
375
278
  type: :development
376
279
  version_requirements: *id024
377
280
  - !ruby/object:Gem::Dependency
378
- name: RubyInline
281
+ name: ruby-growl
379
282
  prerelease: false
380
283
  requirement: &id025 !ruby/object:Gem::Requirement
381
284
  none: false
382
285
  requirements:
383
- - - "="
286
+ - - ">="
384
287
  - !ruby/object:Gem::Version
385
- segments:
386
- - 3
387
- - 8
388
- - 4
389
- version: 3.8.4
288
+ version: "3.0"
390
289
  type: :development
391
290
  version_requirements: *id025
392
- - !ruby/object:Gem::Dependency
393
- name: sequel
394
- prerelease: false
395
- requirement: &id026 !ruby/object:Gem::Requirement
396
- none: false
397
- requirements:
398
- - - "="
399
- - !ruby/object:Gem::Version
400
- segments:
401
- - 3
402
- - 9
403
- - 0
404
- version: 3.9.0
405
- type: :development
406
- version_requirements: *id026
407
- - !ruby/object:Gem::Dependency
408
- name: scaffolding_extensions
409
- prerelease: false
410
- requirement: &id027 !ruby/object:Gem::Requirement
411
- none: false
412
- requirements:
413
- - - "="
414
- - !ruby/object:Gem::Version
415
- segments:
416
- - 1
417
- - 4
418
- - 0
419
- version: 1.4.0
420
- type: :development
421
- version_requirements: *id027
422
- - !ruby/object:Gem::Dependency
423
- name: slippers
424
- prerelease: false
425
- requirement: &id028 !ruby/object:Gem::Requirement
426
- none: false
427
- requirements:
428
- - - "="
429
- - !ruby/object:Gem::Version
430
- segments:
431
- - 0
432
- - 0
433
- - 14
434
- version: 0.0.14
435
- type: :development
436
- version_requirements: *id028
437
- - !ruby/object:Gem::Dependency
438
- name: sqlite3-ruby
439
- prerelease: false
440
- requirement: &id029 !ruby/object:Gem::Requirement
441
- none: false
442
- requirements:
443
- - - "="
444
- - !ruby/object:Gem::Version
445
- segments:
446
- - 1
447
- - 2
448
- - 5
449
- version: 1.2.5
450
- type: :development
451
- version_requirements: *id029
452
- - !ruby/object:Gem::Dependency
453
- name: tagz
454
- prerelease: false
455
- requirement: &id030 !ruby/object:Gem::Requirement
456
- none: false
457
- requirements:
458
- - - "="
459
- - !ruby/object:Gem::Version
460
- segments:
461
- - 7
462
- - 2
463
- - 3
464
- version: 7.2.3
465
- type: :development
466
- version_requirements: *id030
467
- - !ruby/object:Gem::Dependency
468
- name: tenjin
469
- prerelease: false
470
- requirement: &id031 !ruby/object:Gem::Requirement
471
- none: false
472
- requirements:
473
- - - "="
474
- - !ruby/object:Gem::Version
475
- segments:
476
- - 0
477
- - 6
478
- - 1
479
- version: 0.6.1
480
- type: :development
481
- version_requirements: *id031
482
- - !ruby/object:Gem::Dependency
483
- name: localmemcache
484
- prerelease: false
485
- requirement: &id032 !ruby/object:Gem::Requirement
486
- none: false
487
- requirements:
488
- - - "="
489
- - !ruby/object:Gem::Version
490
- segments:
491
- - 0
492
- - 4
493
- - 4
494
- version: 0.4.4
495
- type: :development
496
- version_requirements: *id032
497
291
  description: Ramaze is a simple and modular web framework
498
292
  email: m.fellinger@gmail.com
499
293
  executables:
@@ -505,51 +299,15 @@ extra_rdoc_files: []
505
299
  files:
506
300
  - .gitignore
507
301
  - .mailmap
508
- - MANIFEST
302
+ - .rvmrc
509
303
  - README.md
510
304
  - Rakefile
511
- - TODO.md
512
- - benchmark/bench_templates/bench.rb
513
- - benchmark/bench_templates/view/large.erb
514
- - benchmark/bench_templates/view/large.haml
515
- - benchmark/bench_templates/view/large.lok
516
- - benchmark/bench_templates/view/large.xhtml
517
- - benchmark/bench_templates/view/small.erb
518
- - benchmark/bench_templates/view/small.haml
519
- - benchmark/bench_templates/view/small.lok
520
- - benchmark/bench_templates/view/small.xhtml
521
- - benchmark/results.txt
522
- - benchmark/run.rb
523
- - benchmark/suite/minimal.rb
524
- - benchmark/suite/no_informer.rb
525
- - benchmark/suite/no_sessions.rb
526
- - benchmark/suite/no_template.rb
527
- - benchmark/suite/simple.rb
528
- - benchmark/suite/template_erubis.rb
529
- - benchmark/suite/template_etanni.rb
530
- - benchmark/suite/template_ezamar.rb
531
- - benchmark/suite/template_haml.rb
532
- - benchmark/suite/template_liquid.rb
533
- - benchmark/suite/template_markaby.rb
534
- - benchmark/suite/template_nagoro.rb
535
- - benchmark/suite/template_redcloth.rb
536
- - benchmark/suite/template_tenjin.rb
537
- - benchmark/test.rb
538
305
  - bin/ramaze
539
306
  - doc/AUTHORS
540
307
  - doc/CHANGELOG
541
308
  - doc/COPYING
542
- - doc/FAQ
543
309
  - doc/GPL
544
- - doc/INSTALL
545
310
  - doc/LEGAL
546
- - doc/TODO
547
- - doc/meta/announcement.txt
548
- - doc/meta/configuration.txt
549
- - doc/meta/internals.txt
550
- - doc/meta/users.kml
551
- - doc/tutorial/todolist.html
552
- - doc/tutorial/todolist.txt
553
311
  - examples/app/auth/layout/auth.xhtml
554
312
  - examples/app/auth/start.rb
555
313
  - examples/app/auth/view/index.xhtml
@@ -596,21 +354,6 @@ files:
596
354
  - examples/app/localization/locale/en.yaml
597
355
  - examples/app/localization/locale/ja.yaml
598
356
  - examples/app/localization/start.rb
599
- - examples/app/sourceview/public/coderay.css
600
- - examples/app/sourceview/public/images/file.gif
601
- - examples/app/sourceview/public/images/folder.gif
602
- - examples/app/sourceview/public/images/tv-collapsable-last.gif
603
- - examples/app/sourceview/public/images/tv-collapsable.gif
604
- - examples/app/sourceview/public/images/tv-expandable-last.gif
605
- - examples/app/sourceview/public/images/tv-expandable.gif
606
- - examples/app/sourceview/public/images/tv-item-last.gif
607
- - examples/app/sourceview/public/images/tv-item.gif
608
- - examples/app/sourceview/public/jquery.js
609
- - examples/app/sourceview/public/jquery.treeview.css
610
- - examples/app/sourceview/public/jquery.treeview.js
611
- - examples/app/sourceview/public/sourceview.js
612
- - examples/app/sourceview/start.rb
613
- - examples/app/sourceview/view/index.haml
614
357
  - examples/app/todolist/controller/init.rb
615
358
  - examples/app/todolist/controller/task.rb
616
359
  - examples/app/todolist/layout/default.xhtml
@@ -665,7 +408,6 @@ files:
665
408
  - examples/basic/partial.rb
666
409
  - examples/basic/simple.rb
667
410
  - examples/helpers/cache.rb
668
- - examples/helpers/httpdigest.rb
669
411
  - examples/helpers/identity.rb
670
412
  - examples/helpers/paginate.rb
671
413
  - examples/helpers/rest.rb
@@ -705,41 +447,37 @@ files:
705
447
  - lib/proto/layout/default.xhtml
706
448
  - lib/proto/model/init.rb
707
449
  - lib/proto/public/.htaccess
708
- - lib/proto/public/css/screen.css
450
+ - lib/proto/public/css/grid.css
451
+ - lib/proto/public/css/layout.css
452
+ - lib/proto/public/css/reset.css
453
+ - lib/proto/public/css/text.css
709
454
  - lib/proto/public/dispatch.fcgi
710
455
  - lib/proto/public/favicon.ico
711
- - lib/proto/public/js/jquery.js
456
+ - lib/proto/public/images/bg.png
712
457
  - lib/proto/public/ramaze.png
713
458
  - lib/proto/spec/main.rb
714
459
  - lib/proto/start.rb
715
460
  - lib/proto/view/index.xhtml
716
461
  - lib/ramaze.rb
717
462
  - lib/ramaze/app.rb
463
+ - lib/ramaze/app_graph.rb
464
+ - lib/ramaze/bin/console.rb
465
+ - lib/ramaze/bin/create.rb
466
+ - lib/ramaze/bin/helper.rb
467
+ - lib/ramaze/bin/restart.rb
468
+ - lib/ramaze/bin/runner.rb
469
+ - lib/ramaze/bin/start.rb
470
+ - lib/ramaze/bin/status.rb
471
+ - lib/ramaze/bin/stop.rb
718
472
  - lib/ramaze/cache.rb
719
473
  - lib/ramaze/cache/localmemcache.rb
720
474
  - lib/ramaze/cache/lru.rb
721
475
  - lib/ramaze/cache/memcache.rb
722
476
  - lib/ramaze/cache/sequel.rb
723
- - lib/ramaze/contrib/addressable_route.rb
724
- - lib/ramaze/contrib/app_graph.rb
725
- - lib/ramaze/contrib/email.rb
726
- - lib/ramaze/contrib/facebook.rb
727
- - lib/ramaze/contrib/facebook/facebook.rb
728
- - lib/ramaze/contrib/gettext.rb
729
- - lib/ramaze/contrib/gettext/mo.rb
730
- - lib/ramaze/contrib/gettext/parser.rb
731
- - lib/ramaze/contrib/gettext/po.rb
732
- - lib/ramaze/contrib/gzip_filter.rb
733
- - lib/ramaze/contrib/maruku_uv.rb
734
- - lib/ramaze/contrib/profiling.rb
735
- - lib/ramaze/contrib/rest.rb
736
- - lib/ramaze/contrib/sequel/create_join.rb
737
- - lib/ramaze/contrib/sequel/form_field.rb
738
- - lib/ramaze/contrib/sequel/image.rb
739
- - lib/ramaze/contrib/sequel/relation.rb
740
477
  - lib/ramaze/controller.rb
741
478
  - lib/ramaze/controller/default.rb
742
479
  - lib/ramaze/current.rb
480
+ - lib/ramaze/dependencies.rb
743
481
  - lib/ramaze/files.rb
744
482
  - lib/ramaze/gestalt.rb
745
483
  - lib/ramaze/helper.rb
@@ -749,12 +487,12 @@ files:
749
487
  - lib/ramaze/helper/cache.rb
750
488
  - lib/ramaze/helper/csrf.rb
751
489
  - lib/ramaze/helper/disqus.rb
490
+ - lib/ramaze/helper/email.rb
752
491
  - lib/ramaze/helper/erector.rb
753
492
  - lib/ramaze/helper/flash.rb
754
493
  - lib/ramaze/helper/formatting.rb
755
494
  - lib/ramaze/helper/gestalt.rb
756
495
  - lib/ramaze/helper/gravatar.rb
757
- - lib/ramaze/helper/httpdigest.rb
758
496
  - lib/ramaze/helper/identity.rb
759
497
  - lib/ramaze/helper/layout.rb
760
498
  - lib/ramaze/helper/link.rb
@@ -790,6 +528,7 @@ files:
790
528
  - lib/ramaze/reloader/watch_stat.rb
791
529
  - lib/ramaze/request.rb
792
530
  - lib/ramaze/response.rb
531
+ - lib/ramaze/rest.rb
793
532
  - lib/ramaze/setup.rb
794
533
  - lib/ramaze/snippets.rb
795
534
  - lib/ramaze/snippets/array/put_within.rb
@@ -827,9 +566,6 @@ files:
827
566
  - lib/ramaze/spec/helper/pretty_output.rb
828
567
  - lib/ramaze/spec/helper/snippets.rb
829
568
  - lib/ramaze/spec/helper/template_examples.rb
830
- - lib/ramaze/tool/bin.rb
831
- - lib/ramaze/tool/create.rb
832
- - lib/ramaze/tool/project_creator.rb
833
569
  - lib/ramaze/version.rb
834
570
  - lib/ramaze/view.rb
835
571
  - lib/ramaze/view/erector.rb
@@ -837,14 +573,11 @@ files:
837
573
  - lib/ramaze/view/ezamar.rb
838
574
  - lib/ramaze/view/gestalt.rb
839
575
  - lib/ramaze/view/haml.rb
840
- - lib/ramaze/view/less.rb
841
576
  - lib/ramaze/view/liquid.rb
842
577
  - lib/ramaze/view/lokar.rb
843
- - lib/ramaze/view/maruku.rb
844
578
  - lib/ramaze/view/mustache.rb
845
579
  - lib/ramaze/view/nagoro.rb
846
580
  - lib/ramaze/view/nagoro/render_partial.rb
847
- - lib/ramaze/view/redcloth.rb
848
581
  - lib/ramaze/view/remarkably.rb
849
582
  - lib/ramaze/view/sass.rb
850
583
  - lib/ramaze/view/slippers.rb
@@ -852,13 +585,10 @@ files:
852
585
  - lib/ramaze/view/tenjin.rb
853
586
  - lib/vendor/route_exceptions.rb
854
587
  - ramaze.gemspec
855
- - spec/contrib/addressable_route.rb
856
- - spec/contrib/rest.rb
857
588
  - spec/examples/caching.rb
858
589
  - spec/examples/css.rb
859
590
  - spec/examples/element.rb
860
591
  - spec/examples/hello.rb
861
- - spec/examples/helpers/httpdigest.rb
862
592
  - spec/examples/linking.rb
863
593
  - spec/examples/misc/sequel_scaffolding.rb
864
594
  - spec/examples/simple.rb
@@ -869,7 +599,6 @@ files:
869
599
  - spec/examples/templates/template_markaby.rb
870
600
  - spec/examples/templates/template_mustache.rb
871
601
  - spec/examples/templates/template_nagoro.rb
872
- - spec/examples/templates/template_redcloth.rb
873
602
  - spec/examples/templates/template_remarkably.rb
874
603
  - spec/examples/templates/template_tenjin.rb
875
604
  - spec/examples/todolist.rb
@@ -884,7 +613,10 @@ files:
884
613
  - spec/ramaze/action/view/sub/sub_wrapper.xhtml
885
614
  - spec/ramaze/app.rb
886
615
  - spec/ramaze/app/location.rb
887
- - spec/ramaze/bin/ramaze.rb
616
+ - spec/ramaze/bin/app/config.ru
617
+ - spec/ramaze/bin/create.rb
618
+ - spec/ramaze/bin/runner.rb
619
+ - spec/ramaze/bin/start.rb
888
620
  - spec/ramaze/cache/localmemcache.rb
889
621
  - spec/ramaze/cache/lru.rb
890
622
  - spec/ramaze/cache/memcache.rb
@@ -917,12 +649,13 @@ files:
917
649
  - spec/ramaze/helper/blue_form.rb
918
650
  - spec/ramaze/helper/cache.rb
919
651
  - spec/ramaze/helper/csrf.rb
652
+ - spec/ramaze/helper/email.rb
920
653
  - spec/ramaze/helper/flash.rb
921
654
  - spec/ramaze/helper/formatting.rb
922
655
  - spec/ramaze/helper/gestalt.rb
923
656
  - spec/ramaze/helper/gravatar.rb
924
- - spec/ramaze/helper/httpdigest.rb
925
657
  - spec/ramaze/helper/layout.rb
658
+ - spec/ramaze/helper/layout/alternative.xhtml
926
659
  - spec/ramaze/helper/layout/default.xhtml
927
660
  - spec/ramaze/helper/link.rb
928
661
  - spec/ramaze/helper/localize.rb
@@ -950,6 +683,7 @@ files:
950
683
  - spec/ramaze/public/ramaze.png
951
684
  - spec/ramaze/public/test_download.css
952
685
  - spec/ramaze/request.rb
686
+ - spec/ramaze/rest.rb
953
687
  - spec/ramaze/rewrite/file.css
954
688
  - spec/ramaze/session/memcache.rb
955
689
  - spec/ramaze/struct.rb
@@ -972,8 +706,6 @@ files:
972
706
  - spec/ramaze/view/haml.rb
973
707
  - spec/ramaze/view/haml/external.haml
974
708
  - spec/ramaze/view/haml/sum.haml
975
- - spec/ramaze/view/less.rb
976
- - spec/ramaze/view/less/file.css.less
977
709
  - spec/ramaze/view/liquid.rb
978
710
  - spec/ramaze/view/liquid/external.liquid
979
711
  - spec/ramaze/view/liquid/sum.liquid
@@ -986,8 +718,6 @@ files:
986
718
  - spec/ramaze/view/nagoro.rb
987
719
  - spec/ramaze/view/nagoro/external.nag
988
720
  - spec/ramaze/view/nagoro/sum.nag
989
- - spec/ramaze/view/redcloth.rb
990
- - spec/ramaze/view/redcloth/external.redcloth
991
721
  - spec/ramaze/view/remarkably.rb
992
722
  - spec/ramaze/view/remarkably/external.rem
993
723
  - spec/ramaze/view/remarkably/sum.rem
@@ -1020,33 +750,17 @@ files:
1020
750
  - tasks/authors.rake
1021
751
  - tasks/bacon.rake
1022
752
  - tasks/changelog.rake
1023
- - tasks/copyright.rake
1024
753
  - tasks/gem.rake
1025
- - tasks/gem_setup.rake
1026
- - tasks/git.rake
1027
- - tasks/grancher.rake
1028
- - tasks/jquery.rake
1029
- - tasks/manifest.rake
1030
- - tasks/metric_changes.rake
1031
754
  - tasks/rcov.rake
1032
755
  - tasks/release.rake
1033
- - tasks/reversion.rake
1034
756
  - tasks/setup.rake
1035
757
  - tasks/todo.rake
1036
- - tasks/traits.rake
1037
758
  - tasks/yard.rake
1038
- has_rdoc: true
1039
- homepage: http://ramaze.net
759
+ has_rdoc: yard
760
+ homepage: http://ramaze.net/
1040
761
  licenses: []
1041
762
 
1042
- post_install_message: |-
1043
- ============================================================
1044
-
1045
- Thank you for installing Ramaze!
1046
- To create a new project:
1047
- $ ramaze create yourproject
1048
-
1049
- ============================================================
763
+ post_install_message:
1050
764
  rdoc_options: []
1051
765
 
1052
766
  require_paths:
@@ -1056,23 +770,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
1056
770
  requirements:
1057
771
  - - ">="
1058
772
  - !ruby/object:Gem::Version
1059
- segments:
1060
- - 0
1061
773
  version: "0"
1062
774
  required_rubygems_version: !ruby/object:Gem::Requirement
1063
775
  none: false
1064
776
  requirements:
1065
777
  - - ">="
1066
778
  - !ruby/object:Gem::Version
1067
- segments:
1068
- - 1
1069
- - 3
1070
- - 5
1071
779
  version: 1.3.5
1072
780
  requirements: []
1073
781
 
1074
- rubyforge_project: ramaze
1075
- rubygems_version: 1.3.7
782
+ rubyforge_project:
783
+ rubygems_version: 1.6.2
1076
784
  signing_key:
1077
785
  specification_version: 3
1078
786
  summary: Ramaze is a simple and modular web framework