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.
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: 52ef4f9f519e8fc0eed1ff06384301090fd873cebbf244263a7ed8bcd15f351c
4
- data.tar.gz: 2ba9384a0493c193622c0c5586438747ff0bd4d3dce091f0b77cb5c8485bdd39
3
+ metadata.gz: 1b61fd00ccdd1ae305c6f9e6412b094ca8afa248f8a6d21eeb98bfb72290bb1b
4
+ data.tar.gz: e023964d87fed68dfc564c9183453106c793971bac2463498fd6389409b161b1
5
5
  SHA512:
6
- metadata.gz: d01694dfcb25ad10e277237b10c636b1284c5806422b3850e6f12df01e18a91917c26a2a8f11cb4f0fe2e8205e4bd455998a5a45fbf6b5d71273a344a418aa07
7
- data.tar.gz: 70716bc0b9e7e7c17f157faf88fa2ee40b98bbe4761e2e8fb4ee6a6058dae4862798c05dc5c8880017550e7560366eaea0380b635c12f131f9a7049e7ac5646b
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.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: 2021-08-19 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.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.1.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.2.6
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