jikanrb 0.1.0 → 0.2.1
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/CHANGELOG.md +45 -0
- data/lib/jikanrb/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eb528e6db6413f8aa74e076189001f63fd5bb1180e20a6b65341ea36dbb0f6e6
|
|
4
|
+
data.tar.gz: 03dc1aa0638e29902313138e0598df2e310b29c6814672fa490eb7bcde0269b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 531160fb13899e4a6499f7209a8371352e5473e24879ae7dae4d6643452af72b11725e9fdd33d18e65dc568569afe1f4f5d303b10df9abe6b9a7a74ccdef52d7
|
|
7
|
+
data.tar.gz: 40f0284cb2b8d2a1508f09ee30d28587219a9c7cfe2484a0a4d9e0c7b7f7ad21aed92140e9396a7d0875fc3ac5339aa23172534b3464976bb321ae0996d6cf24
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,50 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.2.1] - 2026-01-10
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
- Changed info about gem for Ru8byGems
|
|
7
|
+
|
|
8
|
+
## [0.2.0] - 2026-01-10
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- New endpoint methods:
|
|
12
|
+
- `character(id, full: false)` - Get character information
|
|
13
|
+
- `person(id, full: false)` - Get person information
|
|
14
|
+
- `top_anime(type:, filter:, page:)` - Get top anime rankings
|
|
15
|
+
- `top_manga(type:, filter:, page:)` - Get top manga rankings
|
|
16
|
+
- `season(year, season, page:)` - Get anime by season
|
|
17
|
+
- `season_now(page:)` - Get current season anime
|
|
18
|
+
- `schedules(day:)` - Get anime schedules
|
|
19
|
+
- Pagination helper module (`Jikanrb::Pagination`) with `each_page` iterator
|
|
20
|
+
- Global convenience methods (`Jikanrb.anime(1)`, `Jikanrb.search_anime("Naruto")`, etc.)
|
|
21
|
+
- `IndifferentHash` utility for flexible hash access (symbol/string keys)
|
|
22
|
+
- Enhanced error handling with custom exception classes:
|
|
23
|
+
- `ResourceNotFoundError` (404)
|
|
24
|
+
- `BadRequestError` (400)
|
|
25
|
+
- `RateLimitError` (429)
|
|
26
|
+
- `ServerError` (5xx)
|
|
27
|
+
- `TimeoutError`
|
|
28
|
+
- `ParseError`
|
|
29
|
+
- Retry mechanism with exponential backoff for transient errors
|
|
30
|
+
- Rate limiting awareness (respects Retry-After headers)
|
|
31
|
+
|
|
32
|
+
### Changed
|
|
33
|
+
- Response hashes now support both symbol and string key access
|
|
34
|
+
- Configuration system supports both global and per-instance settings
|
|
35
|
+
- Improved test coverage (63 examples, all passing)
|
|
36
|
+
- All tests use WebMock stubs for independence from external API
|
|
37
|
+
|
|
38
|
+
### Documentation
|
|
39
|
+
- Complete README with usage examples
|
|
40
|
+
- YARD documentation for all public methods
|
|
41
|
+
- RuboCop compliant (0 offenses)
|
|
42
|
+
|
|
3
43
|
## [0.1.0] - 2026-01-08
|
|
4
44
|
|
|
45
|
+
### Added
|
|
5
46
|
- Initial release
|
|
47
|
+
- Basic client with Faraday
|
|
48
|
+
- Core endpoints: `anime(id)`, `manga(id)`, `search_anime`, `search_manga`
|
|
49
|
+
- Configuration support
|
|
50
|
+
- Basic error handling
|
data/lib/jikanrb/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jikanrb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sergio Brocos
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -73,14 +73,14 @@ files:
|
|
|
73
73
|
- lib/jikanrb/utils.rb
|
|
74
74
|
- lib/jikanrb/version.rb
|
|
75
75
|
- sig/jikanrb.rbs
|
|
76
|
-
homepage: https://github.com/
|
|
76
|
+
homepage: https://github.com/sbrocos/jikanrb
|
|
77
77
|
licenses:
|
|
78
78
|
- MIT
|
|
79
79
|
metadata:
|
|
80
80
|
allowed_push_host: https://rubygems.org
|
|
81
|
-
homepage_uri: https://github.com/
|
|
82
|
-
source_code_uri: https://github.com/
|
|
83
|
-
changelog_uri: https://github.com/
|
|
81
|
+
homepage_uri: https://github.com/sbrocos/jikanrb
|
|
82
|
+
source_code_uri: https://github.com/sbrocos/jikanrb
|
|
83
|
+
changelog_uri: https://github.com/sbrocos/jikanrb/blob/main/CHANGELOG.md
|
|
84
84
|
documentation_uri: https://rubydoc.info/gems/jikanrb
|
|
85
85
|
rubygems_mfa_required: 'true'
|
|
86
86
|
post_install_message:
|