mack 0.6.0.1 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. data/CHANGELOG +45 -0
  2. data/bin/mack +8 -3
  3. data/lib/mack.rb +2 -57
  4. data/lib/mack/controller/all_helpers.rb +14 -0
  5. data/lib/{controller → mack/controller}/controller.rb +7 -1
  6. data/lib/{controller → mack/controller}/cookie_jar.rb +0 -0
  7. data/lib/{controller → mack/controller}/filter.rb +0 -0
  8. data/lib/{controller → mack/controller}/request.rb +0 -0
  9. data/lib/{controller → mack/controller}/response.rb +0 -0
  10. data/lib/{controller → mack/controller}/session.rb +0 -0
  11. data/lib/{controller → mack/controller}/uploaded_file.rb +0 -0
  12. data/lib/{core_extensions → mack/core_extensions}/kernel.rb +0 -0
  13. data/lib/{core_extensions → mack/core_extensions}/string.rb +0 -0
  14. data/lib/{distributed → mack/distributed}/errors/errors.rb +0 -0
  15. data/lib/{distributed → mack/distributed}/routing/urls.rb +10 -1
  16. data/lib/{distributed → mack/distributed}/utils/rinda.rb +0 -0
  17. data/lib/{errors → mack/errors}/errors.rb +4 -0
  18. data/lib/{generators → mack/generators}/mack_application_generator/mack_application_generator.rb +0 -0
  19. data/lib/{generators → mack/generators}/mack_application_generator/manifest.yml +0 -0
  20. data/lib/mack/generators/mack_application_generator/templates/Rakefile.template +6 -0
  21. data/lib/{generators → mack/generators}/mack_application_generator/templates/app/controllers/default_controller.rb.template +0 -0
  22. data/lib/{generators → mack/generators}/mack_application_generator/templates/app/helpers/controllers/default_controller_helper.rb.template +0 -0
  23. data/lib/{generators → mack/generators}/mack_application_generator/templates/app/helpers/views/application_helper.rb.template +0 -0
  24. data/lib/{generators → mack/generators}/mack_application_generator/templates/app/views/default/index.html.erb.template +0 -0
  25. data/lib/{generators → mack/generators}/mack_application_generator/templates/app/views/layouts/application.html.erb.template +0 -0
  26. data/lib/mack/generators/mack_application_generator/templates/config/app_config/default.yml.template +11 -0
  27. data/lib/{generators → mack/generators}/mack_application_generator/templates/config/app_config/development.yml.template +0 -0
  28. data/lib/{generators → mack/generators}/mack_application_generator/templates/config/app_config/production.yml.template +0 -0
  29. data/lib/{generators → mack/generators}/mack_application_generator/templates/config/app_config/test.yml.template +0 -0
  30. data/lib/{generators → mack/generators}/mack_application_generator/templates/config/database.yml.template +0 -0
  31. data/lib/{generators → mack/generators}/mack_application_generator/templates/config/initializers/gems.rb.template +3 -0
  32. data/lib/{generators → mack/generators}/mack_application_generator/templates/config/initializers/mime_types.rb.template +0 -0
  33. data/lib/{generators → mack/generators}/mack_application_generator/templates/config/routes.rb.template +0 -0
  34. data/lib/{generators → mack/generators}/mack_application_generator/templates/public/favicon.ico.template +0 -0
  35. data/lib/{generators → mack/generators}/mack_application_generator/templates/public/stylesheets/scaffold.css.template +0 -0
  36. data/lib/{generators → mack/generators}/mack_application_generator/templates/test/functional/default_controller_spec.rb.template +0 -0
  37. data/lib/{generators → mack/generators}/mack_application_generator/templates/test/functional/default_controller_test.rb.template +0 -0
  38. data/lib/{generators → mack/generators}/mack_application_generator/templates/test/spec.opts.template +0 -0
  39. data/lib/{generators → mack/generators}/mack_application_generator/templates/test/spec_helper.rb.template +0 -0
  40. data/lib/{generators → mack/generators}/mack_application_generator/templates/test/test_helper.rb.template +0 -0
  41. data/lib/{generators → mack/generators}/plugin_generator/plugin_generator.rb +0 -0
  42. data/lib/{generators → mack/generators}/plugin_generator/templates/vendor/plugins/%=@plugin_name%/init.rb.template +0 -0
  43. data/lib/{generators → mack/generators}/plugin_generator/templates/vendor/plugins/%=@plugin_name%/lib/%=@plugin_name%.rb.template +0 -0
  44. data/lib/{generators → mack/generators}/plugin_generator/templates/vendor/plugins/%=@plugin_name%/lib/tasks/%=@plugin_name%_tasks.rake.template +0 -0
  45. data/lib/{initialization → mack/initialization}/application.rb +6 -6
  46. data/lib/{initialization → mack/initialization}/configuration.rb +7 -2
  47. data/lib/{initialization → mack/initialization}/console.rb +1 -1
  48. data/lib/{initialization → mack/initialization}/helpers.rb +1 -1
  49. data/lib/{initialization → mack/initialization}/logging.rb +25 -0
  50. data/lib/mack/initialization/orm_support.rb +20 -0
  51. data/lib/{initialization → mack/initialization}/plugins.rb +0 -0
  52. data/lib/{initialization → mack/initialization}/server/simple_server.rb +0 -0
  53. data/lib/{rendering → mack/rendering}/engine/base.rb +0 -0
  54. data/lib/{rendering → mack/rendering}/engine/builder.rb +0 -0
  55. data/lib/{rendering → mack/rendering}/engine/erubis.rb +0 -0
  56. data/lib/{rendering → mack/rendering}/engine/registry.rb +0 -0
  57. data/lib/{rendering → mack/rendering}/type/action.rb +0 -0
  58. data/lib/{rendering → mack/rendering}/type/base.rb +0 -0
  59. data/lib/{rendering → mack/rendering}/type/file_base.rb +0 -0
  60. data/lib/{rendering → mack/rendering}/type/inline.rb +0 -0
  61. data/lib/{rendering → mack/rendering}/type/layout.rb +0 -0
  62. data/lib/{rendering → mack/rendering}/type/partial.rb +0 -0
  63. data/lib/{rendering → mack/rendering}/type/public.rb +0 -0
  64. data/lib/{rendering → mack/rendering}/type/template.rb +0 -0
  65. data/lib/{rendering → mack/rendering}/type/text.rb +0 -0
  66. data/lib/{rendering → mack/rendering}/type/url.rb +0 -0
  67. data/lib/{rendering → mack/rendering}/type/xml.rb +0 -0
  68. data/lib/{rendering → mack/rendering}/view_template.rb +0 -0
  69. data/lib/{routing → mack/routing}/route_map.rb +1 -7
  70. data/lib/{routing → mack/routing}/urls.rb +0 -0
  71. data/lib/mack/runner.rb +121 -0
  72. data/lib/mack/runner_helpers/base.rb +13 -0
  73. data/lib/mack/runner_helpers/registry.rb +13 -0
  74. data/lib/mack/runner_helpers/request_logger.rb +32 -0
  75. data/lib/mack/runner_helpers/session.rb +41 -0
  76. data/lib/{tasks → mack/tasks}/cachetastic_tasks.rake +0 -11
  77. data/lib/{tasks → mack/tasks}/gem_tasks.rake +3 -17
  78. data/lib/{tasks → mack/tasks}/generator_tasks.rake +1 -1
  79. data/lib/{tasks → mack/tasks}/log_tasks.rake +0 -0
  80. data/lib/{tasks → mack/tasks}/mack_dump_tasks.rake +0 -0
  81. data/lib/{tasks → mack/tasks}/mack_ring_server_tasks.rake +0 -0
  82. data/lib/{tasks → mack/tasks}/mack_server_tasks.rake +0 -0
  83. data/lib/{tasks → mack/tasks}/mack_tasks.rake +1 -2
  84. data/lib/{tasks → mack/tasks}/mack_update_tasks.rake +0 -0
  85. data/lib/{tasks → mack/tasks}/rake_helpers.rb +0 -0
  86. data/lib/{tasks → mack/tasks}/rake_rules.rake +1 -5
  87. data/lib/{tasks → mack/tasks}/test_tasks.rake +18 -8
  88. data/lib/mack/tasks/tmp_tasks.rake +8 -0
  89. data/lib/{testing → mack/testing}/helpers.rb +1 -1
  90. data/lib/{testing → mack/testing}/response.rb +0 -0
  91. data/lib/{testing → mack/testing}/rspec.rb +3 -2
  92. data/lib/{testing → mack/testing}/test_assertions.rb +0 -0
  93. data/lib/{testing → mack/testing}/test_case.rb +0 -0
  94. data/lib/mack/utils/ansi/ansi_color.rb +22 -0
  95. data/lib/{utils → mack/utils}/crypt/default_worker.rb +0 -0
  96. data/lib/{utils → mack/utils}/crypt/keeper.rb +0 -0
  97. data/lib/{utils → mack/utils}/gem_manager.rb +10 -5
  98. data/lib/{utils → mack/utils}/mime_types.rb +0 -0
  99. data/lib/{utils → mack/utils}/mime_types.yml +2 -1
  100. data/lib/{utils → mack/utils}/server.rb +11 -5
  101. data/lib/mack/view_helpers/all_helpers.rb +16 -0
  102. data/lib/{view_helpers → mack/view_helpers}/html_helpers.rb +1 -1
  103. data/lib/{view_helpers → mack/view_helpers}/string_helpers.rb +1 -1
  104. data/lib/mack_app.rb +19 -0
  105. data/lib/mack_core.rb +52 -0
  106. data/lib/mack_tasks.rb +16 -1
  107. metadata +118 -98
  108. data/lib/generators/mack_application_generator/templates/Rakefile.template +0 -10
  109. data/lib/generators/mack_application_generator/templates/config/app_config/default.yml.template +0 -6
  110. data/lib/initialization/orm_support.rb +0 -10
  111. data/lib/runner.rb +0 -172
@@ -0,0 +1,8 @@
1
+ namespace :tmp do
2
+
3
+ desc "Clears out your tmp directory"
4
+ task :clear do
5
+ FileUtils.rm_rf(File.join(FileUtils.pwd, "tmp"))
6
+ end
7
+
8
+ end
@@ -10,7 +10,7 @@ module Mack
10
10
  rake = Rake::Application.new
11
11
  Rake.application = rake
12
12
 
13
- [File.join(File.dirname(__FILE__), "..", "mack_tasks.rb"), tasks].flatten.each do |task|
13
+ [File.join(File.dirname(__FILE__), "..", "..", "mack_tasks.rb"), tasks].flatten.each do |task|
14
14
  load(task)
15
15
  end
16
16
 
@@ -1,11 +1,12 @@
1
1
  require File.join(File.dirname(__FILE__), "helpers")
2
2
 
3
+ require 'spec'
3
4
  module Spec # :nodoc:
4
5
  module Example # :nodoc:
5
6
  module ExampleMethods # :nodoc:
6
7
  include Mack::Routes::Urls
7
8
  include Mack::Testing::Helpers
8
-
9
+
9
10
  alias_method :mack_spec_execute, :execute
10
11
 
11
12
  def execute(options, instance_variables)
@@ -14,7 +15,7 @@ module Spec # :nodoc:
14
15
  end
15
16
  @__res
16
17
  end
17
-
18
+
18
19
  end
19
20
  end
20
21
  end
@@ -0,0 +1,22 @@
1
+ module Mack
2
+ module Utils # :nodoc:
3
+ module Ansi # :nodoc:
4
+
5
+ module Color
6
+
7
+ def self.wrap(color, string)
8
+ "\e[#{Mack::Utils::Ansi::ColorRegistry.registered_items[color.to_sym] || 0}m#{string}\e[0m"
9
+ end
10
+
11
+ end # Color
12
+
13
+ class ColorRegistry < Mack::Utils::RegistryMap
14
+ def initial_state
15
+ { :blue => 34, :black => 30, :red => 31, :green => 32, :yellow => 33, :magenta => 35,
16
+ :purple => 35, :cyan => 36, :white => 37, :clear => 0 }
17
+ end
18
+ end
19
+
20
+ end # Ansi
21
+ end # Utils
22
+ end # Mack
@@ -31,12 +31,17 @@ module Mack
31
31
  # Requires the gem and any libs that you've specified.
32
32
  def do_requires
33
33
  @required_gem_list.each do |g|
34
- if g.version?
35
- gem(g.name, g.version)
36
- else
37
- gem(g.name)
34
+ begin
35
+ if g.version?
36
+ gem(g.name, g.version)
37
+ else
38
+ gem(g.name)
39
+ end
40
+ g.libs.each { |l| require l.to_s } if g.libs?
41
+ rescue Gem::LoadError => er
42
+ Mack.logger.warn "WARNING: gem #{g.name} [version: #{g.version}] is required, but is not installed"
43
+ raise er
38
44
  end
39
- g.libs.each {|l| require l.to_s} if g.libs?
40
45
  end
41
46
  end
42
47
 
File without changes
@@ -280,7 +280,8 @@
280
280
  :wk1: application/x-123
281
281
  :ppa: application/vnd.ms-powerpoint
282
282
  :xls: application/excel; application/vnd.ms-excel; application/x-excel; application/x-msexcel
283
- :js: application/x-javascript
283
+ :js_official: application/x-javascript
284
+ :js: text/javascript
284
285
  :ani: application/x-navi-animation
285
286
  :rmp: audio/x-pn-realaudio; audio/x-pn-realaudio-plugin
286
287
  :pre: application/x-freelance
@@ -1,5 +1,10 @@
1
1
  module Mack
2
2
  module Utils
3
+
4
+ # Houses a registry of Rack runners that should be called before the Mack::Runner.
5
+ class RunnersRegistry < Mack::Utils::RegistryList
6
+ end
7
+
3
8
  module Server
4
9
 
5
10
  # This method wraps all the necessary components of the Rack system around
@@ -7,6 +12,11 @@ module Mack
7
12
  def self.build_app
8
13
  # Mack framework:
9
14
  app = Mack::Runner.new
15
+
16
+ Mack::Utils::RunnersRegistry.registered_items.each do |runner|
17
+ app = runner.new(app)
18
+ end
19
+
10
20
  # Any urls listed will go straight to the public directly and will not be served up via the app:
11
21
  app = Rack::Static.new(app, :urls => ["/css", "/images", "/files", "/images", "/stylesheets", "/javascripts", "/media"], :root => "public")
12
22
  app = Rack::Lint.new(app) if app_config.mack.use_lint
@@ -15,13 +25,9 @@ module Mack
15
25
  app = Rack::Recursive.new(app)
16
26
  # This will reload any edited classes if the cache_classes config setting is set to true.
17
27
  app = Rack::Reloader.new(app, 1) unless app_config.mack.cache_classes
18
- # TODO: Not sure about this logger, investigate better ones.
19
- # TODO: Depends on Mack.logger already being configured.
20
- # This makes it a drag run this 'standalone' in another Ruby program.
21
- # app = Rack::CommonLogger.new(app, Mack.logger)
22
28
  app
23
29
  end
24
-
30
+
25
31
  end # Server
26
32
  end # Utils
27
33
  end # Mack
@@ -0,0 +1,16 @@
1
+ module Mack
2
+ module ViewHelpers # :nodoc:
3
+
4
+ # Used to easily include all Mack::ViewHelpers. It will NOT include itself!
5
+ # This is primarily used to aid in testing view helpers.
6
+ def self.included(base)
7
+ base.class_eval do
8
+ Mack::ViewHelpers.constants.each do |c|
9
+ mod = "Mack::ViewHelpers::#{c}".constantize
10
+ include mod unless base.is_a?(mod)
11
+ end
12
+ end # class_eval
13
+ end # included
14
+
15
+ end # ViewHelpers
16
+ end # Mack
@@ -1,5 +1,5 @@
1
1
  module Mack
2
- module ViewHelpers
2
+ module ViewHelpers # :nodoc:
3
3
  module HtmlHelpers
4
4
 
5
5
  # This is just an alias to
@@ -1,5 +1,5 @@
1
1
  module Mack
2
- module ViewHelpers
2
+ module ViewHelpers # :nodoc:
3
3
  module StringHelpers
4
4
 
5
5
  # Takes a count integer and a word and returns a phrase containing the count
@@ -0,0 +1,19 @@
1
+ require 'ruby-debug'
2
+
3
+ fl = File.join(File.dirname(__FILE__), "mack")
4
+
5
+ require File.join(fl, "initialization", "configuration.rb")
6
+
7
+ unless Mack::Configuration.initialized_application
8
+
9
+ Mack.logger.debug "Starting application in #{Mack.env} mode."
10
+ Mack.logger.debug "Mack root: #{Mack.root}"
11
+
12
+ require File.join(fl, "initialization", "application.rb")
13
+
14
+ require File.join(fl, "initialization", "helpers.rb")
15
+
16
+ Mack::Configuration.initialized_application = true if Mack::Configuration.initialized_application.nil?
17
+
18
+ Mack.logger.debug "Initialization of Mack Application Environment finished."
19
+ end
@@ -0,0 +1,52 @@
1
+ require 'rubygems'
2
+ require 'rack'
3
+ require 'digest'
4
+ require 'mack-facets'
5
+ require 'application_configuration'
6
+ require 'cachetastic'
7
+ require 'fileutils'
8
+ require 'log4r'
9
+ require 'crypt/rijndael'
10
+ require 'singleton'
11
+ require 'uri'
12
+ require 'drb'
13
+ require 'rinda/ring'
14
+ require 'rinda/tuplespace'
15
+ require 'builder'
16
+ require 'erubis'
17
+ require 'erb'
18
+ require 'genosaurus'
19
+ require 'net/http'
20
+ require 'pp'
21
+ require 'test/unit'
22
+ require 'redgreen'
23
+
24
+ fl = File.join(File.dirname(__FILE__), "mack")
25
+
26
+ require File.join(fl, "initialization", "configuration.rb")
27
+
28
+ unless Mack::Configuration.initialized_core
29
+
30
+ # puts "Initializing logging..."
31
+ require File.join(fl, "initialization", "logging.rb")
32
+
33
+
34
+ Mack.logger.debug "Initializing core classes..."
35
+ # Require all the necessary files to make Mack actually work!
36
+ lib_dirs = ["errors", "core_extensions", "utils", "runner_helpers", "routing", "view_helpers", "rendering", "controller", "tasks", "initialization/server", "generators", "distributed"]
37
+ lib_dirs << "testing"# if Mack.env == "test"
38
+ lib_dirs.each do |dir|
39
+ dir_globs = Dir.glob(File.join(fl, dir, "**/*.rb"))
40
+ dir_globs.each do |d|
41
+ require d
42
+ end
43
+ end
44
+
45
+ require File.join(fl, "runner")
46
+
47
+ require File.join(fl, "initialization", "orm_support.rb")
48
+
49
+ Mack::Configuration.initialized_core = true if Mack::Configuration.initialized_core.nil?
50
+
51
+ Mack.logger.debug "Initialization of Mack Core finished."
52
+ end
@@ -4,9 +4,24 @@ require 'rake/rdoctask'
4
4
  require 'rubygems'
5
5
  require 'application_configuration'
6
6
 
7
- require File.join(File.dirname(__FILE__), "initialization", "configuration.rb")
7
+ require File.join(File.dirname(__FILE__), "mack", "initialization", "configuration.rb")
8
+
9
+ require File.join(File.dirname(__FILE__), 'mack_core')
10
+ require File.join(Mack.root, "config", "initializers", "gems.rb")
11
+ Mack::Utils::GemManager.instance.do_requires
12
+
8
13
  orm = app_config.orm
9
14
  unless orm.nil?
15
+ Mack.logger.warn %{
16
+ Please note that setting up orm in app_config has been deprecated, and will not be supported in future mack releases.
17
+ Here's how to update your existing application:
18
+ 1. Remove the line:
19
+ orm: data_mapper
20
+ from the app_config/default.yml file
21
+ 2. In gem.rb, add the following line in the require_gems block:
22
+ gem.add "mack-data_mapper", :libs => "mack-data_mapper"
23
+ ** if you use active record, then change it to mack-active_record instead of mack-data_mapper
24
+ }
10
25
  require "mack-#{orm}_tasks"
11
26
  end
12
27
 
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.6.0.1
4
+ version: 0.6.1
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-07-18 00:00:00 -04:00
12
+ date: 2008-08-04 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -30,7 +30,7 @@ dependencies:
30
30
  requirements:
31
31
  - - "="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.6.0.1
33
+ version: 0.6.1
34
34
  version:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: application_configuration
@@ -40,7 +40,7 @@ dependencies:
40
40
  requirements:
41
41
  - - "="
42
42
  - !ruby/object:Gem::Version
43
- version: 1.5.0
43
+ version: 1.5.2
44
44
  version:
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: cachetastic
@@ -50,7 +50,7 @@ dependencies:
50
50
  requirements:
51
51
  - - "="
52
52
  - !ruby/object:Gem::Version
53
- version: 1.7.2
53
+ version: 1.7.3
54
54
  version:
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: log4r
@@ -142,6 +142,16 @@ dependencies:
142
142
  - !ruby/object:Gem::Version
143
143
  version: 1.1.4
144
144
  version:
145
+ - !ruby/object:Gem::Dependency
146
+ name: ruby-debug
147
+ type: :runtime
148
+ version_requirement:
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - "="
152
+ - !ruby/object:Gem::Version
153
+ version: 0.10.0
154
+ version:
145
155
  description: Mack is a powerful, yet simple, web application framework. It takes some cues from the likes of Rails and Merb, so it's not entirely unfamiliar. Mack hopes to provide developers a great framework for building, and deploying, portal and distributed applications.
146
156
  email: mark@mackframework.com
147
157
  executables:
@@ -154,101 +164,111 @@ extra_rdoc_files:
154
164
  - CHANGELOG
155
165
  files:
156
166
  - README
157
- - lib/controller/controller.rb
158
- - lib/controller/cookie_jar.rb
159
- - lib/controller/filter.rb
160
- - lib/controller/request.rb
161
- - lib/controller/response.rb
162
- - lib/controller/session.rb
163
- - lib/controller/uploaded_file.rb
164
- - lib/core_extensions/kernel.rb
165
- - lib/core_extensions/string.rb
166
- - lib/distributed/errors/errors.rb
167
- - lib/distributed/routing/urls.rb
168
- - lib/distributed/utils/rinda.rb
169
- - lib/errors/errors.rb
170
- - lib/generators/mack_application_generator/mack_application_generator.rb
171
- - lib/generators/mack_application_generator/manifest.yml
172
- - lib/generators/mack_application_generator/templates/app/controllers/default_controller.rb.template
173
- - lib/generators/mack_application_generator/templates/app/helpers/controllers/default_controller_helper.rb.template
174
- - lib/generators/mack_application_generator/templates/app/helpers/views/application_helper.rb.template
175
- - lib/generators/mack_application_generator/templates/app/views/default/index.html.erb.template
176
- - lib/generators/mack_application_generator/templates/app/views/layouts/application.html.erb.template
177
- - lib/generators/mack_application_generator/templates/config/app_config/default.yml.template
178
- - lib/generators/mack_application_generator/templates/config/app_config/development.yml.template
179
- - lib/generators/mack_application_generator/templates/config/app_config/production.yml.template
180
- - lib/generators/mack_application_generator/templates/config/app_config/test.yml.template
181
- - lib/generators/mack_application_generator/templates/config/database.yml.template
182
- - lib/generators/mack_application_generator/templates/config/initializers/gems.rb.template
183
- - lib/generators/mack_application_generator/templates/config/initializers/mime_types.rb.template
184
- - lib/generators/mack_application_generator/templates/config/routes.rb.template
185
- - lib/generators/mack_application_generator/templates/public/favicon.ico.template
186
- - lib/generators/mack_application_generator/templates/public/stylesheets/scaffold.css.template
187
- - lib/generators/mack_application_generator/templates/Rakefile.template
188
- - lib/generators/mack_application_generator/templates/test/functional/default_controller_spec.rb.template
189
- - lib/generators/mack_application_generator/templates/test/functional/default_controller_test.rb.template
190
- - lib/generators/mack_application_generator/templates/test/spec.opts.template
191
- - lib/generators/mack_application_generator/templates/test/spec_helper.rb.template
192
- - lib/generators/mack_application_generator/templates/test/test_helper.rb.template
193
- - lib/generators/mack_application_generator/templates/vendor/plugins.template
194
- - lib/generators/plugin_generator/plugin_generator.rb
195
- - lib/generators/plugin_generator/templates/vendor/plugins/%=@plugin_name%/init.rb.template
196
- - lib/generators/plugin_generator/templates/vendor/plugins/%=@plugin_name%/lib/%=@plugin_name%.rb.template
197
- - lib/generators/plugin_generator/templates/vendor/plugins/%=@plugin_name%/lib/tasks/%=@plugin_name%_tasks.rake.template
198
- - lib/initialization/application.rb
199
- - lib/initialization/configuration.rb
200
- - lib/initialization/console.rb
201
- - lib/initialization/helpers.rb
202
- - lib/initialization/logging.rb
203
- - lib/initialization/orm_support.rb
204
- - lib/initialization/plugins.rb
205
- - lib/initialization/server/simple_server.rb
167
+ - lib/mack/controller/all_helpers.rb
168
+ - lib/mack/controller/controller.rb
169
+ - lib/mack/controller/cookie_jar.rb
170
+ - lib/mack/controller/filter.rb
171
+ - lib/mack/controller/request.rb
172
+ - lib/mack/controller/response.rb
173
+ - lib/mack/controller/session.rb
174
+ - lib/mack/controller/uploaded_file.rb
175
+ - lib/mack/core_extensions/kernel.rb
176
+ - lib/mack/core_extensions/string.rb
177
+ - lib/mack/distributed/errors/errors.rb
178
+ - lib/mack/distributed/routing/urls.rb
179
+ - lib/mack/distributed/utils/rinda.rb
180
+ - lib/mack/errors/errors.rb
181
+ - lib/mack/generators/mack_application_generator/mack_application_generator.rb
182
+ - lib/mack/generators/mack_application_generator/manifest.yml
183
+ - lib/mack/generators/mack_application_generator/templates/app/controllers/default_controller.rb.template
184
+ - lib/mack/generators/mack_application_generator/templates/app/helpers/controllers/default_controller_helper.rb.template
185
+ - lib/mack/generators/mack_application_generator/templates/app/helpers/views/application_helper.rb.template
186
+ - lib/mack/generators/mack_application_generator/templates/app/views/default/index.html.erb.template
187
+ - lib/mack/generators/mack_application_generator/templates/app/views/layouts/application.html.erb.template
188
+ - lib/mack/generators/mack_application_generator/templates/config/app_config/default.yml.template
189
+ - lib/mack/generators/mack_application_generator/templates/config/app_config/development.yml.template
190
+ - lib/mack/generators/mack_application_generator/templates/config/app_config/production.yml.template
191
+ - lib/mack/generators/mack_application_generator/templates/config/app_config/test.yml.template
192
+ - lib/mack/generators/mack_application_generator/templates/config/database.yml.template
193
+ - lib/mack/generators/mack_application_generator/templates/config/initializers/gems.rb.template
194
+ - lib/mack/generators/mack_application_generator/templates/config/initializers/mime_types.rb.template
195
+ - lib/mack/generators/mack_application_generator/templates/config/routes.rb.template
196
+ - lib/mack/generators/mack_application_generator/templates/public/favicon.ico.template
197
+ - lib/mack/generators/mack_application_generator/templates/public/stylesheets/scaffold.css.template
198
+ - lib/mack/generators/mack_application_generator/templates/Rakefile.template
199
+ - lib/mack/generators/mack_application_generator/templates/test/functional/default_controller_spec.rb.template
200
+ - lib/mack/generators/mack_application_generator/templates/test/functional/default_controller_test.rb.template
201
+ - lib/mack/generators/mack_application_generator/templates/test/spec.opts.template
202
+ - lib/mack/generators/mack_application_generator/templates/test/spec_helper.rb.template
203
+ - lib/mack/generators/mack_application_generator/templates/test/test_helper.rb.template
204
+ - lib/mack/generators/mack_application_generator/templates/vendor/plugins.template
205
+ - lib/mack/generators/plugin_generator/plugin_generator.rb
206
+ - lib/mack/generators/plugin_generator/templates/vendor/plugins/%=@plugin_name%/init.rb.template
207
+ - lib/mack/generators/plugin_generator/templates/vendor/plugins/%=@plugin_name%/lib/%=@plugin_name%.rb.template
208
+ - lib/mack/generators/plugin_generator/templates/vendor/plugins/%=@plugin_name%/lib/tasks/%=@plugin_name%_tasks.rake.template
209
+ - lib/mack/initialization/application.rb
210
+ - lib/mack/initialization/configuration.rb
211
+ - lib/mack/initialization/console.rb
212
+ - lib/mack/initialization/helpers.rb
213
+ - lib/mack/initialization/logging.rb
214
+ - lib/mack/initialization/orm_support.rb
215
+ - lib/mack/initialization/plugins.rb
216
+ - lib/mack/initialization/server/simple_server.rb
217
+ - lib/mack/rendering/engine/base.rb
218
+ - lib/mack/rendering/engine/builder.rb
219
+ - lib/mack/rendering/engine/erubis.rb
220
+ - lib/mack/rendering/engine/registry.rb
221
+ - lib/mack/rendering/type/action.rb
222
+ - lib/mack/rendering/type/base.rb
223
+ - lib/mack/rendering/type/file_base.rb
224
+ - lib/mack/rendering/type/inline.rb
225
+ - lib/mack/rendering/type/layout.rb
226
+ - lib/mack/rendering/type/partial.rb
227
+ - lib/mack/rendering/type/public.rb
228
+ - lib/mack/rendering/type/template.rb
229
+ - lib/mack/rendering/type/text.rb
230
+ - lib/mack/rendering/type/url.rb
231
+ - lib/mack/rendering/type/xml.rb
232
+ - lib/mack/rendering/view_template.rb
233
+ - lib/mack/routing/route_map.rb
234
+ - lib/mack/routing/urls.rb
235
+ - lib/mack/runner.rb
236
+ - lib/mack/runner_helpers/base.rb
237
+ - lib/mack/runner_helpers/registry.rb
238
+ - lib/mack/runner_helpers/request_logger.rb
239
+ - lib/mack/runner_helpers/session.rb
240
+ - lib/mack/tasks/cachetastic_tasks.rake
241
+ - lib/mack/tasks/gem_tasks.rake
242
+ - lib/mack/tasks/generator_tasks.rake
243
+ - lib/mack/tasks/log_tasks.rake
244
+ - lib/mack/tasks/mack_dump_tasks.rake
245
+ - lib/mack/tasks/mack_ring_server_tasks.rake
246
+ - lib/mack/tasks/mack_server_tasks.rake
247
+ - lib/mack/tasks/mack_tasks.rake
248
+ - lib/mack/tasks/mack_update_tasks.rake
249
+ - lib/mack/tasks/rake_helpers.rb
250
+ - lib/mack/tasks/rake_rules.rake
251
+ - lib/mack/tasks/test_tasks.rake
252
+ - lib/mack/tasks/tmp_tasks.rake
253
+ - lib/mack/testing/helpers.rb
254
+ - lib/mack/testing/response.rb
255
+ - lib/mack/testing/rspec.rb
256
+ - lib/mack/testing/test_assertions.rb
257
+ - lib/mack/testing/test_case.rb
258
+ - lib/mack/utils/ansi/ansi_color.rb
259
+ - lib/mack/utils/crypt/default_worker.rb
260
+ - lib/mack/utils/crypt/keeper.rb
261
+ - lib/mack/utils/gem_manager.rb
262
+ - lib/mack/utils/mime_types.rb
263
+ - lib/mack/utils/mime_types.yml
264
+ - lib/mack/utils/server.rb
265
+ - lib/mack/view_helpers/all_helpers.rb
266
+ - lib/mack/view_helpers/html_helpers.rb
267
+ - lib/mack/view_helpers/string_helpers.rb
206
268
  - lib/mack.rb
269
+ - lib/mack_app.rb
270
+ - lib/mack_core.rb
207
271
  - lib/mack_tasks.rb
208
- - lib/rendering/engine/base.rb
209
- - lib/rendering/engine/builder.rb
210
- - lib/rendering/engine/erubis.rb
211
- - lib/rendering/engine/registry.rb
212
- - lib/rendering/type/action.rb
213
- - lib/rendering/type/base.rb
214
- - lib/rendering/type/file_base.rb
215
- - lib/rendering/type/inline.rb
216
- - lib/rendering/type/layout.rb
217
- - lib/rendering/type/partial.rb
218
- - lib/rendering/type/public.rb
219
- - lib/rendering/type/template.rb
220
- - lib/rendering/type/text.rb
221
- - lib/rendering/type/url.rb
222
- - lib/rendering/type/xml.rb
223
- - lib/rendering/view_template.rb
224
- - lib/routing/route_map.rb
225
- - lib/routing/urls.rb
226
- - lib/runner.rb
227
- - lib/tasks/cachetastic_tasks.rake
228
- - lib/tasks/gem_tasks.rake
229
- - lib/tasks/generator_tasks.rake
230
- - lib/tasks/log_tasks.rake
231
- - lib/tasks/mack_dump_tasks.rake
232
- - lib/tasks/mack_ring_server_tasks.rake
233
- - lib/tasks/mack_server_tasks.rake
234
- - lib/tasks/mack_tasks.rake
235
- - lib/tasks/mack_update_tasks.rake
236
- - lib/tasks/rake_helpers.rb
237
- - lib/tasks/rake_rules.rake
238
- - lib/tasks/test_tasks.rake
239
- - lib/testing/helpers.rb
240
- - lib/testing/response.rb
241
- - lib/testing/rspec.rb
242
- - lib/testing/test_assertions.rb
243
- - lib/testing/test_case.rb
244
- - lib/utils/crypt/default_worker.rb
245
- - lib/utils/crypt/keeper.rb
246
- - lib/utils/gem_manager.rb
247
- - lib/utils/mime_types.rb
248
- - lib/utils/mime_types.yml
249
- - lib/utils/server.rb
250
- - lib/view_helpers/html_helpers.rb
251
- - lib/view_helpers/string_helpers.rb
252
272
  - CHANGELOG
253
273
  has_rdoc: true
254
274
  homepage: http://www.mackframework.com