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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e1bb2a549e2e6b26afca17090431e84647646628
4
- data.tar.gz: b58478556f4fcc246ee61e24df030ed51e595261
3
+ metadata.gz: f70dff4df7a5639e1d04072f8cb1f9b0b62d9ae3
4
+ data.tar.gz: 42e23fe86ac61da795b1a95914ddab7c9f7c1ada
5
5
  SHA512:
6
- metadata.gz: 8aeab7b072aa479addfdee276cb63daf71b6cc04af42f32c3be939f23cc92947e9aa2c935b5035c399fba4fc77603b97ce57c9a7b2e2f0eb53da3ff5f9fb5ab4
7
- data.tar.gz: 2b738723f196e345d47fb4ed13cb01234f921ace9df419d563c2431626e8481fecb2ac70785ea143735b7bdb844ed6acce89aadfd494a31162eba35aca85facd
6
+ metadata.gz: 28a68fa7c092b97c4eef2ddb483f63e6c0458fca146ff8bedc281cca2eca5b84efc742bf44582971c1fc5b36433e051ca8e290f36f4de9990b068584882f30bf
7
+ data.tar.gz: e66f62700e31ff979f52110620d16c1a18b306812f1e991683d93d928da15cfe72610906918b5c35af18ede6dd25f5f1a0ac273742cdfaba5f43afca6b59d322
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.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.0
1
+ 1.0.2
@@ -3,7 +3,14 @@
3
3
  Please see README
4
4
  =end
5
5
 
6
- require 'minitest/autorun'
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::Assertions
9
- puts "Minitest::Assertions"
10
7
 
11
8
  ##
12
9
  # Fails unless +exp+ is true.
@@ -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.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: 5.0.3
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: 5.0.3
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