Permalink
Browse files

Replace how by bundler

  • Loading branch information...
1 parent d24d503 commit 6c12454653cd935fb6c46eb3f3077e0a0cdd6e1c @smathieu smathieu committed Jul 13, 2011
Showing with 9 additions and 30 deletions.
  1. +1 −0 .gitignore
  2. +4 −0 Gemfile
  3. +1 −30 Rakefile
  4. +3 −0 lib/version.rb
View
@@ -1,3 +1,4 @@
.rvmrc
*.swp
tags
+pkg
View
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in ..gemspec
+gemspec
View
@@ -1,30 +1 @@
-# -*- ruby -*-
-
-ENV['RUBY_FLAGS'] = "-I#{%w(lib test vendor).join(File::PATH_SEPARATOR)}"
-require 'rubygems'
-require 'hoe'
-require './lib/pdf/label'
-
-#Ryan, if you want to have strong opinions thats cool, but if you want to be a prick about it, you'd better be right... and your not
-class Hoe
- def extra_deps
- @extra_deps.reject do |x|
- Array(x).first == 'hoe'
- end
- end
-end
-
-Hoe.new('pdf-labels', Pdf::Label::VERSION) do |p|
- p.rubyforge_name = 'pdf-labels'
- p.author = 'Rob Kaufman'
- p.email = 'rgkaufman@gmail.com'
- p.summary = 'Easy label creation in Ruby through PDF::Writer and using templates from gLabels. Contains the library pdf_labels, the Rails engine LabelPageEngine and an example application FileClerk.'
- p.description = p.paragraphs_of('README.txt', 2..5).join("\n\n")
- p.url = p.paragraphs_of('README.txt', 0).first.split(/\n/)[1..-1]
- p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
-end
-
-task :clean do
- dir = Dir.new(Dir.pwd)
- dir.grep(/pdf$/) {|file| rm file}
-end
+require 'bundler/gem_tasks'
View
@@ -0,0 +1,3 @@
+module PDF_LABELS
+ VERSION = "2.0.2"
+end

0 comments on commit 6c12454

Please sign in to comment.