sitepress-core 0.1.22 → 0.1.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sitepress/site.rb +3 -3
- data/lib/sitepress/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f174159f7ac7c4a5da4ae85ddb935ddd8c00c86
|
4
|
+
data.tar.gz: c5fac5c7e577168b0b7f9cdda661b490bc4dcb13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbf642bcb9c5da800cf250fca3d188c6341ef708527c6a6fe420d13ab279a34f2ce13901b22b103c60e663c60021eea37eee8c4f0d5143201a998a679ca40014
|
7
|
+
data.tar.gz: 6414e98c58001aa550148cf9d119fc02a4ae746773d9802a73505a17caf18b073b2f57b25a70bb2658ef1453f11b29179ac998e5ad9121abd59441794e7b1cea
|
data/lib/sitepress/site.rb
CHANGED
@@ -37,8 +37,8 @@ module Sitepress
|
|
37
37
|
|
38
38
|
# Returns a list of all the resources within #root.
|
39
39
|
def resources
|
40
|
-
@
|
41
|
-
@
|
40
|
+
@_resources = nil unless cache_resources
|
41
|
+
@_resources ||= ResourceCollection.new(node: root, root_path: root_path)
|
42
42
|
end
|
43
43
|
|
44
44
|
# Root path to website project. Contains helpers, pages, and more.
|
@@ -87,7 +87,7 @@ module Sitepress
|
|
87
87
|
# An array of procs that manipulate the tree and resources from the
|
88
88
|
# ResourceNode returned by #root.
|
89
89
|
def resources_pipeline
|
90
|
-
@
|
90
|
+
@_resources_pipeline ||= ResourcesPipeline.new
|
91
91
|
end
|
92
92
|
|
93
93
|
private
|
data/lib/sitepress/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sitepress-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brad Gessler
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -111,4 +111,3 @@ signing_key:
|
|
111
111
|
specification_version: 4
|
112
112
|
summary: An embeddable file-backed content management system.
|
113
113
|
test_files: []
|
114
|
-
has_rdoc:
|