nicoquery 0.0.1.1 → 0.0.1.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/version.rb +1 -1
- data/lib/nicoquery.rb +1 -29
- 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: 8271fadfb8fe8d25ac373af107c767df99463de3
|
4
|
+
data.tar.gz: 29c3bdb847bc2eb71d20831e973193c249c5651f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43c13f0d0e0b66f6262b5d825349a1ece8a7d0ca9b353675734e4492908585f347661e31d7981e194e5f544848b3064254764637740415e888af04d590ff3043
|
7
|
+
data.tar.gz: 8c24da2a9b8482ff3e966b3f07b3b3838324727046f001cba8e61d1179f4fbc34b4f30d2e99b7bad1751d5cb440ae4cb79a5d07cd40d9aedabef05f131beb011
|
data/Gemfile.lock
CHANGED
data/lib/nicoquery/version.rb
CHANGED
data/lib/nicoquery.rb
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
require "nicoquery/
|
2
|
-
|
3
|
-
require "nicoquery/source"
|
1
|
+
require "nicoquery/version"
|
4
2
|
|
5
3
|
|
6
4
|
module NicoQuery
|
@@ -10,29 +8,3 @@ module NicoQuery
|
|
10
8
|
|
11
9
|
module_function :tag_search
|
12
10
|
end
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
module NicoQuery
|
17
|
-
def getthumbinfo(video_id)
|
18
|
-
instance = NicoQuery::GetThumbInfo.new
|
19
|
-
instance.set video_id
|
20
|
-
instance.get
|
21
|
-
end
|
22
|
-
|
23
|
-
def video_array(video_id_array)
|
24
|
-
instance = NicoQuery::VideoArray.new
|
25
|
-
instance.set video_id_array
|
26
|
-
instance.get
|
27
|
-
end
|
28
|
-
|
29
|
-
def tag_search(tag: tag, sort: sort, order: order, page: page)
|
30
|
-
instance = NicoQuery::TagSearch.new
|
31
|
-
instance.set tag: tag, sort: sort, order: order, page: page
|
32
|
-
instance.get
|
33
|
-
end
|
34
|
-
|
35
|
-
module_function :getthumbinfo
|
36
|
-
module_function :video_array
|
37
|
-
module_function :tag_search
|
38
|
-
end
|