plutonium 0.15.21 → 0.15.22

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: a1f3700f11bbef10af47caf9003c31614fe251d2b79bd3d274313039513a7063
4
- data.tar.gz: 6ee4129d0f60a7cb670da3e000010aa0b9682e5a246978b76a53d46473b1f954
3
+ metadata.gz: f60b9a6cb26e0051ae6d8e836989efca94a89486ec68e31b7acca155e9b4ede1
4
+ data.tar.gz: c5b82df2af51fa18aba6ad9a040b15dfa3ababe8952c93cbe7bec34b3d28cf82
5
5
  SHA512:
6
- metadata.gz: '092a336fee6aba43c69b9ebfe93c8dd1916ef60dcd0b06bec8b030804abf5b9921d5c2b3faa3ca5c10505d59115cbf67a62c78fae5050b0c61b203ed06e47330'
7
- data.tar.gz: a5f9dc91e73d3792cd76a87c48c12c9e387d91e6b1dd3af3a267b9e922fd3b5193e3129bb3c6636a6af9a500122a2e5e01b5d627b2065bd8c1d95e8dd06b7d16
6
+ metadata.gz: f9211c8b14649af44bf8bc2bb51e2733eb412eacd3096d0a3e5dc96c33725b6dc90bc825d71bcaad566195f2318b4fea5df46cc38484aea1caa08de53175e174
7
+ data.tar.gz: 9ada29e9dcef24896636728810220f8626ba3ba20f21bb1be32f609abeaa8fd1360995097997ab00d5a955914e7e07bbfd0be78042dda03fbdfa50331523a4c0
@@ -16,6 +16,16 @@ module Plutonium
16
16
  unsafe_raw RENDERER.render(value)
17
17
  end
18
18
  end
19
+
20
+ private
21
+
22
+ def normalize_value(value)
23
+ if value.respond_to?(:to_plain_text)
24
+ value.to_plain_text
25
+ else
26
+ value.to_s
27
+ end
28
+ end
19
29
  end
20
30
  end
21
31
  end
@@ -1,5 +1,5 @@
1
1
  module Plutonium
2
- VERSION = "0.15.21"
2
+ VERSION = "0.15.22"
3
3
  NEXT_MAJOR_VERSION = VERSION.split(".").tap { |v|
4
4
  v[1] = v[1].to_i + 1
5
5
  v[2] = 0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plutonium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.21
4
+ version: 0.15.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Froelich