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 +4 -4
- data/lib/dmg_android_api/android/app.rb +2 -2
- data/lib/dmg_android_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5d91afcd28d293a60ab9a6cffe7f2ff57f705ff
|
4
|
+
data.tar.gz: 9842d62f683bcd019a0376ec03f0bef252b7bc19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|