sitepress-core 4.0.3 → 4.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sitepress/node.rb +1 -1
- data/lib/sitepress/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: be768b6354f2d49f1fab5c612bbb57a469b985fb523266a4723c7dc5425fa3f9
|
4
|
+
data.tar.gz: 07ae49c60c23f0f9704caf6bba0f7b5bd6b05e1ec5f6d4598ef8d2baad108fa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3057ee19cf0e55b2f8a79c7cf34f0d6a5b5c4829a99b491e917dfe433796e6f5415b3b6cc83e18414d544f061b948403f723514adbaa54c7fb4bbae97bf5a61a
|
7
|
+
data.tar.gz: da734a425f1e6c47de02fd15077cdba7d1a5ee6d3b69b9515eb38e469e847814761aea5f1e9b419c4ded81ea05b24bfeea4cfd630283cca09840ec3726737bf6
|
data/lib/sitepress/node.rb
CHANGED
@@ -6,7 +6,7 @@ module Sitepress
|
|
6
6
|
# makes it possible to reason through path relationships from code to build out elements in a website like tree navigation.
|
7
7
|
class Node
|
8
8
|
extend Forwardable
|
9
|
-
def_delegators :resources, :formats
|
9
|
+
def_delegators :resources, :formats, :format, :format?
|
10
10
|
|
11
11
|
attr_reader :parent, :name, :default_format, :default_name, :resources
|
12
12
|
|
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: 4.0.
|
4
|
+
version: 4.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brad Gessler
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|