coinmarketcap.rb 0.6.2 → 0.6.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab3d042696a9e077079899528a5d3ff60dce12c03b9497e05dcdfa1971efedea
4
- data.tar.gz: f94173227e3a59e8c59e5f2e3e473e64ddce2cfefa91530bf555976f0f3b2704
3
+ metadata.gz: 7715a05ca881e9ffe124218a6d3cb22cac53f4d95d7a47f7adc3b9a5fcb43d61
4
+ data.tar.gz: efc3093a0ab80451fcc1fafa83c683053a669bc8a8a951243e6a6d7054178ae4
5
5
  SHA512:
6
- metadata.gz: db17fa2b0bfce99db445d4bb22a85f410a8218a311e59ac8bbf9b1489d2d6af0b082647fed300318fac4cf3826e64b91d693b4d80c3badb8cfce2393c56b0de5
7
- data.tar.gz: 1eae43388b3cbfa096459809cb4c1ae5bcfee0fd0984fa9fcf04ea8a0419efc0bd0756baf06a616f9c53cac1f4280fc834e3cc74a7dd48fc8a51b080acaef6a4
6
+ metadata.gz: bd1c6f08c038f5f08d555245578da44d708dac58c2dca0f74471627084e9cc819126d5c046f0578517a3e87db44df5c6a22abcafa8bd3b6fe904689e9d8f7360
7
+ data.tar.gz: acf0be31184db8545434caed2c292f3dbf32d0c4ddc6e67ae84b5934906a1852cc14f50650016a06ab001f5d971a40615d434c4cd3819f1997f18668222a87e9
data/README.md CHANGED
@@ -97,7 +97,7 @@ coinmarketcap_client.trending
97
97
 
98
98
  ## Contributing
99
99
 
100
- 1. Fork it ( https://github.com/thoran/eodhd.rb/fork )
100
+ 1. Fork it ( https://github.com/thoran/coinmarketcap.rb/fork )
101
101
  2. Create your feature branch (`git checkout -b my-new-feature`)
102
102
  3. Commit your changes (`git commit -am 'Add some feature'`)
103
103
  4. Push to the branch (`git push origin my-new-feature`)
@@ -2,5 +2,5 @@
2
2
  # CoinMarketCap::VERSION
3
3
 
4
4
  module CoinMarketCap
5
- VERSION = '0.6.2'
5
+ VERSION = '0.6.4'
6
6
  end
data/lib/CoinMarketCap.rb CHANGED
@@ -2,3 +2,4 @@
2
2
  # CoinMarketCap
3
3
 
4
4
  require_relative './CoinMarketCap/Client'
5
+ require_relative './CoinMarketCap/VERSION'
@@ -0,0 +1,21 @@
1
+ # test/VERSION_test.rb
2
+
3
+ require_relative './helper'
4
+ require_relative '../lib/CoinMarketCap'
5
+
6
+ describe CoinMarketCap do
7
+ describe "VERSION" do
8
+ it "is a string" do
9
+ _(CoinMarketCap::VERSION).must_be_instance_of String
10
+ end
11
+
12
+ it "is three numbers separated by dots" do
13
+ _(CoinMarketCap::VERSION).must_match(/\A\d+\.\d+\.\d+\z/)
14
+ end
15
+
16
+ it "matches the newest entry in the CHANGELOG" do
17
+ changelog = File.read(File.expand_path('../CHANGELOG', __dir__))
18
+ _(changelog[/^(\d+\.\d+\.\d+):/, 1]).must_equal CoinMarketCap::VERSION
19
+ end
20
+ end
21
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coinmarketcap.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoran
@@ -41,6 +41,7 @@ files:
41
41
  - lib/CoinMarketCap/VERSION.rb
42
42
  - test/V1/client_test.rb
43
43
  - test/V2/client_test.rb
44
+ - test/VERSION_test.rb
44
45
  - test/client_test.rb
45
46
  - test/helper.rb
46
47
  - test/test_all.rb