assertions 1.1.0 → 1.2.0
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.
- data/History.txt +3 -0
- data/README.txt +29 -11
- data/Rakefile +1 -1
- metadata +4 -4
data/History.txt
CHANGED
data/README.txt
CHANGED
@@ -1,23 +1,20 @@
|
|
1
1
|
= assertions
|
2
|
-
|
3
2
|
Project Page: http://rubyforge.org/projects/assertions/
|
4
3
|
|
5
4
|
== DESCRIPTION:
|
6
|
-
|
7
5
|
This package adds some additional assertions to Test::Unit::Assertions,
|
8
6
|
including:
|
9
7
|
* Assertions for all of the comparison operators
|
10
|
-
(
|
11
|
-
etc.). Shorter aliases also are provided for these (
|
12
|
-
|
8
|
+
(assert_greater_than, assert_less_than_or_equal_to,
|
9
|
+
etc.). Shorter aliases also are provided for these (assert_gt,
|
10
|
+
assert_le, etc.).
|
13
11
|
* An assertion that verifies that a given block raises a specified exception
|
14
|
-
with a specified message (
|
12
|
+
with a specified message (assert_raise_message).
|
15
13
|
This allows full testing of error messages.
|
16
14
|
* An assertion that verifies that a given block contains an assertion that
|
17
|
-
fails (
|
15
|
+
fails (assert_fail), which can be used to test new assertions.
|
18
16
|
|
19
17
|
== PROBLEMS:
|
20
|
-
|
21
18
|
None (known).
|
22
19
|
|
23
20
|
== SYNOPSIS:
|
@@ -61,13 +58,34 @@ None (known).
|
|
61
58
|
end
|
62
59
|
|
63
60
|
== REQUIREMENTS:
|
64
|
-
|
65
61
|
Hoe is required but only for running the tests.
|
66
62
|
|
67
63
|
== INSTALL:
|
68
|
-
|
69
64
|
sudo gem install assertions
|
70
65
|
|
71
|
-
==
|
66
|
+
== AUTHORS:
|
72
67
|
|
68
|
+
=== Designing Patterns
|
69
|
+
==== Homepage
|
70
|
+
http://www.designingpatterns.com
|
71
|
+
|
72
|
+
==== Blogs
|
73
|
+
http://blogs.designingpatterns.com
|
74
|
+
|
75
|
+
== SUPPORT
|
76
|
+
Please post questions, concerns, or requests for enhancement to the forums on
|
77
|
+
the project page. Alternatively, direct contact information for
|
78
|
+
Designing Patterns can be found on the project page for this gem.
|
79
|
+
|
80
|
+
== ENHANCEMENTS
|
81
|
+
Please feel free to contact us with any ideas; we will try our best to
|
82
|
+
enhance the software and respond to user requests. Of course, we are more
|
83
|
+
likely to work on a particular enhancement if we know that there are users
|
84
|
+
who want it. Designing Patterns provides contracting and consulting services,
|
85
|
+
so if there is an enhancement that *must* get done (and in a specified time
|
86
|
+
frame), please inquire about retaining our services!
|
87
|
+
|
88
|
+
== LICENSE:
|
73
89
|
See LICENSE, at the root of the distribution.
|
90
|
+
|
91
|
+
== Share and Enjoy!
|
data/Rakefile
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: assertions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DesigningPatterns
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-06-
|
12
|
+
date: 2008-06-13 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 1.5.3
|
23
23
|
version:
|
24
|
-
description: "This package adds some additional assertions to Test::Unit::Assertions, including: * Assertions for all of the comparison operators (
|
24
|
+
description: "This package adds some additional assertions to Test::Unit::Assertions, including: * Assertions for all of the comparison operators (assert_greater_than, assert_less_than_or_equal_to, etc.). Shorter aliases also are provided for these (assert_gt, assert_le, etc.). * An assertion that verifies that a given block raises a specified exception with a specified message (assert_raise_message). This allows full testing of error messages. * An assertion that verifies that a given block contains an assertion that fails (assert_fail), which can be used to test new assertions."
|
25
25
|
email:
|
26
26
|
- technical.inquiries@designingpatterns.com
|
27
27
|
executables: []
|
@@ -66,6 +66,6 @@ rubyforge_project: assertions
|
|
66
66
|
rubygems_version: 1.0.1
|
67
67
|
signing_key:
|
68
68
|
specification_version: 2
|
69
|
-
summary: "This package adds some additional assertions to Test::Unit::Assertions, including: * Assertions for all of the comparison operators (
|
69
|
+
summary: "This package adds some additional assertions to Test::Unit::Assertions, including: * Assertions for all of the comparison operators (assert_greater_than, assert_less_than_or_equal_to, etc.)"
|
70
70
|
test_files:
|
71
71
|
- test/test_assertions.rb
|