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 +4 -0
- data/bin/mack +1 -1
- data/lib/initialization/configuration.rb +4 -0
- data/lib/rendering/engine/builder.rb +1 -0
- data/lib/rendering/engine/erubis.rb +1 -0
- data/lib/rendering/engine/haml.rb +1 -1
- data/lib/rendering/engine/markaby.rb +1 -0
- data/lib/rendering/type/inline.rb +1 -0
- data/lib/rendering/type/layout.rb +1 -0
- data/lib/rendering/type/partial.rb +1 -0
- data/lib/rendering/type/public.rb +1 -0
- data/lib/rendering/type/template.rb +1 -0
- data/lib/rendering/type/text.rb +1 -0
- data/lib/rendering/type/url.rb +1 -0
- data/lib/rendering/type/xml.rb +1 -1
- metadata +2 -2
data/CHANGELOG
CHANGED
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.
|
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
|
data/lib/rendering/type/text.rb
CHANGED
data/lib/rendering/type/url.rb
CHANGED
data/lib/rendering/type/xml.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2008-06-08 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|