kansou 0.2.1 → 0.2.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
  SHA1:
3
- metadata.gz: 9f12e17ea9f9e88cb7d8583c3b364324dc66c858
4
- data.tar.gz: fd7dc582e2717cf17dea68d9ee4d418da5c16e9c
3
+ metadata.gz: 218aa2bfb4ca13a88ca947928a5ab90d633734ab
4
+ data.tar.gz: 316e8e6ac472408a804627d1493d54653b9c974a
5
5
  SHA512:
6
- metadata.gz: f18ba07e98d47e077ea2a36a50b06a0ad9802ecd6ddf20ec43519fbdad5dd78e857369c08a56c7b9a3210696d734fcb290af73b1992bbc93d8fd26b2b6a01f84
7
- data.tar.gz: 7bfaa656501ec5f37f154ea8cc53546fb2f33b0ad01cd7786918fae4a5cdb1024712519bd46222d0bb9b83e364290d53658fc3aafada06c9684cab7691c7696d
6
+ metadata.gz: e4747a440190a8bc97b31e011d63690caffc85776474943c28313176c94ebf99acbc63d8e7c4605e757aca016a549dc50f881438b8ed602d585c6d25df5e6fd1
7
+ data.tar.gz: 2ec63d414601103934505615b1395429572e6e4ec41e20e6226f4769e736cca8da6a2677ba4b821cc5324632fb58cdd906a8deb8f8a46e2f5c0328b7b89ac149
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Kansou
2
2
 
3
- https://circleci.com/gh/punchdrunker/kansou.png?circle-token=bfc0f99f7488f950f6e1743d65247a1f28d071c5
3
+ [![circle ci](https://circleci.com/gh/punchdrunker/kansou.png?circle-token=bfc0f99f7488f950f6e1743d65247a1f28d071c5&style=shield)](https://circleci.com/gh/punchdrunker/kansou)
4
4
 
5
5
  Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/kansou`. To experiment with that code, run `bin/console` for an interactive prompt.
6
6
 
@@ -64,9 +64,9 @@ module Kansou
64
64
  @titles.push(title_node.text)
65
65
  end
66
66
 
67
- body_expression = 'div[class="review-body"]'
67
+ body_expression = 'div[class="review-body with-review-wrapper"]'
68
68
  elm.css(body_expression).each do |body_node|
69
- @bodies.push(body_node.text)
69
+ @bodies.push(body_node.text.strip)
70
70
  end
71
71
 
72
72
  date_expression = 'span[class="review-date"]'
@@ -1,3 +1,3 @@
1
1
  module Kansou
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kansou
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - punchdrunker
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-05-10 00:00:00.000000000 Z
11
+ date: 2016-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json