nyaa-transmission 1.0.7 → 1.0.8

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
  SHA256:
3
- metadata.gz: '087e8454525b4a7bb25d62b93e0cdb27dc456ce4a91c45a8249adeb1f644139e'
4
- data.tar.gz: e6efcf67219d85dd9e4bafb7bcda6fbe0895d674cfed14b708df9914d983ec7b
3
+ metadata.gz: e3d4a7fd35e2e76c32a9f0d55ee59441a12b36ea53efd0d76948c88afa3f64be
4
+ data.tar.gz: 19c788466ce35314456a120802101364d208627437d7c4e2db7bc27d2cf73b6f
5
5
  SHA512:
6
- metadata.gz: 2037ae0345dd2ee6ee7bd8e3532ef2c7a94807d8321538ebac18ac36c3192cd514663224f142dbb4c0b3fc6ffb98b1d3de55e1138344e61b32c512a27501ae0b
7
- data.tar.gz: 1b3e9b98a6ae8fc713be6b96658999f61d82b5a6d9b5ceaba2bcd2dc6df6e57dc67c2080800406e26ee07e88a4c57f9e7e454b8390f8c738cdf4994f5d6fee2a
6
+ metadata.gz: acbbdf0b554ccf35cba875d742bf7c307210d942ce408a2f1c8c5ec80540bd632ecfe63a11924af1621ecaad8289202880b780b37c1527bd1499e940b13bfd06
7
+ data.tar.gz: dd28a6cc25088c941ea887e84382336197cc078e50c8777b16ccce8a9bed5dd45fc18668b2ad45a7dc183679230106e7696b044ef5711151781c929e2a1a4d34
@@ -20,13 +20,13 @@ module Nyaa::Category
20
20
  end
21
21
 
22
22
  class NyaaSearch
23
- attr_accessor :filter, :category, :query, :user, :page
23
+ attr_accessor :filter, :category, :query, :submitter, :page
24
24
 
25
25
  def initialize(args={})
26
26
  self.filter = args[:filter] || Nyaa::Filter::NoFilter
27
27
  self.category = args[:category] || Nyaa::Category::AllCategories
28
28
  self.query = args[:query] || ""
29
- self.user = args[:user] || nil
29
+ self.submitter = args[:submitter] || nil
30
30
  self.page = args[:page] || 1
31
31
  end
32
32
 
@@ -36,7 +36,7 @@ class NyaaSearch
36
36
  "c" => self.category,
37
37
  "q" => self.query,
38
38
  "p" => self.page,
39
- "u" => self.user,
39
+ "u" => self.submitter,
40
40
  }
41
41
  URI.encode_www_form(form.compact)
42
42
  end
@@ -14,7 +14,7 @@ class HorribleSubs < Provider
14
14
  :filter => Nyaa::Filter::TrustedOnly,
15
15
  :category => Nyaa::Category::Anime::EnglishTranslated,
16
16
  :query => "1080p -batch #{series}",
17
- :user => "HorribleSubs",
17
+ :submitter => "HorribleSubs",
18
18
  :page => 1
19
19
  )
20
20
 
@@ -29,7 +29,7 @@ class EraiRaws < Provider
29
29
  :filter => Nyaa::Filter::TrustedOnly,
30
30
  :category => Nyaa::Category::Anime::EnglishTranslated,
31
31
  :query => "1080p -\"~\" #{series}",
32
- :user => "Erai-raws",
32
+ :submitter => "Erai-raws",
33
33
  :page => 1
34
34
  )
35
35
 
@@ -43,8 +43,7 @@ class Blackjaxx < Provider
43
43
  search_criteria = NyaaSearch.new(
44
44
  :filter => Nyaa::Filter::NoFilter,
45
45
  :category => Nyaa::Category::Anime::EnglishTranslated,
46
- :query => "1080p -batch #{series}",
47
- :user => "Blackjaxx",
46
+ :query => "Blackjaxx 1080p -batch #{series}",
48
47
  :page => 1
49
48
  )
50
49
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nyaa-transmission
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Poon