refinerycms-base 0.9.9.10 → 0.9.9.11
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/lib/base/refinery.rb +5 -1
- data/lib/refinery/version.rb +1 -1
- data/refinerycms-base.gemspec +2 -2
- metadata +2 -2
data/lib/base/refinery.rb
CHANGED
|
@@ -7,7 +7,7 @@ module Refinery
|
|
|
7
7
|
autoload :Version, File.expand_path('../../refinery/version', __FILE__)
|
|
8
8
|
|
|
9
9
|
class << self
|
|
10
|
-
attr_accessor :base_cache_key, :gems, :rescue_not_found, :roots, :s3_backend
|
|
10
|
+
attr_accessor :base_cache_key, :gems, :rescue_not_found, :root, :roots, :s3_backend
|
|
11
11
|
|
|
12
12
|
def base_cache_key
|
|
13
13
|
@base_cache_key ||= :refinery
|
|
@@ -21,6 +21,10 @@ module Refinery
|
|
|
21
21
|
!!@rescue_not_found
|
|
22
22
|
end
|
|
23
23
|
|
|
24
|
+
def root
|
|
25
|
+
@root ||= Pathname.new(File.expand_path('../../../../../', __FILE__))
|
|
26
|
+
end
|
|
27
|
+
|
|
24
28
|
def roots(engine_name = nil)
|
|
25
29
|
if engine_name.nil?
|
|
26
30
|
@roots ||= self.engines.map {|engine| "Refinery::#{engine.camelize}".constantize.root }
|
data/lib/refinery/version.rb
CHANGED
data/refinerycms-base.gemspec
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{refinerycms-base}
|
|
5
|
-
s.version = %q{0.9.9.
|
|
5
|
+
s.version = %q{0.9.9.11}
|
|
6
6
|
s.summary = %q{Base engine for Refinery CMS}
|
|
7
7
|
s.description = %q{The basic base for Refinery CMS Refinery CMS}
|
|
8
|
-
s.date = %q{2011-03-
|
|
8
|
+
s.date = %q{2011-03-25}
|
|
9
9
|
s.email = %q{info@refinerycms.com}
|
|
10
10
|
s.homepage = %q{http://refinerycms.com}
|
|
11
11
|
s.rubyforge_project = %q{refinerycms}
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: refinerycms-base
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.9.9.
|
|
5
|
+
version: 0.9.9.11
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Resolve Digital
|
|
@@ -13,7 +13,7 @@ autorequire:
|
|
|
13
13
|
bindir: bin
|
|
14
14
|
cert_chain: []
|
|
15
15
|
|
|
16
|
-
date: 2011-03-
|
|
16
|
+
date: 2011-03-25 00:00:00 +13:00
|
|
17
17
|
default_executable:
|
|
18
18
|
dependencies: []
|
|
19
19
|
|