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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1d8118c053c44eeebb886338d41585623a9ca3fc
4
- data.tar.gz: ae53ffb71d96398f85eab2c188ce49721ea67fe8
3
+ metadata.gz: 9840b1c4f89bc0237ddc0750f36f65311cf09928
4
+ data.tar.gz: 36ce9490f4c1eb96e3d0657cfd2c0f190dbd9c32
5
5
  SHA512:
6
- metadata.gz: 6098b2e057b2238f18f6477b519df3b7d296acd7c3608a643910929b3f6f4ebf09a599fbb485cca806465bf62ae0ff8d4b59711e278f59faed1ddef1e212a47a
7
- data.tar.gz: ac4193f1187381d50e653b509453594e9951169271c182a47e14cb171a652ee2361fa71222264259bfb61089c72e228061a9b85bbda1028a91062a1afafaba83
6
+ metadata.gz: 38dc3dbed81406c76e4361ca020c552f5f5a2bf956a0dc84f88538a672a7c0cc4f25f72517ae6b404e8a209863c98a3c2ab4f877dfdea26b42e515fd0ed09d43
7
+ data.tar.gz: 0dfc90ccf43c33c772fc378c16c5860eb631df48fdf66b50049df4ebf86261c9456d93cfcadf83b3c6d13319c84bff9900c67287752f9031959b6e271af8715f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nicoquery-core (0.0.5.1)
4
+ nicoquery-core (0.0.5.2)
5
5
  activesupport (~> 4.0.0)
6
6
  i18n
7
7
  rest-client
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  module NicoQuery
2
2
  module Core
3
- VERSION = "0.0.5.1"
3
+ VERSION = "0.0.5.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nicoquery-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5.1
4
+ version: 0.0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masami Yonehara