nanoc-conref-fs 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/nanoc-conref-fs/conrefifier.rb +1 -1
- data/nanoc-conref-fs.gemspec +1 -1
- data/test/fixtures/data/categories/nested.yml +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 508e4f55f3d5e47116a42a9dd4faa80ec5d2d670
|
4
|
+
data.tar.gz: 34ae5fbcc93d229eb095b5bf12b11375b9d3b0f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe6fd13c2fd07c5e3650b7ba71fab39fee7cb299b039cd06e5969a087b02aed24fd30625d5a5f0bac270cbe7c8a169c2673522a3f1b3e6d3daf0c987b5db0d59
|
7
|
+
data.tar.gz: 1f6eff45cb2348efd4421e7c385484e6ab6c03fa38e451db6f8cb9b5395a0d4075180f6c74e59f3376d8108da95936311539442e5a4292df78ee29122ff7eb5a
|
data/README.md
CHANGED
@@ -144,11 +144,11 @@ If you have a special `data_association` value in your `scope`, additional metad
|
|
144
144
|
|
145
145
|
### Retrieving variables
|
146
146
|
|
147
|
-
You can retrieve the stored data at any time (for example, in a layout) by calling `
|
147
|
+
You can retrieve the stored data at any time (for example, in a layout) by calling `Variables.variables`.
|
148
148
|
|
149
149
|
### Retrieving data files
|
150
150
|
|
151
|
-
You can fetch anything in the *data* folder by passing in a string, demarcated with `.`s, to `
|
151
|
+
You can fetch anything in the *data* folder by passing in a string, demarcated with `.`s, to `Variables.fetch_data_file`. For example, `Variables.fetch_data_file('reusables.intro')` will fetch the file in *data/reusables/intro.yml*.
|
152
152
|
|
153
153
|
### Ignoring content
|
154
154
|
|
@@ -48,7 +48,7 @@ module NanocConrefFS
|
|
48
48
|
end
|
49
49
|
rescue Liquid::SyntaxError => e
|
50
50
|
# unrecognized Liquid, so just return the content
|
51
|
-
STDERR.puts "Could not convert #{
|
51
|
+
STDERR.puts "Could not convert #{result}: #{e.message}"
|
52
52
|
rescue => e
|
53
53
|
raise "#{e.message}: #{e.inspect}"
|
54
54
|
end
|
data/nanoc-conref-fs.gemspec
CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = 'nanoc-conref-fs'
|
6
|
-
spec.version = '0.6.
|
6
|
+
spec.version = '0.6.5'
|
7
7
|
spec.authors = ['Garen Torikian']
|
8
8
|
spec.email = ['gjtorikian@gmail.com']
|
9
9
|
spec.summary = 'A Nanoc filesystem to permit using conrefs/reusables in your content.'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nanoc-conref-fs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nanoc
|