Skip to content

Commit

Permalink
lots of changes, upgrade to latest hoe, more smoketest cleanup, delet…
Browse files Browse the repository at this point in the history
…e more old rubygems fixture versions
  • Loading branch information
thewoolleyman committed Jul 19, 2009
1 parent c9d1e41 commit 8800ebd
Show file tree
Hide file tree
Showing 199 changed files with 50 additions and 28,579 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ spec/test_gem_home.tmp
spec/rubygems_test_dir
spec/tmp/test_gem_home
spec/tmp/test_gem.rc
pkg
4 changes: 1 addition & 3 deletions Manifest.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.loadpath
COPYING
History.txt
LICENSE
Manifest.txt
README.txt
Rakefile
TODO.txt
authors
bin/geminstaller
cruise_config.rb
focused_spec.sh
Expand Down Expand Up @@ -55,8 +55,6 @@ lib/geminstaller/version_specifier.rb
lib/geminstaller/yaml_loader.rb
lib/geminstaller_rails_preinitializer.rb
start_local_gem_server.sh
test/test_all.rb
test/test_all_smoketests.rb
website/config.yaml
website/src/analytics.page
website/src/code/ci.virtual
Expand Down
17 changes: 11 additions & 6 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
GemInstaller
by Chad Woolley
http://geminstaller.rubyforge.org
http://thewoolleyweb.lighthouseapp.com/projects/11580-geminstaller
= GemInstaller

* http://geminstaller.rubyforge.org
* http://thewoolleyweb.lighthouseapp.com/projects/11580-geminstaller
* mailto:"GemInstaller Development" <geminstaller-development@rubyforge.org>
* mailto:"Chad Woolley" <thewoolleyman@gmail.com>

== DESCRIPTION:

Expand All @@ -10,7 +12,6 @@ Automated Gem installation, activation, and much more!
== FEATURES:

GemInstaller provides automated installation, loading and activation of RubyGems. It uses a simple YAML config file to:

* Automatically install the correct versions of all required gems wherever your app runs.
* Automatically ensure installed gems and versions are consistent across multiple applications, machines, platforms, and environments
* Automatically activate correct versions of gems on the ruby load path when your app runs ('require_gem'/'gem')
Expand All @@ -24,7 +25,7 @@ GemInstaller provides automated installation, loading and activation of RubyGems

== SYNOPSYS:

Automated Gem installation, activation, and much more!
See Quick Start at http://geminstaller.rubyforge.org/documentation/index.html

=== Bugs/Patches

Expand All @@ -34,6 +35,10 @@ http://thewoolleyweb.lighthouseapp.com/projects/11580-geminstaller

See http://geminstaller.rubyforge.org/documentation/index.html

== REQUIREMENTS:

* RubyGems

== INSTALL:

* [sudo] gem install geminstaller
Expand Down
30 changes: 16 additions & 14 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
require File.expand_path("#{File.dirname(__FILE__)}/spec/helper/test_gem_home")
GemInstaller::TestGemHome.install_rubygems

require 'rubygems'
begin
gem 'hoe', '= 1.8.3' # Hoe F#@%ed everything up >= 1.11.0, force old version 'til I can rip out dependencies on it
require 'hoe'
rescue LoadError
rescue LoadError => e
puts e
abort "ERROR: GemInstaller has build- and test-time dependencies
on Hoe and other libraries. Run the 'geminstaller'
executable from the root of the geminstaller source
Expand All @@ -19,18 +18,17 @@ puts "Gem::RubyGemsVersion = #{Gem::RubyGemsVersion}"
require './lib/geminstaller.rb'
require './lib/geminstaller/hoe_extensions.rb'

IndependentHoe.new('geminstaller', GemInstaller.version) do |p|
p.author = 'Chad Woolley'
p.email = 'thewoolleyman@gmail.com'
IndependentHoe.plugin :seattlerb

IndependentHoe.spec 'geminstaller' do |p|
developer 'Chad Woolley', 'thewoolleyman@gmail.com'
p.rubyforge_name = 'geminstaller'
p.summary = p.paragraphs_of('README.txt', 1).first.split(/\n/)[2]
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")
p.clean_globs << 'coverage'
p.clean_globs << 'website/out'
p.clean_globs << 'website/output'
p.clean_globs << '**/webgen.cache'
p.version = GemInstaller.version
p.summary = "See http://geminstaller.rubyforge.org"
clean_globs << 'coverage'
clean_globs << 'website/out'
clean_globs << 'website/output'
clean_globs << '**/webgen.cache'
p.extra_deps = []
end

Expand Down Expand Up @@ -68,9 +66,13 @@ task :diff_manifest => :clean do
Find.find '.' do |path|
next unless File.file? path
next if path =~ /\.svn|tmp$|CVS/
next if path =~ /\.git|\.gitmodules/
next if path =~ /dummyrepo/
next if path =~ /\.iml|\.ipr|\.iws|\.kpf|\.tmproj|\.project/
next if path =~ /\.idea/
next if path =~ /\.\/nbproject/
next if path =~ /\.\/spec/
next if path =~ /\.\/test_suites/
next if path =~ /\.\/pkg/
next if path =~ /\.\/out/
next if path =~ /\.\/website\/out/
Expand Down
11 changes: 8 additions & 3 deletions geminstaller.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
---
# GemInstaller config file which specifies the actual build, test, and doc dependencies for GemInstaller itself.
defaults:
install_options: --include-dependencies
install_options: --no-ri --no-rdoc
fix_dependencies: true
gems:
- name: diff-lcs
version: '>= 1.1.2'
- name: hoe
version: '= 1.8.3'
version: '>= 2.3.2'
- name: hoe-seattlerb
version: '>= 1.2.0'
- name: open4
version: '>= 0.9.6'
- name: rake
Expand All @@ -19,7 +21,10 @@ gems:
# version: '= 3.0.4'
version: '= 4.0.4'
- name: rspec
version: '>= 1.1.12'
version: '>= 1.2.8'
# install dev dependencies for rspec, or else regression tests on older versions of rubygems with the dev dependencies
# bug (1.0, 1.1) fail - and currently Hoe swallows Rspec load error silently
install_options: --no-ri --no-rdoc --development
- name: cmdparse
version: '>= 2.0.2'
- name: ruby-debug
Expand Down
Binary file not shown.
4 changes: 0 additions & 4 deletions spec/fixture/rubygems_dist/rubygems-1.0.1/.document

This file was deleted.

Loading

0 comments on commit 8800ebd

Please sign in to comment.