bitflyer 2.0.1 → 2.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b7d3681f63edf4ec68d0d5958e386100fdb49771f6e9effc6b02b94c9c5c577
4
- data.tar.gz: 12dfafaa76aec07e11c2abc2386ab19cd04cd821c208dd928f36923f9eb102a0
3
+ metadata.gz: 8fdeefc3adad407ac43e09d485f2ef4ca444f24a7d47e0edf109638c961f5b5b
4
+ data.tar.gz: 3a0d231733df9d337f1777bdba5a2138df41740c9384f2d80068c057e792a58f
5
5
  SHA512:
6
- metadata.gz: 9b0a95bc8cc1d80d8b3581c36990c076da8d6345a73548e59f54a7d4907f3e665fccf127fe7c503ef175d45d268aa83218e6fb619fa021733914e944b29fc91d
7
- data.tar.gz: 63a055d9b5f1e975546d8afccdf434fe210952b10a91847a1d28f260dbc856f393b9564555c6275237eb499819289543767f18c8d8fde93a173a85a9f0c9920e
6
+ metadata.gz: bc10b70c806049c2faba6aa946a57ee75fbbff8f0122b00d238a241c2abb98c2437375a9c03c1d52163dff0a1b3fa3d1f6199d3ae39f92d48f393043311de49b
7
+ data.tar.gz: f924c6c8db854920294d18e6d237a6194202449b80b941fae3d4355f78d06f107c8f388c995e77ee0ccc258eb9c54e2fc147605ce3f1918ddc47bfc6b52724cf
@@ -0,0 +1 @@
1
+ * @unhappychoice
data/Gemfile.lock CHANGED
@@ -1,9 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bitflyer (2.0.1)
5
- faraday (>= 1.0)
6
- faraday_middleware (>= 1.2)
4
+ bitflyer (2.0.2)
5
+ faraday (>= 2.0)
7
6
  websocket-client-simple (>= 0.9)
8
7
 
9
8
  GEM
@@ -14,63 +13,50 @@ GEM
14
13
  coderay (1.1.3)
15
14
  diff-lcs (1.6.2)
16
15
  event_emitter (0.2.6)
17
- faraday (1.10.4)
18
- faraday-em_http (~> 1.0)
19
- faraday-em_synchrony (~> 1.0)
20
- faraday-excon (~> 1.1)
21
- faraday-httpclient (~> 1.0)
22
- faraday-multipart (~> 1.0)
23
- faraday-net_http (~> 1.0)
24
- faraday-net_http_persistent (~> 1.0)
25
- faraday-patron (~> 1.0)
26
- faraday-rack (~> 1.0)
27
- faraday-retry (~> 1.0)
28
- ruby2_keywords (>= 0.0.4)
29
- faraday-em_http (1.0.0)
30
- faraday-em_synchrony (1.0.1)
31
- faraday-excon (1.1.0)
32
- faraday-httpclient (1.0.1)
33
- faraday-multipart (1.1.1)
34
- multipart-post (~> 2.0)
35
- faraday-net_http (1.0.2)
36
- faraday-net_http_persistent (1.2.0)
37
- faraday-patron (1.0.0)
38
- faraday-rack (1.0.0)
39
- faraday-retry (1.0.3)
40
- faraday_middleware (1.2.1)
41
- faraday (~> 1.0)
42
- json (2.12.2)
16
+ faraday (2.14.0)
17
+ faraday-net_http (>= 2.0, < 3.5)
18
+ json
19
+ logger
20
+ faraday-net_http (3.4.2)
21
+ net-http (~> 0.5)
22
+ io-console (0.8.2)
23
+ json (2.18.1)
43
24
  language_server-protocol (3.17.0.5)
44
25
  lint_roller (1.1.0)
26
+ logger (1.7.0)
45
27
  method_source (1.1.0)
46
- multipart-post (2.4.1)
47
28
  mutex_m (0.3.0)
29
+ net-http (0.9.1)
30
+ uri (>= 0.11.1)
48
31
  parallel (1.27.0)
49
- parser (3.3.8.0)
32
+ parser (3.3.10.1)
50
33
  ast (~> 2.4.1)
51
34
  racc
52
- prism (1.4.0)
53
- pry (0.15.2)
35
+ prism (1.9.0)
36
+ pry (0.16.0)
54
37
  coderay (~> 1.1)
55
38
  method_source (~> 1.0)
39
+ reline (>= 0.6.0)
56
40
  racc (1.8.1)
57
41
  rainbow (3.1.1)
58
- rake (13.3.0)
59
- regexp_parser (2.10.0)
60
- rspec (3.13.1)
42
+ rake (13.3.1)
43
+ regexp_parser (2.11.3)
44
+ reline (0.6.3)
45
+ io-console (~> 0.5)
46
+ rspec (3.13.2)
61
47
  rspec-core (~> 3.13.0)
62
48
  rspec-expectations (~> 3.13.0)
63
49
  rspec-mocks (~> 3.13.0)
64
- rspec-core (3.13.4)
50
+ rspec-core (3.13.6)
65
51
  rspec-support (~> 3.13.0)
66
52
  rspec-expectations (3.13.5)
67
53
  diff-lcs (>= 1.2.0, < 2.0)
68
54
  rspec-support (~> 3.13.0)
69
- rspec-mocks (3.13.5)
55
+ rspec-mocks (3.13.7)
70
56
  diff-lcs (>= 1.2.0, < 2.0)
71
57
  rspec-support (~> 3.13.0)
72
- rspec-support (3.13.4)
73
- rubocop (1.77.0)
58
+ rspec-support (3.13.7)
59
+ rubocop (1.84.1)
74
60
  json (~> 2.3)
75
61
  language_server-protocol (~> 3.17.0.2)
76
62
  lint_roller (~> 1.1.0)
@@ -78,17 +64,17 @@ GEM
78
64
  parser (>= 3.3.0.2)
79
65
  rainbow (>= 2.2.2, < 4.0)
80
66
  regexp_parser (>= 2.9.3, < 3.0)
81
- rubocop-ast (>= 1.45.1, < 2.0)
67
+ rubocop-ast (>= 1.49.0, < 2.0)
82
68
  ruby-progressbar (~> 1.7)
83
69
  unicode-display_width (>= 2.4.0, < 4.0)
84
- rubocop-ast (1.45.1)
70
+ rubocop-ast (1.49.0)
85
71
  parser (>= 3.3.7.2)
86
- prism (~> 1.4)
72
+ prism (~> 1.7)
87
73
  ruby-progressbar (1.13.0)
88
- ruby2_keywords (0.0.5)
89
- unicode-display_width (3.1.4)
90
- unicode-emoji (~> 4.0, >= 4.0.4)
91
- unicode-emoji (4.0.4)
74
+ unicode-display_width (3.2.0)
75
+ unicode-emoji (~> 4.1)
76
+ unicode-emoji (4.2.0)
77
+ uri (1.1.1)
92
78
  websocket (1.2.11)
93
79
  websocket-client-simple (0.9.0)
94
80
  base64
data/README.md CHANGED
@@ -3,11 +3,10 @@
3
3
  [![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors-)
4
4
  <!-- ALL-CONTRIBUTORS-BADGE:END -->
5
5
  [![Gem Version](https://badge.fury.io/rb/bitflyer.svg)](https://badge.fury.io/rb/bitflyer)
6
- [![Circle CI](https://circleci.com/gh/unhappychoice/bitflyer.svg?style=shield)](https://circleci.com/gh/unhappychoice/bitflyer)
7
- [![Code Climate](https://codeclimate.com/github/unhappychoice/bitflyer/badges/gpa.svg)](https://codeclimate.com/github/unhappychoice/bitflyer)
8
- [![Libraries.io dependency status for GitHub repo](https://img.shields.io/librariesio/github/unhappychoice/bitflyer.svg)](https://libraries.io/github/unhappychoice/bitflyer)
6
+ [![Code Climate](https://codeclimate.com/github/bitflyer-tools/bitflyer/badges/gpa.svg)](https://codeclimate.com/github/bitflyer-tools/bitflyer)
7
+ [![Libraries.io dependency status for GitHub repo](https://img.shields.io/librariesio/github/bitflyer-tools/bitflyer.svg)](https://libraries.io/github/bitflyer-tools/bitflyer)
9
8
  ![](http://ruby-gem-downloads-badge.herokuapp.com/bitflyer?type=total)
10
- ![GitHub](https://img.shields.io/github/license/unhappychoice/bitflyer.svg)
9
+ ![GitHub](https://img.shields.io/github/license/bitflyer-tools/bitflyer.svg)
11
10
 
12
11
  bitflyer is a wrapper interface of [Bitflyer lightning API](https://lightning.bitflyer.jp/docs)
13
12
 
data/bitflyer.gemspec CHANGED
@@ -18,8 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency 'faraday', '>= 1.0'
22
- spec.add_dependency 'faraday_middleware', '>= 1.2'
21
+ spec.add_dependency 'faraday', '>= 2.0'
23
22
  spec.add_dependency 'websocket-client-simple', '>= 0.9'
24
23
  spec.add_development_dependency 'bundler', '~> 2.0'
25
24
  spec.add_development_dependency 'pry'
data/lib/bitflyer/http.rb CHANGED
@@ -4,7 +4,6 @@ require 'bitflyer'
4
4
  require 'bitflyer/http/public'
5
5
  require 'bitflyer/http/private'
6
6
  require 'faraday'
7
- require 'faraday_middleware'
8
7
  require 'openssl'
9
8
 
10
9
  module Bitflyer
@@ -15,6 +15,7 @@ module Bitflyer
15
15
 
16
16
  class Client
17
17
  extend Forwardable
18
+
18
19
  def_delegators :@websocket_client, :ready=, :disconnected=
19
20
  attr_accessor :websocket_client, :ping_interval, :ping_timeout, :last_ping_at, :last_pong_at
20
21
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bitflyer
4
- VERSION = '2.0.1'
4
+ VERSION = '2.0.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitflyer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuji Ueki
@@ -15,28 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
19
- type: :runtime
20
- prerelease: false
21
- version_requirements: !ruby/object:Gem::Requirement
22
- requirements:
23
- - - ">="
24
- - !ruby/object:Gem::Version
25
- version: '1.0'
26
- - !ruby/object:Gem::Dependency
27
- name: faraday_middleware
28
- requirement: !ruby/object:Gem::Requirement
29
- requirements:
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: '1.2'
18
+ version: '2.0'
33
19
  type: :runtime
34
20
  prerelease: false
35
21
  version_requirements: !ruby/object:Gem::Requirement
36
22
  requirements:
37
23
  - - ">="
38
24
  - !ruby/object:Gem::Version
39
- version: '1.2'
25
+ version: '2.0'
40
26
  - !ruby/object:Gem::Dependency
41
27
  name: websocket-client-simple
42
28
  requirement: !ruby/object:Gem::Requirement
@@ -129,6 +115,7 @@ extensions: []
129
115
  extra_rdoc_files: []
130
116
  files:
131
117
  - ".all-contributorsrc"
118
+ - ".github/CODEOWNERS"
132
119
  - ".github/dependabot.yml"
133
120
  - ".github/workflows/release.yaml"
134
121
  - ".github/workflows/test.yml"