luno 0.2.9 → 0.2.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/Gemfile.lock +51 -56
- data/lib/luno/accounts.rb +1 -2
- data/lib/luno/constants.rb +2 -0
- data/lib/luno/version.rb +1 -1
- data/luno.gemspec +10 -11
- metadata +23 -37
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d36df5d3b8db3586bfe5dd30a1bcc9547cd62cba17e722d72cb934464aeaa660
|
4
|
+
data.tar.gz: 29fec7809ccd490f01477b255664e7e6612f587dbada76cb63c20a03a7026fdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0862e720ead201dfd5dcf73dd41b719c85cb5257aa8e1776f04df01a22d81275ccc2d7a9d744b1a5b882792a8ddde78782f036e65498a34aab5031cad7f5bbbd'
|
7
|
+
data.tar.gz: 3009c550cf29ceddb96a520e750bbfcdcc36267713a56c421f9a91473dc34be39edfc695e29c2a817af97a9932b8e561e7758176be565bdb8602cd51d0291496
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0
|
1
|
+
3.2.0
|
data/Gemfile.lock
CHANGED
@@ -1,113 +1,108 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
luno (0.2.
|
5
|
-
active_attr (~> 0.15.
|
6
|
-
httparty (~> 0.
|
7
|
-
nokogiri (~> 1.
|
4
|
+
luno (0.2.11)
|
5
|
+
active_attr (~> 0.15.4)
|
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 (
|
13
|
-
actionview (=
|
14
|
-
activesupport (=
|
15
|
-
rack (~> 2.0, >= 2.0
|
12
|
+
actionpack (7.0.4)
|
13
|
+
actionview (= 7.0.4)
|
14
|
+
activesupport (= 7.0.4)
|
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 (
|
20
|
-
activesupport (=
|
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)
|
24
24
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
25
|
-
active_attr (0.15.
|
26
|
-
actionpack (>= 3.0.2, < 7.
|
27
|
-
activemodel (>= 3.0.2, < 7.
|
28
|
-
activesupport (>= 3.0.2, < 7.
|
29
|
-
activemodel (
|
30
|
-
activesupport (=
|
31
|
-
activesupport (
|
25
|
+
active_attr (0.15.4)
|
26
|
+
actionpack (>= 3.0.2, < 7.1)
|
27
|
+
activemodel (>= 3.0.2, < 7.1)
|
28
|
+
activesupport (>= 3.0.2, < 7.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
|
-
|
37
|
-
|
38
|
-
public_suffix (>= 2.0.2, < 5.0)
|
36
|
+
addressable (2.8.1)
|
37
|
+
public_suffix (>= 2.0.2, < 6.0)
|
39
38
|
ansi (1.5.0)
|
40
39
|
builder (3.2.4)
|
41
40
|
coderay (1.1.3)
|
42
|
-
concurrent-ruby (1.1.
|
41
|
+
concurrent-ruby (1.1.10)
|
43
42
|
crack (0.4.5)
|
44
43
|
rexml
|
45
44
|
crass (1.0.6)
|
46
|
-
erubi (1.
|
45
|
+
erubi (1.12.0)
|
47
46
|
hashdiff (1.0.1)
|
48
|
-
httparty (0.
|
49
|
-
|
47
|
+
httparty (0.21.0)
|
48
|
+
mini_mime (>= 1.0.0)
|
50
49
|
multi_xml (>= 0.5.2)
|
51
|
-
i18n (1.
|
50
|
+
i18n (1.12.0)
|
52
51
|
concurrent-ruby (~> 1.0)
|
53
|
-
loofah (2.
|
52
|
+
loofah (2.19.1)
|
54
53
|
crass (~> 1.0.2)
|
55
54
|
nokogiri (>= 1.5.9)
|
56
55
|
method_source (1.0.0)
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
minitest (5.14.4)
|
61
|
-
minitest-focus (1.1.2)
|
56
|
+
mini_mime (1.1.2)
|
57
|
+
minitest (5.15.0)
|
58
|
+
minitest-focus (1.3.1)
|
62
59
|
minitest (>= 4, < 6)
|
63
|
-
minitest-reporters (1.
|
60
|
+
minitest-reporters (1.5.0)
|
64
61
|
ansi
|
65
62
|
builder
|
66
63
|
minitest (>= 5.0)
|
67
64
|
ruby-progressbar
|
68
|
-
mocha (1.
|
65
|
+
mocha (1.13.0)
|
69
66
|
multi_xml (0.6.0)
|
70
|
-
nokogiri (1.
|
67
|
+
nokogiri (1.14.0.rc1-arm64-darwin)
|
71
68
|
racc (~> 1.4)
|
72
69
|
pry (0.14.1)
|
73
70
|
coderay (~> 1.1)
|
74
71
|
method_source (~> 1.0)
|
75
|
-
public_suffix (
|
76
|
-
racc (1.
|
77
|
-
rack (2.2.
|
78
|
-
rack-test (
|
79
|
-
rack (>= 1.
|
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)
|
80
77
|
rails-dom-testing (2.0.3)
|
81
78
|
activesupport (>= 4.2.0)
|
82
79
|
nokogiri (>= 1.6)
|
83
|
-
rails-html-sanitizer (1.4.
|
84
|
-
loofah (~> 2.
|
80
|
+
rails-html-sanitizer (1.4.4)
|
81
|
+
loofah (~> 2.19, >= 2.19.1)
|
85
82
|
rake (13.0.6)
|
86
83
|
rexml (3.2.5)
|
87
84
|
ruby-progressbar (1.11.0)
|
88
|
-
timecop (0.9.
|
89
|
-
tzinfo (2.0.
|
85
|
+
timecop (0.9.6)
|
86
|
+
tzinfo (2.0.5)
|
90
87
|
concurrent-ruby (~> 1.0)
|
91
|
-
webmock (3.
|
92
|
-
addressable (>= 2.
|
88
|
+
webmock (3.14.0)
|
89
|
+
addressable (>= 2.8.0)
|
93
90
|
crack (>= 0.3.2)
|
94
91
|
hashdiff (>= 0.4.0, < 2.0.0)
|
95
|
-
zeitwerk (2.4.2)
|
96
92
|
|
97
93
|
PLATFORMS
|
98
|
-
arm64-darwin-
|
94
|
+
arm64-darwin-22
|
99
95
|
|
100
96
|
DEPENDENCIES
|
101
|
-
bundler (~> 2.2.22)
|
102
97
|
luno!
|
103
|
-
minitest (~> 5.0)
|
104
|
-
minitest-focus (~> 1.1
|
105
|
-
minitest-reporters (~> 1.
|
106
|
-
mocha (~> 1.
|
107
|
-
pry (~> 0.
|
108
|
-
rake (~> 13.0)
|
98
|
+
minitest (~> 5.15.0)
|
99
|
+
minitest-focus (~> 1.3.1)
|
100
|
+
minitest-reporters (~> 1.5.0)
|
101
|
+
mocha (~> 1.13.0)
|
102
|
+
pry (~> 0.14.1)
|
103
|
+
rake (~> 13.0.6)
|
109
104
|
timecop (~> 0.9.1)
|
110
|
-
webmock (~> 3.
|
105
|
+
webmock (~> 3.14.0)
|
111
106
|
|
112
107
|
BUNDLED WITH
|
113
|
-
2.2
|
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
|
data/lib/luno/constants.rb
CHANGED
data/lib/luno/version.rb
CHANGED
data/luno.gemspec
CHANGED
@@ -22,18 +22,17 @@ 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.
|
26
|
-
spec.add_dependency "active_attr", "~> 0.15.
|
27
|
-
spec.add_dependency "nokogiri", "~> 1.
|
25
|
+
spec.add_dependency "httparty", "~> 0.21.0"
|
26
|
+
spec.add_dependency "active_attr", "~> 0.15.4"
|
27
|
+
spec.add_dependency "nokogiri", "~> 1.14.0.rc1"
|
28
28
|
|
29
29
|
# Development dependancies
|
30
|
-
spec.add_development_dependency "
|
31
|
-
spec.add_development_dependency "
|
32
|
-
spec.add_development_dependency "minitest", "~>
|
33
|
-
spec.add_development_dependency "minitest-
|
34
|
-
spec.add_development_dependency "minitest-reporters", "~> 1.4.2"
|
30
|
+
spec.add_development_dependency "rake", "~> 13.0.6"
|
31
|
+
spec.add_development_dependency "minitest", "~> 5.15.0"
|
32
|
+
spec.add_development_dependency "minitest-focus", "~> 1.3.1"
|
33
|
+
spec.add_development_dependency "minitest-reporters", "~> 1.5.0"
|
35
34
|
spec.add_development_dependency "timecop", "~> 0.9.1"
|
36
|
-
spec.add_development_dependency "mocha", "~> 1.
|
37
|
-
spec.add_development_dependency "pry", "~> 0.
|
38
|
-
spec.add_development_dependency "webmock", "~> 3.
|
35
|
+
spec.add_development_dependency "mocha", "~> 1.13.0"
|
36
|
+
spec.add_development_dependency "pry", "~> 0.14.1"
|
37
|
+
spec.add_development_dependency "webmock", "~> 3.14.0"
|
39
38
|
end
|
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.
|
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:
|
11
|
+
date: 2023-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -16,112 +16,98 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 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.
|
26
|
+
version: 0.21.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: active_attr
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.15.
|
33
|
+
version: 0.15.4
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.15.
|
40
|
+
version: 0.15.4
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: nokogiri
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 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.
|
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.2.22
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: 2.2.22
|
54
|
+
version: 1.14.0.rc1
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: rake
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
61
|
+
version: 13.0.6
|
76
62
|
type: :development
|
77
63
|
prerelease: false
|
78
64
|
version_requirements: !ruby/object:Gem::Requirement
|
79
65
|
requirements:
|
80
66
|
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
68
|
+
version: 13.0.6
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: minitest
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
86
72
|
requirements:
|
87
73
|
- - "~>"
|
88
74
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
75
|
+
version: 5.15.0
|
90
76
|
type: :development
|
91
77
|
prerelease: false
|
92
78
|
version_requirements: !ruby/object:Gem::Requirement
|
93
79
|
requirements:
|
94
80
|
- - "~>"
|
95
81
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
82
|
+
version: 5.15.0
|
97
83
|
- !ruby/object:Gem::Dependency
|
98
84
|
name: minitest-focus
|
99
85
|
requirement: !ruby/object:Gem::Requirement
|
100
86
|
requirements:
|
101
87
|
- - "~>"
|
102
88
|
- !ruby/object:Gem::Version
|
103
|
-
version: 1.1
|
89
|
+
version: 1.3.1
|
104
90
|
type: :development
|
105
91
|
prerelease: false
|
106
92
|
version_requirements: !ruby/object:Gem::Requirement
|
107
93
|
requirements:
|
108
94
|
- - "~>"
|
109
95
|
- !ruby/object:Gem::Version
|
110
|
-
version: 1.1
|
96
|
+
version: 1.3.1
|
111
97
|
- !ruby/object:Gem::Dependency
|
112
98
|
name: minitest-reporters
|
113
99
|
requirement: !ruby/object:Gem::Requirement
|
114
100
|
requirements:
|
115
101
|
- - "~>"
|
116
102
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
103
|
+
version: 1.5.0
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
107
|
requirements:
|
122
108
|
- - "~>"
|
123
109
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.
|
110
|
+
version: 1.5.0
|
125
111
|
- !ruby/object:Gem::Dependency
|
126
112
|
name: timecop
|
127
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,42 +128,42 @@ dependencies:
|
|
142
128
|
requirements:
|
143
129
|
- - "~>"
|
144
130
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.
|
131
|
+
version: 1.13.0
|
146
132
|
type: :development
|
147
133
|
prerelease: false
|
148
134
|
version_requirements: !ruby/object:Gem::Requirement
|
149
135
|
requirements:
|
150
136
|
- - "~>"
|
151
137
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.
|
138
|
+
version: 1.13.0
|
153
139
|
- !ruby/object:Gem::Dependency
|
154
140
|
name: pry
|
155
141
|
requirement: !ruby/object:Gem::Requirement
|
156
142
|
requirements:
|
157
143
|
- - "~>"
|
158
144
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
145
|
+
version: 0.14.1
|
160
146
|
type: :development
|
161
147
|
prerelease: false
|
162
148
|
version_requirements: !ruby/object:Gem::Requirement
|
163
149
|
requirements:
|
164
150
|
- - "~>"
|
165
151
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
152
|
+
version: 0.14.1
|
167
153
|
- !ruby/object:Gem::Dependency
|
168
154
|
name: webmock
|
169
155
|
requirement: !ruby/object:Gem::Requirement
|
170
156
|
requirements:
|
171
157
|
- - "~>"
|
172
158
|
- !ruby/object:Gem::Version
|
173
|
-
version: 3.
|
159
|
+
version: 3.14.0
|
174
160
|
type: :development
|
175
161
|
prerelease: false
|
176
162
|
version_requirements: !ruby/object:Gem::Requirement
|
177
163
|
requirements:
|
178
164
|
- - "~>"
|
179
165
|
- !ruby/object:Gem::Version
|
180
|
-
version: 3.
|
166
|
+
version: 3.14.0
|
181
167
|
description: A client for using the Luno API in Ruby. Built form their api documentation.
|
182
168
|
https://www.luno.com/en/developers/api. This is an unofficial project.
|
183
169
|
email:
|
@@ -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.
|
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.
|