minitest-rails 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,9 @@
1
+ === 0.9.1 / 2013-03-18
2
+
3
+ * Remove describe method
4
+
5
+ https://github.com/blowmage/minitest-rails/compare/v0.9.0...v0.9.1
6
+
1
7
  === 0.9.0 / 2013-03-18
2
8
 
3
9
  This release marks a new direction for minitest-rails. Deprecations have been added for the features that won't make it to 1.0. See instructions for upgrading to 0.9:
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/blowmage/codez/minitest-rails
3
3
  specs:
4
- minitest-rails (0.9.0.20130318184615)
4
+ minitest-rails (0.9.1.20130318232905)
5
5
  minitest (~> 4.7)
6
6
  rails (>= 3.0)
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/blowmage/codez/minitest-rails
3
3
  specs:
4
- minitest-rails (0.9.0.20130318184615)
4
+ minitest-rails (0.9.1.20130318232905)
5
5
  minitest (~> 4.7)
6
6
  rails (>= 3.0)
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/blowmage/codez/minitest-rails
3
3
  specs:
4
- minitest-rails (0.9.0.20130318184615)
4
+ minitest-rails (0.9.1.20130318232905)
5
5
  minitest (~> 4.7)
6
6
  rails (>= 3.0)
7
7
 
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: /Users/blowmage/codez/minitest-rails
3
3
  specs:
4
- minitest-rails (0.9.0.20130318184615)
4
+ minitest-rails (0.9.1.20130318232905)
5
5
  minitest (~> 4.7)
6
6
  rails (>= 3.0)
7
7
 
@@ -16,6 +16,12 @@ end
16
16
  require "active_support/test_case"
17
17
  require "minitest/rails/constant_lookup"
18
18
  class ActiveSupport::TestCase
19
+ # Remove describe method, added in Rails 3
20
+ class << self
21
+ remove_method :describe
22
+ end if self.respond_to? :describe
23
+
24
+ # Add spec DSL
19
25
  extend MiniTest::Spec::DSL
20
26
 
21
27
  # Resolve constants from the test name when using the spec DSL
@@ -1,5 +1,5 @@
1
1
  module MiniTest
2
2
  module Rails
3
- VERSION = "0.9.0"
3
+ VERSION = "0.9.1"
4
4
  end
5
5
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "minitest-rails"
5
- s.version = "0.9.0.20130318184615"
5
+ s.version = "0.9.1.20130318232905"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Mike Moore"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: minitest-rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.0
5
+ version: 0.9.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mike Moore