From d8168fdbda37f13ef8f534b627d925ace21b68dc Mon Sep 17 00:00:00 2001 From: Stefan Lang Date: Sat, 16 Feb 2008 22:29:48 +0100 Subject: [PATCH] Integrate hoe for packaging. --- .gitignore | 1 + History.txt | 3 +++ Manifest.txt | 9 +++++++++ README.txt | 13 +++++++++++++ Rakefile | 11 +++++++++++ lib/decorate.rb | 2 ++ 6 files changed, 39 insertions(+) create mode 100644 History.txt create mode 100644 Manifest.txt create mode 100644 README.txt create mode 100644 Rakefile diff --git a/.gitignore b/.gitignore index a5aa1b9..3bf9bd0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .*.swp Session.vim +pkg diff --git a/History.txt b/History.txt new file mode 100644 index 0000000..032ec7b --- /dev/null +++ b/History.txt @@ -0,0 +1,3 @@ +=== 0.2.0 / 2008-02-17 + +* First (alpha) release! diff --git a/Manifest.txt b/Manifest.txt new file mode 100644 index 0000000..757828f --- /dev/null +++ b/Manifest.txt @@ -0,0 +1,9 @@ +README.txt +History.txt +Manifest.txt +Rakefile +test.rb +doc/repo +lib/decorate.rb +lib/decorate/private_method.rb +lib/decorate/create_alias.rb diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..e8cca95 --- /dev/null +++ b/README.txt @@ -0,0 +1,13 @@ += decorate + +* http://rubyforge.org/projects/decorate/ + +== Description + +Python style decorators for Ruby, some common decorators like +private_method are provided out of the box. + +== License + +Decorate is licensed under the same terms as the main Ruby +implementation. See http://www.ruby-lang.org/en/LICENSE.txt. diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..503af23 --- /dev/null +++ b/Rakefile @@ -0,0 +1,11 @@ +require "hoe" + +$LOAD_PATH.unshift("lib") +require "decorate" + +Hoe.new "decorate", Decorate::VERSION do |p| + p.author = "Stefan Lang" + p.email = "langstefan@gmx.at" + p.need_tar = true + p.need_zip = true +end diff --git a/lib/decorate.rb b/lib/decorate.rb index 5e268a2..725d63b 100644 --- a/lib/decorate.rb +++ b/lib/decorate.rb @@ -1,5 +1,7 @@ module Decorate + VERSION = "0.2.0" + class BlockDecorator def initialize(block) -- 2.11.4.GIT