mack 0.0.6.2 → 0.0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +23 -15
- data/{core_extensions → lib/core_extensions}/hash.rb +0 -0
- data/{core_extensions → lib/core_extensions}/module.rb +0 -0
- data/{core_extensions → lib/core_extensions}/nil.rb +0 -0
- data/{core_extensions → lib/core_extensions}/object.rb +0 -0
- data/{core_extensions → lib/core_extensions}/string.rb +0 -0
- data/{errors → lib/errors}/errors.rb +0 -0
- data/{initialization → lib/initialization}/configuration.rb +0 -0
- data/{initialization → lib/initialization}/console.rb +0 -0
- data/{initialization → lib/initialization}/initializer.rb +1 -1
- data/{initialization → lib/initialization}/initializers/logging.rb +0 -0
- data/{initialization → lib/initialization}/initializers/orm_support.rb +0 -0
- data/{initialization → lib/initialization}/initializers/plugins.rb +0 -0
- data/{initialization → lib/initialization}/server/simple_server.rb +0 -0
- data/{mack.rb → lib/mack.rb} +0 -0
- data/{mack_tasks.rb → lib/mack_tasks.rb} +0 -0
- data/{routing → lib/routing}/route_map.rb +0 -0
- data/{routing → lib/routing}/urls.rb +0 -0
- data/{sea_level → lib/sea_level}/controller_base.rb +0 -0
- data/{sea_level → lib/sea_level}/cookie_jar.rb +0 -0
- data/{sea_level → lib/sea_level}/filter.rb +0 -0
- data/{sea_level → lib/sea_level}/helpers/view_helpers/html_helpers.rb +0 -0
- data/{sea_level → lib/sea_level}/helpers/view_helpers/orm_helpers.rb +0 -0
- data/{sea_level → lib/sea_level}/request.rb +0 -0
- data/{sea_level → lib/sea_level}/response.rb +0 -0
- data/{sea_level → lib/sea_level}/session.rb +0 -0
- data/{sea_level → lib/sea_level}/view_binder.rb +0 -0
- data/{tasks → lib/tasks}/cachetastic_tasks.rake +0 -0
- data/{tasks → lib/tasks}/log_tasks.rake +0 -0
- data/{tasks → lib/tasks}/mack_tasks.rake +0 -0
- data/{tasks → lib/tasks}/rake_helpers.rb +0 -0
- data/{tasks → lib/tasks}/rake_rules.rake +0 -0
- data/{tasks → lib/tasks}/script_tasks.rake +0 -0
- data/{tasks → lib/tasks}/test_tasks.rake +0 -0
- data/{test_extensions → lib/test_extensions}/test_assertions.rb +0 -0
- data/{test_extensions → lib/test_extensions}/test_helpers.rb +0 -0
- metadata +37 -44
data/README
CHANGED
@@ -4,18 +4,12 @@ Mack is a Ruby web application framework. It takes the best ideas from several f
|
|
4
4
|
|
5
5
|
Mack is also about performance. Because Mack uses technologies like Thin[http://code.macournoyer.com/thin] and Rack[http://rack.rubyforge.org], Mack is a multithreaded and fast framework. Current tests show Mack/Thin[http://code.macournoyer.com/thin] is twice as fast as Rails/Mongrel. Mack tries to strip out a lot of the cruft from other frameworks, like Rails, and delivers you a fast, efficient framework designed for actual real world development.
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
===Optional gems:
|
15
|
-
mongrel
|
16
|
-
thin
|
17
|
-
activerecord
|
18
|
-
datamapper
|
7
|
+
==Installation
|
8
|
+
$ sudo gem install mack
|
9
|
+
|
10
|
+
==Getting Started
|
11
|
+
First things first, let's generate your application:
|
12
|
+
$ mack <app_name>
|
19
13
|
|
20
14
|
To run a Mack application:
|
21
15
|
$ rake script:server
|
@@ -38,6 +32,20 @@ You can also run:
|
|
38
32
|
This will give you console level access to your application.
|
39
33
|
|
40
34
|
|
41
|
-
|
42
|
-
|
43
|
-
|
35
|
+
==Contact
|
36
|
+
Please mail bugs, suggestions and patches to <bugs@mackframework.com>.
|
37
|
+
|
38
|
+
On the web at: http://www.mackframework.com
|
39
|
+
|
40
|
+
==License and Copyright
|
41
|
+
Copyright (C) 2008 Mark Bates, http://www.mackframework.com
|
42
|
+
|
43
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
44
|
+
|
45
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
46
|
+
|
47
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
48
|
+
|
49
|
+
==Other documentation:
|
50
|
+
* Rack[http://rack.rubyforge.org]
|
51
|
+
* Thin[http://code.macournoyer.com/thin]
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -40,7 +40,7 @@ unless Object.const_defined?("MACK_INITIALIZED")
|
|
40
40
|
fl = File.join(File.dirname(__FILE__), "..")
|
41
41
|
|
42
42
|
# Require all the necessary files to make Mack actually work!
|
43
|
-
["errors", "core_extensions", "
|
43
|
+
["errors", "core_extensions", "utils", "test_extensions", "routing", "sea_level", "tasks", "initialization/server"].each do |dir|
|
44
44
|
dir_globs = Dir.glob(File.join(fl, dir, "**/*.rb"))
|
45
45
|
dir_globs.each do |d|
|
46
46
|
require d
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/{mack.rb → lib/mack.rb}
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- markbates
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-
|
12
|
+
date: 2008-03-03 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -93,47 +93,47 @@ files:
|
|
93
93
|
- bin/templates/public/favicon.ico
|
94
94
|
- bin/templates/public/stylesheets/scaffold.css.template
|
95
95
|
- bin/templates/Rakefile.template
|
96
|
-
- core_extensions/hash.rb
|
97
|
-
- core_extensions/module.rb
|
98
|
-
- core_extensions/nil.rb
|
99
|
-
- core_extensions/object.rb
|
100
|
-
- core_extensions/string.rb
|
101
|
-
- errors/errors.rb
|
102
|
-
- initialization/configuration.rb
|
103
|
-
- initialization/console.rb
|
104
|
-
- initialization/initializer.rb
|
105
|
-
- initialization/initializers/logging.rb
|
106
|
-
- initialization/initializers/orm_support.rb
|
107
|
-
- initialization/initializers/plugins.rb
|
108
|
-
- initialization/server/simple_server.rb
|
96
|
+
- lib/core_extensions/hash.rb
|
97
|
+
- lib/core_extensions/module.rb
|
98
|
+
- lib/core_extensions/nil.rb
|
99
|
+
- lib/core_extensions/object.rb
|
100
|
+
- lib/core_extensions/string.rb
|
101
|
+
- lib/errors/errors.rb
|
109
102
|
- lib/generators/generator_base.rb
|
110
103
|
- lib/generators/plugin_generator/plugin_generator.rb
|
111
104
|
- lib/generators/plugin_generator/templates/init.rb.template
|
112
105
|
- lib/generators/plugin_generator/templates/lib/plugin.rb.template
|
106
|
+
- lib/initialization/configuration.rb
|
107
|
+
- lib/initialization/console.rb
|
108
|
+
- lib/initialization/initializer.rb
|
109
|
+
- lib/initialization/initializers/logging.rb
|
110
|
+
- lib/initialization/initializers/orm_support.rb
|
111
|
+
- lib/initialization/initializers/plugins.rb
|
112
|
+
- lib/initialization/server/simple_server.rb
|
113
|
+
- lib/mack.rb
|
114
|
+
- lib/mack_tasks.rb
|
115
|
+
- lib/routing/route_map.rb
|
116
|
+
- lib/routing/urls.rb
|
117
|
+
- lib/sea_level/controller_base.rb
|
118
|
+
- lib/sea_level/cookie_jar.rb
|
119
|
+
- lib/sea_level/filter.rb
|
120
|
+
- lib/sea_level/helpers/view_helpers/html_helpers.rb
|
121
|
+
- lib/sea_level/helpers/view_helpers/orm_helpers.rb
|
122
|
+
- lib/sea_level/request.rb
|
123
|
+
- lib/sea_level/response.rb
|
124
|
+
- lib/sea_level/session.rb
|
125
|
+
- lib/sea_level/view_binder.rb
|
126
|
+
- lib/tasks/cachetastic_tasks.rake
|
127
|
+
- lib/tasks/log_tasks.rake
|
128
|
+
- lib/tasks/mack_tasks.rake
|
129
|
+
- lib/tasks/rake_helpers.rb
|
130
|
+
- lib/tasks/rake_rules.rake
|
131
|
+
- lib/tasks/script_tasks.rake
|
132
|
+
- lib/tasks/test_tasks.rake
|
133
|
+
- lib/test_extensions/test_assertions.rb
|
134
|
+
- lib/test_extensions/test_helpers.rb
|
113
135
|
- lib/utils/html.rb
|
114
136
|
- lib/utils/server.rb
|
115
|
-
- mack.rb
|
116
|
-
- mack_tasks.rb
|
117
|
-
- routing/route_map.rb
|
118
|
-
- routing/urls.rb
|
119
|
-
- sea_level/controller_base.rb
|
120
|
-
- sea_level/cookie_jar.rb
|
121
|
-
- sea_level/filter.rb
|
122
|
-
- sea_level/helpers/view_helpers/html_helpers.rb
|
123
|
-
- sea_level/helpers/view_helpers/orm_helpers.rb
|
124
|
-
- sea_level/request.rb
|
125
|
-
- sea_level/response.rb
|
126
|
-
- sea_level/session.rb
|
127
|
-
- sea_level/view_binder.rb
|
128
|
-
- tasks/cachetastic_tasks.rake
|
129
|
-
- tasks/log_tasks.rake
|
130
|
-
- tasks/mack_tasks.rake
|
131
|
-
- tasks/rake_helpers.rb
|
132
|
-
- tasks/rake_rules.rake
|
133
|
-
- tasks/script_tasks.rake
|
134
|
-
- tasks/test_tasks.rake
|
135
|
-
- test_extensions/test_assertions.rb
|
136
|
-
- test_extensions/test_helpers.rb
|
137
137
|
- CHANGELOG
|
138
138
|
has_rdoc: true
|
139
139
|
homepage: http://www.mackframework.com
|
@@ -149,14 +149,7 @@ require_paths:
|
|
149
149
|
- lib
|
150
150
|
- .
|
151
151
|
- bin
|
152
|
-
- core_extensions
|
153
|
-
- errors
|
154
|
-
- initialization
|
155
152
|
- lib
|
156
|
-
- routing
|
157
|
-
- sea_level
|
158
|
-
- tasks
|
159
|
-
- test_extensions
|
160
153
|
required_ruby_version: !ruby/object:Gem::Requirement
|
161
154
|
requirements:
|
162
155
|
- - ">="
|