bitex_bot 0.2.9 → 0.2.10

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: a39b95522374291e1dbdc8f33d3fde97d15db2be
4
- data.tar.gz: e3da7735d646f8e99e3636b75c296d4cebc8c471
3
+ metadata.gz: 35474d2f101991115a586599b78c27612986d0ab
4
+ data.tar.gz: 0fb60688fb6fae55c284b979a9442b248d57a2dd
5
5
  SHA512:
6
- metadata.gz: 9272fa653acd4d6155b971e322da57865d5e7e116e17217947b39ffd245e7c5675a1b557e0ff11ed24e9d3f474f26c47d6fcd4ec28dc3c2ae5ce2710fe030baa
7
- data.tar.gz: effe749aa919234ff0a2c27090b4b1c3bfa6065d6769a222e95c809536431b2cfd036048f108867e973ca9c1c154388febde61a9234da4ecaea4ea7d569bcaeb
6
+ metadata.gz: cd829d1a6733bc46e56ea2180820d697939675099ed3f99c31d3906663a107f08854f31ec181478fe36a9a52f99d62df848b74f11e3426fe927d106f1cf76fba
7
+ data.tar.gz: df664077383986b6b43ba9d2d5c827904e3b7648d560dca8598cdab0c76b068acd51663daff31de13a82a7744135d33931a6aae98423dd9756b10170d1990755
data/bitex_bot.gemspec CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.add_dependency "activesupport"
27
27
  spec.add_dependency "sqlite3"
28
28
  spec.add_dependency "bitstamp"
29
- spec.add_dependency "bitex", "0.2.1"
29
+ spec.add_dependency "bitex", "0.2.2"
30
30
  spec.add_dependency "itbit", "0.0.3"
31
31
  spec.add_dependency "mail"
32
32
  spec.add_dependency "hashie"
@@ -26,7 +26,7 @@ class BitstampApiWrapper
26
26
  def self.order_book(retries = 20)
27
27
  begin
28
28
  book = Bitstamp.order_book
29
- age = Time.now.to_i - book["timestamp"].to_i)
29
+ age = Time.now.to_i - book["timestamp"].to_i
30
30
  if age > 300
31
31
  BitexBot::Robot.logger.info("Refusing to continue as orderbook is #{age} seconds old")
32
32
  self.order_book(retries)
@@ -1,3 +1,3 @@
1
1
  module BitexBot
2
- VERSION = "0.2.9"
2
+ VERSION = "0.2.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitex_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nubis
@@ -87,14 +87,14 @@ dependencies:
87
87
  requirements:
88
88
  - - '='
89
89
  - !ruby/object:Gem::Version
90
- version: 0.2.1
90
+ version: 0.2.2
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - '='
96
96
  - !ruby/object:Gem::Version
97
- version: 0.2.1
97
+ version: 0.2.2
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: itbit
100
100
  requirement: !ruby/object:Gem::Requirement