adops_report_scrapper 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +1 -1
- data/lib/adops_report_scrapper/spotxchange_client.rb +6 -0
- data/lib/adops_report_scrapper/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: edfa740c95e357d7bb46833be1c18bf610ea38af
|
4
|
+
data.tar.gz: 9370b7ba6a8f9bcf1066f8c904967866a54cb68c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e47ee08b90c72bcf731d1d2d8ac66cf3304a8b284c73e787bbad0d0823625603e676a224c00a5d4cd5a98d55c8f2c377926971434977d967bcc0aa993bd34e26
|
7
|
+
data.tar.gz: cf3eeb5ad64dd98de6a45958bef94c3106b5bbbcee97b7766687f6d74d3d1382f3a373ea89affa52158557bbaa0fd485e23519ec95372647366db0a19064cb89
|
data/CHANGELOG
CHANGED
@@ -3,6 +3,12 @@ require_relative 'base_client'
|
|
3
3
|
require 'httpclient'
|
4
4
|
|
5
5
|
class AdopsReportScrapper::SpotxchangeClient < AdopsReportScrapper::BaseClient
|
6
|
+
def date_supported?(date = nil)
|
7
|
+
_date = date || @date
|
8
|
+
return true if _date < Date.today
|
9
|
+
false
|
10
|
+
end
|
11
|
+
|
6
12
|
private
|
7
13
|
|
8
14
|
def init_client
|