bnext_robot 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/ext_class/bnext_robot.rb +2 -2
- data/lib/ext_class/bnext_version.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20665a94ea59a2d49fb247a3be43762fe512540f
|
4
|
+
data.tar.gz: 2f1ced0bd547fcb9f1a394cd77702e9f1e379554
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0aece7150092d9869a55637e0ab4f0058f7544aaf7caf04ea37f660fcb4d3b94911110e4d5882d2c739b108cd2b75ee7d2498d1c1e7644cb996c500196b8987
|
7
|
+
data.tar.gz: f83318916cbbb229607358cfd8d595218c9cbeb6b3e26530f5b6faa9ed523591afbd768f9a52506e4d70d763fa2257a2e0e5d9e4dbbb9c3eecacb81b20e6de37
|
@@ -89,8 +89,8 @@ class BNextRobot
|
|
89
89
|
author = document.xpath(INFO_XPATH)[0].text.gsub('撰文者:'.force_encoding('ascii-8bit'), '').force_encoding('utf-8')
|
90
90
|
date = document.xpath(INFO_XPATH)[1].text.gsub('發表日期:'.force_encoding('ascii-8bit'), '').force_encoding('utf-8')
|
91
91
|
content = document.xpath(CONTENT_XPATH).text.force_encoding('utf-8')
|
92
|
-
tags = document.xpath(TAG_XPATH).map{ |i| i.text.force_encoding('utf-8') }
|
93
|
-
imgs = document.xpath(IMGS_XPATH).map(
|
92
|
+
tags = document.xpath(TAG_XPATH).map { |i| i.text.force_encoding('utf-8') }
|
93
|
+
imgs = document.xpath(IMGS_XPATH).map { |i| i.text.force_encoding('utf-8') }
|
94
94
|
Feed.new(title, author, date, tags, query_url, content, imgs)
|
95
95
|
end
|
96
96
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bnext_robot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacky Pan
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2015-10-
|
14
|
+
date: 2015-10-25 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: minitest
|