rybit 0.0.1 → 0.1.2
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/.rspec +3 -0
- data/.rubocop.yml +14 -0
- data/README.md +37 -0
- data/Rakefile +12 -0
- data/lib/rybit/client.rb +13 -0
- data/lib/rybit/version.rb +5 -0
- data/lib/rybit.rb +4 -5
- data/sig/rybit.rbs +4 -0
- metadata +31 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a466b6a116e153db499f7755b86ccab85e332eb733543a8322e9b29ae6ab3e7a
|
4
|
+
data.tar.gz: d8736683b11f35ad9f75e398ae86a5e86f978b5bcb5cdfe2f956820fc0d75db0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99ec0473683f089ea92434def111ad54788db11ff4af8ff751428341e43d20d68b1735bc492615c6b3541ee7fb90b07de6de3e350db3c7bd21917e1079018a21
|
7
|
+
data.tar.gz: 14c57e0c679dddf4e7896b9fe6ba88409a4705e5d7dd5df9bb06e0aca30ae62781df8600563c3dc3f4941d77f6e443551fb665baffa6812b3228c2474ca39143
|
data/.rspec
ADDED
data/.rubocop.yml
ADDED
data/README.md
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# Rybit
|
2
|
+
|
3
|
+
Bybit API client
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
```ruby
|
8
|
+
gem 'rybit' # in your Gemfile
|
9
|
+
```
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
client = Rybit::Client.new(
|
15
|
+
key: '<your API KEY>',
|
16
|
+
secret: '<your SECRET KEY>'
|
17
|
+
)
|
18
|
+
|
19
|
+
client.get_wallet_balance
|
20
|
+
```
|
21
|
+
|
22
|
+
## Development
|
23
|
+
|
24
|
+
* `bin/setup` to install dependencies
|
25
|
+
* `rake spec` to run the tests
|
26
|
+
* `bin/console` for an interactive prompt
|
27
|
+
---
|
28
|
+
* `bundle exec rake install` to install this gem onto your local machine
|
29
|
+
|
30
|
+
## Release
|
31
|
+
|
32
|
+
1. Update the version number in `version.rb`
|
33
|
+
2. Run `bundle exec rake release`
|
34
|
+
|
35
|
+
## Contributing
|
36
|
+
|
37
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/light-flight/rybit.
|
data/Rakefile
ADDED
data/lib/rybit/client.rb
ADDED
data/lib/rybit.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
end
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'rybit/version'
|
4
|
+
require_relative 'rybit/client'
|
data/sig/rybit.rbs
ADDED
metadata
CHANGED
@@ -1,26 +1,50 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rybit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Georgy Yuriev
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: exe
|
10
10
|
cert_chain: []
|
11
11
|
date: 2023-12-06 00:00:00.000000000 Z
|
12
|
-
dependencies:
|
13
|
-
|
14
|
-
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: dry-initializer
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.1.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.1.1
|
27
|
+
description: Bybit API connector
|
28
|
+
email:
|
29
|
+
- georgy.yuriev@gmail.com
|
15
30
|
executables: []
|
16
31
|
extensions: []
|
17
32
|
extra_rdoc_files: []
|
18
33
|
files:
|
34
|
+
- ".rspec"
|
35
|
+
- ".rubocop.yml"
|
36
|
+
- README.md
|
37
|
+
- Rakefile
|
19
38
|
- lib/rybit.rb
|
39
|
+
- lib/rybit/client.rb
|
40
|
+
- lib/rybit/version.rb
|
41
|
+
- sig/rybit.rbs
|
20
42
|
homepage: https://rubygems.org/gems/rybit
|
21
43
|
licenses:
|
22
44
|
- MIT
|
23
|
-
metadata:
|
45
|
+
metadata:
|
46
|
+
homepage_uri: https://rubygems.org/gems/rybit
|
47
|
+
source_code_uri: https://github.com/light-flight/rybit
|
24
48
|
post_install_message:
|
25
49
|
rdoc_options: []
|
26
50
|
require_paths:
|
@@ -29,7 +53,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
29
53
|
requirements:
|
30
54
|
- - ">="
|
31
55
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
56
|
+
version: 2.6.0
|
33
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
34
58
|
requirements:
|
35
59
|
- - ">="
|