coinmarketcap.rb 0.6.4 → 0.6.6

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: 7715a05ca881e9ffe124218a6d3cb22cac53f4d95d7a47f7adc3b9a5fcb43d61
4
- data.tar.gz: efc3093a0ab80451fcc1fafa83c683053a669bc8a8a951243e6a6d7054178ae4
3
+ metadata.gz: 4e304744cd73806eef54a4dd9a00350470d3dd9f7c4cbc1c039fbc812e92e9ac
4
+ data.tar.gz: 59f4be2c324ccc04d1da26357750a69ec78844413f27bae7d9d8967ae3d3e9d6
5
5
  SHA512:
6
- metadata.gz: bd1c6f08c038f5f08d555245578da44d708dac58c2dca0f74471627084e9cc819126d5c046f0578517a3e87db44df5c6a22abcafa8bd3b6fe904689e9d8f7360
7
- data.tar.gz: acf0be31184db8545434caed2c292f3dbf32d0c4ddc6e67ae84b5934906a1852cc14f50650016a06ab001f5d971a40615d434c4cd3819f1997f18668222a87e9
6
+ metadata.gz: 1157e440851678af2051b75f6ae314c748a96bf5925031f8d42377676c8e5d59a47de4bde1e0327c3734b8da5ec580f7d60edbe80b4c0ca3104e24f4673976ac
7
+ data.tar.gz: bb8db51e99b0ce9d6de97e7321f79292134bebce59f780d22a7ff4d136763db814ac33e05a64c64e846008a1ea9d840ac71b8aa7c934883329cd822bc11d209b
data/CHANGELOG ADDED
@@ -0,0 +1,129 @@
1
+ # coinmarketcap/CHANGELOG
2
+
3
+ ## 20260919
4
+
5
+ 0.6.6: Clean up remaining rename items.
6
+
7
+ 1. ~ CHANGELOG: /# coinmarketcap.rb\/CHANGELOG/# coinmarketcap\/CHANGELOG/
8
+ 2. ~ README.md: /coinmarketcap.rb/coinmarketcap/
9
+ 3. ~ CHANGELOG: - the one item which recorded no change, the numbering closed up behind it.
10
+ 4. ~ coinmarketcap.rb.gemspec: + 'CHANGELOG' to spec.files, without which the file sits in the repository and never reaches anyone who installs the gem.
11
+ 5. ~ CoinMarketCap::VERSION: /0.6.5/0.6.6/
12
+
13
+ ## 20260915
14
+
15
+ 0.6.5: /thoran\/coinmarketcap.rb/thoran\/coinmarketcap/, the repository renamed.
16
+
17
+ 1. ~ coinmarketcap.rb.gemspec: spec.homepage.
18
+ 2. ~ README.md: the fork URL, which 0.6.4 corrected and which follows the rename now.
19
+ 3. ~ CoinMarketCap::VERSION: /0.6.4/0.6.5/
20
+
21
+ 0.6.4: Rewrite the CHANGELOG in the standard form, and the README's fork URL, which named another project.
22
+
23
+ 1. ~ CHANGELOG.txt --> CHANGELOG, as every other gem here spells it; + the title, + ## before each date, + a blank line between each summary and its first item. No item is reworded, dropped or reordered.
24
+ 2. ~ test/VERSION_test.rb: /CHANGELOG.txt/CHANGELOG/. It reads the file by name, so the rename alone left it erroring upon a path which no longer exists.
25
+ 3. ~ CHANGELOG: /202503030/20250330/, nine digits where eight belong. 0.4.1 was committed 20250330, and the heading sits between 20250307 and 20250513, which agrees.
26
+ 4. ~ README.md: the fork URL named another repository, having been copied from it, so it sent anyone following it to the wrong project.
27
+ 5. ~ CoinMarketCap::VERSION: /0.6.3/0.6.4/
28
+
29
+
30
+ ## 20260910
31
+
32
+ 0.6.3: ~ lib/CoinMarketCap.rb: + require_relative './CoinMarketCap/VERSION'; + test/VERSION_test.rb
33
+
34
+ 1. ~ lib/CoinMarketCap.rb: + `require_relative './CoinMarketCap/VERSION'`, last among the requires. The file has been present and unreached, so `require 'coinmarketcap.rb'` left CoinMarketCap::VERSION undefined and the gemspec was the only thing loading it.
35
+ 2. + test/VERSION_test.rb: that CoinMarketCap::VERSION is a string, that it is three numbers separated by dots, and that it matches the newest entry in the changelog.
36
+ 3. ~ CoinMarketCap::VERSION: /0.6.2/0.6.3/
37
+
38
+
39
+ ## 20260822
40
+
41
+ 0.6.2: + LICENSE, which the gemspec has claimed without one being present.
42
+
43
+ 1. + LICENSE: the MIT text, copyright 2025-2026 thoran. The gemspec has declared MIT while the repository carried no licence text at all.
44
+ 2. ~ coinmarketcap.rb.gemspec: + 'LICENSE' to spec.files, so the gem carries what the declaration claims.
45
+ 3. ~ README.md: + License
46
+ 4. ~ CoinMarketCap::VERSION: /0.6.1/0.6.2/
47
+
48
+ 0.6.1: ~ CoinMarketCap::Client: + /v1/exchange
49
+
50
+ 1. + CoinMarketCap::Client#exchange_assets
51
+ 2. + CoinMarketCap::Client#exchange_info
52
+ 3. + CoinMarketCap::Client#exchange_map
53
+ 4. + CoinMarketCap::Client#exchange_listings_latest
54
+ 5. + CoinMarketCap::Client#exchange_market_pairs_latest
55
+ 6. + CoinMarketCap::Client#exchange_quotes
56
+
57
+ 0.6.0: + /v1/exchange
58
+
59
+ 1. + CoinMarketCap::V1::Client#exchange_assets
60
+ 2. + CoinMarketCap::V1::Client#exchange_info
61
+ 3. + CoinMarketCap::V1::Client#exchange_map
62
+ 4. + CoinMarketCap::V1::Client#exchange_listings_latest
63
+ 5. + CoinMarketCap::V1::Client#exchange_market_pairs_latest
64
+ 6. + CoinMarketCap::V1::Client#exchange_quotes_historical
65
+ 7. + CoinMarketCap::V1::Client#exchange_quotes_latest
66
+
67
+
68
+ ## 20250513
69
+
70
+ 0.5.0: Add arguments to latest_listings() in main, listings_latest() in V1, and market_pairs_latest() in V2.
71
+
72
+ 1. ~ CoinMarketCap::Client#latest_listings: + args
73
+ 2. ~ CoinMarketCap::V1::Client#listings_latest: + args
74
+ 3. ~ CoinMarketCap::V2::Client#market_pairs_latest: + args
75
+ 4. ~ Update tests to reflect the aforementioned addition of arguments.
76
+ 5. ~ README.md: Tiny edit.
77
+ 6. ~ Gemfile; "gem 'webmock'" was missing.
78
+
79
+
80
+ ## 20250330
81
+
82
+ 0.4.1: Finish reordering CoinMarketCap::Client methods alphabetically; + test/test_all.rb to run all tests.
83
+
84
+ 1. ~ CoinMarketCap::Client: Finish reordering of methods alphabetically.
85
+ 2. + test/test_all.rb
86
+
87
+ 0.4.0: Gemified, some interface tweaks, and a README.
88
+
89
+ 1. + CoinMarketCap::VERSION
90
+ 2. + coinmarketcap.gemspec
91
+ 3. + README.md
92
+ 4. ~ CoinMarketCap::Client: Change interface names to be even more consistent and readable
93
+ 5. ~ test/client_test.rb: Accommodate interface name changes.
94
+
95
+
96
+ ## 20250307
97
+
98
+ 0.3.0: Complete V1 and V2 cryptocurrency endpoints. (Still need to add more arguments than id though...)
99
+
100
+ 1. ~ CoinMarketCap::Client: Add remaining endpoints, but having a single plural endpoint for some.
101
+ 2. ~ CoinMarketCap::V1::Client: Add remaining endpoints.
102
+ 3. ~ CoinMarketCap::V2::Client: Add remaining endpoints.
103
+ 4. + gem 'minitest-spec-context'
104
+ 5. ~ test/helper.rb: + api_key(), so as to be able to switch between real and mock keys.
105
+ 6. ~ test/V1/client_test.rb: Add remaining endpoint tests.
106
+ 7. ~ test/V2/client_test.rb: Add remaining endpoint tests.
107
+ 8. ~ test/client_test.rb: Add newly covered endpoint tests.
108
+
109
+
110
+ ## 20250305
111
+
112
+ 0.2.2: Introduce VCR gem for testing.
113
+
114
+ 1. + gem 'vcr'
115
+ 2. + test/helper.rb
116
+ 3. ~ test/V1/client_test.rb: Use VCR.
117
+ 4. ~ test/V2/client_test.rb: Use VCR.
118
+ 5. ~ test/client_test.rb: Use VCR.
119
+
120
+ 0.2.1: Refactor with common methods placed in a module.
121
+
122
+ 1. + CoinMarketCap::Common
123
+ 2. ~ CoinMarketCap::V1::Client: Use CoinMarketCap::Common.
124
+ 3. ~ CoinMarketCap::V2::Client: Use CoinMarketCap::Common.
125
+
126
+ 0.2.0: Introduce V2 endpoints.
127
+
128
+ 1. + CoinMarketCap::V2::Client
129
+ 2. + CoinMarketCap::Client (One which isn't just a sub-class of V1 or V2.)
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # coinmarketcap.rb
1
+ # coinmarketcap
2
2
 
3
3
  ## Description
4
4
 
@@ -97,7 +97,7 @@ coinmarketcap_client.trending
97
97
 
98
98
  ## Contributing
99
99
 
100
- 1. Fork it ( https://github.com/thoran/coinmarketcap.rb/fork )
100
+ 1. Fork it ( https://github.com/thoran/coinmarketcap/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`)
@@ -1,3 +1,5 @@
1
+ # coinmarketcap.rb.gemspec
2
+
1
3
  require_relative './lib/CoinMarketCap/VERSION'
2
4
 
3
5
  Gem::Specification.new do |spec|
@@ -9,19 +11,20 @@ Gem::Specification.new do |spec|
9
11
 
10
12
  spec.author = 'thoran'
11
13
  spec.email = 'code@thoran.com'
12
- spec.homepage = 'http://github.com/thoran/coinmarketcap.rb'
14
+ spec.homepage = 'http://github.com/thoran/coinmarketcap'
13
15
  spec.license = 'Ruby'
14
16
 
15
17
  spec.required_ruby_version = '>= 2.7'
18
+ spec.require_paths = ['lib']
16
19
 
17
20
  spec.add_dependency('http.rb')
18
21
  spec.files = [
19
22
  'coinmarketcap.rb.gemspec',
23
+ Dir['lib/**/*.rb'],
24
+ Dir['test/**/*.rb'],
25
+ 'CHANGELOG',
20
26
  'Gemfile',
21
27
  'LICENSE',
22
- Dir['lib/**/*.rb'],
23
28
  'README.md',
24
- Dir['test/**/*.rb']
25
29
  ].flatten
26
- spec.require_paths = ['lib']
27
30
  end
@@ -2,5 +2,5 @@
2
2
  # CoinMarketCap::VERSION
3
3
 
4
4
  module CoinMarketCap
5
- VERSION = '0.6.4'
5
+ VERSION = '0.6.6'
6
6
  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.4
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - thoran
@@ -29,6 +29,7 @@ executables: []
29
29
  extensions: []
30
30
  extra_rdoc_files: []
31
31
  files:
32
+ - CHANGELOG
32
33
  - Gemfile
33
34
  - LICENSE
34
35
  - README.md
@@ -45,7 +46,7 @@ files:
45
46
  - test/client_test.rb
46
47
  - test/helper.rb
47
48
  - test/test_all.rb
48
- homepage: http://github.com/thoran/coinmarketcap.rb
49
+ homepage: http://github.com/thoran/coinmarketcap
49
50
  licenses:
50
51
  - Ruby
51
52
  metadata: {}