dmm-crawler 0.4.0 → 0.4.1

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: daae94752568d25d37a9e8f43e791ec58d649f12
4
- data.tar.gz: 27326b524fbe3f3c55f75b87228f047963eb5566
3
+ metadata.gz: 420538d89be74c3016fecf2ff85e94591a7e9dc7
4
+ data.tar.gz: 65c7222a380e8e416a93de5d3c5da8f6bd929025
5
5
  SHA512:
6
- metadata.gz: a0fbbb9d7ef6453ec7515137939bcceff13f2f26398a2aa51a80f6c0db6c5acc256068ccbffaa95aabf34972f185bce4423f9bc735da4d8f32380a9084d43950
7
- data.tar.gz: 59901768a8928a88bf69df43a084aff0d9cd2689435be47514940c1e45c54ef7f6b642511a8f5bc18a6366d42ef1aae30a57f1de3977ff26ba67885a57f50a4a
6
+ metadata.gz: 18d05606f47667d372e0aa91279fcf538a8c70aaa9374f00cdf7765805353cb3163a655c87be0db8dad3ca9a2c73dc4fddb82f6efa01ebbec11cc34595a12607
7
+ data.tar.gz: 1514d047db8cb7ae26c970b3a04fa95def82eb54c214026a9d51ced4f6d691838b08048ad7ea133aa2d21df04ca069382857a35e749005180b44f09d76d0ea35
@@ -1,5 +1,8 @@
1
1
  # Change logs
2
2
 
3
+ ## 0.4.1
4
+ - Fix a bug where nil is not accepted in `File.join`.
5
+
3
6
  ## 0.4.0
4
7
  - Drop support of fetching the art's information.
5
8
  - Support adult game's rankings.
@@ -4,7 +4,7 @@ module DMMCrawler
4
4
  include Attributes
5
5
 
6
6
  FETCHING_LIMITATION = 20
7
- DLSOFT_URL = "http://dlsoft.dmm.co.jp/"
7
+ DLSOFT_URL = "https://dlsoft.dmm.co.jp/"
8
8
 
9
9
  def initialize(agent: Agent.instance.agent, term: nil)
10
10
  @agent = discriminate_agent(agent)
@@ -43,7 +43,7 @@ module DMMCrawler
43
43
  when 'weekly'
44
44
  'term=weekly'
45
45
  when 'monthly'
46
- nil
46
+ ''
47
47
  when 'yearly'
48
48
  "term=first/year=#{Time.now.year}/"
49
49
  end
@@ -1,3 +1,3 @@
1
1
  module DMMCrawler
2
- VERSION = '0.4.0'.freeze
2
+ VERSION = '0.4.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dmm-crawler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Satoshi Ohmori