sky_api 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +190 -0
- data/Rakefile +10 -0
- data/docs/Address.md +17 -0
- data/docs/ApiV1PendingTxsTransaction.md +29 -0
- data/docs/ApiV1PendingTxsTransactionOutputs.md +23 -0
- data/docs/BlockSchema.md +21 -0
- data/docs/BlockSchemaBody.md +17 -0
- data/docs/BlockVerboseSchema.md +21 -0
- data/docs/BlockVerboseSchemaBody.md +17 -0
- data/docs/BlockVerboseSchemaHeader.md +31 -0
- data/docs/DefaultApi.md +2767 -0
- data/docs/InlineResponse200.md +17 -0
- data/docs/InlineResponse2001.md +17 -0
- data/docs/InlineResponse20010.md +25 -0
- data/docs/InlineResponse2002.md +29 -0
- data/docs/InlineResponse2003.md +17 -0
- data/docs/InlineResponse2004.md +17 -0
- data/docs/InlineResponse2005.md +21 -0
- data/docs/InlineResponse2006.md +17 -0
- data/docs/InlineResponse2007.md +17 -0
- data/docs/InlineResponse2008.md +17 -0
- data/docs/InlineResponse2008Data.md +17 -0
- data/docs/InlineResponse2009.md +17 -0
- data/docs/InlineResponseDefault.md +19 -0
- data/docs/NetworkConnectionSchema.md +41 -0
- data/docs/NetworkConnectionSchemaUnconfirmedVerifyTransaction.md +21 -0
- data/docs/Transaction.md +21 -0
- data/docs/TransactionEncoded.md +25 -0
- data/docs/TransactionEncodedS.md +21 -0
- data/docs/TransactionStatus.md +23 -0
- data/docs/TransactionTxn.md +31 -0
- data/docs/TransactionV2ParamsAddress.md +17 -0
- data/docs/TransactionV2ParamsAddressHoursSelection.md +17 -0
- data/docs/TransactionV2ParamsUnspent.md +23 -0
- data/docs/TransactionV2ParamsUnspentHoursSelection.md +21 -0
- data/docs/TransactionV2ParamsUnspentTo.md +19 -0
- data/docs/TransactionVerbose.md +21 -0
- data/docs/TransactionVerboseTxn.md +35 -0
- data/docs/TransactionVerboseTxnInputs.md +25 -0
- data/docs/TransactionVerifyRequest.md +19 -0
- data/docs/WalletTransactionRequest.md +25 -0
- data/docs/WalletTransactionRequestHoursSelection.md +21 -0
- data/docs/WalletTransactionRequestWallet.md +23 -0
- data/docs/WalletTransactionSignRequest.md +23 -0
- data/git_push.sh +55 -0
- data/lib/sky_api.rb +81 -0
- data/lib/sky_api/api/default_api.rb +3371 -0
- data/lib/sky_api/api_client.rb +387 -0
- data/lib/sky_api/api_error.rb +57 -0
- data/lib/sky_api/configuration.rb +259 -0
- data/lib/sky_api/models/address.rb +201 -0
- data/lib/sky_api/models/api_v1_pending_txs_transaction.rb +256 -0
- data/lib/sky_api/models/api_v1_pending_txs_transaction_outputs.rb +223 -0
- data/lib/sky_api/models/block_schema.rb +214 -0
- data/lib/sky_api/models/block_schema_body.rb +198 -0
- data/lib/sky_api/models/block_verbose_schema.rb +214 -0
- data/lib/sky_api/models/block_verbose_schema_body.rb +198 -0
- data/lib/sky_api/models/block_verbose_schema_header.rb +259 -0
- data/lib/sky_api/models/inline_response200.rb +196 -0
- data/lib/sky_api/models/inline_response2001.rb +198 -0
- data/lib/sky_api/models/inline_response20010.rb +232 -0
- data/lib/sky_api/models/inline_response2002.rb +261 -0
- data/lib/sky_api/models/inline_response2003.rb +196 -0
- data/lib/sky_api/models/inline_response2004.rb +198 -0
- data/lib/sky_api/models/inline_response2005.rb +217 -0
- data/lib/sky_api/models/inline_response2006.rb +198 -0
- data/lib/sky_api/models/inline_response2007.rb +196 -0
- data/lib/sky_api/models/inline_response2008.rb +196 -0
- data/lib/sky_api/models/inline_response2008_data.rb +196 -0
- data/lib/sky_api/models/inline_response2009.rb +196 -0
- data/lib/sky_api/models/inline_response_default.rb +205 -0
- data/lib/sky_api/models/network_connection_schema.rb +338 -0
- data/lib/sky_api/models/network_connection_schema_unconfirmed_verify_transaction.rb +215 -0
- data/lib/sky_api/models/transaction.rb +214 -0
- data/lib/sky_api/models/transaction_encoded.rb +232 -0
- data/lib/sky_api/models/transaction_encoded_s.rb +214 -0
- data/lib/sky_api/models/transaction_status.rb +225 -0
- data/lib/sky_api/models/transaction_txn.rb +266 -0
- data/lib/sky_api/models/transaction_v2_params_address.rb +196 -0
- data/lib/sky_api/models/transaction_v2_params_address_hours_selection.rb +196 -0
- data/lib/sky_api/models/transaction_v2_params_unspent.rb +227 -0
- data/lib/sky_api/models/transaction_v2_params_unspent_hours_selection.rb +214 -0
- data/lib/sky_api/models/transaction_v2_params_unspent_to.rb +205 -0
- data/lib/sky_api/models/transaction_verbose.rb +214 -0
- data/lib/sky_api/models/transaction_verbose_txn.rb +284 -0
- data/lib/sky_api/models/transaction_verbose_txn_inputs.rb +232 -0
- data/lib/sky_api/models/transaction_verify_request.rb +205 -0
- data/lib/sky_api/models/wallet_transaction_request.rb +234 -0
- data/lib/sky_api/models/wallet_transaction_request_hours_selection.rb +214 -0
- data/lib/sky_api/models/wallet_transaction_request_wallet.rb +227 -0
- data/lib/sky_api/models/wallet_transaction_sign_request.rb +225 -0
- data/lib/sky_api/version.rb +15 -0
- data/sky_api.gemspec +45 -0
- data/spec/api/default_api_spec.rb +652 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/address_spec.rb +41 -0
- data/spec/models/api_v1_pending_txs_transaction_outputs_spec.rb +59 -0
- data/spec/models/api_v1_pending_txs_transaction_spec.rb +77 -0
- data/spec/models/block_schema_body_spec.rb +41 -0
- data/spec/models/block_schema_spec.rb +53 -0
- data/spec/models/block_verbose_schema_body_spec.rb +41 -0
- data/spec/models/block_verbose_schema_header_spec.rb +83 -0
- data/spec/models/block_verbose_schema_spec.rb +53 -0
- data/spec/models/inline_response20010_spec.rb +65 -0
- data/spec/models/inline_response2001_spec.rb +41 -0
- data/spec/models/inline_response2002_spec.rb +77 -0
- data/spec/models/inline_response2003_spec.rb +41 -0
- data/spec/models/inline_response2004_spec.rb +41 -0
- data/spec/models/inline_response2005_spec.rb +53 -0
- data/spec/models/inline_response2006_spec.rb +41 -0
- data/spec/models/inline_response2007_spec.rb +41 -0
- data/spec/models/inline_response2008_data_spec.rb +41 -0
- data/spec/models/inline_response2008_spec.rb +41 -0
- data/spec/models/inline_response2009_spec.rb +41 -0
- data/spec/models/inline_response200_spec.rb +41 -0
- data/spec/models/inline_response_default_spec.rb +47 -0
- data/spec/models/network_connection_schema_spec.rb +117 -0
- data/spec/models/network_connection_schema_unconfirmed_verify_transaction_spec.rb +53 -0
- data/spec/models/transaction_encoded_s_spec.rb +53 -0
- data/spec/models/transaction_encoded_spec.rb +65 -0
- data/spec/models/transaction_spec.rb +53 -0
- data/spec/models/transaction_status_spec.rb +59 -0
- data/spec/models/transaction_txn_spec.rb +83 -0
- data/spec/models/transaction_v2_params_address_hours_selection_spec.rb +41 -0
- data/spec/models/transaction_v2_params_address_spec.rb +41 -0
- data/spec/models/transaction_v2_params_unspent_hours_selection_spec.rb +53 -0
- data/spec/models/transaction_v2_params_unspent_spec.rb +59 -0
- data/spec/models/transaction_v2_params_unspent_to_spec.rb +47 -0
- data/spec/models/transaction_verbose_spec.rb +53 -0
- data/spec/models/transaction_verbose_txn_inputs_spec.rb +65 -0
- data/spec/models/transaction_verbose_txn_spec.rb +95 -0
- data/spec/models/transaction_verify_request_spec.rb +47 -0
- data/spec/models/wallet_transaction_request_hours_selection_spec.rb +53 -0
- data/spec/models/wallet_transaction_request_spec.rb +65 -0
- data/spec/models/wallet_transaction_request_wallet_spec.rb +59 -0
- data/spec/models/wallet_transaction_sign_request_spec.rb +59 -0
- data/spec/spec_helper.rb +111 -0
- metadata +407 -0
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
#Skycoin REST API.
|
3
|
+
|
4
|
+
#Skycoin is a next-generation cryptocurrency.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.26.0
|
7
|
+
Contact: contact@skycoin.net
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SkyApi::WalletTransactionRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WalletTransactionRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SkyApi::WalletTransactionRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WalletTransactionRequest' do
|
31
|
+
it 'should create an instance of WalletTransactionRequest' do
|
32
|
+
expect(@instance).to be_instance_of(SkyApi::WalletTransactionRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "change_address"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "hours_selection"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "ignore_unconfirmed"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "to"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "wallet"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Skycoin REST API.
|
3
|
+
|
4
|
+
#Skycoin is a next-generation cryptocurrency.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.26.0
|
7
|
+
Contact: contact@skycoin.net
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SkyApi::WalletTransactionRequestWallet
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WalletTransactionRequestWallet' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SkyApi::WalletTransactionRequestWallet.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WalletTransactionRequestWallet' do
|
31
|
+
it 'should create an instance of WalletTransactionRequestWallet' do
|
32
|
+
expect(@instance).to be_instance_of(SkyApi::WalletTransactionRequestWallet)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "addresses"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "id"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "password"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "unspents"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Skycoin REST API.
|
3
|
+
|
4
|
+
#Skycoin is a next-generation cryptocurrency.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.26.0
|
7
|
+
Contact: contact@skycoin.net
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for SkyApi::WalletTransactionSignRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'WalletTransactionSignRequest' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = SkyApi::WalletTransactionSignRequest.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of WalletTransactionSignRequest' do
|
31
|
+
it 'should create an instance of WalletTransactionSignRequest' do
|
32
|
+
expect(@instance).to be_instance_of(SkyApi::WalletTransactionSignRequest)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "wallet_id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "password"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "encoded_transaction"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "sign_indexes"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
=begin
|
2
|
+
#Skycoin REST API.
|
3
|
+
|
4
|
+
#Skycoin is a next-generation cryptocurrency.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.26.0
|
7
|
+
Contact: contact@skycoin.net
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.0.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
# load the gem
|
14
|
+
require 'sky_api'
|
15
|
+
|
16
|
+
# The following was generated by the `rspec --init` command. Conventionally, all
|
17
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
18
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
19
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
20
|
+
# files.
|
21
|
+
#
|
22
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
23
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
24
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
25
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
26
|
+
# a separate helper file that requires the additional dependencies and performs
|
27
|
+
# the additional setup, and require it from the spec files that actually need
|
28
|
+
# it.
|
29
|
+
#
|
30
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
31
|
+
# users commonly want.
|
32
|
+
#
|
33
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
34
|
+
RSpec.configure do |config|
|
35
|
+
# rspec-expectations config goes here. You can use an alternate
|
36
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
37
|
+
# assertions if you prefer.
|
38
|
+
config.expect_with :rspec do |expectations|
|
39
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
40
|
+
# and `failure_message` of custom matchers include text for helper methods
|
41
|
+
# defined using `chain`, e.g.:
|
42
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
43
|
+
# # => "be bigger than 2 and smaller than 4"
|
44
|
+
# ...rather than:
|
45
|
+
# # => "be bigger than 2"
|
46
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
47
|
+
end
|
48
|
+
|
49
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
50
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
51
|
+
config.mock_with :rspec do |mocks|
|
52
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
53
|
+
# a real object. This is generally recommended, and will default to
|
54
|
+
# `true` in RSpec 4.
|
55
|
+
mocks.verify_partial_doubles = true
|
56
|
+
end
|
57
|
+
|
58
|
+
# The settings below are suggested to provide a good initial experience
|
59
|
+
# with RSpec, but feel free to customize to your heart's content.
|
60
|
+
=begin
|
61
|
+
# These two settings work together to allow you to limit a spec run
|
62
|
+
# to individual examples or groups you care about by tagging them with
|
63
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
64
|
+
# get run.
|
65
|
+
config.filter_run :focus
|
66
|
+
config.run_all_when_everything_filtered = true
|
67
|
+
|
68
|
+
# Allows RSpec to persist some state between runs in order to support
|
69
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
70
|
+
# you configure your source control system to ignore this file.
|
71
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
72
|
+
|
73
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
74
|
+
# recommended. For more details, see:
|
75
|
+
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
76
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
77
|
+
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
78
|
+
config.disable_monkey_patching!
|
79
|
+
|
80
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
81
|
+
# be too noisy due to issues in dependencies.
|
82
|
+
config.warnings = true
|
83
|
+
|
84
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
85
|
+
# file, and it's useful to allow more verbose output when running an
|
86
|
+
# individual spec file.
|
87
|
+
if config.files_to_run.one?
|
88
|
+
# Use the documentation formatter for detailed output,
|
89
|
+
# unless a formatter has already been configured
|
90
|
+
# (e.g. via a command-line flag).
|
91
|
+
config.default_formatter = 'doc'
|
92
|
+
end
|
93
|
+
|
94
|
+
# Print the 10 slowest examples and example groups at the
|
95
|
+
# end of the spec run, to help surface which specs are running
|
96
|
+
# particularly slow.
|
97
|
+
config.profile_examples = 10
|
98
|
+
|
99
|
+
# Run specs in random order to surface order dependencies. If you find an
|
100
|
+
# order dependency and want to debug it, you can fix the order by providing
|
101
|
+
# the seed, which is printed after each run.
|
102
|
+
# --seed 1234
|
103
|
+
config.order = :random
|
104
|
+
|
105
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
106
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
107
|
+
# test failures related to randomization by passing the same `--seed` value
|
108
|
+
# as the one that triggered the failure.
|
109
|
+
Kernel.srand config.seed
|
110
|
+
=end
|
111
|
+
end
|
metadata
ADDED
@@ -0,0 +1,407 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sky_api
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.26.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- OpenAPI-Generator
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-07-24 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: typhoeus
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.0.1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.0'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 1.0.1
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: json
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 2.1.0
|
40
|
+
- - "~>"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '2.1'
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 2.1.0
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '2.1'
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: rspec
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: 3.6.0
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '3.6'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 3.6.0
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '3.6'
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: vcr
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - "~>"
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '3.0'
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 3.0.1
|
83
|
+
type: :development
|
84
|
+
prerelease: false
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '3.0'
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: 3.0.1
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: webmock
|
95
|
+
requirement: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '1.24'
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: 1.24.3
|
103
|
+
type: :development
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.24'
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: 1.24.3
|
113
|
+
- !ruby/object:Gem::Dependency
|
114
|
+
name: autotest
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - "~>"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '4.4'
|
120
|
+
- - ">="
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: 4.4.6
|
123
|
+
type: :development
|
124
|
+
prerelease: false
|
125
|
+
version_requirements: !ruby/object:Gem::Requirement
|
126
|
+
requirements:
|
127
|
+
- - "~>"
|
128
|
+
- !ruby/object:Gem::Version
|
129
|
+
version: '4.4'
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: 4.4.6
|
133
|
+
- !ruby/object:Gem::Dependency
|
134
|
+
name: autotest-rails-pure
|
135
|
+
requirement: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - "~>"
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '4.1'
|
140
|
+
- - ">="
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: 4.1.2
|
143
|
+
type: :development
|
144
|
+
prerelease: false
|
145
|
+
version_requirements: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - "~>"
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '4.1'
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 4.1.2
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: autotest-growl
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - "~>"
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0.2'
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: 0.2.16
|
163
|
+
type: :development
|
164
|
+
prerelease: false
|
165
|
+
version_requirements: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - "~>"
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: '0.2'
|
170
|
+
- - ">="
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: 0.2.16
|
173
|
+
- !ruby/object:Gem::Dependency
|
174
|
+
name: autotest-fsevent
|
175
|
+
requirement: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - "~>"
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0.2'
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: 0.2.12
|
183
|
+
type: :development
|
184
|
+
prerelease: false
|
185
|
+
version_requirements: !ruby/object:Gem::Requirement
|
186
|
+
requirements:
|
187
|
+
- - "~>"
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0.2'
|
190
|
+
- - ">="
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: 0.2.12
|
193
|
+
description: Skycoin is a next-generation cryptocurrency.
|
194
|
+
email:
|
195
|
+
- contact@skycoin.net
|
196
|
+
executables: []
|
197
|
+
extensions: []
|
198
|
+
extra_rdoc_files: []
|
199
|
+
files:
|
200
|
+
- Gemfile
|
201
|
+
- README.md
|
202
|
+
- Rakefile
|
203
|
+
- docs/Address.md
|
204
|
+
- docs/ApiV1PendingTxsTransaction.md
|
205
|
+
- docs/ApiV1PendingTxsTransactionOutputs.md
|
206
|
+
- docs/BlockSchema.md
|
207
|
+
- docs/BlockSchemaBody.md
|
208
|
+
- docs/BlockVerboseSchema.md
|
209
|
+
- docs/BlockVerboseSchemaBody.md
|
210
|
+
- docs/BlockVerboseSchemaHeader.md
|
211
|
+
- docs/DefaultApi.md
|
212
|
+
- docs/InlineResponse200.md
|
213
|
+
- docs/InlineResponse2001.md
|
214
|
+
- docs/InlineResponse20010.md
|
215
|
+
- docs/InlineResponse2002.md
|
216
|
+
- docs/InlineResponse2003.md
|
217
|
+
- docs/InlineResponse2004.md
|
218
|
+
- docs/InlineResponse2005.md
|
219
|
+
- docs/InlineResponse2006.md
|
220
|
+
- docs/InlineResponse2007.md
|
221
|
+
- docs/InlineResponse2008.md
|
222
|
+
- docs/InlineResponse2008Data.md
|
223
|
+
- docs/InlineResponse2009.md
|
224
|
+
- docs/InlineResponseDefault.md
|
225
|
+
- docs/NetworkConnectionSchema.md
|
226
|
+
- docs/NetworkConnectionSchemaUnconfirmedVerifyTransaction.md
|
227
|
+
- docs/Transaction.md
|
228
|
+
- docs/TransactionEncoded.md
|
229
|
+
- docs/TransactionEncodedS.md
|
230
|
+
- docs/TransactionStatus.md
|
231
|
+
- docs/TransactionTxn.md
|
232
|
+
- docs/TransactionV2ParamsAddress.md
|
233
|
+
- docs/TransactionV2ParamsAddressHoursSelection.md
|
234
|
+
- docs/TransactionV2ParamsUnspent.md
|
235
|
+
- docs/TransactionV2ParamsUnspentHoursSelection.md
|
236
|
+
- docs/TransactionV2ParamsUnspentTo.md
|
237
|
+
- docs/TransactionVerbose.md
|
238
|
+
- docs/TransactionVerboseTxn.md
|
239
|
+
- docs/TransactionVerboseTxnInputs.md
|
240
|
+
- docs/TransactionVerifyRequest.md
|
241
|
+
- docs/WalletTransactionRequest.md
|
242
|
+
- docs/WalletTransactionRequestHoursSelection.md
|
243
|
+
- docs/WalletTransactionRequestWallet.md
|
244
|
+
- docs/WalletTransactionSignRequest.md
|
245
|
+
- git_push.sh
|
246
|
+
- lib/sky_api.rb
|
247
|
+
- lib/sky_api/api/default_api.rb
|
248
|
+
- lib/sky_api/api_client.rb
|
249
|
+
- lib/sky_api/api_error.rb
|
250
|
+
- lib/sky_api/configuration.rb
|
251
|
+
- lib/sky_api/models/address.rb
|
252
|
+
- lib/sky_api/models/api_v1_pending_txs_transaction.rb
|
253
|
+
- lib/sky_api/models/api_v1_pending_txs_transaction_outputs.rb
|
254
|
+
- lib/sky_api/models/block_schema.rb
|
255
|
+
- lib/sky_api/models/block_schema_body.rb
|
256
|
+
- lib/sky_api/models/block_verbose_schema.rb
|
257
|
+
- lib/sky_api/models/block_verbose_schema_body.rb
|
258
|
+
- lib/sky_api/models/block_verbose_schema_header.rb
|
259
|
+
- lib/sky_api/models/inline_response200.rb
|
260
|
+
- lib/sky_api/models/inline_response2001.rb
|
261
|
+
- lib/sky_api/models/inline_response20010.rb
|
262
|
+
- lib/sky_api/models/inline_response2002.rb
|
263
|
+
- lib/sky_api/models/inline_response2003.rb
|
264
|
+
- lib/sky_api/models/inline_response2004.rb
|
265
|
+
- lib/sky_api/models/inline_response2005.rb
|
266
|
+
- lib/sky_api/models/inline_response2006.rb
|
267
|
+
- lib/sky_api/models/inline_response2007.rb
|
268
|
+
- lib/sky_api/models/inline_response2008.rb
|
269
|
+
- lib/sky_api/models/inline_response2008_data.rb
|
270
|
+
- lib/sky_api/models/inline_response2009.rb
|
271
|
+
- lib/sky_api/models/inline_response_default.rb
|
272
|
+
- lib/sky_api/models/network_connection_schema.rb
|
273
|
+
- lib/sky_api/models/network_connection_schema_unconfirmed_verify_transaction.rb
|
274
|
+
- lib/sky_api/models/transaction.rb
|
275
|
+
- lib/sky_api/models/transaction_encoded.rb
|
276
|
+
- lib/sky_api/models/transaction_encoded_s.rb
|
277
|
+
- lib/sky_api/models/transaction_status.rb
|
278
|
+
- lib/sky_api/models/transaction_txn.rb
|
279
|
+
- lib/sky_api/models/transaction_v2_params_address.rb
|
280
|
+
- lib/sky_api/models/transaction_v2_params_address_hours_selection.rb
|
281
|
+
- lib/sky_api/models/transaction_v2_params_unspent.rb
|
282
|
+
- lib/sky_api/models/transaction_v2_params_unspent_hours_selection.rb
|
283
|
+
- lib/sky_api/models/transaction_v2_params_unspent_to.rb
|
284
|
+
- lib/sky_api/models/transaction_verbose.rb
|
285
|
+
- lib/sky_api/models/transaction_verbose_txn.rb
|
286
|
+
- lib/sky_api/models/transaction_verbose_txn_inputs.rb
|
287
|
+
- lib/sky_api/models/transaction_verify_request.rb
|
288
|
+
- lib/sky_api/models/wallet_transaction_request.rb
|
289
|
+
- lib/sky_api/models/wallet_transaction_request_hours_selection.rb
|
290
|
+
- lib/sky_api/models/wallet_transaction_request_wallet.rb
|
291
|
+
- lib/sky_api/models/wallet_transaction_sign_request.rb
|
292
|
+
- lib/sky_api/version.rb
|
293
|
+
- sky_api.gemspec
|
294
|
+
- spec/api/default_api_spec.rb
|
295
|
+
- spec/api_client_spec.rb
|
296
|
+
- spec/configuration_spec.rb
|
297
|
+
- spec/models/address_spec.rb
|
298
|
+
- spec/models/api_v1_pending_txs_transaction_outputs_spec.rb
|
299
|
+
- spec/models/api_v1_pending_txs_transaction_spec.rb
|
300
|
+
- spec/models/block_schema_body_spec.rb
|
301
|
+
- spec/models/block_schema_spec.rb
|
302
|
+
- spec/models/block_verbose_schema_body_spec.rb
|
303
|
+
- spec/models/block_verbose_schema_header_spec.rb
|
304
|
+
- spec/models/block_verbose_schema_spec.rb
|
305
|
+
- spec/models/inline_response20010_spec.rb
|
306
|
+
- spec/models/inline_response2001_spec.rb
|
307
|
+
- spec/models/inline_response2002_spec.rb
|
308
|
+
- spec/models/inline_response2003_spec.rb
|
309
|
+
- spec/models/inline_response2004_spec.rb
|
310
|
+
- spec/models/inline_response2005_spec.rb
|
311
|
+
- spec/models/inline_response2006_spec.rb
|
312
|
+
- spec/models/inline_response2007_spec.rb
|
313
|
+
- spec/models/inline_response2008_data_spec.rb
|
314
|
+
- spec/models/inline_response2008_spec.rb
|
315
|
+
- spec/models/inline_response2009_spec.rb
|
316
|
+
- spec/models/inline_response200_spec.rb
|
317
|
+
- spec/models/inline_response_default_spec.rb
|
318
|
+
- spec/models/network_connection_schema_spec.rb
|
319
|
+
- spec/models/network_connection_schema_unconfirmed_verify_transaction_spec.rb
|
320
|
+
- spec/models/transaction_encoded_s_spec.rb
|
321
|
+
- spec/models/transaction_encoded_spec.rb
|
322
|
+
- spec/models/transaction_spec.rb
|
323
|
+
- spec/models/transaction_status_spec.rb
|
324
|
+
- spec/models/transaction_txn_spec.rb
|
325
|
+
- spec/models/transaction_v2_params_address_hours_selection_spec.rb
|
326
|
+
- spec/models/transaction_v2_params_address_spec.rb
|
327
|
+
- spec/models/transaction_v2_params_unspent_hours_selection_spec.rb
|
328
|
+
- spec/models/transaction_v2_params_unspent_spec.rb
|
329
|
+
- spec/models/transaction_v2_params_unspent_to_spec.rb
|
330
|
+
- spec/models/transaction_verbose_spec.rb
|
331
|
+
- spec/models/transaction_verbose_txn_inputs_spec.rb
|
332
|
+
- spec/models/transaction_verbose_txn_spec.rb
|
333
|
+
- spec/models/transaction_verify_request_spec.rb
|
334
|
+
- spec/models/wallet_transaction_request_hours_selection_spec.rb
|
335
|
+
- spec/models/wallet_transaction_request_spec.rb
|
336
|
+
- spec/models/wallet_transaction_request_wallet_spec.rb
|
337
|
+
- spec/models/wallet_transaction_sign_request_spec.rb
|
338
|
+
- spec/spec_helper.rb
|
339
|
+
homepage: https://openapi-generator.tech
|
340
|
+
licenses:
|
341
|
+
- Unlicense
|
342
|
+
metadata: {}
|
343
|
+
post_install_message:
|
344
|
+
rdoc_options: []
|
345
|
+
require_paths:
|
346
|
+
- lib
|
347
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
348
|
+
requirements:
|
349
|
+
- - ">="
|
350
|
+
- !ruby/object:Gem::Version
|
351
|
+
version: '1.9'
|
352
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
353
|
+
requirements:
|
354
|
+
- - ">="
|
355
|
+
- !ruby/object:Gem::Version
|
356
|
+
version: '0'
|
357
|
+
requirements: []
|
358
|
+
rubygems_version: 3.0.4
|
359
|
+
signing_key:
|
360
|
+
specification_version: 4
|
361
|
+
summary: Skycoin REST API. Ruby Gem
|
362
|
+
test_files:
|
363
|
+
- spec/api/default_api_spec.rb
|
364
|
+
- spec/api_client_spec.rb
|
365
|
+
- spec/configuration_spec.rb
|
366
|
+
- spec/models/inline_response2006_spec.rb
|
367
|
+
- spec/models/address_spec.rb
|
368
|
+
- spec/models/api_v1_pending_txs_transaction_outputs_spec.rb
|
369
|
+
- spec/models/api_v1_pending_txs_transaction_spec.rb
|
370
|
+
- spec/models/block_schema_body_spec.rb
|
371
|
+
- spec/models/block_schema_spec.rb
|
372
|
+
- spec/models/block_verbose_schema_body_spec.rb
|
373
|
+
- spec/models/block_verbose_schema_header_spec.rb
|
374
|
+
- spec/models/block_verbose_schema_spec.rb
|
375
|
+
- spec/models/inline_response20010_spec.rb
|
376
|
+
- spec/models/inline_response2001_spec.rb
|
377
|
+
- spec/models/inline_response2002_spec.rb
|
378
|
+
- spec/models/inline_response2003_spec.rb
|
379
|
+
- spec/models/inline_response2004_spec.rb
|
380
|
+
- spec/models/inline_response2005_spec.rb
|
381
|
+
- spec/models/inline_response2007_spec.rb
|
382
|
+
- spec/models/inline_response2008_data_spec.rb
|
383
|
+
- spec/models/inline_response2008_spec.rb
|
384
|
+
- spec/models/inline_response2009_spec.rb
|
385
|
+
- spec/models/inline_response200_spec.rb
|
386
|
+
- spec/models/inline_response_default_spec.rb
|
387
|
+
- spec/models/network_connection_schema_spec.rb
|
388
|
+
- spec/models/network_connection_schema_unconfirmed_verify_transaction_spec.rb
|
389
|
+
- spec/models/transaction_encoded_spec.rb
|
390
|
+
- spec/models/transaction_encoded_s_spec.rb
|
391
|
+
- spec/models/transaction_spec.rb
|
392
|
+
- spec/models/transaction_status_spec.rb
|
393
|
+
- spec/models/transaction_txn_spec.rb
|
394
|
+
- spec/models/transaction_v2_params_address_hours_selection_spec.rb
|
395
|
+
- spec/models/transaction_v2_params_address_spec.rb
|
396
|
+
- spec/models/transaction_v2_params_unspent_hours_selection_spec.rb
|
397
|
+
- spec/models/transaction_v2_params_unspent_spec.rb
|
398
|
+
- spec/models/transaction_v2_params_unspent_to_spec.rb
|
399
|
+
- spec/models/transaction_verbose_spec.rb
|
400
|
+
- spec/models/transaction_verbose_txn_inputs_spec.rb
|
401
|
+
- spec/models/transaction_verbose_txn_spec.rb
|
402
|
+
- spec/models/transaction_verify_request_spec.rb
|
403
|
+
- spec/models/wallet_transaction_request_hours_selection_spec.rb
|
404
|
+
- spec/models/wallet_transaction_request_spec.rb
|
405
|
+
- spec/models/wallet_transaction_request_wallet_spec.rb
|
406
|
+
- spec/models/wallet_transaction_sign_request_spec.rb
|
407
|
+
- spec/spec_helper.rb
|