waves_ruby_client 0.1.4 → 0.1.5

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: 94d6f75de8e5fd42cff86ee2396ac8d987e69941cae2e78a88b4a538e0411421
4
- data.tar.gz: 4f7737dfaee0b6de98756a29ad661ca3483ab4af3b8868d5642c6de63be2b33c
3
+ metadata.gz: 6a8818fe71f32d1807dd626e6c9e1213230777ed8e0c83a93a644258daa346d6
4
+ data.tar.gz: ba34f2b0c97fa99fe9aaad4d563adc82921f94f530def58e553c607afded3077
5
5
  SHA512:
6
- metadata.gz: 8c886f5a716e98ae922c58e3e3c287183180ca280997f345c98124dbc4787ac30079889b65b66480e178c7dfa33881a06e4100f73989e0f998053d85771ddcf7
7
- data.tar.gz: 88c905bb7c8a11686281fceaca83c3f8a0bdbad7f1e4d924bb0c02e529fca9ca0ea7ac46839382a6a38bd156439a9df91fbeedef03f9c43f59fe0268859bd113
6
+ metadata.gz: d30e3e7b8d0df556594e092c19f6bbeb1524eab0286be25ce380db8a99da94c4f67e35c99f03128743531450bdba25b53cebc236efc219403f0c7b76c1185123
7
+ data.tar.gz: 3f9cd8a85eadcc7804f071b075ff17cf8d78e809a656aa14bf898980fa05ec2d0f7d1403a1ba1a5a705e5abe9358f8aa173761d7ac3b5bcca4127b0835f03463
data/.tool-versions ADDED
@@ -0,0 +1 @@
1
+ ruby 3.0.2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- waves_ruby_client (0.1.4)
4
+ waves_ruby_client (0.1.5)
5
5
  activemodel
6
6
  activesupport
7
7
  httparty
@@ -9,26 +9,26 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- activemodel (6.0.0)
13
- activesupport (= 6.0.0)
14
- activesupport (6.0.0)
12
+ activemodel (6.1.4.1)
13
+ activesupport (= 6.1.4.1)
14
+ activesupport (6.1.4.1)
15
15
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
- i18n (>= 0.7, < 2)
17
- minitest (~> 5.1)
18
- tzinfo (~> 1.1)
19
- zeitwerk (~> 2.1, >= 2.1.8)
20
- coderay (1.1.2)
21
- concurrent-ruby (1.1.5)
22
- diff-lcs (1.3)
23
- ffi (1.9.25)
24
- formatador (0.2.5)
25
- guard (2.14.2)
16
+ i18n (>= 1.6, < 2)
17
+ minitest (>= 5.1)
18
+ tzinfo (~> 2.0)
19
+ zeitwerk (~> 2.3)
20
+ coderay (1.1.3)
21
+ concurrent-ruby (1.1.9)
22
+ diff-lcs (1.4.4)
23
+ ffi (1.15.4)
24
+ formatador (0.3.0)
25
+ guard (2.18.0)
26
26
  formatador (>= 0.2.4)
27
27
  listen (>= 2.7, < 4.0)
28
28
  lumberjack (>= 1.0.12, < 2.0)
29
29
  nenv (~> 0.1)
30
30
  notiffany (~> 0.0)
31
- pry (>= 0.9.12)
31
+ pry (>= 0.13.0)
32
32
  shellany (~> 0.0)
33
33
  thor (>= 0.18.1)
34
34
  guard-compat (1.2.1)
@@ -36,63 +36,60 @@ GEM
36
36
  guard (~> 2.1)
37
37
  guard-compat (~> 1.1)
38
38
  rspec (>= 2.99.0, < 4.0)
39
- httparty (0.17.1)
39
+ httparty (0.19.0)
40
40
  mime-types (~> 3.0)
41
41
  multi_xml (>= 0.5.2)
42
- i18n (1.7.0)
42
+ i18n (1.8.10)
43
43
  concurrent-ruby (~> 1.0)
44
- listen (3.1.5)
45
- rb-fsevent (~> 0.9, >= 0.9.4)
46
- rb-inotify (~> 0.9, >= 0.9.7)
47
- ruby_dep (~> 1.2)
48
- lumberjack (1.0.13)
49
- method_source (0.9.1)
50
- mime-types (3.3)
44
+ listen (3.7.0)
45
+ rb-fsevent (~> 0.10, >= 0.10.3)
46
+ rb-inotify (~> 0.9, >= 0.9.10)
47
+ lumberjack (1.2.8)
48
+ method_source (1.0.0)
49
+ mime-types (3.3.1)
51
50
  mime-types-data (~> 3.2015)
52
- mime-types-data (3.2019.1009)
53
- minitest (5.13.0)
51
+ mime-types-data (3.2021.0901)
52
+ minitest (5.14.4)
54
53
  multi_xml (0.6.0)
55
54
  nenv (0.3.0)
56
- notiffany (0.1.1)
55
+ notiffany (0.1.3)
57
56
  nenv (~> 0.1)
58
57
  shellany (~> 0.0)
59
- pry (0.12.0)
60
- coderay (~> 1.1.0)
61
- method_source (~> 0.9.0)
62
- rake (10.5.0)
63
- rb-fsevent (0.10.3)
64
- rb-inotify (0.9.10)
65
- ffi (>= 0.5.0, < 2)
66
- rspec (3.8.0)
67
- rspec-core (~> 3.8.0)
68
- rspec-expectations (~> 3.8.0)
69
- rspec-mocks (~> 3.8.0)
70
- rspec-core (3.8.0)
71
- rspec-support (~> 3.8.0)
72
- rspec-expectations (3.8.2)
58
+ pry (0.14.1)
59
+ coderay (~> 1.1)
60
+ method_source (~> 1.0)
61
+ rake (13.0.6)
62
+ rb-fsevent (0.11.0)
63
+ rb-inotify (0.10.1)
64
+ ffi (~> 1.0)
65
+ rspec (3.10.0)
66
+ rspec-core (~> 3.10.0)
67
+ rspec-expectations (~> 3.10.0)
68
+ rspec-mocks (~> 3.10.0)
69
+ rspec-core (3.10.1)
70
+ rspec-support (~> 3.10.0)
71
+ rspec-expectations (3.10.1)
73
72
  diff-lcs (>= 1.2.0, < 2.0)
74
- rspec-support (~> 3.8.0)
75
- rspec-mocks (3.8.0)
73
+ rspec-support (~> 3.10.0)
74
+ rspec-mocks (3.10.2)
76
75
  diff-lcs (>= 1.2.0, < 2.0)
77
- rspec-support (~> 3.8.0)
78
- rspec-support (3.8.0)
79
- ruby_dep (1.5.0)
76
+ rspec-support (~> 3.10.0)
77
+ rspec-support (3.10.2)
80
78
  shellany (0.0.1)
81
- thor (0.20.0)
82
- thread_safe (0.3.6)
83
- tzinfo (1.2.5)
84
- thread_safe (~> 0.1)
85
- zeitwerk (2.2.1)
79
+ thor (1.1.0)
80
+ tzinfo (2.0.4)
81
+ concurrent-ruby (~> 1.0)
82
+ zeitwerk (2.4.2)
86
83
 
87
84
  PLATFORMS
88
- ruby
85
+ x86_64-darwin-20
89
86
 
90
87
  DEPENDENCIES
91
- bundler (~> 1.14)
88
+ bundler (~> 2.2)
92
89
  guard-rspec
93
- rake (~> 10.0)
90
+ rake (~> 13.0)
94
91
  rspec (~> 3.0)
95
92
  waves_ruby_client!
96
93
 
97
94
  BUNDLED WITH
98
- 1.17.2
95
+ 2.2.22
data/README.md CHANGED
@@ -26,17 +26,23 @@ Or install it yourself as:
26
26
 
27
27
  The gem requires the following environment variables
28
28
 
29
- * WAVES_PUBLIC_KEY: your waves public key
30
- * WAVES_PRIVATE_KEY: your waves private key, necessary for signing requests
31
- * WAVES_ADDRESS: your waves address
29
+ - WAVES_PUBLIC_KEY: your waves public key
30
+ - WAVES_PRIVATE_KEY: your waves private key, necessary for signing requests
31
+ - WAVES_ADDRESS: your waves address
32
32
 
33
+ Optionally you can override:
33
34
 
34
- Optionally you can override the waves API URL (https://nodes.wavesnodes.com) and
35
- the matcher public key (7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy) by setting the following environement variables:
35
+ - the API URLs for the node (https://nodes.wavesnodes.com),
36
+ - the matcher (https://matcher.waves.exchange),
37
+ - matcher address (3PEjHv3JGjcWNpYEEkif2w8NXV4kbhnoGgu)
38
+ - and the matcher public key (9cpfKN9suPNvfeUNphzxXMjcnn974eme8ZhWUjaktzU5)
36
39
 
37
- * WAVES_API_URL
38
- * WAVES_MATCHER_PUBLIC_KEY
40
+ by setting the following environement variables:
39
41
 
42
+ - WAVES_NODE_URL
43
+ - WAVES_MATCHER_URL
44
+ - WAVES_MATCHER_ADDRESS
45
+ - WAVES_MATCHER_PUBLIC_KEY
40
46
 
41
47
  ### Order book
42
48
 
@@ -55,16 +61,17 @@ book.asks
55
61
 
56
62
  An Order object has the following attributes:
57
63
 
58
- * id
59
- * price
60
- * amount
61
- * timestamp
62
- * type (sell|buy)
63
- * status (Accepted|PartiallyFilled|Filled|NotFound|Cancelled)
64
+ - id
65
+ - price
66
+ - amount
67
+ - timestamp
68
+ - type (sell|buy)
69
+ - status (Accepted|PartiallyFilled|Filled|NotFound|Cancelled)
64
70
 
65
71
  #### Get user orders
66
72
 
67
73
  All orders:
74
+
68
75
  ```ruby
69
76
  WavesRubyClient::Order.all
70
77
  ```
@@ -78,7 +85,7 @@ WavesRubyClient::Order.active
78
85
  #### Place/Cancel/Delete limit order
79
86
 
80
87
  ```ruby
81
- order = WavesRubyClient::Order.new(price: 0.0008, amount: 10)
88
+ order = WavesRubyClient::Order.new(price: 0.0008, amount: 10, type: :buy)
82
89
  order.place # raises exception if not successful
83
90
  order.cancel
84
91
  order.delete
@@ -87,7 +94,7 @@ order.delete
87
94
  #### Order status
88
95
 
89
96
  ```ruby
90
- order = WavesRubyClient::Order.new(price: 0.0008, amount: 10)
97
+ order = WavesRubyClient::Order.new(price: 0.0008, amount: 10, type: :buy)
91
98
  order.place
92
99
  order.refresh_status
93
100
  order.status
@@ -112,8 +119,11 @@ sleep(10) while WavesRubyClient::Transaction.my_unconfirmed_exchanges.any?
112
119
  Lists user's balances for waves and bitcoins.
113
120
 
114
121
  ```ruby
115
- WavesRubyClient::Wallet.balance
116
- => { waves: 5002.3, btc: 1200.3 }
122
+ WavesRubyClient::Wallet.balance_btc
123
+ => 1200.3
124
+
125
+ WavesRubyClient::Wallet.balance_waves
126
+ => 500.2
117
127
  ```
118
128
 
119
129
  ### DataFeed
@@ -147,6 +157,6 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
147
157
  Bug reports and pull requests are welcome on GitHub at https://github.com/phigrofi/waves_ruby_client.
148
158
  This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
149
159
 
150
-
151
160
  ## License
161
+
152
162
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -7,17 +7,22 @@ module WavesRubyClient
7
7
 
8
8
  def call_matcher(path, method = :get, args = {})
9
9
  WavesRubyClient.try_many_times do
10
- call('/matcher' + path, method, args)
10
+ call("/matcher#{path}", method, args)
11
11
  end
12
12
  end
13
13
 
14
+ def call_node(path)
15
+ response = HTTParty.get(WavesRubyClient::NODE_URL + path)
16
+ JSON.parse(response.body)
17
+ end
18
+
14
19
  def call_data_feed(path)
15
20
  response = HTTParty.get(WavesRubyClient::DATA_FEED_URL + path)
16
21
  JSON.parse(response.body)
17
22
  end
18
23
 
19
24
  def call(path, method = :get, args = {})
20
- response = HTTParty.send(method, WavesRubyClient::API_URL + path, args)
25
+ response = HTTParty.send(method, WavesRubyClient::MATCHER_URL + path, args)
21
26
  JSON.parse(response.body)
22
27
  end
23
28
  end
@@ -7,13 +7,19 @@ module WavesRubyClient
7
7
 
8
8
  # get history from data feed
9
9
  def self.trade_history(count = 10)
10
- WavesRubyClient::Api.instance.call_data_feed("/transactions/exchange?amountAsset=WAVES&limit=#{count}")['data'].map do |entry|
11
- order = entry['data']
10
+ params = [
11
+ '/trades',
12
+ WavesRubyClient::AMOUNT_ASSET.url_id,
13
+ WavesRubyClient::PRICE_ASSET.url_id,
14
+ count
15
+ ]
16
+
17
+ WavesRubyClient::Api.instance.call_data_feed(params.join('/')).map do |entry|
12
18
  WavesRubyClient::Order.new(
13
- id: order['id'],
14
- price: order['price'].to_f,
15
- timestamp: Time.parse(order['timestamp']),
16
- amount: order['amount'].to_f
19
+ id: entry['id'],
20
+ price: entry['price'].to_f,
21
+ timestamp: Time.at(entry['timestamp'] / 1000),
22
+ amount: entry['amount'].to_f
17
23
  )
18
24
  end
19
25
  end
@@ -17,7 +17,7 @@ module WavesRubyClient
17
17
 
18
18
  def refresh
19
19
  order_book = WavesRubyClient::Api.instance.call_matcher(
20
- "/orderbook/#{asset1.url_id}/#{asset2.url_id}"
20
+ "/orderbook/#{asset1.url_id}/#{asset2.url_id}#getOrderBook"
21
21
  )
22
22
  self.asks = order_book['asks'].map { |order| scale(order) }
23
23
  self.bids = order_book['bids'].map { |order| scale(order) }
@@ -13,7 +13,7 @@ module WavesRubyClient
13
13
  end
14
14
 
15
15
  def data_with_signature
16
- data.merge(signature: signature)
16
+ data.merge(proofs: [signature])
17
17
  end
18
18
 
19
19
  private
@@ -4,13 +4,14 @@ module WavesRubyClient
4
4
  # Access unconfirmed transactions
5
5
  class Transaction
6
6
  def self.unconfirmed
7
- WavesRubyClient::Api.instance.call('/transactions/unconfirmed')
7
+ WavesRubyClient::Api.instance.call_node('/transactions/unconfirmed')
8
8
  end
9
9
 
10
10
  # own unconfirmed exchange transactions
11
11
  def self.my_unconfirmed_exchanges
12
12
  unconfirmed.select do |transaction|
13
13
  next unless transaction['type'] == 7
14
+
14
15
  transaction['order1']['senderPublicKey'] == WavesRubyClient::WAVES_PUBLIC_KEY ||
15
16
  transaction['order2']['senderPublicKey'] == WavesRubyClient::WAVES_PUBLIC_KEY
16
17
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WavesRubyClient
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
5
5
  end
@@ -3,14 +3,20 @@
3
3
  module WavesRubyClient
4
4
  # get waves and btc balance
5
5
  class Wallet
6
- def self.balance
6
+ def self.balance_btc
7
7
  WavesRubyClient.try_many_times do
8
- url = ['/orderbook', WavesRubyClient::AMOUNT_ASSET.url_id,
9
- WavesRubyClient::PRICE_ASSET.url_id, 'tradableBalance',
10
- WavesRubyClient::WAVES_ADDRESS].join('/')
11
- res = WavesRubyClient::Api.instance.call_matcher(url)
12
- { waves: res['WAVES'].to_f / WavesRubyClient::NUMBER_MULTIPLIKATOR,
13
- btc: res[WavesRubyClient::Asset.btc.url_id].to_f / WavesRubyClient::NUMBER_MULTIPLIKATOR }
8
+ url = ['/assets/balance', WavesRubyClient::WAVES_ADDRESS,
9
+ WavesRubyClient::PRICE_ASSET.url_id].join('/')
10
+ res = WavesRubyClient::Api.instance.call_node(url)
11
+ res['balance'].to_f / WavesRubyClient::NUMBER_MULTIPLIKATOR
12
+ end
13
+ end
14
+
15
+ def self.balance_waves
16
+ WavesRubyClient.try_many_times do
17
+ url = ['/addresses/balance', WavesRubyClient::WAVES_ADDRESS].join('/')
18
+ res = WavesRubyClient::Api.instance.call_node(url)
19
+ res['balance'].to_f / WavesRubyClient::NUMBER_MULTIPLIKATOR
14
20
  end
15
21
  end
16
22
  end
@@ -30,10 +30,12 @@ module WavesRubyClient
30
30
  WAVES_PUBLIC_KEY = ENV['WAVES_PUBLIC_KEY']
31
31
  WAVES_PRIVATE_KEY = ENV['WAVES_PRIVATE_KEY']
32
32
  WAVES_ADDRESS = ENV['WAVES_ADDRESS']
33
- API_URL = ENV['WAVES_API_URL'] || 'https://matcher.wavesplatform.com'
34
- MATCHER_PUBLIC_KEY = ENV['WAVES_MATCHER_PUBLIC_KEY'] ||
35
- '7kPFrHDiGw1rCm7LPszuECwWYL3dMf6iMifLRDJQZMzy'
36
- DATA_FEED_URL = 'https://api.wavesplatform.com/v0'
33
+
34
+ DATA_FEED_URL = 'https://marketdata.wavesplatform.com/api'
35
+ NODE_URL = ENV['WAVES_NODE_URL'] || 'https://nodes.wavesnodes.com'
36
+ MATCHER_URL = ENV['WAVES_MATCHER_URL'] || 'https://matcher.waves.exchange'
37
+ MATCHER_ADDRESS = ENV['WAVES_MATCHER_ADDRESS'] || '3PEjHv3JGjcWNpYEEkif2w8NXV4kbhnoGgu'
38
+ MATCHER_PUBLIC_KEY = ENV['WAVES_MATCHER_PUBLIC_KEY'] || '9cpfKN9suPNvfeUNphzxXMjcnn974eme8ZhWUjaktzU5'
37
39
 
38
40
  BTC_ASSET_ID = '8LQW8f7P5d5PZM7GtZEBgaqRPGSzS3DfPuiXrURJ4AJS'
39
41
  WAVES_ASSET_ID = 'WAVES'
@@ -51,7 +53,7 @@ module WavesRubyClient
51
53
  tries ||= times
52
54
  yield
53
55
  rescue StandardError => e
54
- sleep(5)
56
+ sleep(1)
55
57
  retry unless (tries -= 1).zero?
56
58
  raise e
57
59
  end
@@ -1,7 +1,6 @@
1
-
2
1
  # frozen_string_literal: true
3
2
 
4
- lib = File.expand_path('../lib', __FILE__)
3
+ lib = File.expand_path('lib', __dir__)
5
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
5
  require 'waves_ruby_client/version'
7
6
 
@@ -23,12 +22,12 @@ Gem::Specification.new do |spec|
23
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
23
  spec.require_paths = ['lib']
25
24
 
26
- spec.add_dependency 'httparty'
27
25
  spec.add_dependency 'activemodel'
28
26
  spec.add_dependency 'activesupport'
27
+ spec.add_dependency 'httparty'
29
28
 
30
- spec.add_development_dependency 'bundler', '~> 1.14'
31
- spec.add_development_dependency 'rake', '~> 10.0'
32
- spec.add_development_dependency 'rspec', '~> 3.0'
29
+ spec.add_development_dependency 'bundler', '~> 2.2'
33
30
  spec.add_development_dependency 'guard-rspec'
31
+ spec.add_development_dependency 'rake', '~> 13.0'
32
+ spec.add_development_dependency 'rspec', '~> 3.0'
34
33
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: waves_ruby_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philipp Großelfinger
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-05 00:00:00.000000000 Z
11
+ date: 2021-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: httparty
14
+ name: activemodel
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: activemodel
28
+ name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -39,7 +39,7 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: activesupport
42
+ name: httparty
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
@@ -58,56 +58,56 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.14'
61
+ version: '2.2'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.14'
68
+ version: '2.2'
69
69
  - !ruby/object:Gem::Dependency
70
- name: rake
70
+ name: guard-rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '10.0'
75
+ version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '10.0'
82
+ version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
- name: rspec
84
+ name: rake
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '3.0'
89
+ version: '13.0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '3.0'
96
+ version: '13.0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: guard-rspec
98
+ name: rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '0'
103
+ version: '3.0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '0'
110
+ version: '3.0'
111
111
  description: Access Waves Platform API with ruby
112
112
  email:
113
113
  - philipp.grosselfinger@gmail.com
@@ -119,6 +119,7 @@ files:
119
119
  - ".rspec"
120
120
  - ".ruby-version"
121
121
  - ".semaphore/semaphore.yml"
122
+ - ".tool-versions"
122
123
  - ".travis.yml"
123
124
  - CODE_OF_CONDUCT.md
124
125
  - Gemfile
@@ -151,7 +152,7 @@ homepage: https://github.com/phigrofi/waves_ruby_client
151
152
  licenses:
152
153
  - MIT
153
154
  metadata: {}
154
- post_install_message:
155
+ post_install_message:
155
156
  rdoc_options: []
156
157
  require_paths:
157
158
  - lib
@@ -166,8 +167,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
167
  - !ruby/object:Gem::Version
167
168
  version: '0'
168
169
  requirements: []
169
- rubygems_version: 3.0.3
170
- signing_key:
170
+ rubygems_version: 3.2.22
171
+ signing_key:
171
172
  specification_version: 4
172
173
  summary: Ruby Client for Waves Platform API
173
174
  test_files: []