innate 2009.04
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +2981 -0
- data/COPYING +18 -0
- data/MANIFEST +127 -0
- data/README.md +563 -0
- data/Rakefile +35 -0
- data/example/app/retro_games.rb +60 -0
- data/example/app/todo/layout/default.xhtml +11 -0
- data/example/app/todo/spec/todo.rb +63 -0
- data/example/app/todo/start.rb +51 -0
- data/example/app/todo/view/index.xhtml +39 -0
- data/example/app/whywiki_erb/layout/wiki.html.erb +15 -0
- data/example/app/whywiki_erb/spec/wiki.rb +19 -0
- data/example/app/whywiki_erb/start.rb +42 -0
- data/example/app/whywiki_erb/view/edit.erb +6 -0
- data/example/app/whywiki_erb/view/index.erb +12 -0
- data/example/custom_middleware.rb +35 -0
- data/example/hello.rb +11 -0
- data/example/howto_spec.rb +35 -0
- data/example/link.rb +27 -0
- data/example/provides.rb +31 -0
- data/example/session.rb +38 -0
- data/innate.gemspec +29 -0
- data/lib/innate.rb +269 -0
- data/lib/innate/action.rb +150 -0
- data/lib/innate/adapter.rb +76 -0
- data/lib/innate/cache.rb +134 -0
- data/lib/innate/cache/api.rb +128 -0
- data/lib/innate/cache/drb.rb +58 -0
- data/lib/innate/cache/file_based.rb +41 -0
- data/lib/innate/cache/marshal.rb +17 -0
- data/lib/innate/cache/memory.rb +22 -0
- data/lib/innate/cache/yaml.rb +17 -0
- data/lib/innate/current.rb +37 -0
- data/lib/innate/dynamap.rb +96 -0
- data/lib/innate/helper.rb +183 -0
- data/lib/innate/helper/aspect.rb +124 -0
- data/lib/innate/helper/cgi.rb +54 -0
- data/lib/innate/helper/flash.rb +36 -0
- data/lib/innate/helper/link.rb +94 -0
- data/lib/innate/helper/redirect.rb +85 -0
- data/lib/innate/helper/render.rb +87 -0
- data/lib/innate/helper/send_file.rb +26 -0
- data/lib/innate/log.rb +20 -0
- data/lib/innate/log/color_formatter.rb +43 -0
- data/lib/innate/log/hub.rb +73 -0
- data/lib/innate/middleware_compiler.rb +65 -0
- data/lib/innate/mock.rb +49 -0
- data/lib/innate/node.rb +1025 -0
- data/lib/innate/options.rb +37 -0
- data/lib/innate/options/dsl.rb +202 -0
- data/lib/innate/options/stub.rb +7 -0
- data/lib/innate/request.rb +141 -0
- data/lib/innate/response.rb +23 -0
- data/lib/innate/route.rb +110 -0
- data/lib/innate/session.rb +121 -0
- data/lib/innate/session/flash.rb +94 -0
- data/lib/innate/spec.rb +23 -0
- data/lib/innate/state.rb +27 -0
- data/lib/innate/state/accessor.rb +130 -0
- data/lib/innate/state/fiber.rb +74 -0
- data/lib/innate/state/thread.rb +47 -0
- data/lib/innate/traited.rb +85 -0
- data/lib/innate/trinity.rb +18 -0
- data/lib/innate/version.rb +3 -0
- data/lib/innate/view.rb +60 -0
- data/lib/innate/view/erb.rb +15 -0
- data/lib/innate/view/etanni.rb +36 -0
- data/lib/innate/view/none.rb +9 -0
- data/spec/example/app/retro_games.rb +30 -0
- data/spec/example/hello.rb +13 -0
- data/spec/example/link.rb +25 -0
- data/spec/example/provides.rb +16 -0
- data/spec/example/session.rb +22 -0
- data/spec/helper.rb +10 -0
- data/spec/innate/action/layout.rb +107 -0
- data/spec/innate/action/layout/file_layout.xhtml +1 -0
- data/spec/innate/cache/common.rb +47 -0
- data/spec/innate/cache/marshal.rb +5 -0
- data/spec/innate/cache/memory.rb +5 -0
- data/spec/innate/cache/yaml.rb +5 -0
- data/spec/innate/dynamap.rb +22 -0
- data/spec/innate/helper.rb +86 -0
- data/spec/innate/helper/aspect.rb +75 -0
- data/spec/innate/helper/cgi.rb +37 -0
- data/spec/innate/helper/flash.rb +118 -0
- data/spec/innate/helper/link.rb +139 -0
- data/spec/innate/helper/redirect.rb +160 -0
- data/spec/innate/helper/render.rb +133 -0
- data/spec/innate/helper/send_file.rb +21 -0
- data/spec/innate/helper/view/aspect_hello.xhtml +1 -0
- data/spec/innate/helper/view/locals.xhtml +1 -0
- data/spec/innate/helper/view/loop.xhtml +4 -0
- data/spec/innate/helper/view/num.xhtml +1 -0
- data/spec/innate/helper/view/partial.xhtml +1 -0
- data/spec/innate/helper/view/recursive.xhtml +7 -0
- data/spec/innate/mock.rb +84 -0
- data/spec/innate/node/mapping.rb +37 -0
- data/spec/innate/node/node.rb +134 -0
- data/spec/innate/node/resolve.rb +82 -0
- data/spec/innate/node/view/another_layout/another_layout.xhtml +3 -0
- data/spec/innate/node/view/bar.xhtml +1 -0
- data/spec/innate/node/view/foo.html.xhtml +1 -0
- data/spec/innate/node/view/only_view.xhtml +1 -0
- data/spec/innate/node/view/with_layout.xhtml +1 -0
- data/spec/innate/node/wrap_action_call.rb +83 -0
- data/spec/innate/options.rb +115 -0
- data/spec/innate/parameter.rb +154 -0
- data/spec/innate/provides.rb +99 -0
- data/spec/innate/provides/list.html.xhtml +1 -0
- data/spec/innate/provides/list.txt.xhtml +1 -0
- data/spec/innate/request.rb +77 -0
- data/spec/innate/route.rb +135 -0
- data/spec/innate/session.rb +54 -0
- data/spec/innate/state/fiber.rb +58 -0
- data/spec/innate/state/thread.rb +40 -0
- data/spec/innate/traited.rb +55 -0
- data/tasks/bacon.rake +66 -0
- data/tasks/changelog.rake +18 -0
- data/tasks/gem.rake +22 -0
- data/tasks/gem_installer.rake +76 -0
- data/tasks/grancher.rake +12 -0
- data/tasks/install_dependencies.rake +4 -0
- data/tasks/manifest.rake +4 -0
- data/tasks/rcov.rake +19 -0
- data/tasks/release.rake +51 -0
- data/tasks/reversion.rake +8 -0
- data/tasks/setup.rake +28 -0
- metadata +181 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
require 'spec/helper'
|
|
2
|
+
|
|
3
|
+
class Animal
|
|
4
|
+
include Innate::Traited
|
|
5
|
+
end
|
|
6
|
+
|
|
7
|
+
class Cat < Animal
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
class Tiger < Animal
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
describe Innate::Traited do
|
|
14
|
+
should 'set trait on superclass' do
|
|
15
|
+
Animal.trait :wild => :depends
|
|
16
|
+
Animal.trait[:wild].should == :depends
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
should 'reset trait on superclass' do
|
|
20
|
+
Animal.trait :wild => :naturally
|
|
21
|
+
Animal.trait[:wild].should == :naturally
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
should 'set trait on instance' do
|
|
25
|
+
animal = Animal.new
|
|
26
|
+
animal.trait[:wild].should == nil
|
|
27
|
+
animal.trait :wild => :depends
|
|
28
|
+
animal.trait[:wild].should == :depends
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
should 'get ancestral trait from instance' do
|
|
32
|
+
animal = Animal.new
|
|
33
|
+
animal.ancestral_trait[:wild].should == :naturally
|
|
34
|
+
animal.trait :wild => :depends
|
|
35
|
+
animal.ancestral_trait[:wild].should == :depends
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
should 'set trait on subclass' do
|
|
39
|
+
Cat.trait :sound => :meow
|
|
40
|
+
Cat.trait[:sound].should == :meow
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
should 'not modify traits of other classes' do
|
|
44
|
+
Animal.trait[:sound].should == nil
|
|
45
|
+
Tiger.trait[:sound].should == nil
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
should 'get ancestral trait from class in superclass' do
|
|
49
|
+
Cat.ancestral_trait[:wild].should == :naturally
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
should 'get ancestral trait from instance in superclass' do
|
|
53
|
+
Cat.new.ancestral_trait[:wild].should == :naturally
|
|
54
|
+
end
|
|
55
|
+
end
|
data/tasks/bacon.rake
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
desc 'Run all bacon specs with pretty output'
|
|
2
|
+
task :bacon => :install_dependencies do
|
|
3
|
+
require 'open3'
|
|
4
|
+
require 'scanf'
|
|
5
|
+
require 'matrix'
|
|
6
|
+
|
|
7
|
+
specs = PROJECT_SPECS
|
|
8
|
+
|
|
9
|
+
some_failed = false
|
|
10
|
+
specs_size = specs.size
|
|
11
|
+
len = specs.map{|s| s.size }.sort.last
|
|
12
|
+
total_tests = total_assertions = total_failures = total_errors = 0
|
|
13
|
+
totals = Vector[0, 0, 0, 0]
|
|
14
|
+
|
|
15
|
+
red, yellow, green = "\e[31m%s\e[0m", "\e[33m%s\e[0m", "\e[32m%s\e[0m"
|
|
16
|
+
left_format = "%4d/%d: %-#{len + 11}s"
|
|
17
|
+
spec_format = "%d specifications (%d requirements), %d failures, %d errors"
|
|
18
|
+
|
|
19
|
+
specs.each_with_index do |spec, idx|
|
|
20
|
+
print(left_format % [idx + 1, specs_size, spec])
|
|
21
|
+
|
|
22
|
+
Open3.popen3(RUBY, spec) do |sin, sout, serr|
|
|
23
|
+
out = sout.read.strip
|
|
24
|
+
err = serr.read.strip
|
|
25
|
+
|
|
26
|
+
# this is conventional, see spec/innate/state/fiber.rb for usage
|
|
27
|
+
if out =~ /^Bacon::Error: (needed .*)/
|
|
28
|
+
puts(yellow % ("%6s %s" % ['', $1]))
|
|
29
|
+
else
|
|
30
|
+
total = nil
|
|
31
|
+
|
|
32
|
+
out.each_line do |line|
|
|
33
|
+
scanned = line.scanf(spec_format)
|
|
34
|
+
|
|
35
|
+
next unless scanned.size == 4
|
|
36
|
+
|
|
37
|
+
total = Vector[*scanned]
|
|
38
|
+
break
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
if total
|
|
42
|
+
totals += total
|
|
43
|
+
tests, assertions, failures, errors = total_array = total.to_a
|
|
44
|
+
|
|
45
|
+
if tests > 0 && failures + errors == 0
|
|
46
|
+
puts((green % "%6d passed") % tests)
|
|
47
|
+
else
|
|
48
|
+
some_failed = true
|
|
49
|
+
puts(red % " failed")
|
|
50
|
+
puts out unless out.empty?
|
|
51
|
+
puts err unless err.empty?
|
|
52
|
+
end
|
|
53
|
+
else
|
|
54
|
+
some_failed = true
|
|
55
|
+
puts(red % " failed")
|
|
56
|
+
puts out unless out.empty?
|
|
57
|
+
puts err unless err.empty?
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
total_color = some_failed ? red : green
|
|
64
|
+
puts(total_color % (spec_format % totals.to_a))
|
|
65
|
+
exit 1 if some_failed
|
|
66
|
+
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
desc 'update changelog'
|
|
2
|
+
task :changelog do
|
|
3
|
+
File.open('CHANGELOG', 'w+') do |changelog|
|
|
4
|
+
`git log -z --abbrev-commit`.split("\0").each do |commit|
|
|
5
|
+
next if commit =~ /^Merge: \d*/
|
|
6
|
+
ref, author, time, _, title, _, message = commit.split("\n", 7)
|
|
7
|
+
ref = ref[/commit ([0-9a-f]+)/, 1]
|
|
8
|
+
author = author[/Author: (.*)/, 1].strip
|
|
9
|
+
time = Time.parse(time[/Date: (.*)/, 1]).utc
|
|
10
|
+
title.strip!
|
|
11
|
+
|
|
12
|
+
changelog.puts "[#{ref} | #{time}] #{author}"
|
|
13
|
+
changelog.puts '', " * #{title}"
|
|
14
|
+
changelog.puts '', message.rstrip if message
|
|
15
|
+
changelog.puts
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
data/tasks/gem.rake
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
require 'rake/gempackagetask'
|
|
2
|
+
|
|
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
|
|
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
|
|
13
|
+
|
|
14
|
+
desc "uninstall the gem"
|
|
15
|
+
task :uninstall => [:clean] do
|
|
16
|
+
sh %{gem uninstall -x #{GEMSPEC.name}}
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
Rake::GemPackageTask.new(GEMSPEC) do |p|
|
|
20
|
+
p.need_tar = true
|
|
21
|
+
p.need_zip = true
|
|
22
|
+
end
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
task :gem_installer do
|
|
2
|
+
class GemInstaller
|
|
3
|
+
def initialize(options = {}, &block)
|
|
4
|
+
@gems = []
|
|
5
|
+
@options = options
|
|
6
|
+
|
|
7
|
+
run(&block)
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
def run(&block)
|
|
11
|
+
instance_eval(&block) if block_given?
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def gem(name, version = nil, options = {})
|
|
15
|
+
if version.respond_to?(:merge!)
|
|
16
|
+
options = version
|
|
17
|
+
else
|
|
18
|
+
options[:version] = version
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
@gems << [name, options]
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def setup_gemspec(gemspec)
|
|
25
|
+
gemspec.dependencies.each do |dependency|
|
|
26
|
+
dependency.version_requirements.as_list.each do |version|
|
|
27
|
+
gem(dependency.name, version)
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
setup
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
def setup
|
|
35
|
+
require 'rubygems'
|
|
36
|
+
require 'rubygems/dependency_installer'
|
|
37
|
+
|
|
38
|
+
@gems.each do |name, options|
|
|
39
|
+
setup_gem(name, options)
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def setup_gem(name, options, try_install = true)
|
|
44
|
+
print "activating #{name} ... "
|
|
45
|
+
Gem.activate(name, *[options[:version]].compact)
|
|
46
|
+
require(options[:lib] || name)
|
|
47
|
+
puts "success."
|
|
48
|
+
rescue LoadError => error
|
|
49
|
+
puts error
|
|
50
|
+
install_gem(name, options) if try_install
|
|
51
|
+
setup_gem(name, options, try_install = false)
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
def install_gem(name, options)
|
|
55
|
+
installer = Gem::DependencyInstaller.new(options)
|
|
56
|
+
|
|
57
|
+
temp_argv(options[:extconf]) do
|
|
58
|
+
print "Installing #{name} ... "
|
|
59
|
+
installer.install(name, options[:version])
|
|
60
|
+
puts "done."
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
def temp_argv(extconf)
|
|
65
|
+
if extconf ||= @options[:extconf]
|
|
66
|
+
old_argv = ARGV.clone
|
|
67
|
+
ARGV.replace(extconf.split(' '))
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
yield
|
|
71
|
+
|
|
72
|
+
ensure
|
|
73
|
+
ARGV.replace(old_argv) if extconf
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
data/tasks/grancher.rake
ADDED
data/tasks/manifest.rake
ADDED
data/tasks/rcov.rake
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
desc 'code coverage'
|
|
2
|
+
task :rcov => :clean do
|
|
3
|
+
specs = Dir['spec/innate/**/*.rb']
|
|
4
|
+
specs -= Dir['spec/innate/cache/common.rb']
|
|
5
|
+
|
|
6
|
+
# we ignore adapter as this has extensive specs in rack already.
|
|
7
|
+
ignore = %w[ gem rack bacon innate/adapter\.rb ]
|
|
8
|
+
ignore << 'fiber\.rb' if RUBY_VERSION < '1.9'
|
|
9
|
+
|
|
10
|
+
ignored = ignore.join(',')
|
|
11
|
+
|
|
12
|
+
cmd = "rcov --aggregate coverage.data --sort coverage -t --%s -x '#{ignored}' %s"
|
|
13
|
+
|
|
14
|
+
while spec = specs.shift
|
|
15
|
+
puts '', "Gather coverage for #{spec} ..."
|
|
16
|
+
html = specs.empty? ? 'html' : 'no-html'
|
|
17
|
+
sh(cmd % [html, spec])
|
|
18
|
+
end
|
|
19
|
+
end
|
data/tasks/release.rake
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
namespace :release do
|
|
2
|
+
task :all => [:release_github, :release_rubyforge]
|
|
3
|
+
|
|
4
|
+
desc 'Display instructions to release on github'
|
|
5
|
+
task :github => [:reversion, :gemspec] do
|
|
6
|
+
name, version = GEMSPEC.name, GEMSPEC.version
|
|
7
|
+
|
|
8
|
+
puts <<INSTRUCTIONS
|
|
9
|
+
First add the relevant files:
|
|
10
|
+
|
|
11
|
+
git add MANIFEST CHANGELOG #{name}.gemspec lib/#{name}/version.rb
|
|
12
|
+
|
|
13
|
+
Then commit them, tag the commit, and push:
|
|
14
|
+
|
|
15
|
+
git commit -m 'Version #{version}'
|
|
16
|
+
git tag -a -m '#{version}' '#{version}'
|
|
17
|
+
git push
|
|
18
|
+
|
|
19
|
+
INSTRUCTIONS
|
|
20
|
+
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# TODO: Not tested
|
|
24
|
+
desc 'Display instructions to release on rubyforge'
|
|
25
|
+
task :rubyforge => [:reversion, :gemspec, :package] do
|
|
26
|
+
name, version = GEMSPEC.name, GEMSPEC.version
|
|
27
|
+
|
|
28
|
+
puts <<INSTRUCTIONS
|
|
29
|
+
To publish to rubyforge do following:
|
|
30
|
+
|
|
31
|
+
rubyforge login
|
|
32
|
+
rubyforge add_release #{name} '#{version}' pkg/#{name}-#{version}.gem
|
|
33
|
+
|
|
34
|
+
After you have done these steps, see:
|
|
35
|
+
|
|
36
|
+
rake release:rubyforge_archives
|
|
37
|
+
|
|
38
|
+
INSTRUCTIONS
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
desc 'Display instructions to add archives after release:rubyforge'
|
|
42
|
+
task :rubyforge_archives do
|
|
43
|
+
puts "Adding archives for distro packagers is:", ""
|
|
44
|
+
|
|
45
|
+
Dir["pkg/#{name}-#{version}.{gz,zip}"].each do |file|
|
|
46
|
+
puts "rubyforge add_file #{name} #{name} '#{version}' '#{file}'"
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
puts
|
|
50
|
+
end
|
|
51
|
+
end
|
data/tasks/setup.rake
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Currently, Innate is not usable without Rack from the master branch head.
|
|
2
|
+
# Also, our specs now depend on the latest rack-test.
|
|
3
|
+
#
|
|
4
|
+
# In order to make setup simpler for folks, I'll put up some gemspecs on github
|
|
5
|
+
# and use their automatic building to provide development versions of these
|
|
6
|
+
# libraries as gems for easier deployment.
|
|
7
|
+
#
|
|
8
|
+
# Once the libraries are officially released in a usable state I'll switch
|
|
9
|
+
# dependencies to the official ones again.
|
|
10
|
+
#
|
|
11
|
+
# Please note that this makes running in environments that enforce their own
|
|
12
|
+
# Rack (like jruby-rack) still quite difficult, but should allow for easier
|
|
13
|
+
# development.
|
|
14
|
+
#
|
|
15
|
+
# Please be patient.
|
|
16
|
+
|
|
17
|
+
desc 'install dependencies'
|
|
18
|
+
task :setup do
|
|
19
|
+
GemInstaller.new do
|
|
20
|
+
gem 'bacon', '>= 1.0'
|
|
21
|
+
gem 'json', '~> 1.1.3'
|
|
22
|
+
|
|
23
|
+
gem 'manveru-rack-test', '> 0.1.0', :lib => 'rack-test'
|
|
24
|
+
gem 'manveru-rack', '>= 0.9.9', :lib => 'rack'
|
|
25
|
+
|
|
26
|
+
setup
|
|
27
|
+
end
|
|
28
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: innate
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: "2009.04"
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Michael 'manveru' Fellinger
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
|
|
12
|
+
date: 2009-04-26 00:00:00 +09:00
|
|
13
|
+
default_executable:
|
|
14
|
+
dependencies: []
|
|
15
|
+
|
|
16
|
+
description: Simple, straight-forward base for web-frameworks.
|
|
17
|
+
email: m.fellinger@gmail.com
|
|
18
|
+
executables: []
|
|
19
|
+
|
|
20
|
+
extensions: []
|
|
21
|
+
|
|
22
|
+
extra_rdoc_files: []
|
|
23
|
+
|
|
24
|
+
files:
|
|
25
|
+
- CHANGELOG
|
|
26
|
+
- COPYING
|
|
27
|
+
- MANIFEST
|
|
28
|
+
- README.md
|
|
29
|
+
- Rakefile
|
|
30
|
+
- example/app/retro_games.rb
|
|
31
|
+
- example/app/todo/layout/default.xhtml
|
|
32
|
+
- example/app/todo/spec/todo.rb
|
|
33
|
+
- example/app/todo/start.rb
|
|
34
|
+
- example/app/todo/view/index.xhtml
|
|
35
|
+
- example/app/whywiki_erb/layout/wiki.html.erb
|
|
36
|
+
- example/app/whywiki_erb/spec/wiki.rb
|
|
37
|
+
- example/app/whywiki_erb/start.rb
|
|
38
|
+
- example/app/whywiki_erb/view/edit.erb
|
|
39
|
+
- example/app/whywiki_erb/view/index.erb
|
|
40
|
+
- example/custom_middleware.rb
|
|
41
|
+
- example/hello.rb
|
|
42
|
+
- example/howto_spec.rb
|
|
43
|
+
- example/link.rb
|
|
44
|
+
- example/provides.rb
|
|
45
|
+
- example/session.rb
|
|
46
|
+
- innate.gemspec
|
|
47
|
+
- lib/innate.rb
|
|
48
|
+
- lib/innate/action.rb
|
|
49
|
+
- lib/innate/adapter.rb
|
|
50
|
+
- lib/innate/cache.rb
|
|
51
|
+
- lib/innate/cache/api.rb
|
|
52
|
+
- lib/innate/cache/drb.rb
|
|
53
|
+
- lib/innate/cache/file_based.rb
|
|
54
|
+
- lib/innate/cache/marshal.rb
|
|
55
|
+
- lib/innate/cache/memory.rb
|
|
56
|
+
- lib/innate/cache/yaml.rb
|
|
57
|
+
- lib/innate/current.rb
|
|
58
|
+
- lib/innate/dynamap.rb
|
|
59
|
+
- lib/innate/helper.rb
|
|
60
|
+
- lib/innate/helper/aspect.rb
|
|
61
|
+
- lib/innate/helper/cgi.rb
|
|
62
|
+
- lib/innate/helper/flash.rb
|
|
63
|
+
- lib/innate/helper/link.rb
|
|
64
|
+
- lib/innate/helper/redirect.rb
|
|
65
|
+
- lib/innate/helper/render.rb
|
|
66
|
+
- lib/innate/helper/send_file.rb
|
|
67
|
+
- lib/innate/log.rb
|
|
68
|
+
- lib/innate/log/color_formatter.rb
|
|
69
|
+
- lib/innate/log/hub.rb
|
|
70
|
+
- lib/innate/middleware_compiler.rb
|
|
71
|
+
- lib/innate/mock.rb
|
|
72
|
+
- lib/innate/node.rb
|
|
73
|
+
- lib/innate/options.rb
|
|
74
|
+
- lib/innate/options/dsl.rb
|
|
75
|
+
- lib/innate/options/stub.rb
|
|
76
|
+
- lib/innate/request.rb
|
|
77
|
+
- lib/innate/response.rb
|
|
78
|
+
- lib/innate/route.rb
|
|
79
|
+
- lib/innate/session.rb
|
|
80
|
+
- lib/innate/session/flash.rb
|
|
81
|
+
- lib/innate/spec.rb
|
|
82
|
+
- lib/innate/state.rb
|
|
83
|
+
- lib/innate/state/accessor.rb
|
|
84
|
+
- lib/innate/state/fiber.rb
|
|
85
|
+
- lib/innate/state/thread.rb
|
|
86
|
+
- lib/innate/traited.rb
|
|
87
|
+
- lib/innate/trinity.rb
|
|
88
|
+
- lib/innate/version.rb
|
|
89
|
+
- lib/innate/view.rb
|
|
90
|
+
- lib/innate/view/erb.rb
|
|
91
|
+
- lib/innate/view/etanni.rb
|
|
92
|
+
- lib/innate/view/none.rb
|
|
93
|
+
- spec/example/app/retro_games.rb
|
|
94
|
+
- spec/example/hello.rb
|
|
95
|
+
- spec/example/link.rb
|
|
96
|
+
- spec/example/provides.rb
|
|
97
|
+
- spec/example/session.rb
|
|
98
|
+
- spec/helper.rb
|
|
99
|
+
- spec/innate/action/layout.rb
|
|
100
|
+
- spec/innate/action/layout/file_layout.xhtml
|
|
101
|
+
- spec/innate/cache/common.rb
|
|
102
|
+
- spec/innate/cache/marshal.rb
|
|
103
|
+
- spec/innate/cache/memory.rb
|
|
104
|
+
- spec/innate/cache/yaml.rb
|
|
105
|
+
- spec/innate/dynamap.rb
|
|
106
|
+
- spec/innate/helper.rb
|
|
107
|
+
- spec/innate/helper/aspect.rb
|
|
108
|
+
- spec/innate/helper/cgi.rb
|
|
109
|
+
- spec/innate/helper/flash.rb
|
|
110
|
+
- spec/innate/helper/link.rb
|
|
111
|
+
- spec/innate/helper/redirect.rb
|
|
112
|
+
- spec/innate/helper/render.rb
|
|
113
|
+
- spec/innate/helper/send_file.rb
|
|
114
|
+
- spec/innate/helper/view/aspect_hello.xhtml
|
|
115
|
+
- spec/innate/helper/view/locals.xhtml
|
|
116
|
+
- spec/innate/helper/view/loop.xhtml
|
|
117
|
+
- spec/innate/helper/view/num.xhtml
|
|
118
|
+
- spec/innate/helper/view/partial.xhtml
|
|
119
|
+
- spec/innate/helper/view/recursive.xhtml
|
|
120
|
+
- spec/innate/mock.rb
|
|
121
|
+
- spec/innate/node/mapping.rb
|
|
122
|
+
- spec/innate/node/node.rb
|
|
123
|
+
- spec/innate/node/resolve.rb
|
|
124
|
+
- spec/innate/node/view/another_layout/another_layout.xhtml
|
|
125
|
+
- spec/innate/node/view/bar.xhtml
|
|
126
|
+
- spec/innate/node/view/foo.html.xhtml
|
|
127
|
+
- spec/innate/node/view/only_view.xhtml
|
|
128
|
+
- spec/innate/node/view/with_layout.xhtml
|
|
129
|
+
- spec/innate/node/wrap_action_call.rb
|
|
130
|
+
- spec/innate/options.rb
|
|
131
|
+
- spec/innate/parameter.rb
|
|
132
|
+
- spec/innate/provides.rb
|
|
133
|
+
- spec/innate/provides/list.html.xhtml
|
|
134
|
+
- spec/innate/provides/list.txt.xhtml
|
|
135
|
+
- spec/innate/request.rb
|
|
136
|
+
- spec/innate/route.rb
|
|
137
|
+
- spec/innate/session.rb
|
|
138
|
+
- spec/innate/state/fiber.rb
|
|
139
|
+
- spec/innate/state/thread.rb
|
|
140
|
+
- spec/innate/traited.rb
|
|
141
|
+
- tasks/bacon.rake
|
|
142
|
+
- tasks/changelog.rake
|
|
143
|
+
- tasks/gem.rake
|
|
144
|
+
- tasks/gem_installer.rake
|
|
145
|
+
- tasks/grancher.rake
|
|
146
|
+
- tasks/install_dependencies.rake
|
|
147
|
+
- tasks/manifest.rake
|
|
148
|
+
- tasks/rcov.rake
|
|
149
|
+
- tasks/release.rake
|
|
150
|
+
- tasks/reversion.rake
|
|
151
|
+
- tasks/setup.rake
|
|
152
|
+
has_rdoc: true
|
|
153
|
+
homepage: http://github.com/manveru/innate
|
|
154
|
+
licenses: []
|
|
155
|
+
|
|
156
|
+
post_install_message:
|
|
157
|
+
rdoc_options: []
|
|
158
|
+
|
|
159
|
+
require_paths:
|
|
160
|
+
- lib
|
|
161
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
162
|
+
requirements:
|
|
163
|
+
- - ">="
|
|
164
|
+
- !ruby/object:Gem::Version
|
|
165
|
+
version: "0"
|
|
166
|
+
version:
|
|
167
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
|
+
requirements:
|
|
169
|
+
- - ">="
|
|
170
|
+
- !ruby/object:Gem::Version
|
|
171
|
+
version: "0"
|
|
172
|
+
version:
|
|
173
|
+
requirements: []
|
|
174
|
+
|
|
175
|
+
rubyforge_project: innate
|
|
176
|
+
rubygems_version: 1.3.2
|
|
177
|
+
signing_key:
|
|
178
|
+
specification_version: 3
|
|
179
|
+
summary: Powerful web-framework wrapper for Rack.
|
|
180
|
+
test_files: []
|
|
181
|
+
|