homeschool 0.0.1 → 0.0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +3 -3
  2. data/lib/standardized_test.rb +1 -3
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -3,10 +3,10 @@ require 'rake/gempackagetask'
3
3
 
4
4
  task :default => :package
5
5
 
6
- #REV = File.read(".svn/entries")[/committed-rev="(\d+)"/, 1] rescue nil
7
- #VERS = ENV['VERSION'] || "0.1" + (REV ? ".#{REV}" : "")
6
+ REV = `svn info`[/Revision:\s(\d+)/, 1] rescue nil
7
+ PKG_VERSION = ENV['VERSION'] || "0.0.1" + (REV ? ".#{REV}" : "")
8
8
 
9
- PKG_VERSION = '0.0.1' #{}`ruby -Ilib bin/homeschool -v`.chomp
9
+ #PKG_VERSION = '0.0.1' #{}`ruby -Ilib bin/homeschool -v`.chomp
10
10
 
11
11
  summary = "The homeschool gem"
12
12
  dependencies = [
@@ -49,10 +49,8 @@ module HomeschoolTestHelper
49
49
  klass.rdef(/last_(.*)/) do |match|
50
50
  match[1].classify.constantize.find(:all).last
51
51
  end
52
- class << klass; alias_method :old_fixtures, :fixtures; end if klass.respond_to?(:fixtures)
53
52
  class << klass
54
- def fixtures(*fixtures)
55
- old_fixtures(*fixtures) if respond_to?(:old_fixtures) && !fixtures.delete(:ignore_old_fixtures)
53
+ def homeschool_fixtures(*fixtures)
56
54
  fixtures.each do |fixture|
57
55
  fixture_class = fixture.to_s.classify.constantize
58
56
  rdef(/.*#{fixture_class.name.underscore}.*/) do |match, *options|
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: homeschool
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.1
7
- date: 2007-08-24 00:00:00 -04:00
6
+ version: 0.0.1.5
7
+ date: 2007-09-07 00:00:00 -04:00
8
8
  summary: The homeschool gem
9
9
  require_paths:
10
10
  - lib