gorp 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/gorp.gemspec +2 -2
  2. data/lib/gorp/test.rb +6 -4
  3. data/lib/version.rb +1 -1
  4. metadata +2 -2
data/gorp.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{gorp}
5
- s.version = "0.8.0"
5
+ s.version = "0.8.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Sam Ruby"]
9
- s.date = %q{2009-11-24}
9
+ s.date = %q{2009-11-25}
10
10
  s.description = %q{ Enables the creation of scenarios that involve creating a rails project,
11
11
  starting and stoppping of servers, generating projects, editing files,
12
12
  issuing http requests, running of commands, etc. Output is captured as
data/lib/gorp/test.rb CHANGED
@@ -5,12 +5,12 @@ require 'gorp/env'
5
5
  begin
6
6
  # installed Rails (2.3.3 ish)
7
7
  require 'active_support'
8
- $:.unshift 'work/depot/vendor/rails/activesupport/lib'
8
+ $:.unshift "#{$WORK}/depot/vendor/rails/activesupport/lib"
9
9
  require 'active_support/version'
10
10
  $:.shift
11
11
  rescue LoadError
12
12
  # testing Rails (3.0 ish)
13
- $:.unshift 'work/depot/vendor/rails/activesupport/lib'
13
+ $:.unshift "#{$WORK}/depot/vendor/rails/activesupport/lib"
14
14
  require 'active_support'
15
15
  require 'active_support/version'
16
16
  end
@@ -22,20 +22,22 @@ end
22
22
 
23
23
  class Book::TestCase < ActiveSupport::TestCase
24
24
  # just enough infrastructure to get 'assert_select' to work
25
+ $:.unshift "#{$WORK}/depot/vendor/rails/actionpack/lib"
25
26
  begin
26
27
  # installed Rails (2.3.3 ish)
27
28
  require 'action_controller'
28
29
  require 'action_controller/assertions/selector_assertions'
29
30
  include ActionController::Assertions::SelectorAssertions
31
+ require 'action_controller/vendor/html-scanner/html/tokenizer'
32
+ require 'action_controller/vendor/html-scanner/html/document'
30
33
  rescue LoadError
31
34
  # testing Rails (3.0 ish)
32
- $:.unshift 'work/depot/vendor/rails/actionpack/lib'
33
35
  require 'action_controller'
34
36
  require 'action_dispatch/testing/assertions'
35
37
  require 'action_dispatch/testing/assertions/selector'
36
38
  include ActionDispatch::Assertions::SelectorAssertions
37
- $:.shift
38
39
  end
40
+ $:.shift
39
41
 
40
42
  # micro DSL allowing the definition of optional tests
41
43
  def self.section number, title, &tests
data/lib/version.rb CHANGED
@@ -2,7 +2,7 @@ module Gorp
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 8
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gorp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Ruby
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-24 00:00:00 -05:00
12
+ date: 2009-11-25 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency