see_as_vee 0.5.3 → 0.5.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: 596270ac8740985f4f3cda3655b383a2b93a5a1c
4
- data.tar.gz: 4f4cbaa84b428e9285bde90050eb2bc5179a5875
3
+ metadata.gz: 02951e75b098b408319f1df164ba76aecec5ce2b
4
+ data.tar.gz: 5dcbf08befb11a2e8d37ef08b96aa676700c2396
5
5
  SHA512:
6
- metadata.gz: 67fdf2390a3a82bc9afca6b79b13749569d82e1bca49657ece793de866cef6a417b5b50725fcc47fdc9fdd87d6b8f18c2d8bcea7127413403aef0db03e5dbf91
7
- data.tar.gz: 25c501c3c6cf500ac0ed967b5641b9a0541cc09113e8841d1f4bec83c369233f1f57f750f9c6e5a3e1f3555e3dec5cf297d62b7490196867f7b8dafbb9e395c8
6
+ metadata.gz: 50ef8490f968d9367be631031aa85bbc70001a1d6659f0abe2274afe86db0c1b2417fbbbbe6a7803f7201ff2dc564cc066a9fa6689d5c8a538b4f98deaffede0
7
+ data.tar.gz: 17965b7262177c65896c31d066d36dbafe4604bae896055787269faa529e31dab33e39bc92977b3149c6dbacef2677af694f500e8eac28977f03e7c8825c61b7
@@ -145,6 +145,8 @@ module SeeAsVee
145
145
  end
146
146
 
147
147
  def squish str
148
+ return str unless str.is_a?(String)
149
+
148
150
  str.
149
151
  gsub(/\A[[:space:]]+/, '').
150
152
  gsub(/[[:space:]]+\z/, '').
@@ -1,3 +1,3 @@
1
1
  module SeeAsVee
2
- VERSION = '0.5.3'.freeze
2
+ VERSION = '0.5.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: see_as_vee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aleksei Matiushkin