Permalink
Browse files

Removed gem support - what the hell was I thinking?

  • Loading branch information...
1 parent 061f2d7 commit e1684097b769161916ec7a5693448866cd55cfbf @gma committed Nov 7, 2008
Showing with 1 addition and 94 deletions.
  1. +0 −4 History.txt
  2. +0 −15 Manifest.txt
  3. +0 −7 PostInstall.txt
  4. +0 −26 Rakefile
  5. +1 −1 lib/integral.rb
  6. +0 −14 script/destroy
  7. +0 −14 script/generate
  8. +0 −2 test/test_helper.rb
  9. +0 −11 test/test_integral.rb
View
4 History.txt
@@ -1,4 +0,0 @@
-== 0.0.1 2008-11-05
-
-* 1 major enhancement:
- * Initial release
View
15 Manifest.txt
@@ -1,15 +0,0 @@
-History.txt
-Manifest.txt
-PostInstall.txt
-README.rdoc
-Rakefile
-lib/integral.rb
-script/console
-script/destroy
-script/generate
-spec/integral_spec.rb
-spec/spec.opts
-spec/spec_helper.rb
-tasks/rspec.rake
-test/test_helper.rb
-test/test_integral.rb
View
7 PostInstall.txt
@@ -1,7 +0,0 @@
-
-For more information on integral, see http://integral.rubyforge.org
-
-NOTE: Change this information in PostInstall.txt
-You can also delete it if you don't want it.
-
-
View
26 Rakefile
@@ -1,27 +1 @@
-%w[rubygems rake rake/clean fileutils newgem rubigen].each { |f| require f }
-require File.dirname(__FILE__) + '/lib/integral'
-
-# Generate all the Rake tasks
-# Run 'rake -T' to see list of generated tasks (from gem root directory)
-$hoe = Hoe.new('integral', Integral::VERSION) do |p|
- p.developer('Graham Ashton', 'graham@effectif.com')
- 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 = [
- # ['activesupport','>= 2.0.2'],
- # ]
- 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]
View
2 lib/integral.rb
@@ -3,7 +3,7 @@
INTEGRAL_ROOT = File.expand_path(File.join(File.dirname(__FILE__), ".."))
-require "rubygems" # needed for loading gems whilst doing local development
+require "rubygems"
require "integral/configuration"
require "integral/database"
View
14 script/destroy
@@ -1,14 +0,0 @@
-#!/usr/bin/env ruby
-APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
-
-begin
- require 'rubigen'
-rescue LoadError
- require 'rubygems'
- require 'rubigen'
-end
-require 'rubigen/scripts/destroy'
-
-ARGV.shift if ['--help', '-h'].include?(ARGV[0])
-RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
-RubiGen::Scripts::Destroy.new.run(ARGV)
View
14 script/generate
@@ -1,14 +0,0 @@
-#!/usr/bin/env ruby
-APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
-
-begin
- require 'rubigen'
-rescue LoadError
- require 'rubygems'
- require 'rubigen'
-end
-require 'rubigen/scripts/generate'
-
-ARGV.shift if ['--help', '-h'].include?(ARGV[0])
-RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
-RubiGen::Scripts::Generate.new.run(ARGV)
View
2 test/test_helper.rb
@@ -1,2 +0,0 @@
-require 'test/unit'
-require File.dirname(__FILE__) + '/../lib/integral'
View
11 test/test_integral.rb
@@ -1,11 +0,0 @@
-require File.dirname(__FILE__) + '/test_helper.rb'
-
-class TestIntegral < Test::Unit::TestCase
-
- def setup
- end
-
- def test_truth
- assert true
- end
-end

0 comments on commit e168409

Please sign in to comment.