dmm-crawler 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/dmm-crawler/ranking.rb +2 -1
- data/lib/dmm-crawler/version.rb +1 -1
- data/spec/dmm-crawler/ranking_spec.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69213bffccc39a54ff64dbedd42f8eb98e281c26
|
4
|
+
data.tar.gz: dae4f086ce6e794fa6a6fada2dee4f570d919dc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abceb415bb80a32a67e242d8bcc32fce1ddf1f0c96e3c2186954fe510bb72d2f3210fb29a42e73b8f101176dbcc5ef93ede7e8389c7ce2f1adcbd77a80179087
|
7
|
+
data.tar.gz: acb800d3367c2dea499ec2d07653dbdbf1a5eb5c82690a546c3404d66a337e2dd806312194621eaa60ba0b74162ea22a10032032086f45f8f89cb396365ce892
|
data/CHANGELOG.md
CHANGED
data/lib/dmm-crawler/ranking.rb
CHANGED
@@ -17,12 +17,13 @@ module DMMCrawler
|
|
17
17
|
|
18
18
|
arts.map.with_index(1) do |(title, title_link, image_url, submedia, author, informations, tags), rank|
|
19
19
|
{
|
20
|
-
title:
|
20
|
+
title: title,
|
21
21
|
title_link: title_link,
|
22
22
|
image_url: image_url,
|
23
23
|
submedia: submedia,
|
24
24
|
author: author,
|
25
25
|
informations: informations,
|
26
|
+
rank: rank,
|
26
27
|
tags: tags
|
27
28
|
}
|
28
29
|
end
|
data/lib/dmm-crawler/version.rb
CHANGED
@@ -21,7 +21,7 @@ describe DMMCrawler::Ranking do
|
|
21
21
|
|
22
22
|
let(:term) { '24' }
|
23
23
|
|
24
|
-
it { is_expected.to all(include(:title, :title_link, :image_url, :submedia, :author, :informations, :tags)) }
|
24
|
+
it { is_expected.to all(include(:title, :title_link, :image_url, :submedia, :author, :informations, :rank, :tags)) }
|
25
25
|
it { is_expected.to all(satisfy { |art| art.all? { |_k, v| v != '' } }) }
|
26
26
|
end
|
27
27
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dmm-crawler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Satoshi Ohmori
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mechanize
|
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
140
|
version: '0'
|
141
141
|
requirements: []
|
142
142
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.6.
|
143
|
+
rubygems_version: 2.6.14
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: Show DMM and DMM.R18's crawled data
|