dmg_android_api 0.0.5 → 0.0.6

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: 47060a07124a9c0e55468446ff586d37bb06ebf7
4
- data.tar.gz: 35bf6e6c3896b4cccc480b7bbb1bb4c2fa68caf9
3
+ metadata.gz: f5d91afcd28d293a60ab9a6cffe7f2ff57f705ff
4
+ data.tar.gz: 9842d62f683bcd019a0376ec03f0bef252b7bc19
5
5
  SHA512:
6
- metadata.gz: bcf54cfc7eed4286ec026da5d5c8a5eedb306e9847f0f7e0787c5d24e3557b5c1374258cee9f6ddb888306c0f683f9161df9d210f8f81bceb23df6ad978fadc8
7
- data.tar.gz: 5926685f44fe950a2a4b32bded0a74d32a8fda414b92f51cd643322f6120de0709cdd318fec1a920e91256659c7c4e42b75dc13635c95d4db6a07fc1aa1d9cb6
6
+ metadata.gz: df6d42d389ef0491765f5dc6c5ed50cb4ddb3c47fff531ff02d85d5a58b7698b59e17960e6f335ed2e19d68e2eec416ab8339a64f481ebe08cdb69ba43d47524
7
+ data.tar.gz: 8b988818f35d85c999fb208ada90e8752a69122fc9edcf503d967efe5e6f30e3f4b3b6ce117929e69983dddad7606683c16274d9230f872a008d40725ba3b086
@@ -61,9 +61,9 @@ module DmgAndroidApi
61
61
 
62
62
  price_info = doc.css('.buy-button-container.apps.medium.play-button')
63
63
 
64
- price_span = price_info.css('meta[itemprop="price"]')
64
+ price_span = price_info.css('meta[itemprop="price"]').first
65
65
 
66
- if price_span.attributes['content'].text == 'Free'
66
+ if price_span.attributes['content'].text == 'Free'
67
67
  result[:price] = '0'
68
68
  else
69
69
  result[:price] = price_span.attributes['content'].text
@@ -1,3 +1,3 @@
1
1
  module DmgAndroidApi
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dmg_android_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nhat Anh Nguyen