cryptowatch 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/cryptowatch-log.log +19 -0
- data/lib/cryptowatch/version.rb +1 -1
- data/lib/cryptowatch/version.rb~ +13 -0
- data/lib/cryptowatch/wrapper.rb +1 -1
- data/unit_tests/test_requests.rb +2 -3
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c584e212429216987f762fdb43539a5dd5676f1a
|
4
|
+
data.tar.gz: 5b7d597ca70bbf0b2cbe48f53cb85b305556cbeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6307d5d2ce10d03ce75fb265fe7aca63ebcdae7534f70f007144f38bb91653bcb6c3e9b1a987a065d6526a3fea7e3a10823152f42d6aa4b4dffd81b495bb011
|
7
|
+
data.tar.gz: da8f05a36ec56099b87a3832182067d71082f9693400bd1025bbfe83c8d2697e162a6dea972ba7d656b219dbbf4dace3b08e8ffe35a8a57fe6a22ca2b2146ffc
|
data/cryptowatch-log.log
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
|
2
|
+
# Logfile created on 2017-11-05 17:56:05 +0100 by logger.rb/56438
|
3
|
+
E, [2017-11-05T17:59:18.694354 #4796] ERROR -- : Unknow route input.
|
4
|
+
E, [2017-11-05T18:01:34.433434 #4842] ERROR -- : Unknow route input.
|
5
|
+
E, [2017-11-05T18:01:34.487209 #4842] ERROR -- : (true): Failed to open TCP connection to true:80 (getaddrinfo: nodename nor servname provided, or not known)
|
6
|
+
I, [2017-11-05T18:05:50.551578 #4945] INFO -- : GET => https://api.cryptowat.ch/markets
|
7
|
+
E, [2017-11-05T18:05:50.551680 #4945] ERROR -- : Unknow route input.
|
8
|
+
E, [2017-11-05T18:05:50.553169 #4945] ERROR -- : (true): Failed to open TCP connection to true:80 (getaddrinfo: nodename nor servname provided, or not known)
|
9
|
+
I, [2017-11-05T18:06:08.205394 #4960] INFO -- : GET => https://api.cryptowat.ch/markets
|
10
|
+
E, [2017-11-05T18:06:08.205524 #4960] ERROR -- : Unknow route input.
|
11
|
+
E, [2017-11-05T18:06:08.207055 #4960] ERROR -- : (true): Failed to open TCP connection to true:80 (getaddrinfo: nodename nor servname provided, or not known)
|
12
|
+
I, [2017-11-05T18:16:07.842420 #5061] INFO -- : GET => https://api.cryptowat.ch/markets
|
13
|
+
I, [2017-11-05T18:16:07.843477 #5061] INFO -- : GET => https://api.cryptowat.ch/markets
|
14
|
+
E, [2017-11-05T18:16:07.843559 #5061] ERROR -- : Unknow route input.
|
15
|
+
E, [2017-11-05T18:16:07.845376 #5061] ERROR -- : (true): Failed to open TCP connection to true:80 (getaddrinfo: nodename nor servname provided, or not known)
|
16
|
+
I, [2017-11-05T18:25:57.970403 #5207] INFO -- : GET => https://api.cryptowat.ch/markets
|
17
|
+
I, [2017-11-05T18:26:17.992876 #5217] INFO -- : GET => https://api.cryptowat.ch/markets
|
18
|
+
I, [2017-11-05T18:27:08.789213 #5266] INFO -- : GET => https://api.cryptowat.ch/markets
|
19
|
+
I, [2017-11-05T18:27:33.859657 #5288] INFO -- : GET => https://api.cryptowat.ch/markets
|
data/lib/cryptowatch/version.rb
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
# @Author: Esteban GONZALEZ <Esteban
|
2
|
+
# @Date: Tuesday, October 17th 2017, 9:38:57 pm
|
3
|
+
# @Email: gonzal_e@etna-alternance.net
|
4
|
+
# @Project: RubyCryptowatch
|
5
|
+
# @Last modified by: esteban
|
6
|
+
# @Last modified time: Sunday, November 5th 2017, 7:39:23 pm
|
7
|
+
|
8
|
+
module Cryptowatch
|
9
|
+
module Api
|
10
|
+
VERSION = [0, 0, 2]
|
11
|
+
VERSION_FORMAT = VERSION.join('.')
|
12
|
+
end
|
13
|
+
end
|
data/lib/cryptowatch/wrapper.rb
CHANGED
data/unit_tests/test_requests.rb
CHANGED
@@ -3,14 +3,13 @@
|
|
3
3
|
# @Email: gonzal_e@etna-alternance.net
|
4
4
|
# @Project: RubyCryptowatch
|
5
5
|
# @Last modified by: esteban
|
6
|
-
# @Last modified time:
|
7
|
-
|
6
|
+
# @Last modified time: Monday, November 6th 2017, 1:09:28 pm
|
8
7
|
require 'cryptowatch'
|
9
8
|
|
10
9
|
class MyApplication
|
11
10
|
include Cryptowatch
|
12
11
|
|
13
|
-
wrapper
|
12
|
+
wrapper = Wrapper.new;
|
14
13
|
|
15
14
|
wrapper.get(Assets::index)
|
16
15
|
wrapper.get(Assets::asset(:btc))
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cryptowatch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esteban Gonzalez
|
@@ -32,6 +32,7 @@ extra_rdoc_files: []
|
|
32
32
|
files:
|
33
33
|
- Gemfile
|
34
34
|
- README.md
|
35
|
+
- cryptowatch-log.log
|
35
36
|
- cryptowatch.gemspec
|
36
37
|
- lib/cryptowatch.rb
|
37
38
|
- lib/cryptowatch/adapter/rest_client_adapter.rb
|
@@ -43,6 +44,7 @@ files:
|
|
43
44
|
- lib/cryptowatch/messages.rb
|
44
45
|
- lib/cryptowatch/utils.rb
|
45
46
|
- lib/cryptowatch/version.rb
|
47
|
+
- lib/cryptowatch/version.rb~
|
46
48
|
- lib/cryptowatch/wrapper.rb
|
47
49
|
- unit_tests/.DS_Store
|
48
50
|
- unit_tests/test_requests.rb
|