pirata 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. data/lib/pirata/search.rb +1 -1
  2. metadata +3 -3
data/lib/pirata/search.rb CHANGED
@@ -24,7 +24,7 @@ module Pirata
24
24
  def search(page = 0)
25
25
  #build URL ex: http://thepiratebay.se/search/cats/0/99/0
26
26
  url = Pirata::Config::BASE_URL + "/search/#{URI.escape(@query)}" + "/#{page.to_s}" + "/#{@sort_type}" + "/#{@category}"
27
- p html = Nokogiri::HTML(open(url))
27
+ html = Nokogiri::HTML(open(url))
28
28
  Pirata::Search::parse_search_page(html, self)
29
29
  end
30
30
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pirata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2014-05-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri
16
- requirement: &9635980 !ruby/object:Gem::Requirement
16
+ requirement: &5993720 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *9635980
24
+ version_requirements: *5993720
25
25
  description: A Ruby gem that exposes an API for using The Pirate Bay torrent tracker
26
26
  service.
27
27
  email: clindsay107@gmail.com