minitest-rails 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +6 -0
- data/README.rdoc +2 -2
- data/lib/minitest/rails/railtie.rb +12 -5
- data/lib/minitest/rails/version.rb +1 -1
- data/minitest-rails.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 60989eb015b55ae22f300fd82ab07ef1c1967d86
|
4
|
+
data.tar.gz: f706693ea5cfd171282560f9274ee5979c98083f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3d0af03eb16580c77fca7f459246cda9d29366a615954ec63c1c2bb8148f322e7475452bfea2fa40a7b4f07e7d8f3d19a28bdc8c0650a9f29221b116a0140a6
|
7
|
+
data.tar.gz: e512e0a9891f681d4f6081ca9180e13a58c93f0be4ac98b38f78aefa1aa9f3cd4873f14536d8caf923773d817565c5b7552dc027de40f8c12940f57db1be44ea
|
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -1,12 +1,19 @@
|
|
1
|
+
if defined?(Rake.application) && Rake.application.top_level_tasks.grep(/^test(?::|$)/).any?
|
2
|
+
ENV['RAILS_ENV'] ||= 'test'
|
3
|
+
end
|
4
|
+
|
1
5
|
require "rails"
|
2
6
|
|
3
7
|
module Minitest
|
4
8
|
module Rails
|
5
|
-
class Railtie < ::Rails::Railtie
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
9
|
+
class Railtie < ::Rails::Railtie
|
10
|
+
config.app_generators do |c|
|
11
|
+
c.test_framework :minitest,
|
12
|
+
fixture: true,
|
13
|
+
fixture_replacement: nil
|
14
|
+
c.integration_tool :minitest
|
15
|
+
c.fallbacks[:minitest] = :test_unit
|
16
|
+
end
|
10
17
|
|
11
18
|
rake_tasks do
|
12
19
|
load "rails/test_unit/testing.rake"
|
data/minitest-rails.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: minitest-rails 2.0.
|
2
|
+
# stub: minitest-rails 2.0.1.20140425105510 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "minitest-rails"
|
6
|
-
s.version = "2.0.
|
6
|
+
s.version = "2.0.1.20140425105510"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib"]
|
10
10
|
s.authors = ["Mike Moore"]
|
11
|
-
s.date = "2014-04-
|
11
|
+
s.date = "2014-04-25"
|
12
12
|
s.description = "Adds Minitest as the default testing library in Rails"
|
13
13
|
s.email = ["mike@blowmage.com"]
|
14
14
|
s.extra_rdoc_files = ["CHANGELOG.rdoc", "Manifest.txt", "README.rdoc"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|