manveru-ramaze 2008.08 → 2008.09
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/bin/ramaze +1 -0
- data/doc/CHANGELOG +966 -0
- data/doc/tutorial/todolist.html +421 -313
- data/doc/tutorial/todolist.mkd +26 -9
- data/examples/helpers/paginate.rb +71 -0
- data/examples/misc/simple_auth.rb +20 -8
- data/lib/proto/controller/init.rb +10 -0
- data/lib/proto/controller/main.rb +1 -3
- data/lib/proto/model/init.rb +4 -0
- data/lib/proto/spec/main.rb +2 -1
- data/lib/proto/start.rb +3 -3
- data/lib/ramaze.rb +6 -1
- data/lib/ramaze/action.rb +2 -2
- data/lib/ramaze/adapter.rb +0 -5
- data/lib/ramaze/adapter/base.rb +24 -7
- data/lib/ramaze/contrib/gzip_filter.rb +22 -9
- data/lib/ramaze/contrib/maruku_uv.rb +59 -0
- data/lib/ramaze/contrib/profiling.rb +1 -1
- data/lib/ramaze/contrib/sequel/create_join.rb +25 -0
- data/lib/ramaze/contrib/sequel/form_field.rb +129 -0
- data/lib/ramaze/contrib/sequel/image.rb +198 -0
- data/lib/ramaze/contrib/sequel/relation.rb +82 -0
- data/lib/ramaze/controller/resolve.rb +1 -1
- data/lib/ramaze/current.rb +60 -20
- data/lib/ramaze/current/response.rb +15 -3
- data/lib/ramaze/dispatcher.rb +9 -3
- data/lib/ramaze/dispatcher/action.rb +2 -3
- data/lib/ramaze/dispatcher/directory.rb +1 -1
- data/lib/ramaze/dispatcher/error.rb +1 -1
- data/lib/ramaze/dispatcher/file.rb +1 -1
- data/lib/ramaze/helper/formatting.rb +33 -0
- data/lib/ramaze/helper/paginate.rb +234 -0
- data/lib/ramaze/option.rb +2 -2
- data/lib/ramaze/reloader.rb +2 -2
- data/lib/ramaze/snippets.rb +13 -0
- data/lib/ramaze/snippets/array/put_within.rb +31 -24
- data/lib/ramaze/snippets/binding/locals.rb +23 -11
- data/lib/ramaze/snippets/kernel/constant.rb +36 -21
- data/lib/ramaze/snippets/kernel/pretty_inspect.rb +12 -6
- data/lib/ramaze/snippets/numeric/filesize_format.rb +24 -17
- data/lib/ramaze/snippets/numeric/time.rb +63 -56
- data/lib/ramaze/snippets/object/__dir__.rb +29 -0
- data/lib/ramaze/snippets/object/acquire.rb +40 -0
- data/lib/ramaze/snippets/object/instance_variable_defined.rb +16 -5
- data/lib/ramaze/snippets/object/pretty.rb +14 -4
- data/lib/ramaze/snippets/object/scope.rb +14 -7
- data/lib/ramaze/snippets/ordered_set.rb +4 -0
- data/lib/ramaze/snippets/proc/locals.rb +17 -9
- data/lib/ramaze/snippets/ramaze/struct.rb +45 -0
- data/lib/ramaze/snippets/string/camel_case.rb +13 -8
- data/lib/ramaze/snippets/string/color.rb +24 -20
- data/lib/ramaze/snippets/string/each.rb +14 -3
- data/lib/ramaze/snippets/string/end_with.rb +17 -6
- data/lib/ramaze/snippets/string/esc.rb +26 -18
- data/lib/ramaze/snippets/string/ord.rb +12 -6
- data/lib/ramaze/snippets/string/snake_case.rb +13 -7
- data/lib/ramaze/snippets/string/start_with.rb +16 -6
- data/lib/ramaze/snippets/string/unindent.rb +23 -15
- data/lib/ramaze/snippets/thread/into.rb +3 -3
- data/lib/ramaze/spec/helper/snippets.rb +8 -0
- data/lib/ramaze/template/ezamar/textpow.syntax +34 -0
- data/lib/ramaze/tool/create.rb +27 -53
- data/lib/ramaze/tool/project_creator.rb +110 -0
- data/lib/ramaze/version.rb +1 -1
- data/rake_tasks/gem.rake +2 -1
- data/rake_tasks/maintenance.rake +38 -0
- data/rake_tasks/release.rake +6 -2
- data/rake_tasks/spec.rake +1 -2
- data/ramaze.gemspec +69 -78
- data/spec/examples/simple_auth.rb +2 -2
- data/spec/examples/templates/template_haml.rb +0 -2
- data/spec/ramaze/current/session.rb +1 -1
- data/spec/ramaze/dispatcher/file.rb +2 -2
- data/spec/ramaze/helper/formatting.rb +13 -0
- data/spec/ramaze/rewrite.rb +1 -1
- data/spec/ramaze/struct.rb +47 -0
- data/spec/ramaze/template/markaby.rb +1 -1
- data/spec/snippets/{kernel → object}/__dir__.rb +0 -0
- data/spec/snippets/{kernel → object}/acquire.rb +0 -0
- metadata +69 -78
- data/examples/app/rammit/spec/rammit.rb +0 -31
- data/examples/app/rammit/src/controller/main.rb +0 -3
- data/examples/app/rammit/src/controller/page.rb +0 -16
- data/examples/app/rammit/src/model.rb +0 -33
- data/examples/app/rammit/start.rb +0 -8
- data/examples/app/rammit/template/index.xhtml +0 -14
- data/examples/app/rammit/template/page/view.xhtml +0 -4
- data/lib/ramaze/snippets/kernel/__dir__.rb +0 -23
- data/lib/ramaze/snippets/kernel/acquire.rb +0 -34
- data/lib/ramaze/snippets/struct/fill.rb +0 -23
- data/lib/ramaze/snippets/struct/values_at.rb +0 -39
- data/lib/ramaze/snippets/symbol/to_proc.rb +0 -24
- data/lib/ramaze/sourcereload.rb +0 -183
- data/spec/snippets/struct/fill.rb +0 -26
- data/spec/snippets/struct/values_at.rb +0 -52
- data/spec/snippets/symbol/to_proc.rb +0 -13
@@ -1,9 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
module Ramaze
|
2
|
+
module CoreExtensions
|
3
|
+
|
4
|
+
# Extensions for String
|
5
|
+
|
6
|
+
module String
|
7
|
+
|
8
|
+
unless ''.respond_to?(:start_with?)
|
9
|
+
|
10
|
+
# Compatibility with 1.9
|
11
|
+
|
12
|
+
def start_with?(other)
|
13
|
+
other = other.to_s
|
14
|
+
self[0, other.size] == other
|
15
|
+
end
|
16
|
+
end
|
7
17
|
end
|
8
18
|
end
|
9
19
|
end
|
@@ -1,20 +1,28 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
# first line with indentation.
|
4
|
-
def unindent
|
5
|
-
find_indent = proc{ |l| l.find{|l| !l.strip.empty?}.to_s[/^(\s+)/, 1] }
|
1
|
+
module Ramaze
|
2
|
+
module CoreExtensions
|
6
3
|
|
7
|
-
|
8
|
-
space = find_indent[lines]
|
9
|
-
space = find_indent[lines.reverse] unless space
|
4
|
+
# Extensions for String
|
10
5
|
|
11
|
-
|
12
|
-
|
13
|
-
|
6
|
+
module String
|
7
|
+
|
8
|
+
# Useful for writing indented String and unindent on demand, based on the
|
9
|
+
# first line with indentation.
|
10
|
+
def unindent
|
11
|
+
find_indent = proc{ |l| l.find{|l| !l.strip.empty?}.to_s[/^(\s+)/, 1] }
|
12
|
+
|
13
|
+
lines = self.split("\n")
|
14
|
+
space = find_indent[lines]
|
15
|
+
space = find_indent[lines.reverse] unless space
|
16
|
+
|
17
|
+
strip.gsub(/^#{space}/, '')
|
18
|
+
end
|
19
|
+
alias ui unindent
|
14
20
|
|
15
|
-
|
16
|
-
|
17
|
-
|
21
|
+
# Destructive variant of undindent, replacing the String
|
22
|
+
def unindent!
|
23
|
+
self.replace unindent
|
24
|
+
end
|
25
|
+
alias ui! unindent!
|
26
|
+
end
|
18
27
|
end
|
19
|
-
alias ui! unindent!
|
20
28
|
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
|
2
2
|
# All files in this distribution are subject to the terms of the Ruby license.
|
3
3
|
|
4
|
+
# Extensions for Thread
|
5
|
+
|
4
6
|
class Thread
|
5
|
-
# Copy
|
6
|
-
# :action, :response, :request, :session,
|
7
|
-
# :task, :adapter, :controller, :exception
|
7
|
+
# Copy all thread variables into the new thread
|
8
8
|
|
9
9
|
def self.into *args
|
10
10
|
Thread.new(Thread.current, *args) do |thread, *args|
|
@@ -1,6 +1,14 @@
|
|
1
1
|
if caller
|
2
2
|
snippet = caller.grep(%r!spec/snippets/!).first.split(':').first
|
3
3
|
require File.expand_path(snippet).gsub('/spec/', '/lib/ramaze/')
|
4
|
+
|
5
|
+
if defined?(Ramaze::CoreExtensions)
|
6
|
+
Ramaze::CoreExtensions.constants.each do |const|
|
7
|
+
ext = Ramaze::CoreExtensions.const_get(const)
|
8
|
+
into = Module.const_get(const)
|
9
|
+
into.__send__(:include, ext)
|
10
|
+
end
|
11
|
+
end
|
4
12
|
end
|
5
13
|
|
6
14
|
require 'lib/ramaze/spec/helper/bacon'
|
@@ -0,0 +1,34 @@
|
|
1
|
+
---
|
2
|
+
name: HTML (Ezamar)
|
3
|
+
fileTypes:
|
4
|
+
- xhtml
|
5
|
+
scopeName: text.html.ruby
|
6
|
+
uuid: 45D7E1FC-7D0B-4205-A1A2-3D10BB555A5C
|
7
|
+
foldingStartMarker: |-
|
8
|
+
(?x)
|
9
|
+
(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)\b.*?>
|
10
|
+
|<!--(?!.*-->)
|
11
|
+
|\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
|
12
|
+
)
|
13
|
+
patterns:
|
14
|
+
- name: source.ruby.ezamar.embedded.html
|
15
|
+
captures:
|
16
|
+
"0":
|
17
|
+
name: punctuation.section.embedded.ruby
|
18
|
+
begin: "<?r"
|
19
|
+
end: "?>"
|
20
|
+
patterns:
|
21
|
+
- name: comment.line.number-sign.ruby
|
22
|
+
captures:
|
23
|
+
"1":
|
24
|
+
name: punctuation.definition.comment.ruby
|
25
|
+
match: (#).*?(?=-?\?>)
|
26
|
+
- include: source.ruby.ezamar
|
27
|
+
- include: text.html.basic
|
28
|
+
foldingStopMarker: |-
|
29
|
+
(?x)
|
30
|
+
(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|form|dl)>
|
31
|
+
|^\s*-->
|
32
|
+
|(^|\s)\}
|
33
|
+
)
|
34
|
+
keyEquivalent: ^~R
|
data/lib/ramaze/tool/create.rb
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
|
2
2
|
# All files in this distribution are subject to the terms of the Ruby license.
|
3
3
|
|
4
|
+
require 'ramaze/tool/project_creator'
|
5
|
+
|
4
6
|
module Ramaze
|
5
7
|
module Tool
|
6
8
|
|
@@ -14,60 +16,32 @@ module Ramaze
|
|
14
16
|
# where project is the directory you want the content put into.
|
15
17
|
|
16
18
|
class Create
|
17
|
-
class << self
|
18
|
-
|
19
|
-
# a method to create a new project by copying the contents of lib/proto
|
20
|
-
# to the position you specify (project)
|
21
|
-
#
|
22
|
-
# It is just a nice wrapper showing you what files/directories are put
|
23
|
-
# in place.
|
24
|
-
|
25
|
-
def create project
|
26
|
-
@basedir = ::Ramaze::BASEDIR / 'proto'
|
27
|
-
@destdir = Dir.pwd / project
|
28
|
-
|
29
|
-
if File.directory?(@destdir)
|
30
|
-
puts "Error: #{project}/ already exists. Rename or delete directory and try again."
|
31
|
-
return
|
32
|
-
end
|
33
|
-
|
34
|
-
puts "Creating project #{project}"
|
35
|
-
|
36
|
-
FileUtils.mkdir_p(project)
|
37
|
-
|
38
|
-
puts "Copying skeleton project to new project (#@destdir)..."
|
39
|
-
|
40
|
-
directories, files =
|
41
|
-
Dir[@basedir / '**' / '*'].partition{ |f| File.directory?(f) }
|
42
|
-
|
43
|
-
# gem packaging removes empty model directory, so add it in ourselves
|
44
|
-
create_dirs(*Array[ @basedir/'model', *directories ].uniq)
|
45
|
-
copy_files(*files)
|
46
|
-
|
47
|
-
puts "\nStart your new ramaze app: ruby #{project}/start.rb"
|
48
|
-
end
|
49
|
-
|
50
|
-
# create the directories recursivly
|
51
|
-
|
52
|
-
def create_dirs(*dirs)
|
53
|
-
dirs.each do |dir|
|
54
|
-
dest = dir.gsub(@basedir, @destdir)
|
55
|
-
|
56
|
-
puts "Create directory: '#{dest}'"
|
57
|
-
FileUtils.mkdir_p(dest)
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
# copy the files over
|
62
|
-
|
63
|
-
def copy_files(*files)
|
64
|
-
files.each do |file|
|
65
|
-
dest = file.gsub(@basedir, @destdir)
|
66
19
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
20
|
+
# Default options passed to Create::create
|
21
|
+
# :proto is the directory to duplicate
|
22
|
+
# :amend no files may be overwritten but missing files will be added
|
23
|
+
# :force will overwrite existing files
|
24
|
+
# :layout copy one subdirectory in +proto+
|
25
|
+
|
26
|
+
DEFAULT = {
|
27
|
+
:proto => File.join(::Ramaze::BASEDIR, 'proto'),
|
28
|
+
:amend => false,
|
29
|
+
:force => false,
|
30
|
+
:layout => '/',
|
31
|
+
}
|
32
|
+
|
33
|
+
# Using ProjectCreator to copy all files and directories from lib/proto
|
34
|
+
# to another location.
|
35
|
+
# +options+ are described in the DEFAULT constant and should be:
|
36
|
+
# :force => (true|false|nil)
|
37
|
+
# :amend => (true|false|nil)
|
38
|
+
# :layout => (String|nil)
|
39
|
+
# :proto => String
|
40
|
+
|
41
|
+
def self.create(project, options = {})
|
42
|
+
options = DEFAULT.merge(options)
|
43
|
+
creator = ProjectCreator.new(project, options)
|
44
|
+
creator.create
|
71
45
|
end
|
72
46
|
end
|
73
47
|
end
|
@@ -0,0 +1,110 @@
|
|
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.
|
3
|
+
|
4
|
+
require 'fileutils'
|
5
|
+
require 'find'
|
6
|
+
|
7
|
+
class ProjectCreator
|
8
|
+
PROTO = ['~/.proto/']
|
9
|
+
attr_accessor :name, :options
|
10
|
+
|
11
|
+
def initialize(name, options = {})
|
12
|
+
@name, @options = name, options
|
13
|
+
end
|
14
|
+
|
15
|
+
def target
|
16
|
+
File.expand_path(name)
|
17
|
+
end
|
18
|
+
|
19
|
+
def proto
|
20
|
+
PROTO.map!{|pr| File.expand_path(pr) }
|
21
|
+
proto = options[:proto] ||= PROTO.find{|f| File.directory?(f) }
|
22
|
+
layout = options[:layout] ||= '/'
|
23
|
+
File.expand_path(File.join(proto, layout))
|
24
|
+
end
|
25
|
+
|
26
|
+
def create_root?
|
27
|
+
return true unless File.directory?(target)
|
28
|
+
return true if amend? or force?
|
29
|
+
fatal "%p is a directory, choose different project name or use --amend/--force" % target
|
30
|
+
end
|
31
|
+
|
32
|
+
def got_proto?
|
33
|
+
return true if File.directory?(proto)
|
34
|
+
fatal "Cannot create, %p doesn't exist, use --proto or create the proto directory" % proto
|
35
|
+
end
|
36
|
+
|
37
|
+
def create
|
38
|
+
got_proto?
|
39
|
+
|
40
|
+
puts "Found proto at: %p, proceeding...\n\n" % proto
|
41
|
+
mkdir(relate('/')) if create_root?
|
42
|
+
proceed
|
43
|
+
end
|
44
|
+
|
45
|
+
def proceed
|
46
|
+
files, directories = partition{|path| File.file?(path) }
|
47
|
+
proceed_directories(directories)
|
48
|
+
proceed_files(files)
|
49
|
+
end
|
50
|
+
|
51
|
+
def proceed_files(files)
|
52
|
+
files.each{|file| copy(file, relate(file)) }
|
53
|
+
end
|
54
|
+
|
55
|
+
def proceed_directories(dirs)
|
56
|
+
dirs.each{|dir| mkdir(relate(dir)) }
|
57
|
+
end
|
58
|
+
|
59
|
+
def mkdir(dir)
|
60
|
+
exists = File.directory?(dir)
|
61
|
+
return if exists and amend?
|
62
|
+
return if exists and not force?
|
63
|
+
puts "mkdir(%p)" % dir
|
64
|
+
FileUtils.mkdir_p(dir)
|
65
|
+
end
|
66
|
+
|
67
|
+
def copy(from, to)
|
68
|
+
return unless copy_check(to)
|
69
|
+
puts "copy(%p, %p)" % [from, to]
|
70
|
+
FileUtils.cp(from, to)
|
71
|
+
post_process(to)
|
72
|
+
end
|
73
|
+
|
74
|
+
def copy_check(to)
|
75
|
+
exists = File.file?(to)
|
76
|
+
return if exists and amend?
|
77
|
+
return if exists and not force?
|
78
|
+
return true
|
79
|
+
end
|
80
|
+
|
81
|
+
# Think about a useful way to process the generated files it should be
|
82
|
+
# possible to substitute some things like the project name in the
|
83
|
+
# configuration
|
84
|
+
|
85
|
+
def post_process(file)
|
86
|
+
return
|
87
|
+
source = File.read(file)
|
88
|
+
File.open(file, 'w+') do |io|
|
89
|
+
io.write(source.gsub('$project', "'#@name'"))
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
def relate(path)
|
94
|
+
File.join(target, path.to_s.sub(proto, ''))
|
95
|
+
end
|
96
|
+
|
97
|
+
def amend?; options[:amend] end
|
98
|
+
def force?; options[:force] end
|
99
|
+
|
100
|
+
def fatal(message)
|
101
|
+
warn message
|
102
|
+
exit 1
|
103
|
+
end
|
104
|
+
|
105
|
+
def each
|
106
|
+
Dir["#{proto}/**/*"].each{|path| yield(path) }
|
107
|
+
end
|
108
|
+
|
109
|
+
include Enumerable
|
110
|
+
end
|
data/lib/ramaze/version.rb
CHANGED
data/rake_tasks/gem.rake
CHANGED
@@ -16,7 +16,8 @@ def generate_gemspec(version)
|
|
16
16
|
s.executables = Dir["#{s.bindir}/*"].map{|f| File.basename(f) }
|
17
17
|
s.files = FileList.new('**/*'){|fl|
|
18
18
|
fl.exclude(/^pkg\//)
|
19
|
-
|
19
|
+
fl.exclude(/^tags$/)
|
20
|
+
}.sort
|
20
21
|
|
21
22
|
s.platform = Gem::Platform::RUBY
|
22
23
|
s.has_rdoc = true
|
data/rake_tasks/maintenance.rake
CHANGED
@@ -114,6 +114,44 @@ namespace :maintenance do
|
|
114
114
|
File.open(basefile + '.html', 'w+'){|io| io << doc.to_s }
|
115
115
|
end
|
116
116
|
|
117
|
+
# This task is so full of hacks, it may break any second, but it just feels
|
118
|
+
# good to have proper highlighting for sh, ezamar and ruby generated from
|
119
|
+
# markdown without any external CSS to worry about.
|
120
|
+
desc 'Rebuild doc/tutorial/todolist.html using UltraViolet'
|
121
|
+
task 'tutorial-uv' do
|
122
|
+
require 'maruku'
|
123
|
+
require 'uv'
|
124
|
+
require 'hpricot'
|
125
|
+
require 'ramaze/contrib/maruku_uv'
|
126
|
+
|
127
|
+
# Inject ezamar syntax
|
128
|
+
Uv.init_syntaxes
|
129
|
+
ezamar = 'lib/ramaze/template/ezamar/textpow.syntax'
|
130
|
+
syntaxes = Uv.instance_variable_get('@syntaxes')
|
131
|
+
syntaxes['ezamar'] = Textpow::SyntaxNode.load(ezamar)
|
132
|
+
|
133
|
+
base = 'doc/tutorial/todolist'
|
134
|
+
original = File.read(base + '.mkd')
|
135
|
+
maruku = Maruku.new(original)
|
136
|
+
style = maruku.attributes[:uv_style]
|
137
|
+
|
138
|
+
html = maruku.to_html_document
|
139
|
+
|
140
|
+
uv_lib = Gem::latest_load_paths.grep(/ultraviolet/).first
|
141
|
+
uv_root = File.dirname(uv_lib)
|
142
|
+
css = Dir["#{uv_root}/**/#{style}.css"].first
|
143
|
+
|
144
|
+
doc = Hpricot(html)
|
145
|
+
css = %(<style type="text/css">
|
146
|
+
pre { margin: 1em; padding: 1em; }
|
147
|
+
#{File.read(css)}
|
148
|
+
</style>)
|
149
|
+
|
150
|
+
doc.at('title').after(css)
|
151
|
+
|
152
|
+
File.open(base + '.html', 'w+'){|io| io << doc.to_s }
|
153
|
+
end
|
154
|
+
|
117
155
|
def existing_authors
|
118
156
|
authors = {}
|
119
157
|
|
data/rake_tasks/release.rake
CHANGED
@@ -62,11 +62,15 @@ gem generate_index'"
|
|
62
62
|
end
|
63
63
|
|
64
64
|
desc 'Prepare and push gemspec to github'
|
65
|
-
task 'gemspec' do
|
66
|
-
update_gemspec(generate_gemspec(version_month))
|
65
|
+
task 'gemspec' => 'gemspec-prepare' do
|
67
66
|
sh "git commit -m 'Update ramaze.gemspec' ramaze.gemspec"
|
68
67
|
sh 'git fetch'
|
69
68
|
sh 'git rebase origin/master'
|
70
69
|
sh 'git push'
|
71
70
|
end
|
71
|
+
|
72
|
+
desc 'Prepare gemspec for push to github'
|
73
|
+
task 'gemspec-prepare' do
|
74
|
+
update_gemspec(generate_gemspec(version_month))
|
75
|
+
end
|
72
76
|
end
|
data/rake_tasks/spec.rake
CHANGED
data/ramaze.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "ramaze"
|
3
|
-
s.version = "2008.
|
3
|
+
s.version = "2008.09"
|
4
4
|
|
5
5
|
s.summary = "Ramaze is a simple and modular web framework"
|
6
6
|
s.description = "Ramaze is a simple and modular web framework"
|
@@ -16,7 +16,9 @@ Gem::Specification.new do |s|
|
|
16
16
|
|
17
17
|
s.add_dependency('rack', '>= 0.3.0')
|
18
18
|
|
19
|
-
s.files = ["
|
19
|
+
s.files = ["README.markdown",
|
20
|
+
"Rakefile",
|
21
|
+
"benchmark",
|
20
22
|
"benchmark/results.txt",
|
21
23
|
"benchmark/run.rb",
|
22
24
|
"benchmark/suite",
|
@@ -46,6 +48,7 @@ Gem::Specification.new do |s|
|
|
46
48
|
"doc/GPL",
|
47
49
|
"doc/INSTALL",
|
48
50
|
"doc/LEGAL",
|
51
|
+
"doc/TODO",
|
49
52
|
"doc/meta",
|
50
53
|
"doc/meta/announcement.txt",
|
51
54
|
"doc/meta/configuration.txt",
|
@@ -61,7 +64,6 @@ Gem::Specification.new do |s|
|
|
61
64
|
"doc/readme_chunks/introduction.txt",
|
62
65
|
"doc/readme_chunks/principles.txt",
|
63
66
|
"doc/readme_chunks/thanks.txt",
|
64
|
-
"doc/TODO",
|
65
67
|
"doc/tutorial",
|
66
68
|
"doc/tutorial/todolist.html",
|
67
69
|
"doc/tutorial/todolist.mkd",
|
@@ -73,6 +75,7 @@ Gem::Specification.new do |s|
|
|
73
75
|
"examples/app/auth/template/layout.haml",
|
74
76
|
"examples/app/auth/template/login.haml",
|
75
77
|
"examples/app/blog",
|
78
|
+
"examples/app/blog/README",
|
76
79
|
"examples/app/blog/controller",
|
77
80
|
"examples/app/blog/controller/main.rb",
|
78
81
|
"examples/app/blog/model",
|
@@ -80,7 +83,6 @@ Gem::Specification.new do |s|
|
|
80
83
|
"examples/app/blog/public",
|
81
84
|
"examples/app/blog/public/styles",
|
82
85
|
"examples/app/blog/public/styles/blog.css",
|
83
|
-
"examples/app/blog/README",
|
84
86
|
"examples/app/blog/spec",
|
85
87
|
"examples/app/blog/spec/blog.rb",
|
86
88
|
"examples/app/blog/start.rb",
|
@@ -106,20 +108,8 @@ Gem::Specification.new do |s|
|
|
106
108
|
"examples/app/chat/view/layout.xhtml",
|
107
109
|
"examples/app/localization",
|
108
110
|
"examples/app/localization/start.rb",
|
109
|
-
"examples/app/rammit",
|
110
|
-
"examples/app/rammit/spec",
|
111
|
-
"examples/app/rammit/spec/rammit.rb",
|
112
|
-
"examples/app/rammit/src",
|
113
|
-
"examples/app/rammit/src/controller",
|
114
|
-
"examples/app/rammit/src/controller/main.rb",
|
115
|
-
"examples/app/rammit/src/controller/page.rb",
|
116
|
-
"examples/app/rammit/src/model.rb",
|
117
|
-
"examples/app/rammit/start.rb",
|
118
|
-
"examples/app/rammit/template",
|
119
|
-
"examples/app/rammit/template/index.xhtml",
|
120
|
-
"examples/app/rammit/template/page",
|
121
|
-
"examples/app/rammit/template/page/view.xhtml",
|
122
111
|
"examples/app/rapaste",
|
112
|
+
"examples/app/rapaste/Rakefile",
|
123
113
|
"examples/app/rapaste/controller",
|
124
114
|
"examples/app/rapaste/controller/paste.rb",
|
125
115
|
"examples/app/rapaste/model",
|
@@ -150,7 +140,6 @@ Gem::Specification.new do |s|
|
|
150
140
|
"examples/app/rapaste/public/css/zenburnesque.css",
|
151
141
|
"examples/app/rapaste/public/js",
|
152
142
|
"examples/app/rapaste/public/js/jquery.js",
|
153
|
-
"examples/app/rapaste/Rakefile",
|
154
143
|
"examples/app/rapaste/spec",
|
155
144
|
"examples/app/rapaste/spec/rapaste.rb",
|
156
145
|
"examples/app/rapaste/start.rb",
|
@@ -181,12 +170,12 @@ Gem::Specification.new do |s|
|
|
181
170
|
"examples/app/sourceview/template",
|
182
171
|
"examples/app/sourceview/template/index.haml",
|
183
172
|
"examples/app/todolist",
|
173
|
+
"examples/app/todolist/README",
|
184
174
|
"examples/app/todolist/public",
|
185
175
|
"examples/app/todolist/public/favicon.ico",
|
186
176
|
"examples/app/todolist/public/js",
|
187
177
|
"examples/app/todolist/public/js/jquery.js",
|
188
178
|
"examples/app/todolist/public/ramaze.png",
|
189
|
-
"examples/app/todolist/README",
|
190
179
|
"examples/app/todolist/spec",
|
191
180
|
"examples/app/todolist/spec/todolist.rb",
|
192
181
|
"examples/app/todolist/src",
|
@@ -220,6 +209,7 @@ Gem::Specification.new do |s|
|
|
220
209
|
"examples/app/wikore/template",
|
221
210
|
"examples/app/wikore/template/index.xhtml",
|
222
211
|
"examples/app/wiktacular",
|
212
|
+
"examples/app/wiktacular/README",
|
223
213
|
"examples/app/wiktacular/mkd",
|
224
214
|
"examples/app/wiktacular/mkd/link",
|
225
215
|
"examples/app/wiktacular/mkd/link/2007-07-20_19-45-51.mkd",
|
@@ -243,7 +233,6 @@ Gem::Specification.new do |s|
|
|
243
233
|
"examples/app/wiktacular/public",
|
244
234
|
"examples/app/wiktacular/public/favicon.ico",
|
245
235
|
"examples/app/wiktacular/public/screen.css",
|
246
|
-
"examples/app/wiktacular/README",
|
247
236
|
"examples/app/wiktacular/spec",
|
248
237
|
"examples/app/wiktacular/spec/wiktacular.rb",
|
249
238
|
"examples/app/wiktacular/src",
|
@@ -268,6 +257,7 @@ Gem::Specification.new do |s|
|
|
268
257
|
"examples/helpers/httpdigest.rb",
|
269
258
|
"examples/helpers/identity.rb",
|
270
259
|
"examples/helpers/nitro_form.rb",
|
260
|
+
"examples/helpers/paginate.rb",
|
271
261
|
"examples/helpers/provide.rb",
|
272
262
|
"examples/helpers/rest.rb",
|
273
263
|
"examples/helpers/simple_captcha.rb",
|
@@ -307,7 +297,10 @@ Gem::Specification.new do |s|
|
|
307
297
|
"lib",
|
308
298
|
"lib/proto",
|
309
299
|
"lib/proto/controller",
|
300
|
+
"lib/proto/controller/init.rb",
|
310
301
|
"lib/proto/controller/main.rb",
|
302
|
+
"lib/proto/model",
|
303
|
+
"lib/proto/model/init.rb",
|
311
304
|
"lib/proto/public",
|
312
305
|
"lib/proto/public/css",
|
313
306
|
"lib/proto/public/css/ramaze_error.css",
|
@@ -325,10 +318,12 @@ Gem::Specification.new do |s|
|
|
325
318
|
"lib/proto/view/index.xhtml",
|
326
319
|
"lib/proto/view/page.xhtml",
|
327
320
|
"lib/ramaze",
|
321
|
+
"lib/ramaze.rb",
|
328
322
|
"lib/ramaze/action",
|
329
|
-
"lib/ramaze/action/render.rb",
|
330
323
|
"lib/ramaze/action.rb",
|
324
|
+
"lib/ramaze/action/render.rb",
|
331
325
|
"lib/ramaze/adapter",
|
326
|
+
"lib/ramaze/adapter.rb",
|
332
327
|
"lib/ramaze/adapter/base.rb",
|
333
328
|
"lib/ramaze/adapter/cgi.rb",
|
334
329
|
"lib/ramaze/adapter/ebb.rb",
|
@@ -341,56 +336,61 @@ Gem::Specification.new do |s|
|
|
341
336
|
"lib/ramaze/adapter/swiftiplied_mongrel.rb",
|
342
337
|
"lib/ramaze/adapter/thin.rb",
|
343
338
|
"lib/ramaze/adapter/webrick.rb",
|
344
|
-
"lib/ramaze/adapter.rb",
|
345
339
|
"lib/ramaze/cache",
|
340
|
+
"lib/ramaze/cache.rb",
|
346
341
|
"lib/ramaze/cache/memcached.rb",
|
347
342
|
"lib/ramaze/cache/memory.rb",
|
348
343
|
"lib/ramaze/cache/yaml_store.rb",
|
349
|
-
"lib/ramaze/cache.rb",
|
350
344
|
"lib/ramaze/contrib",
|
345
|
+
"lib/ramaze/contrib.rb",
|
351
346
|
"lib/ramaze/contrib/auto_params",
|
352
|
-
"lib/ramaze/contrib/auto_params/get_args.rb",
|
353
347
|
"lib/ramaze/contrib/auto_params.rb",
|
348
|
+
"lib/ramaze/contrib/auto_params/get_args.rb",
|
354
349
|
"lib/ramaze/contrib/email.rb",
|
355
350
|
"lib/ramaze/contrib/facebook",
|
356
|
-
"lib/ramaze/contrib/facebook/facebook.rb",
|
357
351
|
"lib/ramaze/contrib/facebook.rb",
|
352
|
+
"lib/ramaze/contrib/facebook/facebook.rb",
|
358
353
|
"lib/ramaze/contrib/file_cache.rb",
|
359
354
|
"lib/ramaze/contrib/gems.rb",
|
360
355
|
"lib/ramaze/contrib/gettext",
|
356
|
+
"lib/ramaze/contrib/gettext.rb",
|
361
357
|
"lib/ramaze/contrib/gettext/mo.rb",
|
362
358
|
"lib/ramaze/contrib/gettext/parser.rb",
|
363
359
|
"lib/ramaze/contrib/gettext/po.rb",
|
364
|
-
"lib/ramaze/contrib/gettext.rb",
|
365
360
|
"lib/ramaze/contrib/gzip_filter.rb",
|
361
|
+
"lib/ramaze/contrib/maruku_uv.rb",
|
366
362
|
"lib/ramaze/contrib/profiling.rb",
|
367
363
|
"lib/ramaze/contrib/rest.rb",
|
368
364
|
"lib/ramaze/contrib/sequel",
|
365
|
+
"lib/ramaze/contrib/sequel/create_join.rb",
|
369
366
|
"lib/ramaze/contrib/sequel/fill.rb",
|
367
|
+
"lib/ramaze/contrib/sequel/form_field.rb",
|
368
|
+
"lib/ramaze/contrib/sequel/image.rb",
|
369
|
+
"lib/ramaze/contrib/sequel/relation.rb",
|
370
370
|
"lib/ramaze/contrib/sequel_cache.rb",
|
371
|
-
"lib/ramaze/contrib.rb",
|
372
371
|
"lib/ramaze/controller",
|
372
|
+
"lib/ramaze/controller.rb",
|
373
373
|
"lib/ramaze/controller/error.rb",
|
374
374
|
"lib/ramaze/controller/main.rb",
|
375
375
|
"lib/ramaze/controller/resolve.rb",
|
376
|
-
"lib/ramaze/controller.rb",
|
377
376
|
"lib/ramaze/current",
|
377
|
+
"lib/ramaze/current.rb",
|
378
378
|
"lib/ramaze/current/request.rb",
|
379
379
|
"lib/ramaze/current/response.rb",
|
380
380
|
"lib/ramaze/current/session",
|
381
|
+
"lib/ramaze/current/session.rb",
|
381
382
|
"lib/ramaze/current/session/flash.rb",
|
382
383
|
"lib/ramaze/current/session/hash.rb",
|
383
|
-
"lib/ramaze/current/session.rb",
|
384
|
-
"lib/ramaze/current.rb",
|
385
384
|
"lib/ramaze/dispatcher",
|
385
|
+
"lib/ramaze/dispatcher.rb",
|
386
386
|
"lib/ramaze/dispatcher/action.rb",
|
387
387
|
"lib/ramaze/dispatcher/directory.rb",
|
388
388
|
"lib/ramaze/dispatcher/error.rb",
|
389
389
|
"lib/ramaze/dispatcher/file.rb",
|
390
|
-
"lib/ramaze/dispatcher.rb",
|
391
390
|
"lib/ramaze/error.rb",
|
392
391
|
"lib/ramaze/gestalt.rb",
|
393
392
|
"lib/ramaze/helper",
|
393
|
+
"lib/ramaze/helper.rb",
|
394
394
|
"lib/ramaze/helper/aspect.rb",
|
395
395
|
"lib/ramaze/helper/auth.rb",
|
396
396
|
"lib/ramaze/helper/cache.rb",
|
@@ -407,6 +407,7 @@ Gem::Specification.new do |s|
|
|
407
407
|
"lib/ramaze/helper/maruku.rb",
|
408
408
|
"lib/ramaze/helper/nitroform.rb",
|
409
409
|
"lib/ramaze/helper/pager.rb",
|
410
|
+
"lib/ramaze/helper/paginate.rb",
|
410
411
|
"lib/ramaze/helper/partial.rb",
|
411
412
|
"lib/ramaze/helper/redirect.rb",
|
412
413
|
"lib/ramaze/helper/rest.rb",
|
@@ -419,8 +420,8 @@ Gem::Specification.new do |s|
|
|
419
420
|
"lib/ramaze/helper/ultraviolet.rb",
|
420
421
|
"lib/ramaze/helper/user.rb",
|
421
422
|
"lib/ramaze/helper/xhtml.rb",
|
422
|
-
"lib/ramaze/helper.rb",
|
423
423
|
"lib/ramaze/log",
|
424
|
+
"lib/ramaze/log.rb",
|
424
425
|
"lib/ramaze/log/analogger.rb",
|
425
426
|
"lib/ramaze/log/growl.rb",
|
426
427
|
"lib/ramaze/log/hub.rb",
|
@@ -430,16 +431,16 @@ Gem::Specification.new do |s|
|
|
430
431
|
"lib/ramaze/log/logging.rb",
|
431
432
|
"lib/ramaze/log/syslog.rb",
|
432
433
|
"lib/ramaze/log/xosd.rb",
|
433
|
-
"lib/ramaze/log.rb",
|
434
434
|
"lib/ramaze/option",
|
435
|
+
"lib/ramaze/option.rb",
|
435
436
|
"lib/ramaze/option/dsl.rb",
|
436
437
|
"lib/ramaze/option/holder.rb",
|
437
438
|
"lib/ramaze/option/merger.rb",
|
438
|
-
"lib/ramaze/option.rb",
|
439
439
|
"lib/ramaze/reloader.rb",
|
440
440
|
"lib/ramaze/route.rb",
|
441
441
|
"lib/ramaze/setup.rb",
|
442
442
|
"lib/ramaze/snippets",
|
443
|
+
"lib/ramaze/snippets.rb",
|
443
444
|
"lib/ramaze/snippets/array",
|
444
445
|
"lib/ramaze/snippets/array/put_within.rb",
|
445
446
|
"lib/ramaze/snippets/binding",
|
@@ -449,8 +450,6 @@ Gem::Specification.new do |s|
|
|
449
450
|
"lib/ramaze/snippets/divide.rb",
|
450
451
|
"lib/ramaze/snippets/fiber.rb",
|
451
452
|
"lib/ramaze/snippets/kernel",
|
452
|
-
"lib/ramaze/snippets/kernel/__dir__.rb",
|
453
|
-
"lib/ramaze/snippets/kernel/acquire.rb",
|
454
453
|
"lib/ramaze/snippets/kernel/constant.rb",
|
455
454
|
"lib/ramaze/snippets/kernel/pretty_inspect.rb",
|
456
455
|
"lib/ramaze/snippets/metaid.rb",
|
@@ -458,6 +457,8 @@ Gem::Specification.new do |s|
|
|
458
457
|
"lib/ramaze/snippets/numeric/filesize_format.rb",
|
459
458
|
"lib/ramaze/snippets/numeric/time.rb",
|
460
459
|
"lib/ramaze/snippets/object",
|
460
|
+
"lib/ramaze/snippets/object/__dir__.rb",
|
461
|
+
"lib/ramaze/snippets/object/acquire.rb",
|
461
462
|
"lib/ramaze/snippets/object/instance_variable_defined.rb",
|
462
463
|
"lib/ramaze/snippets/object/pretty.rb",
|
463
464
|
"lib/ramaze/snippets/object/scope.rb",
|
@@ -471,6 +472,7 @@ Gem::Specification.new do |s|
|
|
471
472
|
"lib/ramaze/snippets/ramaze/deprecated.rb",
|
472
473
|
"lib/ramaze/snippets/ramaze/fiber.rb",
|
473
474
|
"lib/ramaze/snippets/ramaze/state.rb",
|
475
|
+
"lib/ramaze/snippets/ramaze/struct.rb",
|
474
476
|
"lib/ramaze/snippets/string",
|
475
477
|
"lib/ramaze/snippets/string/camel_case.rb",
|
476
478
|
"lib/ramaze/snippets/string/color.rb",
|
@@ -481,17 +483,12 @@ Gem::Specification.new do |s|
|
|
481
483
|
"lib/ramaze/snippets/string/snake_case.rb",
|
482
484
|
"lib/ramaze/snippets/string/start_with.rb",
|
483
485
|
"lib/ramaze/snippets/string/unindent.rb",
|
484
|
-
"lib/ramaze/snippets/struct",
|
485
|
-
"lib/ramaze/snippets/struct/fill.rb",
|
486
|
-
"lib/ramaze/snippets/struct/values_at.rb",
|
487
|
-
"lib/ramaze/snippets/symbol",
|
488
|
-
"lib/ramaze/snippets/symbol/to_proc.rb",
|
489
486
|
"lib/ramaze/snippets/thread",
|
490
487
|
"lib/ramaze/snippets/thread/into.rb",
|
491
|
-
"lib/ramaze/snippets.rb",
|
492
|
-
"lib/ramaze/sourcereload.rb",
|
493
488
|
"lib/ramaze/spec",
|
489
|
+
"lib/ramaze/spec.rb",
|
494
490
|
"lib/ramaze/spec/helper",
|
491
|
+
"lib/ramaze/spec/helper.rb",
|
495
492
|
"lib/ramaze/spec/helper/bacon.rb",
|
496
493
|
"lib/ramaze/spec/helper/browser.rb",
|
497
494
|
"lib/ramaze/spec/helper/mock_http.rb",
|
@@ -499,20 +496,20 @@ Gem::Specification.new do |s|
|
|
499
496
|
"lib/ramaze/spec/helper/requester.rb",
|
500
497
|
"lib/ramaze/spec/helper/simple_http.rb",
|
501
498
|
"lib/ramaze/spec/helper/snippets.rb",
|
502
|
-
"lib/ramaze/spec/helper.rb",
|
503
|
-
"lib/ramaze/spec.rb",
|
504
499
|
"lib/ramaze/store",
|
505
500
|
"lib/ramaze/store/default.rb",
|
506
501
|
"lib/ramaze/template",
|
502
|
+
"lib/ramaze/template.rb",
|
507
503
|
"lib/ramaze/template/amrita2.rb",
|
508
504
|
"lib/ramaze/template/builder.rb",
|
509
505
|
"lib/ramaze/template/erubis.rb",
|
510
506
|
"lib/ramaze/template/ezamar",
|
507
|
+
"lib/ramaze/template/ezamar.rb",
|
511
508
|
"lib/ramaze/template/ezamar/element.rb",
|
512
509
|
"lib/ramaze/template/ezamar/engine.rb",
|
513
510
|
"lib/ramaze/template/ezamar/morpher.rb",
|
514
511
|
"lib/ramaze/template/ezamar/render_partial.rb",
|
515
|
-
"lib/ramaze/template/ezamar.
|
512
|
+
"lib/ramaze/template/ezamar/textpow.syntax",
|
516
513
|
"lib/ramaze/template/haml.rb",
|
517
514
|
"lib/ramaze/template/liquid.rb",
|
518
515
|
"lib/ramaze/template/markaby.rb",
|
@@ -525,18 +522,17 @@ Gem::Specification.new do |s|
|
|
525
522
|
"lib/ramaze/template/tagz.rb",
|
526
523
|
"lib/ramaze/template/tenjin.rb",
|
527
524
|
"lib/ramaze/template/xslt.rb",
|
528
|
-
"lib/ramaze/template.rb",
|
529
525
|
"lib/ramaze/tool",
|
526
|
+
"lib/ramaze/tool.rb",
|
530
527
|
"lib/ramaze/tool/create.rb",
|
531
528
|
"lib/ramaze/tool/daemonize.rb",
|
532
529
|
"lib/ramaze/tool/localize.rb",
|
533
530
|
"lib/ramaze/tool/mime.rb",
|
534
531
|
"lib/ramaze/tool/mime_types.yaml",
|
532
|
+
"lib/ramaze/tool/project_creator.rb",
|
535
533
|
"lib/ramaze/tool/record.rb",
|
536
|
-
"lib/ramaze/tool.rb",
|
537
534
|
"lib/ramaze/trinity.rb",
|
538
535
|
"lib/ramaze/version.rb",
|
539
|
-
"lib/ramaze.rb",
|
540
536
|
"lib/vendor",
|
541
537
|
"lib/vendor/bacon.rb",
|
542
538
|
"rake_tasks",
|
@@ -548,9 +544,7 @@ Gem::Specification.new do |s|
|
|
548
544
|
"rake_tasks/metric.rake",
|
549
545
|
"rake_tasks/release.rake",
|
550
546
|
"rake_tasks/spec.rake",
|
551
|
-
"Rakefile",
|
552
547
|
"ramaze.gemspec",
|
553
|
-
"README.markdown",
|
554
548
|
"spec",
|
555
549
|
"spec/contrib",
|
556
550
|
"spec/contrib/auto_params.rb",
|
@@ -592,13 +586,14 @@ Gem::Specification.new do |s|
|
|
592
586
|
"spec/ramaze/action/view/sub",
|
593
587
|
"spec/ramaze/action/view/sub/sub_wrapper.xhtml",
|
594
588
|
"spec/ramaze/adapter",
|
589
|
+
"spec/ramaze/adapter.rb",
|
595
590
|
"spec/ramaze/adapter/ebb.rb",
|
596
591
|
"spec/ramaze/adapter/mongrel.rb",
|
597
592
|
"spec/ramaze/adapter/record.rb",
|
598
593
|
"spec/ramaze/adapter/webrick.rb",
|
599
|
-
"spec/ramaze/adapter.rb",
|
600
594
|
"spec/ramaze/cache.rb",
|
601
595
|
"spec/ramaze/controller",
|
596
|
+
"spec/ramaze/controller.rb",
|
602
597
|
"spec/ramaze/controller/actionless_templates.rb",
|
603
598
|
"spec/ramaze/controller/resolve.rb",
|
604
599
|
"spec/ramaze/controller/subclass.rb",
|
@@ -613,18 +608,17 @@ Gem::Specification.new do |s|
|
|
613
608
|
"spec/ramaze/controller/view/other/greet",
|
614
609
|
"spec/ramaze/controller/view/other/greet/other.xhtml",
|
615
610
|
"spec/ramaze/controller/view/other_wrapper.xhtml",
|
616
|
-
"spec/ramaze/controller.rb",
|
617
611
|
"spec/ramaze/current",
|
618
612
|
"spec/ramaze/current/request.rb",
|
619
613
|
"spec/ramaze/current/session.rb",
|
620
614
|
"spec/ramaze/dispatcher",
|
615
|
+
"spec/ramaze/dispatcher.rb",
|
621
616
|
"spec/ramaze/dispatcher/directory.rb",
|
622
617
|
"spec/ramaze/dispatcher/file.rb",
|
623
618
|
"spec/ramaze/dispatcher/public",
|
624
619
|
"spec/ramaze/dispatcher/public/favicon.ico",
|
625
620
|
"spec/ramaze/dispatcher/public/file name.txt",
|
626
621
|
"spec/ramaze/dispatcher/public/test_download.css",
|
627
|
-
"spec/ramaze/dispatcher.rb",
|
628
622
|
"spec/ramaze/element.rb",
|
629
623
|
"spec/ramaze/error.rb",
|
630
624
|
"spec/ramaze/gestalt.rb",
|
@@ -665,30 +659,33 @@ Gem::Specification.new do |s|
|
|
665
659
|
"spec/ramaze/public/ramaze.png",
|
666
660
|
"spec/ramaze/public/test_download.css",
|
667
661
|
"spec/ramaze/request",
|
662
|
+
"spec/ramaze/request.rb",
|
668
663
|
"spec/ramaze/request/ebb.rb",
|
669
664
|
"spec/ramaze/request/mongrel.rb",
|
670
665
|
"spec/ramaze/request/thin.rb",
|
671
666
|
"spec/ramaze/request/webrick.rb",
|
672
|
-
"spec/ramaze/request.rb",
|
673
667
|
"spec/ramaze/rewrite",
|
674
|
-
"spec/ramaze/rewrite/file.css",
|
675
668
|
"spec/ramaze/rewrite.rb",
|
669
|
+
"spec/ramaze/rewrite/file.css",
|
676
670
|
"spec/ramaze/route.rb",
|
677
671
|
"spec/ramaze/session.rb",
|
678
672
|
"spec/ramaze/store",
|
679
673
|
"spec/ramaze/store/default.rb",
|
674
|
+
"spec/ramaze/struct.rb",
|
680
675
|
"spec/ramaze/template",
|
676
|
+
"spec/ramaze/template.rb",
|
681
677
|
"spec/ramaze/template/amrita2",
|
678
|
+
"spec/ramaze/template/amrita2.rb",
|
682
679
|
"spec/ramaze/template/amrita2/external.amrita",
|
683
680
|
"spec/ramaze/template/amrita2/sum.amrita",
|
684
|
-
"spec/ramaze/template/amrita2.rb",
|
685
681
|
"spec/ramaze/template/builder",
|
686
|
-
"spec/ramaze/template/builder/external.rxml",
|
687
682
|
"spec/ramaze/template/builder.rb",
|
683
|
+
"spec/ramaze/template/builder/external.rxml",
|
688
684
|
"spec/ramaze/template/erubis",
|
689
|
-
"spec/ramaze/template/erubis/sum.rhtml",
|
690
685
|
"spec/ramaze/template/erubis.rb",
|
686
|
+
"spec/ramaze/template/erubis/sum.rhtml",
|
691
687
|
"spec/ramaze/template/ezamar",
|
688
|
+
"spec/ramaze/template/ezamar.rb",
|
692
689
|
"spec/ramaze/template/ezamar/another",
|
693
690
|
"spec/ramaze/template/ezamar/another/long",
|
694
691
|
"spec/ramaze/template/ezamar/another/long/action.zmr",
|
@@ -699,21 +696,21 @@ Gem::Specification.new do |s|
|
|
699
696
|
"spec/ramaze/template/ezamar/other__index.xhtml",
|
700
697
|
"spec/ramaze/template/ezamar/some__long__action.zmr",
|
701
698
|
"spec/ramaze/template/ezamar/sum.zmr",
|
702
|
-
"spec/ramaze/template/ezamar.rb",
|
703
699
|
"spec/ramaze/template/haml",
|
700
|
+
"spec/ramaze/template/haml.rb",
|
704
701
|
"spec/ramaze/template/haml/index.haml",
|
705
702
|
"spec/ramaze/template/haml/locals.haml",
|
706
703
|
"spec/ramaze/template/haml/with_vars.haml",
|
707
|
-
"spec/ramaze/template/haml.rb",
|
708
704
|
"spec/ramaze/template/liquid",
|
705
|
+
"spec/ramaze/template/liquid.rb",
|
709
706
|
"spec/ramaze/template/liquid/index.liquid",
|
710
707
|
"spec/ramaze/template/liquid/products.liquid",
|
711
|
-
"spec/ramaze/template/liquid.rb",
|
712
708
|
"spec/ramaze/template/markaby",
|
709
|
+
"spec/ramaze/template/markaby.rb",
|
713
710
|
"spec/ramaze/template/markaby/external.mab",
|
714
711
|
"spec/ramaze/template/markaby/sum.mab",
|
715
|
-
"spec/ramaze/template/markaby.rb",
|
716
712
|
"spec/ramaze/template/nagoro",
|
713
|
+
"spec/ramaze/template/nagoro.rb",
|
717
714
|
"spec/ramaze/template/nagoro/another",
|
718
715
|
"spec/ramaze/template/nagoro/another/long",
|
719
716
|
"spec/ramaze/template/nagoro/another/long/action.nag",
|
@@ -723,33 +720,31 @@ Gem::Specification.new do |s|
|
|
723
720
|
"spec/ramaze/template/nagoro/nested.nag",
|
724
721
|
"spec/ramaze/template/nagoro/some__long__action.nag",
|
725
722
|
"spec/ramaze/template/nagoro/sum.nag",
|
726
|
-
"spec/ramaze/template/nagoro.rb",
|
727
723
|
"spec/ramaze/template/ramaze",
|
728
724
|
"spec/ramaze/template/ramaze/external.test",
|
729
725
|
"spec/ramaze/template/redcloth",
|
730
|
-
"spec/ramaze/template/redcloth/external.redcloth",
|
731
726
|
"spec/ramaze/template/redcloth.rb",
|
727
|
+
"spec/ramaze/template/redcloth/external.redcloth",
|
732
728
|
"spec/ramaze/template/remarkably",
|
729
|
+
"spec/ramaze/template/remarkably.rb",
|
733
730
|
"spec/ramaze/template/remarkably/external.rem",
|
734
731
|
"spec/ramaze/template/remarkably/sum.rem",
|
735
|
-
"spec/ramaze/template/remarkably.rb",
|
736
732
|
"spec/ramaze/template/sass",
|
737
|
-
"spec/ramaze/template/sass/file.css.sass",
|
738
733
|
"spec/ramaze/template/sass.rb",
|
734
|
+
"spec/ramaze/template/sass/file.css.sass",
|
739
735
|
"spec/ramaze/template/tagz",
|
736
|
+
"spec/ramaze/template/tagz.rb",
|
740
737
|
"spec/ramaze/template/tagz/external.tagz",
|
741
738
|
"spec/ramaze/template/tagz/sum.tagz",
|
742
|
-
"spec/ramaze/template/tagz.rb",
|
743
739
|
"spec/ramaze/template/tenjin",
|
744
|
-
"spec/ramaze/template/tenjin/external.tenjin",
|
745
740
|
"spec/ramaze/template/tenjin.rb",
|
741
|
+
"spec/ramaze/template/tenjin/external.tenjin",
|
746
742
|
"spec/ramaze/template/xslt",
|
743
|
+
"spec/ramaze/template/xslt.rb",
|
747
744
|
"spec/ramaze/template/xslt/concat_words.xsl",
|
748
745
|
"spec/ramaze/template/xslt/index.xsl",
|
749
746
|
"spec/ramaze/template/xslt/products.xsl",
|
750
747
|
"spec/ramaze/template/xslt/ruby_version.xsl",
|
751
|
-
"spec/ramaze/template/xslt.rb",
|
752
|
-
"spec/ramaze/template.rb",
|
753
748
|
"spec/snippets",
|
754
749
|
"spec/snippets/array",
|
755
750
|
"spec/snippets/array/put_within.rb",
|
@@ -757,12 +752,13 @@ Gem::Specification.new do |s|
|
|
757
752
|
"spec/snippets/binding/locals.rb",
|
758
753
|
"spec/snippets/divide.rb",
|
759
754
|
"spec/snippets/kernel",
|
760
|
-
"spec/snippets/kernel/__dir__.rb",
|
761
|
-
"spec/snippets/kernel/acquire.rb",
|
762
755
|
"spec/snippets/kernel/constant.rb",
|
763
756
|
"spec/snippets/numeric",
|
764
757
|
"spec/snippets/numeric/filesize_format.rb",
|
765
758
|
"spec/snippets/numeric/time.rb",
|
759
|
+
"spec/snippets/object",
|
760
|
+
"spec/snippets/object/__dir__.rb",
|
761
|
+
"spec/snippets/object/acquire.rb",
|
766
762
|
"spec/snippets/ordered_set.rb",
|
767
763
|
"spec/snippets/ramaze",
|
768
764
|
"spec/snippets/ramaze/caller_info.rb",
|
@@ -772,11 +768,6 @@ Gem::Specification.new do |s|
|
|
772
768
|
"spec/snippets/string/color.rb",
|
773
769
|
"spec/snippets/string/snake_case.rb",
|
774
770
|
"spec/snippets/string/unindent.rb",
|
775
|
-
"spec/snippets/struct",
|
776
|
-
"spec/snippets/struct/fill.rb",
|
777
|
-
"spec/snippets/struct/values_at.rb",
|
778
|
-
"spec/snippets/symbol",
|
779
|
-
"spec/snippets/symbol/to_proc.rb",
|
780
771
|
"spec/snippets/thread",
|
781
772
|
"spec/snippets/thread/into.rb"]
|
782
773
|
end
|