iconik 0.5.1 → 0.5.2

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: 3825eab0ce2c40456b5f4a4e46c3b5af33c68d27
4
- data.tar.gz: b9fa8a60529e9bff2e11cfef9b40881d9d267390
3
+ metadata.gz: 5526669a1243c2c6463e0a5441f5c6963c917049
4
+ data.tar.gz: 4d6fc65373643dea87848e2cebed9bd38ef77228
5
5
  SHA512:
6
- metadata.gz: a4cba569c6962b74307715587276863c0b67ff959572cecd3d9a08d86e604929bbd3f41bacc7c2bf612b76e988ffa2d2d4c1453094e9fca7f60e128a2908572f
7
- data.tar.gz: 6e4e88680e52d5fd52dd8ace7daf4d298022f3f588328be1933076e0b3017a10cb4121958be35374834ad41fe6e34707168b710e7c5167473053a0cbb99916fb
6
+ metadata.gz: c3ae60bd45ff38c70a4ffd49b6492deb2588d326ed2c5fc6b35eae1929d287b50f3446a9655b156ff03960a608e02c8fd6481a78f4bbf46331cdace50ced7467
7
+ data.tar.gz: c0f8400bcc88c6cb6bc5023e81f0c80324c9f933f44e8fc626f1e9a3e29cc1e58a2ff8d988fa7aea7b6be617f4f8e1622f934e940ee576a4aff019dee71712aa
@@ -11,7 +11,7 @@ module Iconik
11
11
  end
12
12
 
13
13
  def pluck_icon
14
- country ? country_params = "&country=#{country}" : ""
14
+ country ? country_params = "&country=#{country}" : "&country=JP"
15
15
  get_url = scraping ? @url : "http://itunes.apple.com/lookup?id=#{pluck_app_id(url)}#{country_params}"
16
16
  @client = Iconik::HttpClient.new(get_url)
17
17
  scraping ? pluck_icon_for_scraping : pluck_icon_for_json
@@ -1,3 +1,3 @@
1
1
  module Iconik
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iconik
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - kazuaking