gulesider 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/gulesider +6 -0
  2. metadata +5 -5
  3. data/bin/tlf +0 -5
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ gulesider_dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
3
+ $LOAD_PATH.unshift(gulesider_dir) unless $LOAD_PATH.include?(gulesider_dir)
4
+
5
+ require 'gulesider'
6
+ puts Gulesider.search("#{ARGV[0]}")[:name]
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.1.5
4
+ version: 0.1.6
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: &70264952919880 !ruby/object:Gem::Requirement
16
+ requirement: &70246627971660 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,18 +21,18 @@ dependencies:
21
21
  version: '2.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70264952919880
24
+ version_requirements: *70246627971660
25
25
  description:
26
26
  email: mail@goeran.no
27
27
  executables:
28
- - tlf
28
+ - gulesider
29
29
  extensions: []
30
30
  extra_rdoc_files: []
31
31
  files:
32
32
  - lib/search_result.rb
33
33
  - lib/screen_scraper.rb
34
34
  - lib/gulesider.rb
35
- - bin/tlf
35
+ - bin/gulesider
36
36
  homepage: http://github.com/goeran/gulesider
37
37
  licenses: []
38
38
  post_install_message:
data/bin/tlf DELETED
@@ -1,5 +0,0 @@
1
- #!/bin/bash
2
-
3
- echo "TLF $1"
4
- echo "Searching gulesider.no"
5
- ruby -e "require 'gulesider'; puts Gulesider.search('$1')[:name]"