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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 653778e42cde0643d26e9e7e24c4f7b7aefff105
4
- data.tar.gz: 715a8a7937cb7b4351f11718fcf0327ef85700c0
3
+ metadata.gz: 69213bffccc39a54ff64dbedd42f8eb98e281c26
4
+ data.tar.gz: dae4f086ce6e794fa6a6fada2dee4f570d919dc2
5
5
  SHA512:
6
- metadata.gz: cadd766510e0de7319ec516a708ec6d9b3ce315f79d6fa5c52ac1ca3f0b31c65acd276230932c051b0ccdb99cfb689e915bb0f02c76ea06c67d3b172705fb1f8
7
- data.tar.gz: d9b31e5c90c5141c0ca7a26d6a64d48343fa920ee3ebd475aece738d769536a0cccaa478d864c36814eeaf4907f7e654396f6e1feafd24940d4867b03fef30b8
6
+ metadata.gz: abceb415bb80a32a67e242d8bcc32fce1ddf1f0c96e3c2186954fe510bb72d2f3210fb29a42e73b8f101176dbcc5ef93ede7e8389c7ce2f1adcbd77a80179087
7
+ data.tar.gz: acb800d3367c2dea499ec2d07653dbdbf1a5eb5c82690a546c3404d66a337e2dd806312194621eaa60ba0b74162ea22a10032032086f45f8f89cb396365ce892
@@ -1,5 +1,8 @@
1
1
  # Change logs
2
2
 
3
+ ## 0.2.4
4
+ - Do not show rank in art title.
5
+
3
6
  ## 0.2.3
4
7
  - Do not lock gem versions in 'dmm-crawler.gemspec'.
5
8
  - Change the author name element due to it is not found.
@@ -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: "#{rank}位: #{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
@@ -1,3 +1,3 @@
1
1
  module DMMCrawler
2
- VERSION = '0.2.3'.freeze
2
+ VERSION = '0.2.4'.freeze
3
3
  end
@@ -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.3
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: 2017-12-12 00:00:00.000000000 Z
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.11
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