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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 233ebd6a08873224c62a4d7aa571637d4df47898
4
- data.tar.gz: 3955a0a8f90af62e798fb0959624f7b94c752bae
3
+ metadata.gz: edfa740c95e357d7bb46833be1c18bf610ea38af
4
+ data.tar.gz: 9370b7ba6a8f9bcf1066f8c904967866a54cb68c
5
5
  SHA512:
6
- metadata.gz: 75a70e05d63e34ac991166148d148df63143ff9337dcc9b6919568fbce5894ad9042090ca9f247049ef01bf71569d494c59ba9da89989dea65ca829bc9d7732a
7
- data.tar.gz: 2814eb614ceba77277a21f71cad0a2844cfc48eca5add03d9a24f420c2d696ebebb6d7974b036fe6bbcf12e566eae586737094f5767f3f32ef4df6b0f32cbc1e
6
+ metadata.gz: e47ee08b90c72bcf731d1d2d8ac66cf3304a8b284c73e787bbad0d0823625603e676a224c00a5d4cd5a98d55c8f2c377926971434977d967bcc0aa993bd34e26
7
+ data.tar.gz: cf3eeb5ad64dd98de6a45958bef94c3106b5bbbcee97b7766687f6d74d3d1382f3a373ea89affa52158557bbaa0fd485e23519ec95372647366db0a19064cb89
data/CHANGELOG CHANGED
@@ -1,6 +1,6 @@
1
1
  # CHANGELOG
2
2
 
3
- ## 0.2.7
3
+ ## 0.2.8
4
4
  implement spotxchange
5
5
 
6
6
  ## 0.2.6
@@ -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
@@ -1,3 +1,3 @@
1
1
  module AdopsReportScrapper
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: adops_report_scrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stayman Hou