pointmd_comments 0.2.0 → 0.2.1

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: fca56a444c6f4243e673339bf85174fbb71dd2a959d3ad2b52b9728fbd598dbe
4
- data.tar.gz: 208e3c91a53f539a08cf9d6a3dec0606f25851ac576898c9caa2975c08251018
3
+ metadata.gz: 2a8d49153c05c07e558908b1c19086c4262bc11d756bcff25e6b6bde5a910296
4
+ data.tar.gz: 2177d0c16b2081673973716b3b7234c81ac1ce381d8e1c06176b4749aca68ccf
5
5
  SHA512:
6
- metadata.gz: 170db4ed751423521520ce60d48fd30c40dd8212685c07672e749c90ccea7ef8a688e58a7f7bd4880885c621188e8414e883878669c65b83e43861d861dd1a37
7
- data.tar.gz: cd3966ec082acbcbd6484b586593ea9b8b1c08fe3cba235c8c2292ef48044454575a39bd7f171afb0930effa215c55a72d4d60dc9ea0950e4965527dd24f474c
6
+ metadata.gz: 893a9e4361e7dad02e3de991cc7a8590137f55ce766d620a3a8fbd59a5388f0a01d7266dc341d70b03603ecb5665db7530952991387179e20cc3b7ce888b7927
7
+ data.tar.gz: 827406d9bf3c0a374645af5a8405f1a603e6fc72826c9abff692d2b1532adcad1c6c60bacace4e78adc4f698725717291f5ba3df61188839babc0030803853d0
@@ -45,7 +45,9 @@ module PointmdComments
45
45
  articles = @page.css('article')
46
46
 
47
47
  @urls = articles.map do |article|
48
- article.css('a').attribute('href').to_s
48
+ article.css('a').last.attribute('href').to_s
49
+ rescue StandardError => e
50
+ puts e
49
51
  end.compact
50
52
  end
51
53
 
@@ -1,3 +1,3 @@
1
1
  module PointmdComments
2
- VERSION = '0.2.0'.freeze
2
+ VERSION = '0.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pointmd_comments
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicolai Stoianov