lbd_sdk 0.1.6 → 0.1.7

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: 1fc6f61507f7ea43d1bc0a23d90a5715a41c120e8af4fbcc7d252ff91db94b36
4
- data.tar.gz: e605084332cb992f7c41d9c75c82224050bbaf6e3049c1f28d35a0f27fb78bbb
3
+ metadata.gz: 92b2971719e9bac68a44e9d3b555f20a377ae5e376c807614255a2d094b87ddd
4
+ data.tar.gz: 0b367472405ec1665c36ff774ea6b76a3e208bbd812cf167242bf7ca770cde3b
5
5
  SHA512:
6
- metadata.gz: f6798a3454dd3a8295e4d068ac045e446fd1637a0292127f36d9d820c7af6e8320eab17736cd959a6ca2be393bacdcc75a2905fced43ddd735eddf60ee3f9557
7
- data.tar.gz: 3d9eefa14e3dc3ff89bfc8e64d8b36acfc710ec6e5b228a033cf0c91965cfc208c9f3ec654d7d9dcc95e2dcf2606a94b4330723cb2f58a27b0a45de56764be82
6
+ metadata.gz: '0082c893fb2cc18f272210d440ec12309e0e3c107f50d8700dceca346f99ece15c137ec0ac520ee944c0490af55d82c073a2be97244f945f5a9091065183ed1c'
7
+ data.tar.gz: 5feea75be844186b67f072ff6200527b6e78ac9b1e71043edb0bc94915c482cf3c6e0c540e5e7758f8742aed81b9dd80960326b6e18b4eba3ac8938e45fe428f
data/.rubocop.yml CHANGED
@@ -2,7 +2,7 @@ inherit_gem:
2
2
  prettier: rubocop.yml
3
3
 
4
4
  AllCops:
5
- TargetRubyVersion: 2.5
5
+ TargetRubyVersion: 2.6
6
6
  DisabledByDefault: true
7
7
  Exclude:
8
8
  - "gems/**/*"
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.1.7(2023-01-14)
2
+
3
+ ## Fix request options
4
+
5
+ - Modity `msgType` option in `transaction_page_request` to `msg_type` to unify all options format.
6
+
1
7
  # 0.1.6(2023-01-11)
2
8
 
3
9
  ## Add new endpoints
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lbd_sdk (0.1.6)
4
+ lbd_sdk (0.1.7)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -172,7 +172,6 @@ client.burn_non_fungible_token(
172
172
  - [x] GET /v1/time
173
173
  - [x] GET /v1/transactions/{txHash}
174
174
  - [x] GET /v2/transactions/{txHash}
175
- - [ ] API payloads test. All payloads at least should be checked if the inputs are required or optional.
176
175
 
177
176
  ## Development
178
177
 
data/lbd_sdk.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.description = 'LINE Blockchain Developer SDK for Ruby. This SDK is not official LINE SDK.'
13
13
  spec.homepage = 'https://github.com/YuheiNakasaka/lbd_sdk_rb'
14
14
  spec.license = 'MIT'
15
- spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
15
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.6.0')
16
16
 
17
17
  spec.metadata['allowed_push_host'] = 'https://rubygems.org'
18
18
 
@@ -28,11 +28,10 @@ module LbdSdk
28
28
  params = {
29
29
  limit: options[:limit] || 10,
30
30
  page: options[:page] || 1,
31
- orderBy: options[:order_by] || options[:orderBy] || 'desc',
31
+ orderBy: options[:order_by] || 'desc',
32
32
  }
33
33
  params[:before] = options[:before] if !options[:before].nil?
34
34
  params[:after] = options[:after] if !options[:after].nil?
35
- params[:msgType] = options[:msgType] if !options[:msgType].nil?
36
35
  params[:msgType] = options[:msg_type] if !options[:msg_type].nil?
37
36
  params
38
37
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LbdSdk
4
- VERSION = '0.1.6'
4
+ VERSION = '0.1.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lbd_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - YuheiNakasaka
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-11 00:00:00.000000000 Z
11
+ date: 2023-01-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: LINE Blockchain Developer SDK for Ruby. This SDK is not official LINE
14
14
  SDK.
@@ -60,7 +60,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - ">="
62
62
  - !ruby/object:Gem::Version
63
- version: 2.5.0
63
+ version: 2.6.0
64
64
  required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="