graph_starter 0.12.3 → 0.12.4

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
  SHA1:
3
- metadata.gz: 04c06406717d14cc223866873ea172269f9b29fe
4
- data.tar.gz: 4f0f9d21b6e4b0d5f66627890a7fb91158622581
3
+ metadata.gz: 07b3f03da1f7fabb658f580dbd666303ce967c43
4
+ data.tar.gz: fd1710d3ff92554bc88143594342e32ca7d0d140
5
5
  SHA512:
6
- metadata.gz: d012e03c90d298c0e9a947ca9d561edba8ca986ecfb5dafa8ff58fbe2efb27ba0c0fec2655e7f7fc715cc478306c7a9b063f35c56a9e1da5293fb44f6ef27d17
7
- data.tar.gz: d354b168f6adf90817a1f108497229cef5851b7030621b423ac5b4c71564b1f5a26dc6b5bf997eb083bd73dd475974e0ba6197fb5d8a84286047fae9b0e45778
6
+ metadata.gz: 2cde1c2c4828c2d824e82916e42141af9b25835c0048b32db55ff2d8740fdfe16c92fac38f7430132e1096c3d3375ff00fb48549ae3294b7711e95f2c0c0d929
7
+ data.tar.gz: 540320ed10f7b54debdaefdee2968611cb08017c5ad8c6c826dcd337143d89793539094e9bb18a65ca05f88e94c581a6513d22c4bb9d163b583dcd2878e5d271
@@ -151,7 +151,7 @@ module GraphStarter
151
151
  def safe_title
152
152
  sanitizer = Rails::Html::WhiteListSanitizer.new
153
153
 
154
- sanitizer.sanitize(title, tags: %w(b em i strong)).html_safe
154
+ sanitizer.sanitize(title, tags: %w(b em i strong)).try(:html_safe)
155
155
  end
156
156
 
157
157
  def self.body_property(property_name = nil)
@@ -1,3 +1,3 @@
1
1
  module GraphStarter
2
- VERSION = "0.12.3"
2
+ VERSION = "0.12.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graph_starter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.3
4
+ version: 0.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Underwood