bingx 0.1.0

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3c5f9f5e5d95dfd8b6999867b03fbd057b93da5c56ed6913f72edd86969add04
4
+ data.tar.gz: 57b431f53642b71e7286db794a01a24d35e25df15624fcc1569e5a40ffa2a7a1
5
+ SHA512:
6
+ metadata.gz: 66a80adb26d1d7e6bf0367aef9b77417ce87324c3a307e1d1839a0d271749ae4867c49ecaa8ec18da361c895e827f912098dc50cc7c50fae1f31d99b33163f67
7
+ data.tar.gz: d481de18a642c57d04d6b21e2ce187818a06cd6ff789f466bfb2d469796904c7900517bc28b197360f4d01ac8eaad88a0f70f3d83fc13ead06f0572e453a84a9
data/.DS_Store ADDED
Binary file
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,20 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.6
3
+
4
+ Style/StringLiterals:
5
+ Enabled: true
6
+
7
+ Style/StringLiteralsInInterpolation:
8
+ Enabled: true
9
+
10
+ Layout/LineLength:
11
+ Max: 120
12
+
13
+ Style/Documentation:
14
+ Enabled: false
15
+
16
+ Metrics/MethodLength:
17
+ Max: 15
18
+
19
+ Naming/AccessorMethodName:
20
+ Enabled: false
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # Bingx
2
+
3
+ Bingx Ruby API client
4
+
5
+ ## Installation
6
+
7
+ ```ruby
8
+ gem 'bingx' # in your Gemfile
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```ruby
14
+ client = Bingx::Client.new(
15
+ api_key: '<your API KEY>',
16
+ secret_key: '<your SECRET KEY>'
17
+ )
18
+ ```
19
+
20
+ ## Development
21
+
22
+ * `bin/setup` to install dependencies
23
+ * `rake spec` to run the tests
24
+ * `bin/console` for an interactive prompt
25
+ ---
26
+ * `bundle exec rake install` to install this gem onto your local machine
27
+
28
+ ## Release
29
+
30
+ 1. Update the version number in `version.rb`
31
+ 2. Run `bundle exec rake release`
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/light-flight/bingx.
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require 'rubocop/rake_task'
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Bingx
4
+ VERSION = '0.1.0'
5
+ end
data/lib/bingx.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'bingx/version'
4
+
5
+ module Bingx
6
+ class Error < StandardError; end
7
+ # Your code goes here...
8
+ end
data/sig/bingx.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module Bingx
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: bingx
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Georgy Yuriev
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-12-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: httparty
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.21.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.21.0
27
+ description: Bingx API connector
28
+ email:
29
+ - georgy.yuriev@gmail.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".DS_Store"
35
+ - ".rspec"
36
+ - ".rubocop.yml"
37
+ - README.md
38
+ - Rakefile
39
+ - lib/bingx.rb
40
+ - lib/bingx/version.rb
41
+ - sig/bingx.rbs
42
+ homepage: https://rubygems.org/gems/bingx
43
+ licenses: []
44
+ metadata:
45
+ homepage_uri: https://rubygems.org/gems/bingx
46
+ source_code_uri: https://github.com/light-flight/bingx
47
+ post_install_message:
48
+ rdoc_options: []
49
+ require_paths:
50
+ - lib
51
+ required_ruby_version: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: 2.6.0
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ requirements: []
62
+ rubygems_version: 3.4.22
63
+ signing_key:
64
+ specification_version: 4
65
+ summary: Bingx on Ruby
66
+ test_files: []