public
Description: A ruby client for freebase
Clone URL: git://github.com/dustin/ruby-freebase.git
Search Repo:
freebase rails plugin
chriseppstein (author)
Sun Feb 03 11:19:03 -0800 2008
commit  4a7a3352fc4e2c620b2eea192378d1df361ad9af
tree    bde22db43685871fe8949b38feb905ce40632995
parent  3798cac7a9485c6ded7c5e3af46a91b92a1272a6
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
0
@@ -1 +1,21 @@
0
+Copyright (c) 2007 Christopher Eppstein
0
+
0
+Permission is hereby granted, free of charge, to any person obtaining
0
+a copy of this software and associated documentation files (the
0
+"Software"), to deal in the Software without restriction, including
0
+without limitation the rights to use, copy, modify, merge, publish,
0
+distribute, sublicense, and/or sell copies of the Software, and to
0
+permit persons to whom the Software is furnished to do so, subject to
0
+the following conditions:
0
+
0
+The above copyright notice and this permission notice shall be
0
+included in all copies or substantial portions of the Software.
0
+
0
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
0
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
0
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
0
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
0
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
0
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
0
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
...
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
0
@@ -1 +1,13 @@
0
+development:
0
+ host: freebase.com
0
+ debug: true
0
+ trace: false
0
+test:
0
+ host: sandbox.freebase.com
0
+ debug: true
0
+ trace: false
0
+production:
0
+ host: freebase.com
0
+ debug: false
0
+ trace: false
...
 
 
...
1
2
0
@@ -1 +1,3 @@
0
+# Include hook code here
0
+require 'freebase'
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0
@@ -1 +1,16 @@
0
+def install(file)
0
+ puts "Installing: #{file}"
0
+ target = File.join(File.dirname(__FILE__), '..', '..', '..', file)
0
+ if File.exists?(target)
0
+ puts "target #{target} already exists, skipping"
0
+ else
0
+ FileUtils.cp File.join(File.dirname(__FILE__), file), target
0
+ end
0
+end
0
+
0
+install File.join( 'config', 'freebase.yml' )
0
+
0
+puts IO.read(File.join(File.dirname(__FILE__), '..', 'README'))
0
+
0
+puts "\n\nIf you haven't yet done so, please install the freebase gem:\n\t[sudo] gem install freebase"
...
 
 
 
 
...
1
2
3
4
0
@@ -1 +1,5 @@
0
+# desc "Explaining what the task does"
0
+# task :freebase do
0
+# # Task goes here
0
+# end
...
 
...
1
0
@@ -1 +1,2 @@
0
+# Uninstall hook code here

Comments

    No one has commented yet.