linkto 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.md +4 -0
- data/Manifest.txt +6 -0
- data/README.md +27 -0
- data/Rakefile +31 -0
- data/lib/linkto.rb +28 -0
- data/lib/linkto/version.rb +5 -0
- metadata +89 -0
data/HISTORY.md
ADDED
data/Manifest.txt
ADDED
data/README.md
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# linkto
|
2
|
+
|
3
|
+
linkto gem - linkto - link_to helpers for google search, bing search, flickr photo search, flickr photo tag, etc.
|
4
|
+
|
5
|
+
* home :: [github.com/rubylibs/linkto](https://github.com/rubylibs/linkto)
|
6
|
+
* bugs :: [github.com/rubylibs/linkto/issues](https://github.com/rubylibs/linkto/issues)
|
7
|
+
* gem :: [rubygems.org/gems/linkto](https://rubygems.org/gems/linkto)
|
8
|
+
* rdoc :: [rubydoc.info/gems/linkto](http://rubydoc.info/gems/linkto)
|
9
|
+
|
10
|
+
|
11
|
+
## Usage
|
12
|
+
|
13
|
+
TBD
|
14
|
+
|
15
|
+
|
16
|
+
## Real World Usage
|
17
|
+
|
18
|
+
- [beer.db.admin](http://rubygems.org/geraldb/beer.db.admin) - open source world beer guide; beer.db browser
|
19
|
+
|
20
|
+
|
21
|
+
## Alternatives
|
22
|
+
|
23
|
+
|
24
|
+
## License
|
25
|
+
|
26
|
+
The `linkto` scripts are dedicated to the public domain.
|
27
|
+
Use it as you please with no restrictions whatsoever.
|
data/Rakefile
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'hoe'
|
2
|
+
require './lib/linkto/version.rb'
|
3
|
+
|
4
|
+
Hoe.spec 'linkto' do
|
5
|
+
|
6
|
+
self.version = Linkto::VERSION
|
7
|
+
|
8
|
+
self.summary = 'linkto - link_to helpers for google search, bing search, flickr photo search, flickr photo tag, etc.'
|
9
|
+
self.description = summary
|
10
|
+
|
11
|
+
self.urls = ['https://github.com/rubylibs/linkto']
|
12
|
+
|
13
|
+
self.author = 'Gerald Bauer'
|
14
|
+
self.email = 'webslideshow@googlegroups.com'
|
15
|
+
|
16
|
+
# switch extension to .markdown for gihub formatting
|
17
|
+
self.readme_file = 'README.md'
|
18
|
+
self.history_file = 'HISTORY.md'
|
19
|
+
|
20
|
+
self.extra_deps = [
|
21
|
+
['logutils' ]
|
22
|
+
]
|
23
|
+
|
24
|
+
self.licenses = ['Public Domain']
|
25
|
+
|
26
|
+
self.spec_extras = {
|
27
|
+
:required_ruby_version => '>= 1.9.2'
|
28
|
+
}
|
29
|
+
|
30
|
+
|
31
|
+
end
|
data/lib/linkto.rb
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
## require 'props'
|
4
|
+
require 'logutils'
|
5
|
+
## require 'textutils'
|
6
|
+
|
7
|
+
|
8
|
+
# our own code
|
9
|
+
|
10
|
+
require 'linkto/version' # let it always go first
|
11
|
+
|
12
|
+
module Linkto
|
13
|
+
|
14
|
+
def self.banner
|
15
|
+
"linkto/#{VERSION} on Ruby #{RUBY_VERSION} (#{RUBY_RELEASE_DATE}) [#{RUBY_PLATFORM}]"
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.root
|
19
|
+
"#{File.expand_path( File.dirname(File.dirname(__FILE__)) )}"
|
20
|
+
end
|
21
|
+
|
22
|
+
end # module Linkto
|
23
|
+
|
24
|
+
## for convenience add alias for module
|
25
|
+
LinkTo = Linkto
|
26
|
+
|
27
|
+
|
28
|
+
puts Linkto.banner # say hello
|
metadata
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: linkto
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Gerald Bauer
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-03-15 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: logutils
|
16
|
+
requirement: &79355630 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *79355630
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rdoc
|
27
|
+
requirement: &79355290 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.10'
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *79355290
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: hoe
|
38
|
+
requirement: &79354970 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '3.3'
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *79354970
|
47
|
+
description: linkto - link_to helpers for google search, bing search, flickr photo
|
48
|
+
search, flickr photo tag, etc.
|
49
|
+
email: webslideshow@googlegroups.com
|
50
|
+
executables: []
|
51
|
+
extensions: []
|
52
|
+
extra_rdoc_files:
|
53
|
+
- Manifest.txt
|
54
|
+
files:
|
55
|
+
- HISTORY.md
|
56
|
+
- Manifest.txt
|
57
|
+
- README.md
|
58
|
+
- Rakefile
|
59
|
+
- lib/linkto.rb
|
60
|
+
- lib/linkto/version.rb
|
61
|
+
homepage: https://github.com/rubylibs/linkto
|
62
|
+
licenses:
|
63
|
+
- Public Domain
|
64
|
+
post_install_message:
|
65
|
+
rdoc_options:
|
66
|
+
- --main
|
67
|
+
- README.md
|
68
|
+
require_paths:
|
69
|
+
- lib
|
70
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.9.2
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
78
|
+
requirements:
|
79
|
+
- - ! '>='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
requirements: []
|
83
|
+
rubyforge_project: linkto
|
84
|
+
rubygems_version: 1.8.17
|
85
|
+
signing_key:
|
86
|
+
specification_version: 3
|
87
|
+
summary: linkto - link_to helpers for google search, bing search, flickr photo search,
|
88
|
+
flickr photo tag, etc.
|
89
|
+
test_files: []
|