mack 0.5.5.2 → 0.5.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ ===0.5.5.3
2
+ * Restored compatibility with Passenger and the next version of Thin.
3
+ * Fixed 'requires' out of order in certain flavors or unix. Hopefully.
4
+
1
5
  ===0.5.5.2
2
6
  * Fixed an issue where if there are no parameters for render(:url) it will blow up.
3
7
 
data/bin/mack CHANGED
@@ -13,7 +13,7 @@ raise "You must specify a name for this application!" if app.nil?
13
13
 
14
14
  options = OpenStruct.new
15
15
  options.orm = "data_mapper"
16
- options.version = "0.5.5.2"
16
+ options.version = "0.5.5.3"
17
17
 
18
18
  opts = OptionParser.new do |opts|
19
19
  opts.banner = "Usage: mack <application_name> [options]"
@@ -4,6 +4,10 @@ module Mack
4
4
  # production, development, and test have their own default configuration options. These
5
5
  # get merged with overall default options.
6
6
  module Configuration # :nodoc:
7
+
8
+ def self.env
9
+ ENV["_mack_env"] ||= ENV["MACK_ENV"]
10
+ end
7
11
 
8
12
  def self.method_missing(sym, *args)
9
13
  ev = "_mack_#{sym}".downcase
@@ -1,4 +1,5 @@
1
1
  require File.join(File.dirname(__FILE__), "..", "view_template")
2
+ require File.join(File.dirname(__FILE__), 'base')
2
3
  module Mack
3
4
  module Rendering # :nodoc:
4
5
  module Engine # :nodoc:
@@ -1,3 +1,4 @@
1
+ require File.join(File.dirname(__FILE__), 'base')
1
2
  module Mack
2
3
  module Rendering # :nodoc:
3
4
  module Engine # :nodoc:
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), "..", "view_template")
1
+ require File.join(File.dirname(__FILE__), 'base')
2
2
  module Mack
3
3
  module Rendering
4
4
  module Engine
@@ -1,4 +1,5 @@
1
1
  require File.join(File.dirname(__FILE__), "..", "view_template")
2
+ require File.join(File.dirname(__FILE__), 'base')
2
3
  module Mack
3
4
  module Rendering
4
5
  module Engine
@@ -1,3 +1,4 @@
1
+ require File.join(File.dirname(__FILE__), 'base')
1
2
  module Mack
2
3
  module Rendering # :nodoc:
3
4
  module Type # :nodoc:
@@ -1,3 +1,4 @@
1
+ require File.join(File.dirname(__FILE__), 'file_base')
1
2
  module Mack
2
3
  module Rendering # :nodoc:
3
4
  module Type # :nodoc:
@@ -1,3 +1,4 @@
1
+ require File.join(File.dirname(__FILE__), 'file_base')
1
2
  module Mack
2
3
  module Rendering # :nodoc:
3
4
  module Type # :nodoc:
@@ -1,3 +1,4 @@
1
+ require File.join(File.dirname(__FILE__), 'base')
1
2
  module Mack
2
3
  module Rendering # :nodoc:
3
4
  module Type # :nodoc:
@@ -1,3 +1,4 @@
1
+ require File.join(File.dirname(__FILE__), 'file_base')
1
2
  module Mack
2
3
  module Rendering # :nodoc:
3
4
  module Type # :nodoc:
@@ -1,3 +1,4 @@
1
+ require File.join(File.dirname(__FILE__), 'base')
1
2
  module Mack
2
3
  module Rendering # :nodoc:
3
4
  module Type # :nodoc:
@@ -1,3 +1,4 @@
1
+ require File.join(File.dirname(__FILE__), 'base')
1
2
  module Mack
2
3
  module Rendering # :nodoc:
3
4
  module Type # :nodoc:
@@ -1,4 +1,4 @@
1
- require File.join(File.dirname(__FILE__), "..", "view_template")
1
+ require File.join(File.dirname(__FILE__), 'file_base')
2
2
  module Mack
3
3
  module Rendering # :nodoc:
4
4
  module Type # :nodoc:
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.5.5.2
4
+ version: 0.5.5.3
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-05-27 00:00:00 -04:00
12
+ date: 2008-06-08 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency