releaf-content 2.1.2 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/releaf/content/node.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b61fd00ccdd1ae305c6f9e6412b094ca8afa248f8a6d21eeb98bfb72290bb1b
|
4
|
+
data.tar.gz: e023964d87fed68dfc564c9183453106c793971bac2463498fd6389409b161b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 127efcfb47a18dc54eea1fe6226e125db478cb7b1ac4133416d53c637d79eb010fff81ae84240ecbef09a498f3ff1e29cb4460459df036b210f606da5ce9f21b
|
7
|
+
data.tar.gz: 86aa9e7b37e6f08da85c9624e8264774a517e39072898dc95df6a0ceb6d7bdba7de0329ba7e198611cb0a35d5574e47b979f04a25826e6536aad5c185e043a84
|
data/lib/releaf/content/node.rb
CHANGED
@@ -39,7 +39,7 @@ module Releaf::Content
|
|
39
39
|
content
|
40
40
|
rescue NameError => e
|
41
41
|
raise if content_id.nil? && content_type.nil?
|
42
|
-
raise unless e.
|
42
|
+
raise unless e.name.to_s == content_type
|
43
43
|
# Class was deleted from project.
|
44
44
|
# Lets try one more time, but this time set content_type to nil, so
|
45
45
|
# rails doesn't try to constantize it
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: releaf-content
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CubeSystems
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: releaf-core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
19
|
+
version: 2.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 2.
|
26
|
+
version: 2.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: stringex
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
128
|
- !ruby/object:Gem::Version
|
129
129
|
version: '0'
|
130
130
|
requirements: []
|
131
|
-
rubygems_version: 3.
|
131
|
+
rubygems_version: 3.3.7
|
132
132
|
signing_key:
|
133
133
|
specification_version: 4
|
134
134
|
summary: Node and content routes support for releaf
|