fushin 0.4.1 → 0.4.2

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: d419faf011f7caaead47a6f992ca41809cb2cfe1a15676edc8ab77d44d5e5625
4
- data.tar.gz: 4efacf86c1b7ad9db22ce5ac6d3b8e1d92369b450964fa9fb462fc345e9fb25e
3
+ metadata.gz: 93d94089e7605c58b924fb5897a8aae70442bcee9b6bc3dda55630a666a37c87
4
+ data.tar.gz: ad025340687760fa3071c75875aeef478a1a37f12e1b3be9f27776edb2d8656b
5
5
  SHA512:
6
- metadata.gz: b7aeda3a940d57176677dab9bb5e68bff04dece49cfb79da175b7a81c71ba2029d2e2fbfd43023fe107db8972069fe249d2acef4b4b97193db2804668bfb7802
7
- data.tar.gz: ffc3b2ce2bd4966bc82043ee021a55b819d40cb87f8ded690b0695f0a50d6f439bcb33e251756dbcf60e64436df81b9e7594574c36f56885b645afe6c68fb999
6
+ metadata.gz: 20b835d3921298925d24438b28ffb0c033155a79c32c79215a20ca5bb641b2e4127c94397063977b64446084c48798ecaef56921db2bed1da9a80052bc2f325b
7
+ data.tar.gz: '09f7e3b86435b7caa53f2cccb2a3170895aa3d38494db3d4f538587254db2b48552c8e39908b0287b3c86ebf5c0abc35dd9d15d6794d4709d7542b196e487ba8'
@@ -47,7 +47,7 @@ module Fushin
47
47
  end
48
48
 
49
49
  def links
50
- @links ||= main.css("a").map { |a| a.get("href") }.compact
50
+ @links ||= main.css("a").map { |a| a.get("href") }.compact.select { |link| link.start_with?("http://", "https://") }
51
51
  end
52
52
 
53
53
  def attachements
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Fushin
4
- VERSION = "0.4.1"
4
+ VERSION = "0.4.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fushin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manabu Niseki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-20 00:00:00.000000000 Z
11
+ date: 2019-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler