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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 476ac33f5c471b5228d8794148e7e52f3222b9dc2bb8852e93cb0145d32c0dbf
4
- data.tar.gz: f7297a70f0de01aa173d3136d6a8bd1c36582b23fad26d04c7cda30d74bc39f0
3
+ metadata.gz: be768b6354f2d49f1fab5c612bbb57a469b985fb523266a4723c7dc5425fa3f9
4
+ data.tar.gz: 07ae49c60c23f0f9704caf6bba0f7b5bd6b05e1ec5f6d4598ef8d2baad108fa2
5
5
  SHA512:
6
- metadata.gz: 93e5090718c21465529e4d21b32c328108ac3059ce91888a819e312c6379f6bec9ecc22e8764f74cc05b0a4de8de2d62a2863cdd547414dd5d3a0696cda5e309
7
- data.tar.gz: f9d3ad459b1c820fa27f683d43aeaebb2b490a19b0115777e6ed88897c11656c9b6d369c00129fb1a393d97004332c42109b5833b0ad205953b73ad5f22ecdff
6
+ metadata.gz: 3057ee19cf0e55b2f8a79c7cf34f0d6a5b5c4829a99b491e917dfe433796e6f5415b3b6cc83e18414d544f061b948403f723514adbaa54c7fb4bbae97bf5a61a
7
+ data.tar.gz: da734a425f1e6c47de02fd15077cdba7d1a5ee6d3b69b9515eb38e469e847814761aea5f1e9b419c4ded81ea05b24bfeea4cfd630283cca09840ec3726737bf6
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Sitepress
2
- VERSION = "4.0.3".freeze
2
+ VERSION = "4.0.4".freeze
3
3
  end
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.3
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-09-03 00:00:00.000000000 Z
11
+ date: 2024-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler