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 +4 -4
- data/bitex_bot.gemspec +1 -1
- data/lib/bitex_bot/models/bitstamp_api_wrapper.rb +1 -1
- data/lib/bitex_bot/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35474d2f101991115a586599b78c27612986d0ab
|
4
|
+
data.tar.gz: 0fb60688fb6fae55c284b979a9442b248d57a2dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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)
|
data/lib/bitex_bot/version.rb
CHANGED
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.
|
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.
|
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.
|
97
|
+
version: 0.2.2
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: itbit
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|