bitget.rb 0.6.3 → 0.6.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7bbb2026a29cd85153418b65cb4cdddd9bc29b06873ceec95cc455894922cd2a
4
- data.tar.gz: ef489e8f1966705d4e3e10c7f8d558284c0847e9d5b2e5e5b42f06ac43b6dafe
3
+ metadata.gz: effe61cb06a5c595d04db537f0ca8fed3799007422d4d388045073bf137cfa7b
4
+ data.tar.gz: 398ffb539af318a7857c04d73dc935bf4645c714e789ba5c31b90ec9ef57529a
5
5
  SHA512:
6
- metadata.gz: 672c0fbd1f0f756fbba640997f340c009ca218bc008078988365c511c7f427a894068b8470cf14d147fa3827f453e3f2c5881be9df35edbb052370992d5e59a3
7
- data.tar.gz: e7b2c3e7253cf737b909542da4a5c1397164fe3770bd7b90490fb9ffb0a9275c7ab6204f00e1127646462279d6a4bff220a271bf073e8ea20b8a410691617a7a
6
+ metadata.gz: 72742f2d3348847ec33f1ca6f98d7df1775b02df3a688399eef43398ecda11480b8168d5d4e73980644cebfcdbc1d18d330a71807f8c722b8015b2845c6b2f5d
7
+ data.tar.gz: 2489b0830c2db2acc37bc83797a20be94d1082d628b4beed86d9cf3b62b03d17c181049a7c25833f59e03fff39a348f7454950edda140ed9ad839811a27cf580
data/bitget.rb.gemspec CHANGED
@@ -4,7 +4,6 @@ Gem::Specification.new do |spec|
4
4
  spec.name = 'bitget.rb'
5
5
 
6
6
  spec.version = Bitget::VERSION
7
- spec.date = '2025-05-26'
8
7
 
9
8
  spec.summary = "Access the Bitget API with Ruby."
10
9
  spec.description = "Access the Bitget API with Ruby."
@@ -2,5 +2,5 @@
2
2
  # Bitget::VERSION
3
3
 
4
4
  module Bitget
5
- VERSION = '0.6.3'
5
+ VERSION = '0.6.4'
6
6
  end
@@ -0,0 +1,19 @@
1
+ require_relative './helper'
2
+ require_relative '../lib/Bitget/VERSION'
3
+
4
+ describe Bitget do
5
+ describe "VERSION" do
6
+ it "is a string" do
7
+ _(Bitget::VERSION).must_be_instance_of String
8
+ end
9
+
10
+ it "is three numbers separated by dots" do
11
+ _(Bitget::VERSION).must_match(/\A\d+\.\d+\.\d+\z/)
12
+ end
13
+
14
+ it "matches the newest entry in the CHANGELOG" do
15
+ changelog = File.read(File.expand_path('../CHANGELOG', __dir__))
16
+ _(changelog[/^(\d+\.\d+\.\d+):/, 1]).must_equal(Bitget::VERSION)
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,22 @@
1
+ require_relative './helper'
2
+ require_relative '../lib/Bitget/VERSION'
3
+
4
+ describe 'bitget.rb.gemspec' do
5
+ let(:spec){Gem::Specification.load(File.expand_path('../bitget.rb.gemspec', __dir__))}
6
+
7
+ it "is a valid specification" do
8
+ _(spec.validate).must_equal(true)
9
+ end
10
+
11
+ it "does not pin a date" do
12
+ _(spec.date).must_equal(Gem::Specification.new.date)
13
+ end
14
+
15
+ it "takes its version from Bitget::VERSION" do
16
+ _(spec.version.to_s).must_equal(Bitget::VERSION)
17
+ end
18
+
19
+ it "declares its runtime dependencies" do
20
+ _(spec.runtime_dependencies.map(&:name).sort).must_equal(%w{http.rb})
21
+ end
22
+ end
data/test/test_all.rb CHANGED
@@ -2,3 +2,5 @@
2
2
 
3
3
  require_relative './V2/Client_test'
4
4
  require_relative './Configuration_test'
5
+ require_relative './VERSION_test'
6
+ require_relative './gemspec_test'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitget.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.3
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoran
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-05-26 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: http.rb
@@ -42,6 +42,8 @@ files:
42
42
  - lib/Thoran/String/UrlEncode/url_encode.rb
43
43
  - test/Configuration_test.rb
44
44
  - test/V2/Client_test.rb
45
+ - test/VERSION_test.rb
46
+ - test/gemspec_test.rb
45
47
  - test/helper.rb
46
48
  - test/test_all.rb
47
49
  homepage: http://github.com/thoran/bitget.rb