polyblock 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/polyblock/block.rb +1 -3
- data/lib/polyblock/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf9c4fea7c0aa96ee2a48509d0a75b6f7cbb4fc4
|
4
|
+
data.tar.gz: 2a54f8eda2c8bbccf02c0c0656958a14c0f4108e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c13cb07fc57d5b646e076738a7ed7dd8f3da6c61e13b4121c76e7217626fca437772a65b303743de5cbe9f74ed766268428770d35112726aab28cbc2398370dd
|
7
|
+
data.tar.gz: df18b6e26f7bade5a8cfdf87f62ab3bc030f9760ce8c10e3c01c82366b90c024e9f8c5501b66a2fce68e295e6c188d7362d11f753803c2739c5129d8759a880a
|
@@ -41,9 +41,7 @@ module Polyblock
|
|
41
41
|
self.settings_cache = self.contentable.present? ? self.contentable.send("#{self.name}_settings") : DEFAULTS
|
42
42
|
end
|
43
43
|
|
44
|
-
def to_s
|
45
|
-
content
|
46
|
-
end
|
44
|
+
def to_s; self.class.strip_html self.content end
|
47
45
|
|
48
46
|
def present?
|
49
47
|
!nil? && content.present?
|
data/lib/polyblock/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polyblock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MacKinley Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|