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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -0
  3. data/lib/jikanrb/version.rb +1 -1
  4. metadata +6 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 322781c4fbc3373799633c17b00a1db8d7c0862e123d0cbade697542c30efbb0
4
- data.tar.gz: e63b3b3bccd110e0a234beab9304c5eac563163b8885aa8bf91d403fd212fdaf
3
+ metadata.gz: eb528e6db6413f8aa74e076189001f63fd5bb1180e20a6b65341ea36dbb0f6e6
4
+ data.tar.gz: 03dc1aa0638e29902313138e0598df2e310b29c6814672fa490eb7bcde0269b3
5
5
  SHA512:
6
- metadata.gz: 9ed79ea3b2baa1f643d3e4369a34afad14da572ed36ba9dd5cc2176691f194e305dadecd5e7a40a663e8d32c9d0630eb6c4ff1e7c1fc288280a16bf8c4389c38
7
- data.tar.gz: ecfc01bce3b8f605d221508b9a803fa1f0febd5719cef1c7d4c51c040e586dca194d4462792fc85459584371f1ac342b06852f774adcfbd80832a74cceca5fca
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Jikanrb
4
- VERSION = '0.1.0'
4
+ VERSION = '0.2.1'
5
5
  end
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.0
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-09 00:00:00.000000000 Z
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/tuusuario/jikanrb
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/tuusuario/jikanrb
82
- source_code_uri: https://github.com/tuusuario/jikanrb
83
- changelog_uri: https://github.com/tuusuario/jikanrb/blob/main/CHANGELOG.md
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: