jikan.rb 0.0.3 → 0.0.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 +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +2 -0
- data/lib/jikan.rb +2 -2
- data/lib/jikan/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d7e51adffea3e8589346eebf922a370f4f4ddc41ac3d3d5ec9ad65762b8a3360
|
|
4
|
+
data.tar.gz: 6d802d59b9078c51c846a5af15dbecfa71067d114d234c0ff33ab04c61e45245
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c55e6a32f8665ef6729ce84d8144b6b6d2c57e82223ba5a723835da81d5b16745a263b5c3270c1ab5402fd26c94ad17ed337817f8c8db43fc282dbbda2c0cbf7
|
|
7
|
+
data.tar.gz: a3f0ddff0ce734f2fd197ab674c692938f786af7f49a9b4e378996364cb862631e66db1fcee3cd514c6ff951fe690bb821657744b28fd76692b9d71473ed748c
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
jikan.rb (0.0.
|
|
4
|
+
jikan.rb (0.0.3)
|
|
5
5
|
http (~> 3.0.0)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -47,7 +47,7 @@ GEM
|
|
|
47
47
|
safe_yaml (1.0.4)
|
|
48
48
|
unf (0.1.4)
|
|
49
49
|
unf_ext
|
|
50
|
-
unf_ext (0.0.7.
|
|
50
|
+
unf_ext (0.0.7.5)
|
|
51
51
|
vcr (4.0.0)
|
|
52
52
|
webmock (3.3.0)
|
|
53
53
|
addressable (>= 2.3.6)
|
data/README.md
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
This is a thin Ruby wrapper for [jikan.me](http://jikan.me) inspired by [JikanPy](https://github.com/AWConant/jikanpy). For more information, please refer to [Jikan.ME documentation](https://jikan.me/docs).
|
|
6
6
|
|
|
7
|
+
**NOTE: Jikan API changed their base URL to *api.jikan.moe*. Old endpoints will continue to work until May 12th, 2018 ([Announcement](https://jikan.docs.apiary.io/) | [Issue #1](https://github.com/Zerocchi/jikan.rb/issues/1)) so it's strongly suggested that you update the gem to latest version.**
|
|
8
|
+
|
|
7
9
|
## Installation
|
|
8
10
|
|
|
9
11
|
Add this line to your application's Gemfile:
|
data/lib/jikan.rb
CHANGED
|
@@ -4,8 +4,8 @@ module Jikan
|
|
|
4
4
|
class FlagError < StandardError; end
|
|
5
5
|
class ClientError < StandardError; end
|
|
6
6
|
|
|
7
|
-
BASE_URL = "http://api.jikan.
|
|
8
|
-
BASE_URL_SSL = "https://api.jikan.
|
|
7
|
+
BASE_URL = "http://api.jikan.moe"
|
|
8
|
+
BASE_URL_SSL = "https://api.jikan.moe"
|
|
9
9
|
|
|
10
10
|
FLAGS = {
|
|
11
11
|
'anime' => [ :episodes, :characters_staff, :news, :pictures, :videos, :stats ],
|
data/lib/jikan/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jikan.rb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Zerocchi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-04-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: http
|