minitest-test 1.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NzM1MzNhZjVhNzQ3MzgyNTQ0NTA0MmQ1NjJiMTkwYmZhMGQ3MTg3Mg==
5
+ data.tar.gz: !binary |-
6
+ ZWM5NjE0NzJmN2E2N2VkYTlmNDZjN2Q3MWFjNDI3Y2JhNDk4YjRlOQ==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ YTdjMjcyZDU2OTQ5MTA5MjMxODNjYTg0NGE3NWI3MWU0ZTUxMmZiYTUxMDM5
10
+ MjE2ZTRiOThlZmY3ZTE0MGRhYTUxNmNkOTk5YzNjZTA0N2ZmZjE2Y2NiNjA1
11
+ NjMzYjkxYWY3NWU3NzFlNjEwMjM5ZjYyNzlhMzU0MmQxNzY1MDc=
12
+ data.tar.gz: !binary |-
13
+ NzEyMjFlNzkyNmJkOTRjYWZjZmE0YmU0MTYzZWFmZGQ3ZWZkMjIwODM5MjZl
14
+ OWNlZDYyMGFjMjBiODZhMGQxN2QzNGE4ZmVhNzliZDhiNDcwNWViZTU3ZjA0
15
+ MzI0M2Q1MDVlNGM3ZmY2NDc3YzY1MGQ0YmUwOGFkZTBmNGNmY2Y=
@@ -0,0 +1,23 @@
1
+ # -*- ruby -*-
2
+
3
+ require 'autotest/restart'
4
+
5
+ # Autotest.add_hook :initialize do |at|
6
+ # at.extra_files << "../some/external/dependency.rb"
7
+ #
8
+ # at.libs << ":../some/external"
9
+ #
10
+ # at.add_exception 'vendor'
11
+ #
12
+ # at.add_mapping(/dependency.rb/) do |f, _|
13
+ # at.files_matching(/test_.*rb$/)
14
+ # end
15
+ #
16
+ # %w(TestA TestB).each do |klass|
17
+ # at.extra_class_map[klass] = "test/test_misc.rb"
18
+ # end
19
+ # end
20
+
21
+ # Autotest.add_hook :run_command do |at|
22
+ # system "rake build"
23
+ # end
File without changes
@@ -0,0 +1,6 @@
1
+ === 1.0.0 / 2013-05-29
2
+
3
+ * 1 major enhancement
4
+
5
+ * Birthday!
6
+
@@ -0,0 +1,7 @@
1
+ .autotest
2
+ History.rdoc
3
+ Manifest.txt
4
+ README.rdoc
5
+ Rakefile
6
+ lib/minitest/test.rb
7
+ test/minitest/test_test.rb
@@ -0,0 +1,71 @@
1
+ = minitest-test
2
+
3
+ Minitest::Test for MiniTest 4
4
+
5
+ == DESCRIPTION:
6
+
7
+ Enables Minitest 5 test syntax in MiniTest 4.
8
+
9
+ Do you love the syntax changes made in Minitest 5 but are forced to stay
10
+ on MiniTest 4? No problem. This small library will enable much of the
11
+ Minitest 5 test syntax for you. Simply <tt>require "minitest/test"</tt>
12
+ in your helper or your test file and you are good to go.
13
+
14
+ require "minitest/test"
15
+ require "minitest/autorun"
16
+
17
+ class TestFoo < Minitest::Test
18
+ def test_foo
19
+ assert_equal "foo", Foo.new.foo
20
+ end
21
+ end
22
+
23
+ Best of all, this is forwards compatible with Minitest 5.
24
+
25
+ == INSTALL:
26
+
27
+ Install with rubygems.
28
+
29
+ gem install minitest-test
30
+
31
+ == DEVELOPERS:
32
+
33
+ Fork the project from the
34
+ {GitHub repository}[https://github.com/blowmage/minitest-test].
35
+
36
+ After checking out the source, run:
37
+
38
+ $ gem install hoe
39
+ $ rake newb
40
+
41
+ This task will install any missing dependencies, run the tests, and
42
+ generate the RDoc. Now you are ready to create and submit a patch.
43
+
44
+ Create an issue or pull request on the
45
+ {blowmage/minitest-test}[https://github.com/blowmage/minitest-test] repo
46
+ that links to a branch on your repo or a gist of your patch.
47
+
48
+ == LICENSE:
49
+
50
+ (The MIT License)
51
+
52
+ Copyright (c) 2013 Mike Moore
53
+
54
+ Permission is hereby granted, free of charge, to any person obtaining
55
+ a copy of this software and associated documentation files (the
56
+ 'Software'), to deal in the Software without restriction, including
57
+ without limitation the rights to use, copy, modify, merge, publish,
58
+ distribute, sublicense, and/or sell copies of the Software, and to
59
+ permit persons to whom the Software is furnished to do so, subject to
60
+ the following conditions:
61
+
62
+ The above copyright notice and this permission notice shall be
63
+ included in all copies or substantial portions of the Software.
64
+
65
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
66
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
67
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
68
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
69
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
70
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
71
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,20 @@
1
+ require "rubygems"
2
+ require "hoe"
3
+
4
+ Hoe.plugin :gemspec
5
+ Hoe.plugin :git
6
+ Hoe.plugin :minitest
7
+
8
+ Hoe.spec "minitest-test" do
9
+ developer "Mike Moore", "mike@blowmage.com"
10
+
11
+ self.summary = "Minitest::Test for MiniTest 4"
12
+ self.description = "Enables Minitest 5 test syntax in MiniTest 4"
13
+ self.urls = ["http://blowmage.com/minitest-test"]
14
+
15
+ self.history_file = "History.rdoc"
16
+ self.readme_file = "README.rdoc"
17
+ self.testlib = :minitest
18
+
19
+ dependency "minitest", "~> 4.0"
20
+ end
@@ -0,0 +1,8 @@
1
+ require "minitest/unit"
2
+
3
+ Minitest = MiniTest unless defined? Minitest
4
+ Minitest::Test = MiniTest::Unit::TestCase unless defined? Minitest::Test
5
+
6
+ class Minitest::Test
7
+ VERSION = "1.0.0.beta1"
8
+ end
@@ -0,0 +1,8 @@
1
+ require "minitest/test"
2
+ require "minitest/autorun"
3
+
4
+ class TestTest < Minitest::Test
5
+ def test_sanity
6
+ assert true, "I AM ALIVE!!!"
7
+ end
8
+ end
metadata ADDED
@@ -0,0 +1,99 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: minitest-test
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0.beta1
5
+ platform: ruby
6
+ authors:
7
+ - Mike Moore
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-05-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ prerelease: false
15
+ version_requirements: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ name: minitest
21
+ requirement: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ~>
24
+ - !ruby/object:Gem::Version
25
+ version: '4.0'
26
+ type: :runtime
27
+ - !ruby/object:Gem::Dependency
28
+ prerelease: false
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '4.0'
34
+ name: rdoc
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ~>
38
+ - !ruby/object:Gem::Version
39
+ version: '4.0'
40
+ type: :development
41
+ - !ruby/object:Gem::Dependency
42
+ prerelease: false
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '3.6'
48
+ name: hoe
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '3.6'
54
+ type: :development
55
+ description: Enables Minitest 5 test syntax in MiniTest 4
56
+ email:
57
+ - mike@blowmage.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files:
61
+ - History.rdoc
62
+ - Manifest.txt
63
+ - README.rdoc
64
+ files:
65
+ - .autotest
66
+ - History.rdoc
67
+ - Manifest.txt
68
+ - README.rdoc
69
+ - Rakefile
70
+ - lib/minitest/test.rb
71
+ - test/minitest/test_test.rb
72
+ - .gemtest
73
+ homepage: http://blowmage.com/minitest-test
74
+ licenses: []
75
+ metadata: {}
76
+ post_install_message:
77
+ rdoc_options:
78
+ - --main
79
+ - README.rdoc
80
+ require_paths:
81
+ - lib
82
+ required_ruby_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ! '>='
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ required_rubygems_version: !ruby/object:Gem::Requirement
88
+ requirements:
89
+ - - ! '>'
90
+ - !ruby/object:Gem::Version
91
+ version: 1.3.1
92
+ requirements: []
93
+ rubyforge_project: minitest-test
94
+ rubygems_version: 2.0.3
95
+ signing_key:
96
+ specification_version: 4
97
+ summary: Minitest::Test for MiniTest 4
98
+ test_files:
99
+ - test/minitest/test_test.rb