sosowa 0.5.1 → 0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,6 @@
1
+ ## 0.6
2
+ * tagsにゴミが混ざっている不具合を修正
3
+
1
4
  ## 0.5.1
2
5
  * バグ修正
3
6
 
@@ -48,7 +48,7 @@ module Sosowa
48
48
  #indexes[num-1] << tags
49
49
  else
50
50
  title = tr.search(%{td[@class="title cell_title"] > a}).inner_html.to_s.toutf8.strip
51
- tags = tr.search(%{td[@class="title cell_title"] > a})[0].attributes["title"].value.split(" / ")
51
+ tags = tr.search(%{td[@class="title cell_title"] > a})[0].attributes["title"].value.split(" / ").reject{|n| n == ""}
52
52
  log = parse_absolute_log_number(page)
53
53
  key = tr.search(%{td[@class="title cell_title"] > a})[0].attributes["href"].value.gsub(/^.+key=(.+?)&.+$/, '\1').to_i
54
54
  author = tr.search(%{td[@class="cell_author"]}).inner_html.to_s.toutf8.strip
@@ -1,3 +1,3 @@
1
1
  module Sosowa
2
- VERSION = "0.5.1"
2
+ VERSION = "0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sosowa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: '0.6'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-23 00:00:00.000000000Z
12
+ date: 2012-07-25 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mechanize
16
- requirement: &70147252328280 !ruby/object:Gem::Requirement
16
+ requirement: &70198979423520 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70147252328280
24
+ version_requirements: *70198979423520
25
25
  description: Sosowa Parser for Ruby
26
26
  email:
27
27
  - oame@oameya.com