nicoquery-core 0.0.5.1 → 0.0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/nicoquery/core.rb +3 -6
- data/lib/nicoquery/core/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9840b1c4f89bc0237ddc0750f36f65311cf09928
|
4
|
+
data.tar.gz: 36ce9490f4c1eb96e3d0657cfd2c0f190dbd9c32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38dc3dbed81406c76e4361ca020c552f5f5a2bf956a0dc84f88538a672a7c0cc4f25f72517ae6b404e8a209863c98a3c2ab4f877dfdea26b42e515fd0ed09d43
|
7
|
+
data.tar.gz: 0dfc90ccf43c33c772fc378c16c5860eb631df48fdf66b50049df4ebf86261c9456d93cfcadf83b3c6d13319c84bff9900c67287752f9031959b6e271af8715f
|
data/Gemfile.lock
CHANGED
data/lib/nicoquery/core.rb
CHANGED
@@ -8,20 +8,17 @@ require 'nicoquery/core/video_array'
|
|
8
8
|
module NicoQuery
|
9
9
|
module Core
|
10
10
|
def getthumbinfo(video_id)
|
11
|
-
instance = NicoQuery::Core::GetThumbInfo.new
|
12
|
-
instance.set video_id
|
11
|
+
instance = NicoQuery::Core::GetThumbInfo.new video_id
|
13
12
|
instance.get
|
14
13
|
end
|
15
14
|
|
16
15
|
def video_array(video_id_array)
|
17
|
-
instance = NicoQuery::Core::VideoArray.new
|
18
|
-
instance.set video_id_array
|
16
|
+
instance = NicoQuery::Core::VideoArray.new video_id_array
|
19
17
|
instance.get
|
20
18
|
end
|
21
19
|
|
22
20
|
def tag_search(tag: tag, sort: sort, order: order, page: page)
|
23
|
-
instance = NicoQuery::Core::TagSearch.new
|
24
|
-
instance.set tag: tag, sort: sort, order: order, page: page
|
21
|
+
instance = NicoQuery::Core::TagSearch.new tag: tag, sort: sort, order: order, page: page
|
25
22
|
instance.get
|
26
23
|
end
|
27
24
|
|