luno 0.2.10 → 0.2.11

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: f00f1f9e35506b4fa82dc15967f212fce73ea7e93cdae4e0547266bd68fae42d
4
- data.tar.gz: ae6d80c7d75420f0e1449e6cf3c993272d8c4d9bdcee00f641ee18f184cf0794
3
+ metadata.gz: d36df5d3b8db3586bfe5dd30a1bcc9547cd62cba17e722d72cb934464aeaa660
4
+ data.tar.gz: 29fec7809ccd490f01477b255664e7e6612f587dbada76cb63c20a03a7026fdc
5
5
  SHA512:
6
- metadata.gz: d3a3f2b9b84599d48cb751b3afd50a0c8e0587b6951e8a22a5d00f5b791f66d889279a80e4b929bf767974b58e06b7c635fdd57dc6d5674baae9a8cbe24b6f1c
7
- data.tar.gz: 1cc1646d212753de58ee615ab43c33b70785217fae74d517596ee10272981c3be646f4e0df901a8cb74896629b41c08a1fd3a5a1ed876e24514cfcd6be878956
6
+ metadata.gz: '0862e720ead201dfd5dcf73dd41b719c85cb5257aa8e1776f04df01a22d81275ccc2d7a9d744b1a5b882792a8ddde78782f036e65498a34aab5031cad7f5bbbd'
7
+ data.tar.gz: 3009c550cf29ceddb96a520e750bbfcdcc36267713a56c421f9a91473dc34be39edfc695e29c2a817af97a9932b8e561e7758176be565bdb8602cd51d0291496
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.0
1
+ 3.2.0
data/Gemfile.lock CHANGED
@@ -1,23 +1,23 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- luno (0.2.10)
4
+ luno (0.2.11)
5
5
  active_attr (~> 0.15.4)
6
- httparty (~> 0.20.0)
7
- nokogiri (~> 1.13.1)
6
+ httparty (~> 0.21.0)
7
+ nokogiri (~> 1.14.0.rc1)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actionpack (7.0.1)
13
- actionview (= 7.0.1)
14
- activesupport (= 7.0.1)
12
+ actionpack (7.0.4)
13
+ actionview (= 7.0.4)
14
+ activesupport (= 7.0.4)
15
15
  rack (~> 2.0, >= 2.2.0)
16
16
  rack-test (>= 0.6.3)
17
17
  rails-dom-testing (~> 2.0)
18
18
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
19
- actionview (7.0.1)
20
- activesupport (= 7.0.1)
19
+ actionview (7.0.4)
20
+ activesupport (= 7.0.4)
21
21
  builder (~> 3.1)
22
22
  erubi (~> 1.4)
23
23
  rails-dom-testing (~> 2.0)
@@ -26,36 +26,34 @@ GEM
26
26
  actionpack (>= 3.0.2, < 7.1)
27
27
  activemodel (>= 3.0.2, < 7.1)
28
28
  activesupport (>= 3.0.2, < 7.1)
29
- activemodel (7.0.1)
30
- activesupport (= 7.0.1)
31
- activesupport (7.0.1)
29
+ activemodel (7.0.4)
30
+ activesupport (= 7.0.4)
31
+ activesupport (7.0.4)
32
32
  concurrent-ruby (~> 1.0, >= 1.0.2)
33
33
  i18n (>= 1.6, < 2)
34
34
  minitest (>= 5.1)
35
35
  tzinfo (~> 2.0)
36
- addressable (2.8.0)
37
- public_suffix (>= 2.0.2, < 5.0)
36
+ addressable (2.8.1)
37
+ public_suffix (>= 2.0.2, < 6.0)
38
38
  ansi (1.5.0)
39
39
  builder (3.2.4)
40
40
  coderay (1.1.3)
41
- concurrent-ruby (1.1.9)
41
+ concurrent-ruby (1.1.10)
42
42
  crack (0.4.5)
43
43
  rexml
44
44
  crass (1.0.6)
45
- erubi (1.10.0)
45
+ erubi (1.12.0)
46
46
  hashdiff (1.0.1)
47
- httparty (0.20.0)
48
- mime-types (~> 3.0)
47
+ httparty (0.21.0)
48
+ mini_mime (>= 1.0.0)
49
49
  multi_xml (>= 0.5.2)
50
- i18n (1.8.11)
50
+ i18n (1.12.0)
51
51
  concurrent-ruby (~> 1.0)
52
- loofah (2.13.0)
52
+ loofah (2.19.1)
53
53
  crass (~> 1.0.2)
54
54
  nokogiri (>= 1.5.9)
55
55
  method_source (1.0.0)
56
- mime-types (3.4.1)
57
- mime-types-data (~> 3.2015)
58
- mime-types-data (3.2022.0105)
56
+ mini_mime (1.1.2)
59
57
  minitest (5.15.0)
60
58
  minitest-focus (1.3.1)
61
59
  minitest (>= 4, < 6)
@@ -66,26 +64,26 @@ GEM
66
64
  ruby-progressbar
67
65
  mocha (1.13.0)
68
66
  multi_xml (0.6.0)
69
- nokogiri (1.13.1-x86_64-linux)
67
+ nokogiri (1.14.0.rc1-arm64-darwin)
70
68
  racc (~> 1.4)
71
69
  pry (0.14.1)
72
70
  coderay (~> 1.1)
73
71
  method_source (~> 1.0)
74
- public_suffix (4.0.6)
75
- racc (1.6.0)
76
- rack (2.2.3)
77
- rack-test (1.1.0)
78
- rack (>= 1.0, < 3)
72
+ public_suffix (5.0.1)
73
+ racc (1.6.2)
74
+ rack (2.2.5)
75
+ rack-test (2.0.2)
76
+ rack (>= 1.3)
79
77
  rails-dom-testing (2.0.3)
80
78
  activesupport (>= 4.2.0)
81
79
  nokogiri (>= 1.6)
82
- rails-html-sanitizer (1.4.2)
83
- loofah (~> 2.3)
80
+ rails-html-sanitizer (1.4.4)
81
+ loofah (~> 2.19, >= 2.19.1)
84
82
  rake (13.0.6)
85
83
  rexml (3.2.5)
86
84
  ruby-progressbar (1.11.0)
87
- timecop (0.9.4)
88
- tzinfo (2.0.4)
85
+ timecop (0.9.6)
86
+ tzinfo (2.0.5)
89
87
  concurrent-ruby (~> 1.0)
90
88
  webmock (3.14.0)
91
89
  addressable (>= 2.8.0)
@@ -93,10 +91,9 @@ GEM
93
91
  hashdiff (>= 0.4.0, < 2.0.0)
94
92
 
95
93
  PLATFORMS
96
- x86_64-linux
94
+ arm64-darwin-22
97
95
 
98
96
  DEPENDENCIES
99
- bundler (~> 2.3.5)
100
97
  luno!
101
98
  minitest (~> 5.15.0)
102
99
  minitest-focus (~> 1.3.1)
@@ -108,4 +105,4 @@ DEPENDENCIES
108
105
  webmock (~> 3.14.0)
109
106
 
110
107
  BUNDLED WITH
111
- 2.3.5
108
+ 2.4.2
data/lib/luno/accounts.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  module Luno
2
2
  module Accounts
3
- # GET paths
4
3
  def list_accounts
5
4
  path = 'accounts'
6
5
  authorise_and_send(http_method: :get, path: path)
@@ -29,4 +28,4 @@ module Luno
29
28
  # TODO:
30
29
  # Update Account name: /api/1/accounts/{id}/name body: { name: '' }
31
30
  end
32
- end
31
+ end
@@ -1,5 +1,7 @@
1
1
  module Luno
2
2
  module Constants
3
+ # TODO: Add in undocumented limits
4
+
3
5
  CURRENCIES = {
4
6
  XBT: 'Bitcoin',
5
7
  BCH: 'Bitcoin Cash',
data/lib/luno/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Luno
2
- VERSION = "0.2.10"
2
+ VERSION = "0.2.11"
3
3
  end
data/luno.gemspec CHANGED
@@ -22,12 +22,11 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- spec.add_dependency "httparty", "~> 0.20.0"
25
+ spec.add_dependency "httparty", "~> 0.21.0"
26
26
  spec.add_dependency "active_attr", "~> 0.15.4"
27
- spec.add_dependency "nokogiri", "~> 1.13.1"
27
+ spec.add_dependency "nokogiri", "~> 1.14.0.rc1"
28
28
 
29
29
  # Development dependancies
30
- spec.add_development_dependency "bundler", "~> 2.3.5"
31
30
  spec.add_development_dependency "rake", "~> 13.0.6"
32
31
  spec.add_development_dependency "minitest", "~> 5.15.0"
33
32
  spec.add_development_dependency "minitest-focus", "~> 1.3.1"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luno
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.10
4
+ version: 0.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - trex22
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-16 00:00:00.000000000 Z
11
+ date: 2023-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.20.0
19
+ version: 0.21.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.20.0
26
+ version: 0.21.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: active_attr
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,28 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.13.1
47
+ version: 1.14.0.rc1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.13.1
55
- - !ruby/object:Gem::Dependency
56
- name: bundler
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: 2.3.5
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: 2.3.5
54
+ version: 1.14.0.rc1
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rake
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -234,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
220
  - !ruby/object:Gem::Version
235
221
  version: '0'
236
222
  requirements: []
237
- rubygems_version: 3.3.3
223
+ rubygems_version: 3.4.1
238
224
  signing_key:
239
225
  specification_version: 4
240
226
  summary: A client for using the Luno API in Ruby.