waves_ruby_client 0.1.4 → 0.1.5
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 +4 -4
- data/.tool-versions +1 -0
- data/Gemfile.lock +52 -55
- data/README.md +28 -18
- data/lib/waves_ruby_client/api.rb +7 -2
- data/lib/waves_ruby_client/data_feed.rb +12 -6
- data/lib/waves_ruby_client/order_book.rb +1 -1
- data/lib/waves_ruby_client/order_data/place.rb +1 -1
- data/lib/waves_ruby_client/transaction.rb +2 -1
- data/lib/waves_ruby_client/version.rb +1 -1
- data/lib/waves_ruby_client/wallet.rb +13 -7
- data/lib/waves_ruby_client.rb +7 -5
- data/waves_ruby_client.gemspec +5 -6
- metadata +25 -24
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6a8818fe71f32d1807dd626e6c9e1213230777ed8e0c83a93a644258daa346d6
|
|
4
|
+
data.tar.gz: ba34f2b0c97fa99fe9aaad4d563adc82921f94f530def58e553c607afded3077
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
+
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.
|
|
13
|
-
activesupport (= 6.
|
|
14
|
-
activesupport (6.
|
|
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 (>=
|
|
17
|
-
minitest (
|
|
18
|
-
tzinfo (~>
|
|
19
|
-
zeitwerk (~> 2.
|
|
20
|
-
coderay (1.1.
|
|
21
|
-
concurrent-ruby (1.1.
|
|
22
|
-
diff-lcs (1.
|
|
23
|
-
ffi (1.
|
|
24
|
-
formatador (0.
|
|
25
|
-
guard (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.
|
|
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.
|
|
39
|
+
httparty (0.19.0)
|
|
40
40
|
mime-types (~> 3.0)
|
|
41
41
|
multi_xml (>= 0.5.2)
|
|
42
|
-
i18n (1.
|
|
42
|
+
i18n (1.8.10)
|
|
43
43
|
concurrent-ruby (~> 1.0)
|
|
44
|
-
listen (3.
|
|
45
|
-
rb-fsevent (~> 0.
|
|
46
|
-
rb-inotify (~> 0.9, >= 0.9.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
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.
|
|
53
|
-
minitest (5.
|
|
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.
|
|
55
|
+
notiffany (0.1.3)
|
|
57
56
|
nenv (~> 0.1)
|
|
58
57
|
shellany (~> 0.0)
|
|
59
|
-
pry (0.
|
|
60
|
-
coderay (~> 1.1
|
|
61
|
-
method_source (~>
|
|
62
|
-
rake (
|
|
63
|
-
rb-fsevent (0.
|
|
64
|
-
rb-inotify (0.
|
|
65
|
-
ffi (
|
|
66
|
-
rspec (3.
|
|
67
|
-
rspec-core (~> 3.
|
|
68
|
-
rspec-expectations (~> 3.
|
|
69
|
-
rspec-mocks (~> 3.
|
|
70
|
-
rspec-core (3.
|
|
71
|
-
rspec-support (~> 3.
|
|
72
|
-
rspec-expectations (3.
|
|
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.
|
|
75
|
-
rspec-mocks (3.
|
|
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.
|
|
78
|
-
rspec-support (3.
|
|
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 (
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|
-
|
|
85
|
+
x86_64-darwin-20
|
|
89
86
|
|
|
90
87
|
DEPENDENCIES
|
|
91
|
-
bundler (~>
|
|
88
|
+
bundler (~> 2.2)
|
|
92
89
|
guard-rspec
|
|
93
|
-
rake (~>
|
|
90
|
+
rake (~> 13.0)
|
|
94
91
|
rspec (~> 3.0)
|
|
95
92
|
waves_ruby_client!
|
|
96
93
|
|
|
97
94
|
BUNDLED WITH
|
|
98
|
-
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
-
|
|
35
|
-
the matcher
|
|
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
|
-
|
|
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
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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.
|
|
116
|
-
=>
|
|
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(
|
|
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::
|
|
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
|
-
|
|
11
|
-
|
|
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:
|
|
14
|
-
price:
|
|
15
|
-
timestamp: Time.
|
|
16
|
-
amount:
|
|
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) }
|
|
@@ -4,13 +4,14 @@ module WavesRubyClient
|
|
|
4
4
|
# Access unconfirmed transactions
|
|
5
5
|
class Transaction
|
|
6
6
|
def self.unconfirmed
|
|
7
|
-
WavesRubyClient::Api.instance.
|
|
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
|
|
@@ -3,14 +3,20 @@
|
|
|
3
3
|
module WavesRubyClient
|
|
4
4
|
# get waves and btc balance
|
|
5
5
|
class Wallet
|
|
6
|
-
def self.
|
|
6
|
+
def self.balance_btc
|
|
7
7
|
WavesRubyClient.try_many_times do
|
|
8
|
-
url = ['/
|
|
9
|
-
WavesRubyClient::PRICE_ASSET.url_id
|
|
10
|
-
|
|
11
|
-
res
|
|
12
|
-
|
|
13
|
-
|
|
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
|
data/lib/waves_ruby_client.rb
CHANGED
|
@@ -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
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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(
|
|
56
|
+
sleep(1)
|
|
55
57
|
retry unless (tries -= 1).zero?
|
|
56
58
|
raise e
|
|
57
59
|
end
|
data/waves_ruby_client.gemspec
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
1
|
# frozen_string_literal: true
|
|
3
2
|
|
|
4
|
-
lib = File.expand_path('
|
|
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', '~>
|
|
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
|
+
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:
|
|
11
|
+
date: 2021-09-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name:
|
|
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:
|
|
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:
|
|
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: '
|
|
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: '
|
|
68
|
+
version: '2.2'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
|
-
name:
|
|
70
|
+
name: guard-rspec
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - "
|
|
73
|
+
- - ">="
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '
|
|
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: '
|
|
82
|
+
version: '0'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
|
-
name:
|
|
84
|
+
name: rake
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
87
|
- - "~>"
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '
|
|
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: '
|
|
96
|
+
version: '13.0'
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
|
-
name:
|
|
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.
|
|
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: []
|