sixarm_ruby_minitest_extensions 1.0.0 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/README.md +2 -3
- data/VERSION +1 -1
- data/lib/sixarm_ruby_minitest_extensions.rb +8 -1
- data/lib/sixarm_ruby_minitest_extensions/assertions.rb +0 -3
- data/lib/sixarm_ruby_minitest_extensions/expectations.rb +0 -3
- metadata +10 -5
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f70dff4df7a5639e1d04072f8cb1f9b0b62d9ae3
|
4
|
+
data.tar.gz: 42e23fe86ac61da795b1a95914ddab7c9f7c1ada
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28a68fa7c092b97c4eef2ddb483f63e6c0458fca146ff8bedc281cca2eca5b84efc742bf44582971c1fc5b36433e051ca8e290f36f4de9990b068584882f30bf
|
7
|
+
data.tar.gz: e66f62700e31ff979f52110620d16c1a18b306812f1e991683d93d928da15cfe72610906918b5c35af18ede6dd25f5f1a0ac273742cdfaba5f43afca6b59d322
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/README.md
CHANGED
@@ -13,14 +13,12 @@ Assert:
|
|
13
13
|
|
14
14
|
* assert_true
|
15
15
|
* assert_false
|
16
|
-
* assert_nil
|
17
16
|
* assert_respond_to_all
|
18
17
|
|
19
18
|
Spec:
|
20
19
|
|
21
20
|
* must_be_true
|
22
21
|
* must_be_false
|
23
|
-
* must_be_nil
|
24
22
|
* must_respond_to_all
|
25
23
|
|
26
24
|
Based on Minitest.
|
@@ -38,7 +36,7 @@ Install:
|
|
38
36
|
|
39
37
|
Bundler:
|
40
38
|
|
41
|
-
gem "sixarm_ruby_minitest_extensions", "~>1.0.
|
39
|
+
gem "sixarm_ruby_minitest_extensions", "~>1.0.2"
|
42
40
|
|
43
41
|
Require:
|
44
42
|
|
@@ -81,6 +79,7 @@ Example Minitest spec:
|
|
81
79
|
|
82
80
|
## Changes
|
83
81
|
|
82
|
+
* 2013-06-04 1.0.2 Update to enable "Minitest" vs. "MiniTest"
|
84
83
|
* 2013-06-03 1.0.1 Update for Minitest 5.x
|
85
84
|
* 2013-06-02 1.0.0 Publish
|
86
85
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.2
|
@@ -3,7 +3,14 @@
|
|
3
3
|
Please see README
|
4
4
|
=end
|
5
5
|
|
6
|
-
|
6
|
+
unless defined?(Minitest) then
|
7
|
+
# Minitest 5 and MiniTest 4 use different capitalizations.
|
8
|
+
module Minitest; end
|
9
|
+
MiniTest = Minitest # prevents minitest.rb from requiring back to us
|
10
|
+
require "minitest"
|
11
|
+
end
|
12
|
+
|
13
|
+
MiniTest = Minitest unless defined?(MiniTest)
|
7
14
|
|
8
15
|
['assertions','expectations'].map{|x|
|
9
16
|
require __FILE__.sub(/.rb$/,'/') + "#{x}.rb"
|
@@ -3,10 +3,7 @@
|
|
3
3
|
Please see README
|
4
4
|
=end
|
5
5
|
|
6
|
-
require 'minitest/autorun'
|
7
|
-
|
8
6
|
module Minitest::Expectations
|
9
|
-
puts "Minitest::Expectations"
|
10
7
|
Object.infect_an_assertion :assert_true, :must_be_true, :reverse
|
11
8
|
Object.infect_an_assertion :assert_false, :must_be_false, :reverse
|
12
9
|
Object.infect_an_assertion :assert_respond_to_all, :must_respond_to_all, :reverse
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sixarm_ruby_minitest_extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SixArm
|
@@ -36,15 +36,15 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - '>='
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
39
|
+
version: '4.7'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - '>='
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
47
|
-
description:
|
46
|
+
version: '4.7'
|
47
|
+
description: A few simple Minitest assertions and expectations
|
48
48
|
email: sixarm@sixarm.com
|
49
49
|
executables: []
|
50
50
|
extensions: []
|
@@ -62,7 +62,12 @@ files:
|
|
62
62
|
- test/sixarm_ruby_minitest_extensions_test/assertions_test.rb
|
63
63
|
- test/sixarm_ruby_minitest_extensions_test/expectations_test.rb
|
64
64
|
homepage: http://sixarm.com/
|
65
|
-
licenses:
|
65
|
+
licenses:
|
66
|
+
- BSD
|
67
|
+
- GPL
|
68
|
+
- MIT
|
69
|
+
- PAL
|
70
|
+
- Various
|
66
71
|
metadata: {}
|
67
72
|
post_install_message:
|
68
73
|
rdoc_options: []
|
metadata.gz.sig
CHANGED
Binary file
|