cryptsy-api2 1.0.0 → 1.0.1
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 +8 -8
- data/lib/cryptsy/api2.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NDU0NTgzMTY2MzBjYTJiOTAxNGQ3MGRhN2NhNjgxZTlhYWUyZTc2Ng==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTk5NGU2NDFjN2MwNmQyOWJiOTRkOTNkOWM0ZGEzOWU1OGZiZTliOA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzhiNjcwYzJkMTBkYjYxMDA5NzdmZTZkNjk2YzlkNDRlNGNmYTVjNjIyNmMz
|
10
|
+
MmZkNTI2NmFmZjg4MmZiMTE0MzI1ZmI1MGVlYWI2YjEwZWFmNmEyNzdlMjNl
|
11
|
+
NjhlYzE3NWU3YzVmOTA1YWFkYjg3ZDViYWVlN2ZmNmJiZTBkYWE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
M2IxMzQxODZlMzhjYzFiNTU4ZDk3M2E4ZmJlNGM1NTY5MzVkNmQwNTRmNTlh
|
14
|
+
OWQ1YmE1YTg1YjI4YWEzZDRiZjQ0NjVhZWU3NzRiNWEzZTYxMGQ1OTYwZjQ4
|
15
|
+
MTg1YjMzNGEyMjJlNzVmZjFhNDcyZmMwN2QxMzk2NDQ2MTE5M2U=
|
data/lib/cryptsy/api2.rb
CHANGED
@@ -33,7 +33,7 @@ module Cryptsy
|
|
33
33
|
auth = !public_key.nil? && !private_key.nil?
|
34
34
|
url = "https://api.cryptsy.com/api/v2/#{path}"
|
35
35
|
query[:nonce] = nonce if auth
|
36
|
-
|
36
|
+
query = URI.encode_www_form(query) unless query.empty?
|
37
37
|
headers = { "Sign" => sign(query, private_key), "Key" => public_key } if auth
|
38
38
|
params = {}
|
39
39
|
params[:headers] = headers unless headers.nil?
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cryptsy-api2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Hanna
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.13.5
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: minitest
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 5.7.0
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 5.7.0
|
27
41
|
description: Ruby library for Cryptsy API v2
|
28
42
|
email: tinnvec@gmail.com
|
29
43
|
executables: []
|