order2cb 0.0.3 → 0.0.4

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: da361702d2ba4663b746b986131410c4caea266a
4
- data.tar.gz: 25948e79baa4ddbda39aedbd07e0b3cef6722084
3
+ metadata.gz: 1411a0b87f83b8fee806f6ab5b8d0fbfd3552fd5
4
+ data.tar.gz: 19c3d6652a0e5d40ad5017898624ab55bc2e50a4
5
5
  SHA512:
6
- metadata.gz: a4e0eba75bf05422092e0971860decd9aa2e5dd052c6acf43a1737483caac58a364dd1da0616b7bf041fecae1db7f14bca544a589fb6a04451510af070e780ee
7
- data.tar.gz: f83a7aafaa92195d92e9378931af965b458e35e1a2d88d1aa9c6c96b99b396f83ea74ef281034fcad3942c0b8ca487916d8bcd0f1ff7e83405fc0e97b35371c9
6
+ metadata.gz: 7b45fd83cd834eb8af43df5174f90db2d9c7730366d1fe7cdf6cb66187071fa0eb1fa56527d6279d68b7bbdc857a6f7dba673c2d57eeb2094e5fb446b40bc7c4
7
+ data.tar.gz: 67e153c1ce427c95a8eadc5118928e1efc43a2a21543aefaf87b9d8d4c2b599602b8f2bfadf17eaf1d736dce2c904ebbaf9709b8d5a662114c3272464165d0fc
@@ -1,3 +1,3 @@
1
1
  module Order2cb
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/order2cb.rb CHANGED
@@ -90,7 +90,7 @@ module Order2cb
90
90
 
91
91
  end
92
92
 
93
- def orders_to_process(start_time = DateTime.parse(2.hours.ago.to_s))
93
+ def orders_to_process(start_time = DateTime.parse(4.hours.ago.to_s))
94
94
  results = $db_client.query("SELECT * from exp_spree_orders where completed_at > '#{start_time}';")
95
95
  @logger.debug "Found #{results.count} completed orders in the last #{time_ago_in_words(start_time)} to be processed"
96
96
  results
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: order2cb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - EmergeAdapt