contentfs 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/contentfs/database.rb +3 -2
- data/lib/contentfs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44c0630662c386eee30711ce48061817fecc4d20b619d524b2496811472062a4
|
4
|
+
data.tar.gz: b605d224de8a8662cedfa5df0404206b6f5b05d66616954d1e781a1c0845dec6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6fe40b8bbb1b4f05cd85b4bca5d5535b2cbe73886e679153e02a510a62d3bbe113ac5caa8b8c41b3f77b9c2331b2ff8f2b615a8aae507119394b9cdae3bb232
|
7
|
+
data.tar.gz: 50fe653eb6e89011b9ce39021c04e67c26e7037043b536c9776d03f7fc1212621b93a3663785c01e06897346f7d09a67e67ef2fdd9bb043e734fca723e08cc1a
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## [v0.6.2](https://github.com/metabahn/contentfs/releases/tag/v0.6.2)
|
2
|
+
|
3
|
+
*released on 2021-04-05*
|
4
|
+
|
5
|
+
* `fix` [#14](https://github.com/metabahn/contentfs/pull/14) Load metadata for root content ([bryanp](https://github.com/bryanp))
|
6
|
+
|
1
7
|
## [v0.6.1](https://github.com/metabahn/contentfs/releases/tag/v0.6.1)
|
2
8
|
|
3
9
|
*released on 2021-04-02*
|
data/lib/contentfs/database.rb
CHANGED
@@ -43,8 +43,9 @@ module ContentFS
|
|
43
43
|
|
44
44
|
content_path = path.join.glob("_content.*")[0]
|
45
45
|
|
46
|
-
|
47
|
-
Content.load(content_path, database: self, metadata: @metadata, namespace: @namespace, &block)
|
46
|
+
if content_path&.exist?
|
47
|
+
@content = Content.load(content_path, database: self, metadata: @metadata, namespace: @namespace, &block)
|
48
|
+
@metadata = @content.metadata.dup
|
48
49
|
end
|
49
50
|
|
50
51
|
children, nested, includes = {}, {}, {}
|
data/lib/contentfs/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contentfs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Powell
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A structured content file system.
|
14
14
|
email: bryan@metabahn.com
|