loyal_spider 0.0.1 → 0.0.2

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.
@@ -28,7 +28,6 @@ module LoyalSpider
28
28
 
29
29
  # :content # 正文
30
30
  # :tags # 标签
31
- # :tags_text # 标签
32
31
  # :up_rating # 好评数
33
32
  # :down_rating # 差评数目
34
33
  # :comments_count # 评论数目
@@ -26,10 +26,6 @@ module LoyalSpider
26
26
  }
27
27
  end
28
28
 
29
- self.tags_text = self.tags.map do |_tag|
30
- _tag[:text]
31
- end
32
-
33
29
  self.authors = entity_doc.css('.link .tags .pusher a').map do |_author_doc|
34
30
  {
35
31
  :text => _author_doc.text.to_s.strip,
@@ -33,7 +33,6 @@ module LoyalSpider
33
33
 
34
34
  # :content # 正文
35
35
  # :tags # 标签
36
- # :tags_text # 标签
37
36
  # :up_rating # 好评数
38
37
  # :down_rating # 差评数目
39
38
  # :comments_count # 评论数目
@@ -31,7 +31,6 @@ module LoyalSpider
31
31
 
32
32
  # :content # 正文
33
33
  # :tags # 标签
34
- # :tags_text # 标签
35
34
  # :up_rating # 好评数
36
35
  # :down_rating # 差评数目
37
36
  # :comments_count # 评论数目
@@ -21,7 +21,6 @@ module LoyalSpider
21
21
 
22
22
  # :content # 正文
23
23
  # :tags # 标签
24
- # :tags_text # 标签
25
24
  # :up_rating # 好评数
26
25
  # :down_rating # 差评数目
27
26
  # :comments_count # 评论数目
@@ -31,7 +31,6 @@ module LoyalSpider
31
31
 
32
32
  # :content # 正文
33
33
  # :tags # 标签
34
- # :tags_text # 标签
35
34
  # :up_rating # 好评数
36
35
  # :down_rating # 差评数目
37
36
  # :comments_count # 评论数目
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module LoyalSpider
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loyal_spider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -154,7 +154,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  segments:
156
156
  - 0
157
- hash: -2402893976680931226
157
+ hash: 402119283456690299
158
158
  required_rubygems_version: !ruby/object:Gem::Requirement
159
159
  none: false
160
160
  requirements:
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  version: '0'
164
164
  segments:
165
165
  - 0
166
- hash: -2402893976680931226
166
+ hash: 402119283456690299
167
167
  requirements: []
168
168
  rubyforge_project:
169
169
  rubygems_version: 1.8.25