gulesider 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/gulesider.rb +1 -0
  2. metadata +3 -3
@@ -2,6 +2,7 @@ require 'screen_scraper'
2
2
 
3
3
  class Gulesider
4
4
  def self.search number
5
+ return [] if number == nil or number == ""
5
6
  return ScreenScraper.new.search number
6
7
  end
7
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gulesider
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-02 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mechanize
16
- requirement: &70253791688820 !ruby/object:Gem::Requirement
16
+ requirement: &70346364057400 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '2.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70253791688820
24
+ version_requirements: *70346364057400
25
25
  description:
26
26
  email: mail@goeran.no
27
27
  executables: