homeschool 0.0.1.5 → 0.0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/standardized_test.rb +0 -8
  3. metadata +1 -1
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rake/gempackagetask'
3
3
 
4
4
  task :default => :package
5
5
 
6
- REV = `svn info`[/Revision:\s(\d+)/, 1] rescue nil
6
+ REV = `svn up && svn info`[/Revision:\s(\d+)/, 1] rescue nil
7
7
  PKG_VERSION = ENV['VERSION'] || "0.0.1" + (REV ? ".#{REV}" : "")
8
8
 
9
9
  #PKG_VERSION = '0.0.1' #{}`ruby -Ilib bin/homeschool -v`.chomp
@@ -29,14 +29,6 @@ module HomeschoolTestHelper
29
29
  def assert_json(expected, actual)
30
30
  assert_equal JSON.parse(expected), JSON.parse(actual)
31
31
  end
32
- def assert_difference(klass, method, difference=1, &block)
33
- old = klass.send(method)
34
- block.call
35
- assert_equal old + difference, klass.send(method)
36
- end
37
- def assert_no_difference(klass, method, &block)
38
- assert_difference(klass, method, 0, &block)
39
- end
40
32
  def assert_fails
41
33
  yield
42
34
  passed = true
metadata CHANGED
@@ -3,7 +3,7 @@ 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.5
6
+ version: 0.0.1.8
7
7
  date: 2007-09-07 00:00:00 -04:00
8
8
  summary: The homeschool gem
9
9
  require_paths: