From c1bc2be4824dac020be96f29d75ecd11d6301865 Mon Sep 17 00:00:00 2001 From: Moritz Heidkamp Date: Sun, 3 May 2009 05:16:44 +0200 Subject: [PATCH] gemified --- History.txt | 4 ++++ README.rdoc | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ Rakefile | 26 ++++++++++++++++++++++++++ 3 files changed, 78 insertions(+) create mode 100644 History.txt create mode 100644 README.rdoc create mode 100644 Rakefile diff --git a/History.txt b/History.txt new file mode 100644 index 0000000..7c82a9f --- /dev/null +++ b/History.txt @@ -0,0 +1,4 @@ +== 0.0.1 2009-05-03 + +* 1 major enhancement: + * Initial release diff --git a/README.rdoc b/README.rdoc new file mode 100644 index 0000000..bbc4b53 --- /dev/null +++ b/README.rdoc @@ -0,0 +1,48 @@ += eff + +* http://github.com/#{github_username}/#{project_name} + +== DESCRIPTION: + +FIX (describe your package) + +== FEATURES/PROBLEMS: + +* FIX (list of features or problems) + +== SYNOPSIS: + + FIX (code sample of usage) + +== REQUIREMENTS: + +* FIX (list of requirements) + +== INSTALL: + +* FIX (sudo gem install, anything else) + +== LICENSE: + +(The MIT License) + +Copyright (c) 2009 FIXME full name + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..7cafe73 --- /dev/null +++ b/Rakefile @@ -0,0 +1,26 @@ +require 'rubygems' unless ENV['NO_RUBYGEMS'] +%w[rake rake/clean fileutils newgem rubigen].each { |f| require f } +require File.dirname(__FILE__) + '/lib/f' + +# Generate all the Rake tasks +# Run 'rake -T' to see list of generated tasks (from gem root directory) +$hoe = Hoe.new('eff', F::VERSION) do |p| + p.developer('Moritz Heidkamp', 'moritz@twoticketsplease.de') + p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n") + # p.rubyforge_name = p.name # TODO this is default value + p.extra_deps = ['highline', 'mechanize', 'launchy'] + p.extra_dev_deps = [ + ['newgem', ">= #{::Newgem::VERSION}"] + ] + + p.clean_globs |= %w[**/.DS_Store tmp *.log] +# path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}" +# p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc') +# p.rsync_args = '-av --delete --ignore-errors' +end + +require 'newgem/tasks' # load /tasks/*.rake +Dir['tasks/**/*.rake'].each { |t| load t } + +# TODO - want other tests/tasks run by default? Add them to the list +# task :default => [:spec, :features]