zooniverse_social 1.0.2 → 1.0.3

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: 02a8508ceb1dd2595c7349fb57e83632e95909d8
4
- data.tar.gz: b1fcbbe08b3099d785cf9cdfab2e7fb9497206c8
3
+ metadata.gz: c8a3dde0282c8e2f7bb7429b87aa1e8171a33db7
4
+ data.tar.gz: 073d5521c0dfed5f4435dc435981c73f8272a630
5
5
  SHA512:
6
- metadata.gz: b429864fba8b1fd9b75a93a1a2d57c0e3f9e58a5a8de2c7019807035e5e49a62f5999789b5669ce485c8105f094ef9a4db0180e8548171d4bb1ca1e11494ee9c
7
- data.tar.gz: 2ae83334973d68863ee8ba947fb8db20ee2c0737ec9d75321dda89a1aaec611ab12abfe248f00a52c5e1e0727750f6607691253164c21779af056d2a64b2630d
6
+ metadata.gz: 8568352177dc7dc0efedf3ab01157f449cc7646f1689d96e80c9cc19eeb2fe8a6a3f3155c27357df4de57fe96f568acac3cf161350b4b80eff04c47ccc925581
7
+ data.tar.gz: f61676136c5ab9565b3cd71c26b0777447ec4d7667b061d4eb86a24c4b5bc618bba6c595b6e517f7044189a6271881f19218eb88570e4440a92e60e36fcd22fc
@@ -1,3 +1,4 @@
1
+ require 'cgi'
1
2
  require 'zooniverse_social/updater'
2
3
 
3
4
  module ZooniverseSocial
@@ -30,7 +31,7 @@ module ZooniverseSocial
30
31
  end
31
32
 
32
33
  def clean_excerpt(text)
33
- (text || '')
34
+ CGI.unescapeHTML (text || '')
34
35
  .gsub(' ', '')
35
36
  .gsub('[…]', '')
36
37
  .gsub('<p>', '')
@@ -1,3 +1,3 @@
1
1
  module ZooniverseSocial
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zooniverse_social
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Parrish