yoyakutopten_scraper 0.0.7 → 0.0.8

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: 0d5737842747551869a69333c20a20ea05a5ff68
4
- data.tar.gz: ebcabd427f6ead0bb3b5de9354fbbc27f11074b5
3
+ metadata.gz: e7b66e31cc5521770afa60cdfe4352beff53b60b
4
+ data.tar.gz: 745c6cb815fbcc0b7ba0b923c1a52c6473ada8c3
5
5
  SHA512:
6
- metadata.gz: aaa7a281c4b1a2e4350c7be8f651341792504e2d8f5fde6d0713d418995c4ca08000c78e79b08292ab24942c8c3e23b85b2702a38f5e1bd2b78fe2e87ee6e63f
7
- data.tar.gz: bf45046baddbb52618769302c963c4fe177f6928a52119942e3ee728f9629c23aa9fa9a3ff67c6f3131509b8453b24427f57ef7f535459045dec1ea351045c05
6
+ metadata.gz: e8bdb31593a01981088cd2b526b87ba828898886c4249a5a7e56e74d9398592c62692732840ae5ba05e0f795f42baf9e2a7b9a0c6925527ce7b22bc1bb30b1e2
7
+ data.tar.gz: da690259ce64b41548268ac48d7fa6b3dac4e0bf29658da8bf7037d08554838569607fdb84d70342b06365099753b329c4e6b98a48416dd664917fbb5525c444
data/lib/test.rb CHANGED
@@ -3,13 +3,12 @@ require 'yoyakutopten_scraper'
3
3
  ranking = YoyakutoptenScraper::Ranking.new os_type: :ios, feed: :new
4
4
  ranking.update
5
5
 
6
- p ranking.results
7
-
8
6
  app = ranking.results.first
9
7
 
10
8
  app_detail = YoyakutoptenScraper::App.new app_id: app[:app_id], os_type: app[:os_type]
11
9
  bonus_detail = YoyakutoptenScraper::Bonus.new bonus_id: app[:bonus_id], os_type: app[:os_type]
12
10
 
11
+ app_detail.update
12
+ p app_detail.description
13
13
 
14
- # app_detail.update
15
14
  # bonus_detail.update
@@ -56,7 +56,7 @@ module YoyakutoptenScraper
56
56
  @description = description.to_html
57
57
  @video_url = video_url
58
58
  @bonus_id = bonus_id
59
- @bonus_url = bonus_url
59
+ @bonus_url = (YoyakutoptenScraper.make_absolute_url bonus_url)
60
60
  @website_url = (YoyakutoptenScraper.make_absolute_url ("#{YoyakutoptenScraper::PC_PREFIX}/#{@app_id}"))
61
61
  end
62
62
 
@@ -1,3 +1,3 @@
1
1
  module YoyakutoptenScraper
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yoyakutopten_scraper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - ryysd