innate 2011.04 → 2011.10
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/.gems +5 -0
- data/.gitignore +2 -0
- data/.load_gemset +4 -0
- data/.rvmrc +3 -0
- data/.travis.yml +19 -0
- data/AUTHORS +3 -1
- data/CHANGELOG +959 -847
- data/MANIFEST +4 -0
- data/README.md +4 -12
- data/Rakefile +3 -9
- data/innate.gemspec +13 -17
- data/lib/innate/node.rb +11 -6
- data/lib/innate/session.rb +2 -7
- data/lib/innate/spec/bacon.rb +0 -5
- data/lib/innate/version.rb +1 -1
- data/spec/innate/provides.rb +4 -11
- data/tasks/bacon.rake +4 -2
- data/tasks/gem.rake +2 -5
- metadata +44 -86
data/MANIFEST
CHANGED
data/README.md
CHANGED
|
@@ -130,7 +130,7 @@ your shell:
|
|
|
130
130
|
gem install innate
|
|
131
131
|
|
|
132
132
|
### Direct download
|
|
133
|
-
|
|
133
|
+
|
|
134
134
|
Download the latest tarball from [here](http://github.com/Ramaze/innate/tarball/master).
|
|
135
135
|
|
|
136
136
|
## Concepts
|
|
@@ -157,18 +157,10 @@ the list yet.
|
|
|
157
157
|
### View
|
|
158
158
|
|
|
159
159
|
Innate supports multiple templating engines and it is very easy to add your
|
|
160
|
-
own.
|
|
161
|
-
At the moment we offer following engines out of the box:
|
|
162
|
-
|
|
163
|
-
* [Builder](http://builder.rubyforge.org)
|
|
164
|
-
* [Haml](http://haml.hamptoncatlin.com/)
|
|
165
|
-
* [Sass](http://haml.hamptoncatlin.com/docs/sass)
|
|
166
|
-
* [Erubis](http://rubyforge.org/projects/erubis)
|
|
167
|
-
* [Tenjin](http://www.kuwata-lab.com/tenjin/)
|
|
168
|
-
|
|
169
|
-
How to build your own is discussed at
|
|
170
|
-
[HowTo:View](http://ramaze.net/HowTo:View).
|
|
160
|
+
own. At the moment we offer following engines out of the box:
|
|
171
161
|
|
|
162
|
+
* ERB
|
|
163
|
+
* Etanni
|
|
172
164
|
|
|
173
165
|
### Controller
|
|
174
166
|
|
data/Rakefile
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
require 'rake'
|
|
2
2
|
require 'rake/clean'
|
|
3
|
-
require '
|
|
3
|
+
require 'rubygems/package_task'
|
|
4
4
|
require 'time'
|
|
5
5
|
require 'date'
|
|
6
6
|
|
|
7
|
-
PROJECT_SPECS = FileList['spec/{innate,example}/**/*.rb'].exclude('common.rb')
|
|
7
|
+
PROJECT_SPECS = FileList['spec/{innate,example}/**/*.rb'].exclude('spec/innate/cache/common.rb')
|
|
8
8
|
PROJECT_MODULE = 'Innate'
|
|
9
9
|
PROJECT_README = 'README.md'
|
|
10
10
|
PROJECT_VERSION = (ENV['VERSION'] || Date.today.strftime('%Y.%m.%d')).dup
|
|
@@ -15,15 +15,9 @@ DEPENDENCIES = {
|
|
|
15
15
|
|
|
16
16
|
DEVELOPMENT_DEPENDENCIES = {
|
|
17
17
|
'bacon' => {:version => '>= 1.1.0'},
|
|
18
|
-
'rack-test' => {:version => '>= 0.
|
|
18
|
+
'rack-test' => {:version => '>= 0.6.1', :lib => 'rack/test'}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
if defined?(RUBY_PLATFORM) && RUBY_PLATFORM =~ /jruby/
|
|
22
|
-
DEVELOPMENT_DEPENDENCIES['json-jruby'] = {:version => '~> 1.2.0'}
|
|
23
|
-
else
|
|
24
|
-
DEVELOPMENT_DEPENDENCIES['json'] = {:version => '~> 1.2.0'}
|
|
25
|
-
end
|
|
26
|
-
|
|
27
21
|
GEMSPEC = Gem::Specification.new{|s|
|
|
28
22
|
s.name = 'innate'
|
|
29
23
|
s.author = "Michael 'manveru' Fellinger"
|
data/innate.gemspec
CHANGED
|
@@ -1,40 +1,36 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
|
-
s.name =
|
|
5
|
-
s.version = "2011.
|
|
4
|
+
s.name = "innate"
|
|
5
|
+
s.version = "2011.10"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.3.1") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Michael 'manveru' Fellinger"]
|
|
9
|
-
s.date =
|
|
10
|
-
s.description =
|
|
11
|
-
s.email =
|
|
12
|
-
s.files = [".gitignore", "AUTHORS", "CHANGELOG", "COPYING", "MANIFEST", "README.md", "Rakefile", "example/app/retro_games.rb", "example/app/todo/layout/default.xhtml", "example/app/todo/spec/todo.rb", "example/app/todo/start.rb", "example/app/todo/view/index.xhtml", "example/app/whywiki_erb/layout/wiki.html.erb", "example/app/whywiki_erb/spec/wiki.rb", "example/app/whywiki_erb/start.rb", "example/app/whywiki_erb/view/edit.erb", "example/app/whywiki_erb/view/index.erb", "example/custom_middleware.rb", "example/hello.rb", "example/howto_spec.rb", "example/link.rb", "example/provides.rb", "example/session.rb", "innate.gemspec", "lib/innate.rb", "lib/innate/action.rb", "lib/innate/adapter.rb", "lib/innate/cache.rb", "lib/innate/cache/api.rb", "lib/innate/cache/drb.rb", "lib/innate/cache/file_based.rb", "lib/innate/cache/marshal.rb", "lib/innate/cache/memory.rb", "lib/innate/cache/yaml.rb", "lib/innate/current.rb", "lib/innate/dynamap.rb", "lib/innate/helper.rb", "lib/innate/helper/aspect.rb", "lib/innate/helper/cgi.rb", "lib/innate/helper/flash.rb", "lib/innate/helper/link.rb", "lib/innate/helper/redirect.rb", "lib/innate/helper/render.rb", "lib/innate/log.rb", "lib/innate/log/color_formatter.rb", "lib/innate/log/hub.rb", "lib/innate/middleware_compiler.rb", "lib/innate/mock.rb", "lib/innate/node.rb", "lib/innate/options.rb", "lib/innate/options/dsl.rb", "lib/innate/options/stub.rb", "lib/innate/request.rb", "lib/innate/response.rb", "lib/innate/route.rb", "lib/innate/session.rb", "lib/innate/session/flash.rb", "lib/innate/spec.rb", "lib/innate/spec/bacon.rb", "lib/innate/state.rb", "lib/innate/state/accessor.rb", "lib/innate/traited.rb", "lib/innate/trinity.rb", "lib/innate/version.rb", "lib/innate/view.rb", "lib/innate/view/erb.rb", "lib/innate/view/etanni.rb", "lib/innate/view/none.rb", "spec/example/app/retro_games.rb", "spec/example/hello.rb", "spec/example/link.rb", "spec/example/provides.rb", "spec/example/session.rb", "spec/helper.rb", "spec/innate/action/layout.rb", "spec/innate/action/layout/file_layout.xhtml", "spec/innate/cache/common.rb", "spec/innate/cache/marshal.rb", "spec/innate/cache/memory.rb", "spec/innate/cache/yaml.rb", "spec/innate/dynamap.rb", "spec/innate/etanni.rb", "spec/innate/helper.rb", "spec/innate/helper/aspect.rb", "spec/innate/helper/cgi.rb", "spec/innate/helper/flash.rb", "spec/innate/helper/link.rb", "spec/innate/helper/redirect.rb", "spec/innate/helper/render.rb", "spec/innate/helper/view/aspect_hello.xhtml", "spec/innate/helper/view/locals.xhtml", "spec/innate/helper/view/loop.xhtml", "spec/innate/helper/view/num.xhtml", "spec/innate/helper/view/partial.xhtml", "spec/innate/helper/view/recursive.xhtml", "spec/innate/mock.rb", "spec/innate/modes.rb", "spec/innate/node/mapping.rb", "spec/innate/node/node.rb", "spec/innate/node/resolve.rb", "spec/innate/node/view/another_layout/another_layout.xhtml", "spec/innate/node/view/bar.xhtml", "spec/innate/node/view/cat2/cat22.xhtml", "spec/innate/node/view/cat3/cat33.xhtml", "spec/innate/node/view/foo.html.xhtml", "spec/innate/node/view/only_view.xhtml", "spec/innate/node/view/sub/baz.xhtml", "spec/innate/node/view/sub/foo/baz.xhtml", "spec/innate/node/view/with_layout.xhtml", "spec/innate/node/wrap_action_call.rb", "spec/innate/options.rb", "spec/innate/parameter.rb", "spec/innate/provides.rb", "spec/innate/provides/list.html.xhtml", "spec/innate/provides/list.txt.xhtml", "spec/innate/request.rb", "spec/innate/response.rb", "spec/innate/route.rb", "spec/innate/session.rb", "spec/innate/traited.rb", "tasks/authors.rake", "tasks/bacon.rake", "tasks/changelog.rake", "tasks/gem.rake", "tasks/gem_setup.rake", "tasks/grancher.rake", "tasks/manifest.rake", "tasks/rcov.rake", "tasks/release.rake", "tasks/reversion.rake", "tasks/setup.rake", "tasks/ycov.rake"]
|
|
13
|
-
s.homepage =
|
|
9
|
+
s.date = "2011-10-23"
|
|
10
|
+
s.description = "Simple, straight-forward base for web-frameworks."
|
|
11
|
+
s.email = "m.fellinger@gmail.com"
|
|
12
|
+
s.files = [".gems", ".gitignore", ".load_gemset", ".rvmrc", ".travis.yml", "AUTHORS", "CHANGELOG", "COPYING", "MANIFEST", "README.md", "Rakefile", "example/app/retro_games.rb", "example/app/todo/layout/default.xhtml", "example/app/todo/spec/todo.rb", "example/app/todo/start.rb", "example/app/todo/view/index.xhtml", "example/app/whywiki_erb/layout/wiki.html.erb", "example/app/whywiki_erb/spec/wiki.rb", "example/app/whywiki_erb/start.rb", "example/app/whywiki_erb/view/edit.erb", "example/app/whywiki_erb/view/index.erb", "example/custom_middleware.rb", "example/hello.rb", "example/howto_spec.rb", "example/link.rb", "example/provides.rb", "example/session.rb", "innate.gemspec", "lib/innate.rb", "lib/innate/action.rb", "lib/innate/adapter.rb", "lib/innate/cache.rb", "lib/innate/cache/api.rb", "lib/innate/cache/drb.rb", "lib/innate/cache/file_based.rb", "lib/innate/cache/marshal.rb", "lib/innate/cache/memory.rb", "lib/innate/cache/yaml.rb", "lib/innate/current.rb", "lib/innate/dynamap.rb", "lib/innate/helper.rb", "lib/innate/helper/aspect.rb", "lib/innate/helper/cgi.rb", "lib/innate/helper/flash.rb", "lib/innate/helper/link.rb", "lib/innate/helper/redirect.rb", "lib/innate/helper/render.rb", "lib/innate/log.rb", "lib/innate/log/color_formatter.rb", "lib/innate/log/hub.rb", "lib/innate/middleware_compiler.rb", "lib/innate/mock.rb", "lib/innate/node.rb", "lib/innate/options.rb", "lib/innate/options/dsl.rb", "lib/innate/options/stub.rb", "lib/innate/request.rb", "lib/innate/response.rb", "lib/innate/route.rb", "lib/innate/session.rb", "lib/innate/session/flash.rb", "lib/innate/spec.rb", "lib/innate/spec/bacon.rb", "lib/innate/state.rb", "lib/innate/state/accessor.rb", "lib/innate/traited.rb", "lib/innate/trinity.rb", "lib/innate/version.rb", "lib/innate/view.rb", "lib/innate/view/erb.rb", "lib/innate/view/etanni.rb", "lib/innate/view/none.rb", "spec/example/app/retro_games.rb", "spec/example/hello.rb", "spec/example/link.rb", "spec/example/provides.rb", "spec/example/session.rb", "spec/helper.rb", "spec/innate/action/layout.rb", "spec/innate/action/layout/file_layout.xhtml", "spec/innate/cache/common.rb", "spec/innate/cache/marshal.rb", "spec/innate/cache/memory.rb", "spec/innate/cache/yaml.rb", "spec/innate/dynamap.rb", "spec/innate/etanni.rb", "spec/innate/helper.rb", "spec/innate/helper/aspect.rb", "spec/innate/helper/cgi.rb", "spec/innate/helper/flash.rb", "spec/innate/helper/link.rb", "spec/innate/helper/redirect.rb", "spec/innate/helper/render.rb", "spec/innate/helper/view/aspect_hello.xhtml", "spec/innate/helper/view/locals.xhtml", "spec/innate/helper/view/loop.xhtml", "spec/innate/helper/view/num.xhtml", "spec/innate/helper/view/partial.xhtml", "spec/innate/helper/view/recursive.xhtml", "spec/innate/mock.rb", "spec/innate/modes.rb", "spec/innate/node/mapping.rb", "spec/innate/node/node.rb", "spec/innate/node/resolve.rb", "spec/innate/node/view/another_layout/another_layout.xhtml", "spec/innate/node/view/bar.xhtml", "spec/innate/node/view/cat2/cat22.xhtml", "spec/innate/node/view/cat3/cat33.xhtml", "spec/innate/node/view/foo.html.xhtml", "spec/innate/node/view/only_view.xhtml", "spec/innate/node/view/sub/baz.xhtml", "spec/innate/node/view/sub/foo/baz.xhtml", "spec/innate/node/view/with_layout.xhtml", "spec/innate/node/wrap_action_call.rb", "spec/innate/options.rb", "spec/innate/parameter.rb", "spec/innate/provides.rb", "spec/innate/provides/list.html.xhtml", "spec/innate/provides/list.txt.xhtml", "spec/innate/request.rb", "spec/innate/response.rb", "spec/innate/route.rb", "spec/innate/session.rb", "spec/innate/traited.rb", "tasks/authors.rake", "tasks/bacon.rake", "tasks/changelog.rake", "tasks/gem.rake", "tasks/gem_setup.rake", "tasks/grancher.rake", "tasks/manifest.rake", "tasks/rcov.rake", "tasks/release.rake", "tasks/reversion.rake", "tasks/setup.rake", "tasks/ycov.rake"]
|
|
13
|
+
s.homepage = "http://github.com/manveru/innate"
|
|
14
14
|
s.require_paths = ["lib"]
|
|
15
|
-
s.rubyforge_project =
|
|
16
|
-
s.rubygems_version =
|
|
17
|
-
s.summary =
|
|
15
|
+
s.rubyforge_project = "innate"
|
|
16
|
+
s.rubygems_version = "1.8.10"
|
|
17
|
+
s.summary = "Powerful web-framework wrapper for Rack."
|
|
18
18
|
|
|
19
19
|
if s.respond_to? :specification_version then
|
|
20
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
21
20
|
s.specification_version = 3
|
|
22
21
|
|
|
23
22
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
24
23
|
s.add_runtime_dependency(%q<rack>, [">= 1.1.0"])
|
|
25
24
|
s.add_development_dependency(%q<bacon>, [">= 1.1.0"])
|
|
26
|
-
s.add_development_dependency(%q<rack-test>, [">= 0.
|
|
27
|
-
s.add_development_dependency(%q<json>, ["~> 1.2.0"])
|
|
25
|
+
s.add_development_dependency(%q<rack-test>, [">= 0.6.1"])
|
|
28
26
|
else
|
|
29
27
|
s.add_dependency(%q<rack>, [">= 1.1.0"])
|
|
30
28
|
s.add_dependency(%q<bacon>, [">= 1.1.0"])
|
|
31
|
-
s.add_dependency(%q<rack-test>, [">= 0.
|
|
32
|
-
s.add_dependency(%q<json>, ["~> 1.2.0"])
|
|
29
|
+
s.add_dependency(%q<rack-test>, [">= 0.6.1"])
|
|
33
30
|
end
|
|
34
31
|
else
|
|
35
32
|
s.add_dependency(%q<rack>, [">= 1.1.0"])
|
|
36
33
|
s.add_dependency(%q<bacon>, [">= 1.1.0"])
|
|
37
|
-
s.add_dependency(%q<rack-test>, [">= 0.
|
|
38
|
-
s.add_dependency(%q<json>, ["~> 1.2.0"])
|
|
34
|
+
s.add_dependency(%q<rack-test>, [">= 0.6.1"])
|
|
39
35
|
end
|
|
40
36
|
end
|
data/lib/innate/node.rb
CHANGED
|
@@ -652,6 +652,17 @@ module Innate
|
|
|
652
652
|
# A Node can only have one layout, although the template being chosen can
|
|
653
653
|
# depend on {provides}.
|
|
654
654
|
#
|
|
655
|
+
# @example
|
|
656
|
+
# layout :foo
|
|
657
|
+
# @example
|
|
658
|
+
# layout do |name, wish|
|
|
659
|
+
# name == 'foo' ? 'dark' : 'bright'
|
|
660
|
+
# end
|
|
661
|
+
# @example
|
|
662
|
+
# layout :foo do |name, wish|
|
|
663
|
+
# wish == 'html'
|
|
664
|
+
# end
|
|
665
|
+
#
|
|
655
666
|
# @param [String, #to_s] name basename without extension of the layout to use
|
|
656
667
|
# @param [Proc, #call] block called on every dispatch if no name given
|
|
657
668
|
#
|
|
@@ -660,12 +671,6 @@ module Innate
|
|
|
660
671
|
# @api external
|
|
661
672
|
# @see Node#find_layout Node#layout_paths Node#to_layout Node#app_layout
|
|
662
673
|
# @author manveru
|
|
663
|
-
#
|
|
664
|
-
# NOTE:
|
|
665
|
-
# The behaviour of Node#layout changed significantly from Ramaze, instead
|
|
666
|
-
# of multitudes of obscure options and methods like deny_layout we simply
|
|
667
|
-
# take a block and use the returned value as the name for the layout. No
|
|
668
|
-
# layout will be used if the block returns nil.
|
|
669
674
|
def layout(layout_name = nil, &block)
|
|
670
675
|
if layout_name and block
|
|
671
676
|
# default name, but still check with block
|
data/lib/innate/session.rb
CHANGED
|
@@ -40,11 +40,6 @@ module Innate
|
|
|
40
40
|
:sid_length, 64
|
|
41
41
|
o "cookie cannot be accessed through client side script (http://www.owasp.org/index.php/HttpOnly)",
|
|
42
42
|
:httponly, false
|
|
43
|
-
|
|
44
|
-
trigger(:expires){|value|
|
|
45
|
-
self.ttl = value - Time.now.to_i
|
|
46
|
-
Log.warn("Innate::Session.options.expires is deprecated, use #ttl instead")
|
|
47
|
-
}
|
|
48
43
|
end
|
|
49
44
|
|
|
50
45
|
attr_reader :cookie_set, :request, :response, :flash
|
|
@@ -98,7 +93,7 @@ module Innate
|
|
|
98
93
|
@sid = generate_sid
|
|
99
94
|
@force_new_cookie = true
|
|
100
95
|
end
|
|
101
|
-
|
|
96
|
+
|
|
102
97
|
private
|
|
103
98
|
|
|
104
99
|
def cache_sid
|
|
@@ -115,7 +110,7 @@ module Innate
|
|
|
115
110
|
|
|
116
111
|
def set_cookie(response)
|
|
117
112
|
return if @cookie_set || (!@force_new_cookie && cookie)
|
|
118
|
-
|
|
113
|
+
|
|
119
114
|
@cookie_set = true
|
|
120
115
|
response.set_cookie(options.key, cookie_value)
|
|
121
116
|
@force_new_cookie = false
|
data/lib/innate/spec/bacon.rb
CHANGED
data/lib/innate/version.rb
CHANGED
data/spec/innate/provides.rb
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
require File.expand_path('../../helper', __FILE__)
|
|
2
2
|
|
|
3
|
-
require 'json'
|
|
4
3
|
require 'yaml'
|
|
5
4
|
|
|
6
5
|
Innate.options.merge!(:views => 'provides', :layouts => 'provides')
|
|
@@ -10,7 +9,6 @@ class SpecNodeProvides
|
|
|
10
9
|
|
|
11
10
|
provide(:html, :engine => :None)
|
|
12
11
|
provide(:yaml, :type => 'text/yaml'){|a,s| s.to_yaml }
|
|
13
|
-
provide(:json, :type => 'application/json'){|a,s| s.to_json }
|
|
14
12
|
|
|
15
13
|
def object
|
|
16
14
|
{'intro' => 'Hello, World!'}
|
|
@@ -30,7 +28,6 @@ class SpecNodeProvidesTemplates
|
|
|
30
28
|
map_views '/'
|
|
31
29
|
|
|
32
30
|
provide(:yaml, :type => 'text/yaml'){|a,s| s.to_yaml }
|
|
33
|
-
provide(:json, :type => 'application/json'){|a,s| s.to_json }
|
|
34
31
|
provide(:txt, :engine => :Etanni, :type => 'text/plain')
|
|
35
32
|
|
|
36
33
|
def list
|
|
@@ -55,10 +52,6 @@ describe 'Content representation' do
|
|
|
55
52
|
assert_wish('/object.yaml', {'intro' => 'Hello, World!'}.to_yaml, 'text/yaml')
|
|
56
53
|
end
|
|
57
54
|
|
|
58
|
-
it 'provides json for an object' do
|
|
59
|
-
assert_wish('/object.json', {'intro' => 'Hello, World!'}.to_json, 'application/json')
|
|
60
|
-
end
|
|
61
|
-
|
|
62
55
|
it 'provides html for an object' do
|
|
63
56
|
assert_wish('/string.html', 'Just 42', 'text/html')
|
|
64
57
|
end
|
|
@@ -67,10 +60,10 @@ describe 'Content representation' do
|
|
|
67
60
|
assert_wish('/string', 'Just 42', 'text/html')
|
|
68
61
|
end
|
|
69
62
|
|
|
70
|
-
it 'takes arguments with <name>/arg1/arg2.
|
|
71
|
-
assert_wish('/args',
|
|
72
|
-
assert_wish('/args.
|
|
73
|
-
assert_wish('/args/a/b/c.
|
|
63
|
+
it 'takes arguments with <name>/arg1/arg2.yaml' do
|
|
64
|
+
assert_wish('/args', [].to_s, 'text/html')
|
|
65
|
+
assert_wish('/args.yaml', [].to_yaml, 'text/yaml')
|
|
66
|
+
assert_wish('/args/a/b/c.yaml', ['a', 'b', 'c'].to_yaml, 'text/yaml')
|
|
74
67
|
end
|
|
75
68
|
end
|
|
76
69
|
|
data/tasks/bacon.rake
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
require 'fileutils'
|
|
2
|
+
|
|
1
3
|
desc 'Run all bacon specs with pretty output'
|
|
2
|
-
task :bacon
|
|
4
|
+
task :bacon do
|
|
3
5
|
require 'open3'
|
|
4
6
|
require 'scanf'
|
|
5
7
|
require 'matrix'
|
|
@@ -19,7 +21,7 @@ task :bacon => :setup do
|
|
|
19
21
|
specs.each_with_index do |spec, idx|
|
|
20
22
|
print(left_format % [idx + 1, specs_size, spec])
|
|
21
23
|
|
|
22
|
-
Open3.popen3(RUBY, spec) do |sin, sout, serr|
|
|
24
|
+
Open3.popen3(FileUtils::RUBY, spec) do |sin, sout, serr|
|
|
23
25
|
out = sout.read.strip
|
|
24
26
|
err = serr.read.strip
|
|
25
27
|
|
data/tasks/gem.rake
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
require 'rake/gempackagetask'
|
|
2
|
-
|
|
3
1
|
task :gemspec => [:manifest, :changelog] do
|
|
4
2
|
gemspec_file = "#{GEMSPEC.name}.gemspec"
|
|
5
3
|
File.open(gemspec_file, 'w+'){|gs| gs.puts(GEMSPEC.to_ruby) }
|
|
@@ -16,7 +14,6 @@ task :uninstall => [:clean] do
|
|
|
16
14
|
sh %{gem uninstall -x #{GEMSPEC.name}}
|
|
17
15
|
end
|
|
18
16
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
p.need_zip = true
|
|
17
|
+
Gem::PackageTask.new(GEMSPEC) do |pkg|
|
|
18
|
+
pkg.need_tar = true
|
|
22
19
|
end
|
metadata
CHANGED
|
@@ -1,91 +1,60 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: innate
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
- 2011
|
|
7
|
-
- 4
|
|
8
|
-
version: "2011.04"
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: '2011.10'
|
|
5
|
+
prerelease:
|
|
9
6
|
platform: ruby
|
|
10
|
-
authors:
|
|
7
|
+
authors:
|
|
11
8
|
- Michael 'manveru' Fellinger
|
|
12
9
|
autorequire:
|
|
13
10
|
bindir: bin
|
|
14
11
|
cert_chain: []
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
dependencies:
|
|
19
|
-
- !ruby/object:Gem::Dependency
|
|
12
|
+
date: 2011-10-23 00:00:00.000000000 Z
|
|
13
|
+
dependencies:
|
|
14
|
+
- !ruby/object:Gem::Dependency
|
|
20
15
|
name: rack
|
|
21
|
-
|
|
22
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
|
16
|
+
requirement: &8662480 !ruby/object:Gem::Requirement
|
|
23
17
|
none: false
|
|
24
|
-
requirements:
|
|
25
|
-
- -
|
|
26
|
-
- !ruby/object:Gem::Version
|
|
27
|
-
segments:
|
|
28
|
-
- 1
|
|
29
|
-
- 1
|
|
30
|
-
- 0
|
|
18
|
+
requirements:
|
|
19
|
+
- - ! '>='
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
31
21
|
version: 1.1.0
|
|
32
22
|
type: :runtime
|
|
33
|
-
version_requirements: *id001
|
|
34
|
-
- !ruby/object:Gem::Dependency
|
|
35
|
-
name: bacon
|
|
36
23
|
prerelease: false
|
|
37
|
-
|
|
24
|
+
version_requirements: *8662480
|
|
25
|
+
- !ruby/object:Gem::Dependency
|
|
26
|
+
name: bacon
|
|
27
|
+
requirement: &8661860 !ruby/object:Gem::Requirement
|
|
38
28
|
none: false
|
|
39
|
-
requirements:
|
|
40
|
-
- -
|
|
41
|
-
- !ruby/object:Gem::Version
|
|
42
|
-
segments:
|
|
43
|
-
- 1
|
|
44
|
-
- 1
|
|
45
|
-
- 0
|
|
29
|
+
requirements:
|
|
30
|
+
- - ! '>='
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
46
32
|
version: 1.1.0
|
|
47
33
|
type: :development
|
|
48
|
-
version_requirements: *id002
|
|
49
|
-
- !ruby/object:Gem::Dependency
|
|
50
|
-
name: rack-test
|
|
51
34
|
prerelease: false
|
|
52
|
-
|
|
35
|
+
version_requirements: *8661860
|
|
36
|
+
- !ruby/object:Gem::Dependency
|
|
37
|
+
name: rack-test
|
|
38
|
+
requirement: &8661300 !ruby/object:Gem::Requirement
|
|
53
39
|
none: false
|
|
54
|
-
requirements:
|
|
55
|
-
- -
|
|
56
|
-
- !ruby/object:Gem::Version
|
|
57
|
-
|
|
58
|
-
- 0
|
|
59
|
-
- 5
|
|
60
|
-
- 3
|
|
61
|
-
version: 0.5.3
|
|
40
|
+
requirements:
|
|
41
|
+
- - ! '>='
|
|
42
|
+
- !ruby/object:Gem::Version
|
|
43
|
+
version: 0.6.1
|
|
62
44
|
type: :development
|
|
63
|
-
version_requirements: *id003
|
|
64
|
-
- !ruby/object:Gem::Dependency
|
|
65
|
-
name: json
|
|
66
45
|
prerelease: false
|
|
67
|
-
|
|
68
|
-
none: false
|
|
69
|
-
requirements:
|
|
70
|
-
- - ~>
|
|
71
|
-
- !ruby/object:Gem::Version
|
|
72
|
-
segments:
|
|
73
|
-
- 1
|
|
74
|
-
- 2
|
|
75
|
-
- 0
|
|
76
|
-
version: 1.2.0
|
|
77
|
-
type: :development
|
|
78
|
-
version_requirements: *id004
|
|
46
|
+
version_requirements: *8661300
|
|
79
47
|
description: Simple, straight-forward base for web-frameworks.
|
|
80
48
|
email: m.fellinger@gmail.com
|
|
81
49
|
executables: []
|
|
82
|
-
|
|
83
50
|
extensions: []
|
|
84
|
-
|
|
85
51
|
extra_rdoc_files: []
|
|
86
|
-
|
|
87
|
-
|
|
52
|
+
files:
|
|
53
|
+
- .gems
|
|
88
54
|
- .gitignore
|
|
55
|
+
- .load_gemset
|
|
56
|
+
- .rvmrc
|
|
57
|
+
- .travis.yml
|
|
89
58
|
- AUTHORS
|
|
90
59
|
- CHANGELOG
|
|
91
60
|
- COPYING
|
|
@@ -217,39 +186,28 @@ files:
|
|
|
217
186
|
- tasks/reversion.rake
|
|
218
187
|
- tasks/setup.rake
|
|
219
188
|
- tasks/ycov.rake
|
|
220
|
-
has_rdoc: true
|
|
221
189
|
homepage: http://github.com/manveru/innate
|
|
222
190
|
licenses: []
|
|
223
|
-
|
|
224
191
|
post_install_message:
|
|
225
192
|
rdoc_options: []
|
|
226
|
-
|
|
227
|
-
require_paths:
|
|
193
|
+
require_paths:
|
|
228
194
|
- lib
|
|
229
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
195
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
230
196
|
none: false
|
|
231
|
-
requirements:
|
|
232
|
-
- -
|
|
233
|
-
- !ruby/object:Gem::Version
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
version: "0"
|
|
237
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
|
+
requirements:
|
|
198
|
+
- - ! '>='
|
|
199
|
+
- !ruby/object:Gem::Version
|
|
200
|
+
version: '0'
|
|
201
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
238
202
|
none: false
|
|
239
|
-
requirements:
|
|
240
|
-
- -
|
|
241
|
-
- !ruby/object:Gem::Version
|
|
242
|
-
segments:
|
|
243
|
-
- 1
|
|
244
|
-
- 3
|
|
245
|
-
- 1
|
|
203
|
+
requirements:
|
|
204
|
+
- - ! '>='
|
|
205
|
+
- !ruby/object:Gem::Version
|
|
246
206
|
version: 1.3.1
|
|
247
207
|
requirements: []
|
|
248
|
-
|
|
249
208
|
rubyforge_project: innate
|
|
250
|
-
rubygems_version: 1.
|
|
209
|
+
rubygems_version: 1.8.10
|
|
251
210
|
signing_key:
|
|
252
211
|
specification_version: 3
|
|
253
212
|
summary: Powerful web-framework wrapper for Rack.
|
|
254
213
|
test_files: []
|
|
255
|
-
|