jammit-core 0.1.0 → 0.1.1
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/VERSION +1 -1
- data/lib/jammit-core.rb +2 -8
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/jammit-core.rb
CHANGED
@@ -9,7 +9,7 @@ module Jammit
|
|
9
9
|
ROOT = File.expand_path(File.dirname(__FILE__))
|
10
10
|
|
11
11
|
ASSET_ROOT = File.expand_path(".") unless defined?(ASSET_ROOT)
|
12
|
-
|
12
|
+
|
13
13
|
PUBLIC_ROOT = File.join(ASSET_ROOT, 'public')
|
14
14
|
|
15
15
|
DEFAULT_CONFIG_PATH = File.join(ASSET_ROOT, 'config')
|
@@ -98,14 +98,8 @@ module Jammit
|
|
98
98
|
|
99
99
|
def asset_root
|
100
100
|
unless @asset_root
|
101
|
-
|
102
|
-
@asset_root = options[:asset_root]
|
103
|
-
else
|
104
|
-
@asset_root = ASSET_ROOT
|
105
|
-
end
|
101
|
+
@asset_root = (options && options[:asset_root]) ? options[:asset_root] : ASSET_ROOT
|
106
102
|
end
|
107
|
-
|
108
|
-
#@asset_root ||= (options && options[:asset_root]) ? options[:asset_root] : ASSET_ROOT
|
109
103
|
@asset_root
|
110
104
|
end
|
111
105
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 1
|
9
|
+
version: 0.1.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Christocracy
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-03-
|
17
|
+
date: 2010-03-12 00:00:00 -05:00
|
18
18
|
default_executable: jammit
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|