mixi-community 0.0.6 → 0.0.7

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 CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NDI3MjNlNjM1NTM0ZjVlNWRhZmMyYWQ5MDc3YzNlNjg1YjBiMzNjNw==
5
- data.tar.gz: !binary |-
6
- YjE1MzFjY2M4YWNkNzM3YzYxNjg0NjAxYzE5NjY5YzBhODc4YzNjMg==
2
+ SHA1:
3
+ metadata.gz: 6b16dbbe54b5c3411674a9e9f8131d4655f9c6ea
4
+ data.tar.gz: 54665ee78494e8583f1d7efc481abb3c76e7632e
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MTZkZjNhNDdkMmIyZmVhZmZjNmUxMDJiZWY4NDI1YjI4NjcyZTQ5YjkwNDlj
10
- OTExZGZiYjQxYTI2ZGEwOTJlYjNmZGJlMmViMjFmMDcxMGFmMTRhNDNiMzUw
11
- YzRiOGU4MzljMmNmZDc2OTk4MjFmOTgyZTJlNTNhZjk2NmFhYjg=
12
- data.tar.gz: !binary |-
13
- ZTJjOTg1OGM2Y2I1NjQ1NDNkZGJhYjljYmM3M2M5ZmJjZDg1ZTY4ZWFmNGUz
14
- ZWZiM2JjODg3MDg2MTdhNjVjMzk3MmExYWMxNDU3ZWNiMDc2ZWYzNjIzZmVi
15
- NDQzNjVkYTAwOWYzYmJiYzBjZTUwODBkN2Y5MmQyZmM0MWU5MmI=
6
+ metadata.gz: 94bcd2b47e10edf3410d3fdfdb5140a68f09a2b6d8adaf07d1a89403b2d353f43185d87233f033c5e9fa9d30b9bd3865f17ed3ab3a1ef5b17abfd017ef5ff8e6
7
+ data.tar.gz: d5b675c5bec68f3392a6de7dd3f9e12ed41bdf2f9b0ec045cefbb2c7dd74e9bebded98243842e7788b60e6f677b98c87cd7672641b99dc25d442b50b8f9f082a
data/README.md CHANGED
@@ -46,6 +46,10 @@ See source for details.
46
46
 
47
47
  ## Changes
48
48
 
49
+ ### 0.0.7
50
+
51
+ * Support new version HTML
52
+
49
53
  ### 0.0.6
50
54
 
51
55
  * Support new version HTML
@@ -58,7 +58,7 @@ module Mixi
58
58
  @recent_comments = page.at('#bbsComment').at('dl.commentList01').children.select{|e|%w(dt dd).include? e.name}.each_slice(2).map {|dt,dd|
59
59
  user_uri = Mixi::Community.read_href(dd.at('dl.commentContent01 dt a'))
60
60
  user_id = Hash[user_uri.query.split('&').map{|kv|kv.split('=')}]['content_id']
61
- user_name = dd.at('dl.commentContent01 dt a').text.strip
61
+ user_name = dd.at('dl.commentContent01 dt a[last()]').text.strip
62
62
  body_text = resolve_encoding(read_bbs_text(dd.at('dl.commentContent01 dd'))){|t|t}
63
63
  comment_id = dt.at('.senderId a').attr(:name).gsub(/^comment_id_(\d+)$/, '\1')
64
64
  comment_num = dt.at('.senderId a').text.gsub(/^\[(\d+)\]$/, '\1')
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |gem|
2
2
  gem.name = "mixi-community"
3
- gem.version = "0.0.6"
3
+ gem.version = "0.0.7"
4
4
  gem.authors = ["todesking"]
5
5
  gem.email = ["discommunicative@gmail.com"]
6
6
  gem.summary = %q{Access to Mixi community.}
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixi-community
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - todesking
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-13 00:00:00.000000000 Z
11
+ date: 2014-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mechanize
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  description:
@@ -46,17 +46,17 @@ require_paths:
46
46
  - lib
47
47
  required_ruby_version: !ruby/object:Gem::Requirement
48
48
  requirements:
49
- - - ! '>='
49
+ - - '>='
50
50
  - !ruby/object:Gem::Version
51
51
  version: '0'
52
52
  required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - ! '>='
54
+ - - '>='
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
57
  requirements: []
58
58
  rubyforge_project:
59
- rubygems_version: 2.1.10
59
+ rubygems_version: 2.0.3
60
60
  signing_key:
61
61
  specification_version: 4
62
62
  summary: Access to Mixi community.