rybit 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b87d46a903b720e3c79f5362b869e4b9abbce7cf2a5d99189a8647e95936928
4
- data.tar.gz: 27ff657dd99dc3d720b21f3bc89ef95272b380cebdf4398385a810aa9111d3c6
3
+ metadata.gz: 0fc85e85a619ae945a47cb7114f12250a91a9c1824e14c3dcee4706e308ada53
4
+ data.tar.gz: 94f3eba79d350c0739d1995e1f573742a8445467f6f5eca4e798089d78ba91f6
5
5
  SHA512:
6
- metadata.gz: f68f4b34fca2e49b09a76ad65664d8cf83f9d7dd64b567d441eaa68ec82ffbc8c2d51372e7918f5311b2166fd1ce0d85047f81c1103a82655abce68db3dd1be0
7
- data.tar.gz: 79b59a2b9b21ca9c6b6733a04aca4159743d5fae71f2ff06e83c0b4da4339d0fbd91e84bc6adbe633976febc645cbfc72dc92a16cc984e74fecd490e013ad2eb
6
+ metadata.gz: 68691792f90a58b045d2a0efff437fa73b41b9af9496a62df4883b9f4dfff0eeba4f06cb6676ec839d2cabcc40c983a0a6ad2c5c3f50bf297d95673d77b7ca8a
7
+ data.tar.gz: c51e5487f518d1c2c71bf9cc904771f1ecac2d1a4184ab8259e209a51981a55baf35452212aa0897a7fefb8cbb50dc91b88bbb03d243a0ffa3d6fb7c0b0419be
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,14 @@
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
data/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # Rybit
2
+
3
+ Bybit API client
4
+
5
+ ## Installation
6
+
7
+ Install the gem and add to the application's Gemfile by executing:
8
+
9
+ $ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
10
+
11
+ If bundler is not being used to manage dependencies, install the gem by executing:
12
+
13
+ $ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG
14
+
15
+ ## Usage
16
+
17
+ TODO: Write usage instructions here
18
+
19
+ ## Development
20
+
21
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
22
+
23
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
24
+
25
+ ## Contributing
26
+
27
+ Bug reports and pull requests are welcome on GitHub at https://github.com/light-flight/rybit.
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 Rybit
4
+ VERSION = '0.1.0'
5
+ end
data/lib/rybit.rb CHANGED
@@ -1,5 +1,11 @@
1
- class Rybit
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'rybit/version'
4
+
5
+ module Rybit
6
+ class Error < StandardError; end
7
+
2
8
  def self.hi
3
- puts "Hello world!"
9
+ 'hello world'
4
10
  end
5
11
  end
data/sig/rybit.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module Rybit
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata CHANGED
@@ -1,26 +1,48 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rybit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Georgy Yuriev
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
11
  date: 2023-12-06 00:00:00.000000000 Z
12
- dependencies: []
13
- description: Bybit connector
14
- email: georgy.yuriev@gmail.com
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/version.rb
40
+ - sig/rybit.rbs
20
41
  homepage: https://rubygems.org/gems/rybit
21
- licenses:
22
- - MIT
23
- metadata: {}
42
+ licenses: []
43
+ metadata:
44
+ homepage_uri: https://rubygems.org/gems/rybit
45
+ source_code_uri: https://github.com/light-flight/rybit
24
46
  post_install_message:
25
47
  rdoc_options: []
26
48
  require_paths:
@@ -29,7 +51,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
29
51
  requirements:
30
52
  - - ">="
31
53
  - !ruby/object:Gem::Version
32
- version: '0'
54
+ version: 2.6.0
33
55
  required_rubygems_version: !ruby/object:Gem::Requirement
34
56
  requirements:
35
57
  - - ">="