sixarm_ruby_minitest_extensions 1.0.5 → 1.0.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3bedb8783f6a9068413e2accf677922a4cb5b5bf
4
- data.tar.gz: 17072bd0c415acbe27467a6e20d3a6df45524347
3
+ metadata.gz: 442245e9ef4d89ba18577b941bff47f4849f0fab
4
+ data.tar.gz: 995fe72bbe09354e1ba15e1adde2d80e5dac2455
5
5
  SHA512:
6
- metadata.gz: 7c53b622cc3758776e49062e00dd3dd09c74e41da81c66f1152340cf83efd923e452413d71f144740685f8b181d44d4f6ae66727dea8f295c1014050e36f2b84
7
- data.tar.gz: d6fbcc93b5d51a1f0415be29fdf72b54449ce55ba2cdf780fb3edefd2da0830d02e99c21d3607b1f6d1a83aac885770ead6de2ad119ce4822bfaca52c919cf0d
6
+ metadata.gz: 87dc01f8c7181383e3a20b4c4e85261228ad95f5c786844513a2cfbe34c42a9ca3f43976f5cfb91c60aa58143325daa5342938e525a0690a1b1d046245a1c877
7
+ data.tar.gz: ded3e169049b705e8b29676554d199030eb6e169b2438a8b3e873ce90bd229506e1190dfe5dfc5892cbe34c23ba9daff30b9190d6385467aa29ebacea7dfe36a
Binary file
data.tar.gz.sig CHANGED
Binary file
data/Rakefile CHANGED
@@ -1,8 +1,10 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'rake'
3
- require 'rake/testtask'
2
+ require "rake"
3
+ require "rake/testtask"
4
+
5
+ task :default => :test
4
6
 
5
7
  Rake::TestTask.new(:test) do |t|
6
- t.libs << 'lib' << 'test'
7
- t.pattern = 'test/*.rb'
8
+ t.libs.push("lib", "test")
9
+ t.pattern = "test/**/*.rb"
8
10
  end
@@ -1,4 +1,4 @@
1
- # -*- coding: utf-8 -*-
1
+ # -*- coding: utf-8 -*-
2
2
  =begin rdoc
3
3
  Please see README
4
4
  =end
@@ -1,8 +1,8 @@
1
1
  # -*- coding: utf-8 -*-
2
- require 'minitest/autorun'
3
- require 'simplecov'
2
+ require "minitest/autorun"
3
+ require "simplecov"
4
4
  SimpleCov.start
5
- require 'sixarm_ruby_minitest_extensions'
5
+ require "sixarm_ruby_minitest_extensions"
6
6
 
7
7
  ['assertions','expectations'].map{|x|
8
8
  require "sixarm_ruby_minitest_extensions_test/#{x}_test"
@@ -7,7 +7,7 @@ describe "Minitest" do
7
7
  describe "#assert_true" do
8
8
 
9
9
  specify "true #=> success" do
10
- assert_true(true).must_be_same_as true
10
+ assert_true(true)
11
11
  end
12
12
 
13
13
  specify "truthy but not true #=> failure" do
@@ -21,7 +21,7 @@ describe "Minitest" do
21
21
  describe "#assert_false" do
22
22
 
23
23
  specify "false #=> success" do
24
- assert_false(false).must_be_same_as true
24
+ assert_false(false)
25
25
  end
26
26
 
27
27
  specify "falsey but not false #=> failure" do
@@ -32,18 +32,18 @@ describe "Minitest" do
32
32
 
33
33
  end
34
34
 
35
- describe "#assert_exit" do
35
+ describe "#assert_exist" do
36
36
 
37
37
  specify "true #=> success" do
38
- assert_exist(true).must_be_same_as true
38
+ assert_exist(true)
39
39
  end
40
40
 
41
41
  specify "false #=> success" do
42
- assert_exist(false).must_be_same_as true
42
+ assert_exist("hello")
43
43
  end
44
44
 
45
45
  specify "0 #=> success" do
46
- assert_exist(0).must_be_same_as true
46
+ assert_exist(0)
47
47
  end
48
48
 
49
49
  specify "nil #=> failure" do
@@ -35,20 +35,20 @@ describe "Minitest" do
35
35
  describe "#must_exist" do
36
36
 
37
37
  specify "true #=> success" do
38
- true.must_exisit
38
+ true.must_exist
39
39
  end
40
40
 
41
41
  specify "false #=> success" do
42
- false.must_exisit
42
+ false.must_exist
43
43
  end
44
44
 
45
45
  specify "0 #=> success" do
46
- false.must_exisit
46
+ false.must_exist
47
47
  end
48
48
 
49
49
  specify "nil #=> failure" do
50
50
  proc {
51
- nil.must_exisit
51
+ nil.must_exist
52
52
  }.must_raise MiniTest::Assertion
53
53
  end
54
54
 
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.5
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - SixArm
@@ -10,51 +10,129 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDBDCCAm2gAwIBAgIJAKPwEETU5bHoMA0GCSqGSIb3DQEBBQUAMGAxCzAJBgNV
13
+ MIIGCTCCA/GgAwIBAgIJAK3igyLv2hNNMA0GCSqGSIb3DQEBBQUAMGAxCzAJBgNV
14
14
  BAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNp
15
- c2NvMQ8wDQYDVQQKEwZTaXhBcm0xEzARBgNVBAMTCnNpeGFybS5jb20wHhcNMTAx
16
- MjEzMjMyNzEzWhcNMTMwOTA4MjMyNzEzWjBgMQswCQYDVQQGEwJVUzETMBEGA1UE
15
+ c2NvMQ8wDQYDVQQKEwZTaXhBcm0xEzARBgNVBAMTCnNpeGFybS5jb20wHhcNMTUw
16
+ MzE0MjA0MTE5WhcNMTcxMjA4MjA0MTE5WjBgMQswCQYDVQQGEwJVUzETMBEGA1UE
17
17
  CBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEPMA0GA1UEChMG
18
- U2l4QXJtMRMwEQYDVQQDEwpzaXhhcm0uY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GN
19
- ADCBiQKBgQC94mD9JDwBsunsOI0VR3CXXbOWg9cWaWciwFyJNFiM7A9I8KPLfXUw
20
- QC4czUe5ZuG4WHvinrWhkrCK+1dWBqoEClxdF/FoKO5a+tonGCjjmfy81JmFjjyx
21
- eTsjsHyvw+Qik9kpf9aj6+pnkNrVswgNHV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TT2vVrjscgYjiVGdSq+8wQv
42
+ Efa5jhe8QwG7R1rdpMMP5yBSAqWuFBczMveX5j4rp9Ifw5/XsZbgwcmdm26bjhzh
43
+ w2grAHIhvR9mztm6uXQlZhv1fu3P+RWHDSYhnZSCJSCdxPzQJ1mG5T5ahiL3HvCZ
44
+ 2AC9FOGkybW6DJEFSFFMlNk0IILsa/gNp8ufGuTVLWF9FUUdMNK+TMbghnifT8/1
45
+ n+ES/gQPOnvmVkLDGw==
30
46
  -----END CERTIFICATE-----
31
- date: 2013-07-27 00:00:00.000000000 Z
47
+ date: 2017-08-14 00:00:00.000000000 Z
32
48
  dependencies:
33
49
  - !ruby/object:Gem::Dependency
34
50
  name: minitest
35
51
  requirement: !ruby/object:Gem::Requirement
36
52
  requirements:
37
- - - '>='
53
+ - - ">="
38
54
  - !ruby/object:Gem::Version
39
- version: '4.7'
40
- type: :runtime
55
+ version: 5.7.0
56
+ - - "<"
57
+ - !ruby/object:Gem::Version
58
+ version: '6'
59
+ type: :development
60
+ prerelease: false
61
+ version_requirements: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: 5.7.0
66
+ - - "<"
67
+ - !ruby/object:Gem::Version
68
+ version: '6'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">"
74
+ - !ruby/object:Gem::Version
75
+ version: 9.4.2
76
+ - - "<"
77
+ - !ruby/object:Gem::Version
78
+ version: '11'
79
+ type: :development
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">"
84
+ - !ruby/object:Gem::Version
85
+ version: 9.4.2
86
+ - - "<"
87
+ - !ruby/object:Gem::Version
88
+ version: '11'
89
+ - !ruby/object:Gem::Dependency
90
+ name: simplecov
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: 0.10.0
96
+ - - "<"
97
+ - !ruby/object:Gem::Version
98
+ version: '2'
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: 0.10.0
106
+ - - "<"
107
+ - !ruby/object:Gem::Version
108
+ version: '2'
109
+ - !ruby/object:Gem::Dependency
110
+ name: coveralls
111
+ requirement: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: 0.8.2
116
+ - - "<"
117
+ - !ruby/object:Gem::Version
118
+ version: '2'
119
+ type: :development
41
120
  prerelease: false
42
121
  version_requirements: !ruby/object:Gem::Requirement
43
122
  requirements:
44
- - - '>='
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: 0.8.2
126
+ - - "<"
45
127
  - !ruby/object:Gem::Version
46
- version: '4.7'
128
+ version: '2'
47
129
  description: A few simple Minitest assertions and expectations
48
130
  email: sixarm@sixarm.com
49
131
  executables: []
50
132
  extensions: []
51
133
  extra_rdoc_files: []
52
134
  files:
53
- - .gemtest
54
- - CONTRIBUTING.md
55
135
  - Rakefile
56
- - README.md
57
- - VERSION
58
136
  - lib/sixarm_ruby_minitest_extensions.rb
59
137
  - lib/sixarm_ruby_minitest_extensions/assertions.rb
60
138
  - lib/sixarm_ruby_minitest_extensions/expectations.rb
@@ -63,11 +141,12 @@ files:
63
141
  - test/sixarm_ruby_minitest_extensions_test/expectations_test.rb
64
142
  homepage: http://sixarm.com/
65
143
  licenses:
66
- - BSD
67
- - GPL
144
+ - Apache-2.0
145
+ - Artistic-2.0
146
+ - BSD-3-Clause
147
+ - GPL-3.0
68
148
  - MIT
69
- - PAL
70
- - Various
149
+ - MPL-2.0
71
150
  metadata: {}
72
151
  post_install_message:
73
152
  rdoc_options: []
@@ -75,22 +154,21 @@ require_paths:
75
154
  - lib
76
155
  required_ruby_version: !ruby/object:Gem::Requirement
77
156
  requirements:
78
- - - '>='
157
+ - - ">="
79
158
  - !ruby/object:Gem::Version
80
159
  version: '0'
81
160
  required_rubygems_version: !ruby/object:Gem::Requirement
82
161
  requirements:
83
- - - '>='
162
+ - - ">="
84
163
  - !ruby/object:Gem::Version
85
164
  version: '0'
86
165
  requirements: []
87
166
  rubyforge_project:
88
- rubygems_version: 2.0.3
167
+ rubygems_version: 2.6.12
89
168
  signing_key:
90
169
  specification_version: 4
91
- summary: SixArm.com » Ruby » Minitest extensions
170
+ summary: SixArm.com Ruby Minitest extensions
92
171
  test_files:
93
172
  - test/sixarm_ruby_minitest_extensions_test.rb
94
173
  - test/sixarm_ruby_minitest_extensions_test/assertions_test.rb
95
174
  - test/sixarm_ruby_minitest_extensions_test/expectations_test.rb
96
- has_rdoc: true
metadata.gz.sig CHANGED
Binary file
data/.gemtest DELETED
File without changes
@@ -1,28 +0,0 @@
1
- # Contributing
2
-
3
- Thank you for contributing!
4
-
5
- If you would like to contribute a donation, an easy way is to use PayPal to sixarm@sixarm.com.
6
-
7
- If you would like to contribute help, the next section is for you.
8
-
9
-
10
- ## Contributing to the source
11
-
12
- We love pull requests for improvments to the source code and documentation.
13
-
14
- There are three easy steps:
15
-
16
- 1. Fork the repo.
17
-
18
- * Before you do any work please run our existing tests to make sure the code runs cleanly.
19
-
20
- 2. Work as you like.
21
-
22
- * Please create tests. This helps us know that all your code runs cleanly.
23
-
24
- 3. Push to your fork and submit a pull request.
25
-
26
- * We'll take a look as soon as we can; this is typically within a business day.
27
-
28
- Thank you again!
data/README.md DELETED
@@ -1,117 +0,0 @@
1
- # SixArm.com » Ruby » <br> Minitest Extensions
2
-
3
- * Doc: <http://sixarm.com/sixarm_ruby_minitest_extensions/doc>
4
- * Gem: <http://rubygems.org/gems/sixarm_ruby_minitest_extensions>
5
- * Repo: <http://github.com/sixarm/sixarm_ruby_minitest_extensions>
6
- * Email: Joel Parker Henderson, <joel@sixarm.com>
7
-
8
- ## Introduction
9
-
10
- Minitest extensions for our common cases:
11
-
12
- Assert:
13
-
14
- * assert_true
15
- * assert_false
16
- * assert_respond_to_all
17
- * assert_equal_items
18
-
19
- Spec:
20
-
21
- * must_be_true
22
- * must_be_false
23
- * must_respond_to_all
24
- * must_have_equal_items
25
-
26
- Based on Minitest.
27
-
28
- For docs go to <http://sixarm.com/sixarm_ruby_minitest_extensions/doc>
29
-
30
- Want to help? We're happy to get pull requests.
31
-
32
-
33
- ## Install quickstart
34
-
35
- Install:
36
-
37
- gem install sixarm_ruby_minitest_extensions
38
-
39
- Bundler:
40
-
41
- gem "sixarm_ruby_minitest_extensions", "~>1.0.3"
42
-
43
- Require:
44
-
45
- require "sixarm_ruby_minitest_extensions"
46
-
47
-
48
- ## Install with security (optional)
49
-
50
- To enable high security for all our gems:
51
-
52
- wget http://sixarm.com/sixarm.pem
53
- gem cert --add sixarm.pem
54
- gem sources --add http://sixarm.com
55
-
56
- To install with high security:
57
-
58
- gem install sixarm_ruby_minitest_extensions --test --trust-policy HighSecurity
59
-
60
-
61
- ## Examples
62
-
63
- Example Minitest spec:
64
-
65
- describe Foo do
66
- it "validates" do
67
- f = Foo.new
68
- f.valid?.must_be_true
69
- end
70
- end
71
-
72
- Example Minitest spec:
73
-
74
- describe Foo do
75
- it "is colorful" do
76
- f = Foo.new
77
- f.must_respond_to_all [:red, :green, :blue]
78
- end
79
- end
80
-
81
-
82
- ## Changes
83
-
84
- * 2013-07-27 1.0.4 Add #assert_exist and #must_exist
85
- * 2013-07-26 1.0.3 Add #assert_equal_items and #must_have_equal_items
86
- * 2013-06-04 1.0.2 Update to enable "Minitest" vs. "MiniTest"
87
- * 2013-06-03 1.0.1 Update for Minitest 5.x
88
- * 2013-06-02 1.0.0 Publish
89
-
90
-
91
- ## License
92
-
93
- You may choose any of these open source licenses:
94
-
95
- * Apache License
96
- * BSD License
97
- * CreativeCommons License, Non-commercial Share Alike
98
- * GNU General Public License Version 2 (GPL 2)
99
- * GNU Lesser General Public License (LGPL)
100
- * MIT License
101
- * Perl Artistic License
102
- * Ruby License
103
-
104
- The software is provided "as is", without warranty of any kind,
105
- express or implied, including but not limited to the warranties of
106
- merchantability, fitness for a particular purpose and noninfringement.
107
-
108
- In no event shall the authors or copyright holders be liable for any
109
- claim, damages or other liability, whether in an action of contract,
110
- tort or otherwise, arising from, out of or in connection with the
111
- software or the use or other dealings in the software.
112
-
113
- This license is for the included software that is created by SixArm;
114
- some of the included software may have its own licenses, copyrights,
115
- authors, etc. and these do take precedence over the SixArm license.
116
-
117
- Copyright (c) 2005-2013 Joel Parker Henderson
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 1.0.4