coingecko_ruby 0.3.1 → 0.4.0

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.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/CHANGELOG.md +27 -0
  4. data/README.md +5 -5
  5. data/fixtures/vcr_cassettes/test_that_it_gets_a_specific_exchange_ticker_from_an_exchange.yml +70 -0
  6. data/fixtures/vcr_cassettes/test_that_it_gets_btc_to_eth_exchange_rate.yml +49 -0
  7. data/fixtures/vcr_cassettes/test_that_it_gets_btc_to_usd_exchange_rate.yml +49 -0
  8. data/fixtures/vcr_cassettes/test_that_it_gets_daily_historical_prices_for_one_coin.yml +49 -0
  9. data/fixtures/vcr_cassettes/test_that_it_gets_historical_price_for_one_coin_at_a_previous_date.yml +49 -0
  10. data/fixtures/vcr_cassettes/test_that_it_gets_hourly_historical_prices_for_one_coin.yml +49 -0
  11. data/fixtures/vcr_cassettes/test_that_it_gets_indexes_by_market_id_and_coin_id.yml +66 -0
  12. data/fixtures/vcr_cassettes/test_that_it_gets_last_7_days_exchange_volume_from_an_exchange.yml +49 -0
  13. data/fixtures/vcr_cassettes/test_that_it_gets_market_data_for_a_coin.yml +98 -0
  14. data/fixtures/vcr_cassettes/test_that_it_gets_market_data_for_a_coin_in_myr.yml +49 -0
  15. data/fixtures/vcr_cassettes/test_that_it_gets_market_data_for_multiple_coins_in_eth.yml +49 -0
  16. data/fixtures/vcr_cassettes/test_that_it_gets_minutely_historical_prices_for_one_coin.yml +49 -0
  17. data/fixtures/vcr_cassettes/test_that_it_gets_ohlc_data_for_one_coin_in_the_last_30_days_in_myr.yml +47 -0
  18. data/fixtures/vcr_cassettes/test_that_it_gets_ohlc_data_for_one_coin_in_the_last_7_days.yml +47 -0
  19. data/fixtures/vcr_cassettes/test_that_it_gets_price_for_one_coin.yml +49 -0
  20. data/fixtures/vcr_cassettes/test_that_it_gets_price_for_one_coin_in_a_different_currency.yml +49 -0
  21. data/lib/coingecko_ruby/client.rb +6 -0
  22. data/lib/coingecko_ruby/client/categories.rb +21 -6
  23. data/lib/coingecko_ruby/client/coins.rb +28 -15
  24. data/lib/coingecko_ruby/client/derivatives.rb +30 -9
  25. data/lib/coingecko_ruby/client/events.rb +21 -6
  26. data/lib/coingecko_ruby/client/exchanges.rb +45 -13
  27. data/lib/coingecko_ruby/client/finance.rb +14 -4
  28. data/lib/coingecko_ruby/client/indexes.rb +22 -7
  29. data/lib/coingecko_ruby/client/infos.rb +27 -8
  30. data/lib/coingecko_ruby/client/prices.rb +74 -30
  31. data/lib/coingecko_ruby/connection.rb +5 -9
  32. data/lib/coingecko_ruby/version.rb +1 -1
  33. metadata +3 -2
@@ -1,3 +1,3 @@
1
1
  module CoingeckoRuby
2
- VERSION = "0.3.1"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coingecko_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Foo Siang Sen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-05-18 00:00:00.000000000 Z
11
+ date: 2021-07-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: An easy-to-use client/wrapper for CoinGecko's crypto API. Get prices,
14
14
  exchanges, volume, and more without building your own API class.
@@ -52,6 +52,7 @@ files:
52
52
  - fixtures/vcr_cassettes/test_that_it_gets_historical_price_for_one_coin_at_a_previous_date.yml
53
53
  - fixtures/vcr_cassettes/test_that_it_gets_hourly_historical_prices_for_one_coin.yml
54
54
  - fixtures/vcr_cassettes/test_that_it_gets_indexes.yml
55
+ - fixtures/vcr_cassettes/test_that_it_gets_indexes_by_market_id_and_coin_id.yml
55
56
  - fixtures/vcr_cassettes/test_that_it_gets_indexes_by_market_id_and_index_id.yml
56
57
  - fixtures/vcr_cassettes/test_that_it_gets_indexes_ids.yml
57
58
  - fixtures/vcr_cassettes/test_that_it_gets_last_7_days_exchange_volume_from_an_exchange.yml