minitest-rails 0.1.0.alpha2 → 0.1

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.
data/CHANGELOG.rdoc CHANGED
@@ -1,7 +1,29 @@
1
+ === 0.1.0 / 2012-07-09
2
+
3
+ This is a major change. The approach used is the same approach used in Rails 4. This version is very different than the 0.0.x versions.
4
+
5
+ https://github.com/blowmage/minitest-rails/compare/v0.0.7...v0.1
6
+
7
+ === 0.0.7 / 2012-05-19
8
+
9
+ * Use the Minitest constant
10
+
11
+ https://github.com/blowmage/minitest-rails/compare/v0.0.6...v0.0.7
12
+
13
+ === 0.0.6 / 2012-03-14
14
+
15
+ https://github.com/blowmage/minitest-rails/compare/v0.0.5...v0.0.6
16
+
17
+ === 0.0.5 / 2011-06-22
18
+
19
+ https://github.com/blowmage/minitest-rails/compare/v0.0.4...v0.0.5
20
+
1
21
  === 0.0.4 / 2011-06-08
2
22
 
3
23
  Add scaffold, bump to Rails 3.1.0.rc2
4
24
 
25
+ https://github.com/blowmage/minitest-rails/compare/v0.0.2...v0.0.4
26
+
5
27
  === 0.0.2 / 2011-06-02
6
28
 
7
29
  Incomplete, but no longer in (known) a broken state.
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2012 Mike Moore
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Manifest.txt CHANGED
@@ -1,5 +1,7 @@
1
1
  .autotest
2
+ .gemtest
2
3
  CHANGELOG.rdoc
4
+ LICENSE
3
5
  Manifest.txt
4
6
  README.rdoc
5
7
  Rakefile
@@ -30,6 +32,7 @@ lib/minitest/rails.rb
30
32
  lib/minitest/rails/action_controller.rb
31
33
  lib/minitest/rails/action_dispatch.rb
32
34
  lib/minitest/rails/action_mailer.rb
35
+ lib/minitest/rails/action_view.rb
33
36
  lib/minitest/rails/active_support.rb
34
37
  lib/minitest/rails/tasks/minitest.rake
35
38
  minitest-rails.gemspec
data/README.rdoc CHANGED
@@ -1,6 +1,6 @@
1
1
  = minitest-rails
2
2
 
3
- MiniTest integration for Rails 3.1.
3
+ MiniTest integration for Rails 3.
4
4
 
5
5
  == Install
6
6
 
@@ -22,12 +22,6 @@ Add <tt>minitest-rails</tt> to the <tt>:test</tt> and <tt>:development</tt> grou
22
22
  gem 'minitest-rails'
23
23
  end
24
24
 
25
- Or, for the truly enlightened, add <tt>minitest-rails</tt> to the <tt>:test</tt> and <tt>:development</tt> groups in Isolate:
26
-
27
- env :development, :test do
28
- gem 'minitest-rails'
29
- end
30
-
31
25
  Next run the installation generator with the following:
32
26
 
33
27
  rails generate mini_test:install
@@ -37,6 +31,7 @@ This will add the <tt>minitest_helper.rb</tt> file to the <tt>test</tt> director
37
31
  == Usage
38
32
 
39
33
  We aim to expose MiniTest with minimal changes for testing within Rails.
34
+ Because of this, we allow Test::Unit and MiniTest tests to live side by side.
40
35
  Your test classes will inherit from MiniTest::Rails::ActiveSupport::TestCase a opposed to ActiveSupport::TestCase.
41
36
  You can use the MiniTest::Spec DSL.
42
37
  You can generate test files with the standard model, controller, resource, and other generators:
@@ -57,8 +52,37 @@ You can also set these as defaults by adding the following to the <tt>config/app
57
52
  g.test_framework :mini_test, :spec => true, :fixture => false
58
53
  end
59
54
 
55
+ == Overriding Test::Unit
56
+
57
+ Of course, you may not want to maintain separate Test::Unit and MiniTest tests.
58
+ If this is the behavior you are wanting, simply add the following to your <tt>test_helper.rb</tt> file:
59
+
60
+ require "minitest/rails"
61
+ MiniTest::Rails.override_testunit!
62
+
63
+ == Capybara
64
+
65
+ You can use Capybara in your acceptance/integration tests by adding <tt>minitest-rails-capybara</tt> as a dependency.
66
+
67
+ group :test, :development do
68
+ gem 'minitest-rails'
69
+ gem 'minitest-rails-capybara'
70
+ end
71
+
72
+ And add the following to your test helper file:
73
+
74
+ require "minitest/rails/capybara"
75
+
76
+ See the <tt>minitest-rails-capybara</tt> project for more information.
77
+
60
78
  == Get Involved
61
79
 
62
80
  Join the mailing list to get help or offer suggestions.
63
81
 
64
- https://groups.google.com/forum/#!forum/minitest-rails
82
+ https://groups.google.com/group/minitest-rails
83
+
84
+ == License
85
+
86
+ Copyright © 2012 Mike Moore.
87
+
88
+ Released under the MIT license. See `LICENSE` for details.
data/Rakefile CHANGED
@@ -19,7 +19,7 @@ Hoe.spec 'minitest-rails' do
19
19
  self.testlib = :minitest
20
20
 
21
21
  extra_deps << ['minitest', '~> 3.0']
22
- extra_deps << ['rails', '~> 3.1']
22
+ extra_deps << ['rails', '~> 3.0']
23
23
  end
24
24
 
25
25
  # vim: syntax=ruby
@@ -1,7 +1,7 @@
1
1
  require "minitest_helper"
2
2
 
3
3
  <% module_namespacing do -%>
4
- class <%= class_name %>HelperTest < MiniTest::Unit::TestCase
4
+ class <%= class_name %>HelperTest < MiniTest::Rails::ActionView::TestCase
5
5
 
6
6
  def test_sanity
7
7
  flunk "Need real tests"
@@ -4,6 +4,9 @@ require File.expand_path('../../config/environment', __FILE__)
4
4
  require "minitest/autorun"
5
5
  require "minitest/rails"
6
6
 
7
+ # Uncomment if you want Capybara in accceptance/integration tests
8
+ # require "minitest/rails/capybara"
9
+
7
10
  # Uncomment if you want awesome colorful output
8
11
  # require "minitest/pride"
9
12
 
@@ -19,4 +22,4 @@ end
19
22
  # A) Change the require on the existing tests to `require "minitest_helper"`
20
23
  # B) Require this file's code in test_helper.rb
21
24
 
22
- # ::ActiveSupport::TestCase = MiniTest::Rails::ActiveSupport::TestCase
25
+ # MiniTest::Rails.override_testunit!
@@ -12,9 +12,15 @@ module MiniTest
12
12
 
13
13
  def create_test_files
14
14
  if options[:spec]
15
- template "controller_spec.rb", File.join("test/controllers", class_path, "#{file_name}_controller_test.rb")
15
+ template "controller_spec.rb",
16
+ File.join("test/controllers",
17
+ class_path,
18
+ "#{controller_file_name}_controller_test.rb")
16
19
  else
17
- template "controller_test.rb", File.join("test/controllers", class_path, "#{file_name}_controller_test.rb")
20
+ template "controller_test.rb",
21
+ File.join("test/controllers",
22
+ class_path,
23
+ "#{controller_file_name}_controller_test.rb")
18
24
  end
19
25
  end
20
26
  end
@@ -1,7 +1,7 @@
1
1
  require "minitest_helper"
2
2
 
3
3
  <% module_namespacing do -%>
4
- describe <%= class_name %>Controller do
4
+ describe <%= controller_class_name %>Controller do
5
5
 
6
6
  before do
7
7
  @<%= singular_table_name %> = <%= class_name %>.new
@@ -1,7 +1,7 @@
1
1
  require "minitest_helper"
2
2
 
3
3
  <% module_namespacing do -%>
4
- class <%= class_name %>ControllerTest < MiniTest::Rails::ActionController::TestCase
4
+ class <%= controller_class_name %>ControllerTest < MiniTest::Rails::ActionController::TestCase
5
5
 
6
6
  before do
7
7
  @<%= singular_table_name %> = <%= class_name %>.new
@@ -3,11 +3,17 @@ require "minitest/unit"
3
3
 
4
4
  module MiniTest
5
5
  module Rails
6
- VERSION = "0.1.0.alpha2"
6
+ VERSION = "0.1"
7
7
  class Railtie < ::Rails::Railtie
8
- config.app_generators.integration_tool :mini_test
9
- config.app_generators.test_framework :mini_test
10
- config.app_generators.fallbacks[:mini_test] = :test_unit
8
+ if ::Rails.version.to_f >= 3.1
9
+ config.app_generators.integration_tool :mini_test
10
+ config.app_generators.test_framework :mini_test
11
+ config.app_generators.fallbacks[:mini_test] = :test_unit
12
+ else
13
+ config.generators.integration_tool :mini_test
14
+ config.generators.test_framework :mini_test
15
+ config.generators.fallbacks[:mini_test] = :test_unit
16
+ end
11
17
 
12
18
  rake_tasks do
13
19
  load "minitest/rails/tasks/minitest.rake"
@@ -4,6 +4,7 @@ abort("Abort testing: Your Rails environment is running in production mode!") if
4
4
 
5
5
  require "minitest/rails/active_support"
6
6
  require "minitest/rails/action_controller"
7
+ require "minitest/rails/action_view"
7
8
  require "minitest/rails/action_mailer"
8
9
  require "minitest/rails/action_dispatch"
9
10
 
@@ -13,6 +14,20 @@ begin
13
14
  rescue LoadError
14
15
  end
15
16
 
17
+ module MiniTest
18
+ module Rails
19
+ def self.override_testunit!
20
+ Kernel.silence_warnings do
21
+ ::ActiveSupport.const_set :TestCase, MiniTest::Rails::ActiveSupport::TestCase
22
+ ::ActionController.const_set :TestCase, MiniTest::Rails::ActionController::TestCase
23
+ ::ActionView.const_set :TestCase, MiniTest::Rails::ActionView::TestCase
24
+ ::ActionMailer.const_set :TestCase, MiniTest::Rails::ActionMailer::TestCase
25
+ ::ActionDispatch.const_set :IntegrationTest, MiniTest::Rails::ActionDispatch::IntegrationTest
26
+ end
27
+ end
28
+ end
29
+ end
30
+
16
31
  if defined?(ActiveRecord::Base)
17
32
  class MiniTest::Rails::ActiveSupport::TestCase
18
33
  include ActiveRecord::TestFixtures
@@ -5,6 +5,8 @@ module MiniTest
5
5
  module Rails
6
6
  module ActionController
7
7
  class TestCase < MiniTest::Rails::ActiveSupport::TestCase
8
+ RaiseActionExceptions = ::ActionController::TestCase::RaiseActionExceptions
9
+
8
10
  # Use AC::TestCase for the base class when describing a controller
9
11
  register_spec_type(self) do |desc|
10
12
  desc < ::ActionController::Base
@@ -7,6 +7,19 @@ module MiniTest
7
7
  class IntegrationTest < MiniTest::Rails::ActiveSupport::TestCase
8
8
  include ::ActionDispatch::Integration::Runner
9
9
  include ::ActionController::TemplateAssertions
10
+ include ::ActionDispatch::Routing::UrlFor
11
+
12
+ @@app = nil
13
+
14
+ def self.app
15
+ # DEPRECATE Rails application fallback
16
+ # This should be set by the initializer
17
+ @@app || (defined?(Rails.application) && Rails.application) || nil
18
+ end
19
+
20
+ def self.app=(app)
21
+ @@app = app
22
+ end
10
23
 
11
24
  def app
12
25
  super || ::ActionDispatch::IntegrationTest.app
@@ -17,5 +30,7 @@ module MiniTest
17
30
  end
18
31
 
19
32
  # Register by name
20
- MiniTest::Spec.register_spec_type(/AcceptanceTest$/, MiniTest::Rails::ActionDispatch::IntegrationTest)
21
- MiniTest::Spec.register_spec_type(/Acceptance Test$/, MiniTest::Rails::ActionDispatch::IntegrationTest)
33
+ MiniTest::Spec.register_spec_type(/AcceptanceTest$/, MiniTest::Rails::ActionDispatch::IntegrationTest)
34
+ MiniTest::Spec.register_spec_type(/Acceptance Test$/, MiniTest::Rails::ActionDispatch::IntegrationTest)
35
+ MiniTest::Spec.register_spec_type(/IntegrationTest$/, MiniTest::Rails::ActionDispatch::IntegrationTest)
36
+ MiniTest::Spec.register_spec_type(/Integration Test$/, MiniTest::Rails::ActionDispatch::IntegrationTest)
@@ -0,0 +1,18 @@
1
+ require "minitest/rails/active_support"
2
+ require "action_view/test_case"
3
+
4
+ module MiniTest
5
+ module Rails
6
+ module ActionView
7
+ class TestCase < MiniTest::Rails::ActiveSupport::TestCase
8
+ TestController = ::ActionView::TestCase::TestController
9
+ include ::ActionView::TestCase::Behavior
10
+ end
11
+ end
12
+ end
13
+ end
14
+
15
+ # Register by name, because Helpers are just modules
16
+ MiniTest::Spec.register_spec_type(/Helper$/, MiniTest::Rails::ActionView::TestCase)
17
+ MiniTest::Spec.register_spec_type(/HelperTest$/, MiniTest::Rails::ActionView::TestCase)
18
+ MiniTest::Spec.register_spec_type(/Helper Test$/, MiniTest::Rails::ActionView::TestCase)
@@ -42,12 +42,6 @@ module MiniTest
42
42
  yield if $tags[tag]
43
43
  end
44
44
 
45
- # FIXME: we have tests that depend on run order, we should fix that and
46
- # remove this method.
47
- def self.test_order # :nodoc:
48
- :sorted
49
- end
50
-
51
45
  def describe(*args, &block)
52
46
  Kernel.describe(args, block)
53
47
  end
@@ -16,6 +16,10 @@ end
16
16
 
17
17
  namespace 'minitest' do
18
18
 
19
+ task :prepare do
20
+ # Placeholder task for other Railtie and plugins to enhance. See Active Record for an example.
21
+ end
22
+
19
23
  task :run do
20
24
  errors = MINITEST_TASKS.collect do |task|
21
25
  begin
@@ -33,7 +37,7 @@ namespace 'minitest' do
33
37
  end
34
38
 
35
39
  TASKS.each do |sub|
36
- Rails::SubTestTask.new(sub => 'test:prepare') do |t|
40
+ Rails::SubTestTask.new(sub => 'minitest:prepare') do |t|
37
41
  t.libs.push 'test'
38
42
  t.pattern = "test/#{sub}/**/*_test.rb"
39
43
  end
@@ -2,20 +2,20 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "minitest-rails"
5
- s.version = "0.1.0.alpha2.20120706021507"
5
+ s.version = "0.1.20120709115419"
6
6
 
7
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Mike Moore"]
9
- s.date = "2012-07-06"
9
+ s.date = "2012-07-09"
10
10
  s.description = "Adds MiniTest as the default testing library in Rails 3."
11
11
  s.email = ["mike@blowmage.com"]
12
12
  s.extra_rdoc_files = ["CHANGELOG.rdoc", "Manifest.txt", "README.rdoc"]
13
- s.files = [".autotest", "CHANGELOG.rdoc", "Manifest.txt", "README.rdoc", "Rakefile", "lib/generators/mini_test.rb", "lib/generators/mini_test/controller/controller_generator.rb", "lib/generators/mini_test/controller/templates/controller_spec.rb", "lib/generators/mini_test/controller/templates/controller_test.rb", "lib/generators/mini_test/helper/helper_generator.rb", "lib/generators/mini_test/helper/templates/helper_spec.rb", "lib/generators/mini_test/helper/templates/helper_test.rb", "lib/generators/mini_test/install/install_generator.rb", "lib/generators/mini_test/install/templates/test/minitest_helper.rb", "lib/generators/mini_test/integration/integration_generator.rb", "lib/generators/mini_test/integration/templates/integration_spec.rb", "lib/generators/mini_test/integration/templates/integration_test.rb", "lib/generators/mini_test/mailer/mailer_generator.rb", "lib/generators/mini_test/mailer/templates/mailer_spec.rb", "lib/generators/mini_test/mailer/templates/mailer_test.rb", "lib/generators/mini_test/model/model_generator.rb", "lib/generators/mini_test/model/templates/fixtures.yml", "lib/generators/mini_test/model/templates/model_spec.rb", "lib/generators/mini_test/model/templates/model_test.rb", "lib/generators/mini_test/scaffold/scaffold_generator.rb", "lib/generators/mini_test/scaffold/templates/controller_spec.rb", "lib/generators/mini_test/scaffold/templates/controller_test.rb", "lib/minitest-rails.rb", "lib/minitest/rails.rb", "lib/minitest/rails/action_controller.rb", "lib/minitest/rails/action_dispatch.rb", "lib/minitest/rails/action_mailer.rb", "lib/minitest/rails/active_support.rb", "lib/minitest/rails/tasks/minitest.rake", "minitest-rails.gemspec", "test/test_controller_generator.rb", "test/test_helper_generator.rb", "test/test_install_generator.rb", "test/test_mailer_generator.rb", "test/test_minitest.rb", "test/test_model_generator.rb", "test/test_scaffold_generator.rb", ".gemtest"]
13
+ s.files = [".autotest", ".gemtest", "CHANGELOG.rdoc", "LICENSE", "Manifest.txt", "README.rdoc", "Rakefile", "lib/generators/mini_test.rb", "lib/generators/mini_test/controller/controller_generator.rb", "lib/generators/mini_test/controller/templates/controller_spec.rb", "lib/generators/mini_test/controller/templates/controller_test.rb", "lib/generators/mini_test/helper/helper_generator.rb", "lib/generators/mini_test/helper/templates/helper_spec.rb", "lib/generators/mini_test/helper/templates/helper_test.rb", "lib/generators/mini_test/install/install_generator.rb", "lib/generators/mini_test/install/templates/test/minitest_helper.rb", "lib/generators/mini_test/integration/integration_generator.rb", "lib/generators/mini_test/integration/templates/integration_spec.rb", "lib/generators/mini_test/integration/templates/integration_test.rb", "lib/generators/mini_test/mailer/mailer_generator.rb", "lib/generators/mini_test/mailer/templates/mailer_spec.rb", "lib/generators/mini_test/mailer/templates/mailer_test.rb", "lib/generators/mini_test/model/model_generator.rb", "lib/generators/mini_test/model/templates/fixtures.yml", "lib/generators/mini_test/model/templates/model_spec.rb", "lib/generators/mini_test/model/templates/model_test.rb", "lib/generators/mini_test/scaffold/scaffold_generator.rb", "lib/generators/mini_test/scaffold/templates/controller_spec.rb", "lib/generators/mini_test/scaffold/templates/controller_test.rb", "lib/minitest-rails.rb", "lib/minitest/rails.rb", "lib/minitest/rails/action_controller.rb", "lib/minitest/rails/action_dispatch.rb", "lib/minitest/rails/action_mailer.rb", "lib/minitest/rails/action_view.rb", "lib/minitest/rails/active_support.rb", "lib/minitest/rails/tasks/minitest.rake", "minitest-rails.gemspec", "test/test_controller_generator.rb", "test/test_helper_generator.rb", "test/test_install_generator.rb", "test/test_mailer_generator.rb", "test/test_minitest.rb", "test/test_model_generator.rb", "test/test_scaffold_generator.rb"]
14
14
  s.homepage = "http://blowmage.com/minitest-rails"
15
15
  s.rdoc_options = ["--main", "README.rdoc"]
16
16
  s.require_paths = ["lib"]
17
17
  s.rubyforge_project = "minitest-rails"
18
- s.rubygems_version = "1.8.16"
18
+ s.rubygems_version = "1.8.24"
19
19
  s.summary = "MiniTest integration for Rails 3."
20
20
  s.test_files = ["test/test_controller_generator.rb", "test/test_helper_generator.rb", "test/test_install_generator.rb", "test/test_mailer_generator.rb", "test/test_minitest.rb", "test/test_model_generator.rb", "test/test_scaffold_generator.rb"]
21
21
 
@@ -24,18 +24,18 @@ Gem::Specification.new do |s|
24
24
 
25
25
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26
26
  s.add_runtime_dependency(%q<minitest>, ["~> 3.0"])
27
- s.add_runtime_dependency(%q<rails>, ["~> 3.1"])
27
+ s.add_runtime_dependency(%q<rails>, ["~> 3.0"])
28
28
  s.add_development_dependency(%q<rdoc>, ["~> 3.10"])
29
29
  s.add_development_dependency(%q<hoe>, ["~> 3.0"])
30
30
  else
31
31
  s.add_dependency(%q<minitest>, ["~> 3.0"])
32
- s.add_dependency(%q<rails>, ["~> 3.1"])
32
+ s.add_dependency(%q<rails>, ["~> 3.0"])
33
33
  s.add_dependency(%q<rdoc>, ["~> 3.10"])
34
34
  s.add_dependency(%q<hoe>, ["~> 3.0"])
35
35
  end
36
36
  else
37
37
  s.add_dependency(%q<minitest>, ["~> 3.0"])
38
- s.add_dependency(%q<rails>, ["~> 3.1"])
38
+ s.add_dependency(%q<rails>, ["~> 3.0"])
39
39
  s.add_dependency(%q<rdoc>, ["~> 3.10"])
40
40
  s.add_dependency(%q<hoe>, ["~> 3.0"])
41
41
  end
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.alpha2
5
- prerelease: 6
4
+ version: '0.1'
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mike Moore
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-06 00:00:00.000000000 Z
12
+ date: 2012-07-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
16
- requirement: &70311455892940 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,21 +21,31 @@ dependencies:
21
21
  version: '3.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70311455892940
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '3.0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: rails
27
- requirement: &70311455892500 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
31
36
  - !ruby/object:Gem::Version
32
- version: '3.1'
37
+ version: '3.0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70311455892500
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '3.0'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: rdoc
38
- requirement: &70311455892060 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '3.10'
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *70311455892060
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.10'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: hoe
49
- requirement: &70311455891620 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
@@ -54,7 +69,12 @@ dependencies:
54
69
  version: '3.0'
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *70311455891620
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: '3.0'
58
78
  description: Adds MiniTest as the default testing library in Rails 3.
59
79
  email:
60
80
  - mike@blowmage.com
@@ -66,7 +86,9 @@ extra_rdoc_files:
66
86
  - README.rdoc
67
87
  files:
68
88
  - .autotest
89
+ - .gemtest
69
90
  - CHANGELOG.rdoc
91
+ - LICENSE
70
92
  - Manifest.txt
71
93
  - README.rdoc
72
94
  - Rakefile
@@ -97,6 +119,7 @@ files:
97
119
  - lib/minitest/rails/action_controller.rb
98
120
  - lib/minitest/rails/action_dispatch.rb
99
121
  - lib/minitest/rails/action_mailer.rb
122
+ - lib/minitest/rails/action_view.rb
100
123
  - lib/minitest/rails/active_support.rb
101
124
  - lib/minitest/rails/tasks/minitest.rake
102
125
  - minitest-rails.gemspec
@@ -107,7 +130,6 @@ files:
107
130
  - test/test_minitest.rb
108
131
  - test/test_model_generator.rb
109
132
  - test/test_scaffold_generator.rb
110
- - .gemtest
111
133
  homepage: http://blowmage.com/minitest-rails
112
134
  licenses: []
113
135
  post_install_message:
@@ -125,12 +147,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
125
147
  required_rubygems_version: !ruby/object:Gem::Requirement
126
148
  none: false
127
149
  requirements:
128
- - - ! '>'
150
+ - - ! '>='
129
151
  - !ruby/object:Gem::Version
130
- version: 1.3.1
152
+ version: '0'
131
153
  requirements: []
132
154
  rubyforge_project: minitest-rails
133
- rubygems_version: 1.8.16
155
+ rubygems_version: 1.8.24
134
156
  signing_key:
135
157
  specification_version: 3
136
158
  summary: MiniTest integration for Rails 3.