releaf-content 2.1.0 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/releaf/content/node.rb +1 -1
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 16cd52d23daee1ce3abda7a5357253113819df7c6a596a73065d9e5484c31543
4
- data.tar.gz: 3bb29a935ac7e5c22ce32f744d84b9b52801a565209bb63dd15fe37e34d62aca
3
+ metadata.gz: 1b61fd00ccdd1ae305c6f9e6412b094ca8afa248f8a6d21eeb98bfb72290bb1b
4
+ data.tar.gz: e023964d87fed68dfc564c9183453106c793971bac2463498fd6389409b161b1
5
5
  SHA512:
6
- metadata.gz: 90b1d1a9a260b4d5ba4a80e5fcbbef0a692ced52047cc3a67fbfa8a6c060a1310d12bd89ff72f8bda197dca5abd70bfcfe116a6eabe705979953a4158387f9ff
7
- data.tar.gz: e26f1e01179b74f453df60f8e4ded8e6067cab9cd7443fe21f317ee94d8f1e2f6eb75a9c107339a41ecb8271dd4a3203b82534c3ed7e99fa797f1efb2c2f818b
6
+ metadata.gz: 127efcfb47a18dc54eea1fe6226e125db478cb7b1ac4133416d53c637d79eb010fff81ae84240ecbef09a498f3ff1e29cb4460459df036b210f606da5ce9f21b
7
+ data.tar.gz: 86aa9e7b37e6f08da85c9624e8264774a517e39072898dc95df6a0ceb6d7bdba7de0329ba7e198611cb0a35d5574e47b979f04a25826e6536aad5c185e043a84
@@ -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.message == "uninitialized constant #{content_type}"
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.1.0
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: 2021-01-24 00:00:00.000000000 Z
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.1.0
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.1.0
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.1.4
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