yoyakutopten_scraper 0.0.2 → 0.0.3

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: f2a680e79e875eba5b048a093dbb1816d430f388
4
- data.tar.gz: 31969cc6a82f9258a250288010942b0c81a09ed5
3
+ metadata.gz: ed0337e18d62f12456b9369b6ae5ef1a5baca5a4
4
+ data.tar.gz: d117f7839440a7119f7fa5ab209a2c12f8e65797
5
5
  SHA512:
6
- metadata.gz: 3a397e45fd3a773e6b060fa7d49d6aca825dbf7789cb4bddf2a9e795b2d5040d57d3308a273dcefe25ec18f45e812a979ab853db3742bf3b764d6d91f4fb0592
7
- data.tar.gz: 1a36aabf32e8ad59f22f3b920020771fb43e17dfb701276c10e4d3899cfb8d3747cb12c326a8516ec0a815b6078274ea17b9b88ed708f9e2b195ead2d03ba229
6
+ metadata.gz: 90b39667d029e1160f2c34810a8740ab4d0c5cb1c64407329bc4dce4e3831f907c6eb3c40fff1c34b17f2e3413ca992a985376322518fb69326cc5bbd98e9a1f
7
+ data.tar.gz: 6a5792e532d05a222289a8913dd2387e4b6cc9b39a24cf068f4992cdd01ddb29dca12fd369f45bc672cc42e9871265d726d7fceeaa50477db0055143f5c0ad03
data/lib/test.rb CHANGED
@@ -5,7 +5,8 @@ ranking.update
5
5
 
6
6
  app = ranking.results.first
7
7
 
8
- app_detail = YoyakutoptenScraper::App.new app_id: app[:app_id], os_type: app[:os_type]
8
+ #app_detail = YoyakutoptenScraper::App.new app_id: app[:app_id], os_type: app[:os_type]
9
+ app_detail = YoyakutoptenScraper::App.new app_id: 'MzI5MA', os_type: 'ios'
9
10
  bonus_detail = YoyakutoptenScraper::Bonus.new bonus_id: app[:bonus_id], os_type: app[:os_type]
10
11
 
11
12
  app_detail.update
@@ -1,5 +1,7 @@
1
1
  module YoyakutoptenScraper
2
2
  class App
3
+ attr_reader :title, :icon, :publisher, :release, :current_reserved, :max_reserved,
4
+ :screenshot_urls, :description, :video_url, :bonus_id, :bonus_url, :website_url
3
5
  def initialize(app_id:, os_type:)
4
6
  @app_id = app_id
5
7
  @os_type = os_type
@@ -1,3 +1,3 @@
1
1
  module YoyakutoptenScraper
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
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.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ryysd