Skip to content
This repository
Browse code

added LICENSE, README, jeweler rake tasks

  • Loading branch information...
commit 6959e64ef962d710a4c3e675013c904803636d9a 1 parent 22ae5cb
Ricardo Chimal, Jr. authored February 06, 2009
20  LICENSE
... ...
@@ -0,0 +1,20 @@
  1
+Copyright (c) 2008 Ricardo Chimal, Jr
  2
+
  3
+Permission is hereby granted, free of charge, to any person obtaining
  4
+a copy of this software and associated documentation files (the
  5
+"Software"), to deal in the Software without restriction, including
  6
+without limitation the rights to use, copy, modify, merge, publish,
  7
+distribute, sublicense, and/or sell copies of the Software, and to
  8
+permit persons to whom the Software is furnished to do so, subject to
  9
+the following conditions:
  10
+
  11
+The above copyright notice and this permission notice shall be
  12
+included in all copies or substantial portions of the Software.
  13
+
  14
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  15
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  16
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  17
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  18
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  19
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  20
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23  README.rdoc
Source Rendered
... ...
@@ -0,0 +1,23 @@
  1
+= Taps -- simple database import/export app
  2
+
  3
+A simple database agnostic import/export app to transfer data to/from a remote database.
  4
+
  5
+== Usage: Server
  6
+
  7
+  $ taps server postgres://localdbuser:localdbpass@localhost/dbname user password
  8
+
  9
+== Usage: Client
  10
+
  11
+  $ taps receive postgres://dbuser:dbpassword@localhost/dbname http://user:password@example.com:5000
  12
+
  13
+== Meta
  14
+
  15
+Maintained by Ricardo Chimal, Jr. (ricardo at heroku dot com)
  16
+
  17
+Written by Ricardo Chimal, Jr. (ricardo at heroku dot com) and Adam Wiggins (adam at heroku dot com)
  18
+
  19
+Early research and inspiration by Blake Mizerany
  20
+
  21
+Released under the MIT License: http://www.opensource.org/licenses/mit-license.php
  22
+
  23
+http://github.com/ricardochimal/taps
46  Rakefile
... ...
@@ -1,6 +1,50 @@
  1
+begin
  2
+  require 'jeweler'
  3
+  Jeweler::Tasks.new do |s|
  4
+    s.name = "taps"
  5
+    s.summary = %Q{simple database import/export app}
  6
+    s.email = "ricardo@heroku.com"
  7
+    s.homepage = "http://github.com/ricardochimal/taps"
  8
+    s.description = "A simple database agnostic import/export app to transfer data to/from a remote database."
  9
+    s.authors = ["Ricardo Chimal, Jr.", "Adam Wiggins"]
  10
+
  11
+    s.add_dependency 'sinatra', '~> 0.9.0'
  12
+    s.add_dependency 'activerecord', '= 2.2.2'
  13
+    s.add_dependency 'thor', '= 0.9.9'
  14
+    s.add_dependency 'rest-client', '~> 0.9.0'
  15
+    s.add_dependency 'sequel', '~> 2.10.0'
  16
+
  17
+    s.rubygems_version = '1.3.1'
  18
+
  19
+    s.executables = ['taps']
  20
+  end
  21
+rescue LoadError
  22
+  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
  23
+end
  24
+
  25
+require 'rake/rdoctask'
  26
+Rake::RDocTask.new do |rdoc|
  27
+  rdoc.rdoc_dir = 'rdoc'
  28
+  rdoc.title = 'taps'
  29
+  rdoc.options << '--line-numbers' << '--inline-source'
  30
+  rdoc.rdoc_files.include('README*')
  31
+  rdoc.rdoc_files.include('lib/**/*.rb')
  32
+end
  33
+
  34
+begin
  35
+  require 'rcov/rcovtask'
  36
+  Rcov::RcovTask.new do |t|
  37
+    t.libs << 'spec'
  38
+    t.test_files = FileList['spec/*_spec.rb']
  39
+    t.verbose = true
  40
+  end
  41
+rescue LoadError
  42
+  puts "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  43
+end
  44
+
1 45
 desc "Run all specs"
2 46
 task :spec do
3  
-	system "bacon #{File.dirname(__FILE__)}/spec/*_spec.rb"
  47
+  system "bacon #{File.dirname(__FILE__)}/spec/*_spec.rb"
4 48
 end
5 49
 
6 50
 task :default => :spec
4  VERSION.yml
... ...
@@ -0,0 +1,4 @@
  1
+--- 
  2
+:major: 0
  3
+:minor: 2
  4
+:patch: 0

0 notes on commit 6959e64

Please sign in to comment.
Something went wrong with that request. Please try again.