cmor_blog 0.0.35.pre → 0.0.36.pre

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: 981a3699d9ad045f29fac24af0f4376236ce35c447716764c4f145c7ea7889fc
4
- data.tar.gz: f3de6acc17155ab1a74459c639865fd45f0810e22e80da3cbb81fdd6fad1434e
3
+ metadata.gz: bb08b2b54c0acc0127983fb4fd6e34887e69bf8d28d9cc0242836d9681ee20dd
4
+ data.tar.gz: 9f1f34d56f4b70510c05a9fc21d86ab0c787f42a8122c5aa11bec9e7b0e8459f
5
5
  SHA512:
6
- metadata.gz: a1c107c1a416fd8a20ae7a545ccad2ba5f627a835cc37bdecc339a706b5225e2b28987c986f072bd81b408c1ffd9a029634bc36f4c7af8ee4e31b4ebc6ce21ca
7
- data.tar.gz: b4cde31b34566f2b4b1c10696d49fe695880437606344dc34954503317a9045e5d5ec804520617953aa4be235f738d7998f5f52586a1539d4dd48de658fd89fa
6
+ metadata.gz: ceb9fb8db863fdab8a4a1d17f85d49af299bb1313fd93cb3c4d8571ccb1d4365ac602838a72844abf097f20946b6bdfd2d5e40db9fc3bc80c666e7e872530f5f
7
+ data.tar.gz: 1b429f81dc856db160d6bf13d0469ab67c96865d8dbfe72675d12deb15087cac447a7bd159c8e2f9f31faedbf5bcc12af2f6d01bbd1eec0051591d48d9c0feac
@@ -9,7 +9,7 @@ module Cmor::Blog
9
9
  scope :non_images, -> { joins(asset: [:blob]).where("active_storage_blobs.content_type NOT LIKE '%image/%'") }
10
10
 
11
11
  def filename
12
- asset.blob.filename
12
+ asset&.blob&.filename
13
13
  end
14
14
 
15
15
  def human
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmor_blog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.35.pre
4
+ version: 0.0.36.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-09 00:00:00.000000000 Z
11
+ date: 2019-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -30,28 +30,28 @@ dependencies:
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 0.0.35.pre
33
+ version: 0.0.36.pre
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 0.0.35.pre
40
+ version: 0.0.36.pre
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cmor_core_frontend
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 0.0.35.pre
47
+ version: 0.0.36.pre
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 0.0.35.pre
54
+ version: 0.0.36.pre
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: sqlite3
57
57
  requirement: !ruby/object:Gem::Requirement