assertions 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/History.txt +5 -0
  2. data/LICENSE +1 -1
  3. data/Manifest.txt +2 -2
  4. data/README.txt +10 -6
  5. data/Rakefile +7 -5
  6. metadata +33 -11
@@ -1,3 +1,8 @@
1
+ === 1.4.1 / 2010-01-15
2
+ A couple minor changes were made.
3
+ * Changes to gem specification.
4
+ * Version can be accessed programmatcally from gem.
5
+
1
6
  === 1.4.0 / 2008-06-27
2
7
  Add an Test::Unit::Assertions#assert_not method that verifies that a value is
3
8
  false or nil (opposite of the Test::Unit::Assertions#assert method).
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2008 Designing Patterns
1
+ Copyright (c) 2008-2009 Designing Patterns
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
@@ -1,6 +1,6 @@
1
- Manifest.txt
2
- LICENSE
3
1
  History.txt
2
+ LICENSE
3
+ Manifest.txt
4
4
  README.txt
5
5
  Rakefile
6
6
  examples/example.rb
data/README.txt CHANGED
@@ -1,6 +1,9 @@
1
+
2
+
3
+
4
+
1
5
  = assertions
2
6
  * Project Page: http://rubyforge.org/projects/assertions/
3
- * Documentation: http://assertions.rubyforge.org/
4
7
 
5
8
  == DESCRIPTION:
6
9
  This package adds some additional assertions to Test::Unit::Assertions,
@@ -23,7 +26,7 @@ including:
23
26
  None (known).
24
27
 
25
28
  == SYNOPSIS:
26
- ======+examples/example.rb+:
29
+ ======<tt>examples/example.rb</tt>:
27
30
  #!/usr/bin/env ruby
28
31
  require 'rubygems'
29
32
  require 'assertions'
@@ -74,19 +77,19 @@ None (known).
74
77
  Hoe is required but only for running the tests.
75
78
 
76
79
  == INSTALL:
77
- sudo gem install assertions
80
+ sudo gem install assertions
78
81
 
79
82
  == AUTHORS:
80
83
  === Designing Patterns
81
84
  * Homepage: http://www.designingpatterns.com
82
85
  * Blogs: http://blogs.designingpatterns.com
83
86
 
84
- == SUPPORT
87
+ == SUPPORT:
85
88
  Please post questions, concerns, or requests for enhancement to the forums on
86
89
  the project page. Alternatively, direct contact information for
87
90
  Designing Patterns can be found on the project page for this gem.
88
91
 
89
- == ENHANCEMENTS
92
+ == ENHANCEMENTS:
90
93
  Please feel free to contact us with any ideas; we will try our best to
91
94
  enhance the software and respond to user requests. Of course, we are more
92
95
  likely to work on a particular enhancement if we know that there are users
@@ -100,7 +103,7 @@ distribution.
100
103
 
101
104
  This package is licensed with an MIT license:
102
105
 
103
- Copyright (c) 2008 Designing Patterns
106
+ Copyright (c) 2008-2009 Designing Patterns
104
107
 
105
108
  Permission is hereby granted, free of charge, to any person obtaining
106
109
  a copy of this software and associated documentation files (the
@@ -122,3 +125,4 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
122
125
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
123
126
 
124
127
  == SHARE AND ENJOY!
128
+
data/Rakefile CHANGED
@@ -1,15 +1,17 @@
1
1
  # -*- ruby -*-
2
-
3
- $LOAD_PATH.unshift("lib")
4
-
5
2
  require 'rubygems'
6
3
  require 'hoe'
7
4
 
8
- $stderr = STDERR
5
+ PROJECT_NAME = 'assertions'
6
+ DESCRIPTION = 'This project adds some additional assertions to Test::Unit::Assertions, including assert_raise_message (allowing verification of error messages) and assert_greater_than.'
9
7
 
10
- Hoe.new('assertions', "1.4.0") do |p|
8
+ Hoe.spec(PROJECT_NAME) do |p|
9
+ p.url = "http://www.rubyforge.org/projects/#{PROJECT_NAME}"
11
10
  p.remote_rdoc_dir = ''
11
+ p.version = '1.4.1'
12
12
  p.developer('DesigningPatterns', 'technical.inquiries@designingpatterns.com')
13
+ p.description = DESCRIPTION
14
+
13
15
  end
14
16
 
15
17
  # vim: syntax=Ruby
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.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - DesigningPatterns
@@ -9,20 +9,40 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-06-28 00:00:00 -04:00
12
+ date: 2010-01-15 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rubyforge
17
+ type: :development
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.0.3
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: gemcutter
27
+ type: :development
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 0.3.0
34
+ version:
15
35
  - !ruby/object:Gem::Dependency
16
36
  name: hoe
17
- type: :runtime
37
+ type: :development
18
38
  version_requirement:
19
39
  version_requirements: !ruby/object:Gem::Requirement
20
40
  requirements:
21
41
  - - ">="
22
42
  - !ruby/object:Gem::Version
23
- version: 1.6.0
43
+ version: 2.5.0
24
44
  version:
25
- description: "This package adds some additional assertions to Test::Unit::Assertions, including: * Assertions for all of the comparison operators (Test::Unit::Assertions#assert_greater_than, Test::Unit::Assertions#assert_less_than_or_equal_to, etc.). Shorter aliases also are provided for these (Test::Unit::Assertions#assert_gt, Test::Unit::Assertions#assert_le, etc.). * An assertion that verifies that a given block raises a specified exception with a specified message (Test::Unit::Assertions#assert_raise_message). This allows full testing of error messages. * An assertion that verifies that a given block contains an assertion that fails (Test::Unit::Assertions#assert_fail), which can be used to test new assertions. * An assertion that verifies that a given value is false or nil (Test::Unit::Assertions#assert_not)"
45
+ description: This project adds some additional assertions to Test::Unit::Assertions, including assert_raise_message (allowing verification of error messages) and assert_greater_than.
26
46
  email:
27
47
  - technical.inquiries@designingpatterns.com
28
48
  executables: []
@@ -30,20 +50,22 @@ executables: []
30
50
  extensions: []
31
51
 
32
52
  extra_rdoc_files:
33
- - Manifest.txt
34
53
  - History.txt
54
+ - Manifest.txt
35
55
  - README.txt
36
56
  files:
37
- - Manifest.txt
38
- - LICENSE
39
57
  - History.txt
58
+ - LICENSE
59
+ - Manifest.txt
40
60
  - README.txt
41
61
  - Rakefile
42
62
  - examples/example.rb
43
63
  - lib/assertions.rb
44
64
  - test/test_assertions.rb
45
65
  has_rdoc: true
46
- homepage: "Project Page: http://rubyforge.org/projects/assertions/"
66
+ homepage: http://www.rubyforge.org/projects/assertions
67
+ licenses: []
68
+
47
69
  post_install_message:
48
70
  rdoc_options:
49
71
  - --main
@@ -65,9 +87,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
87
  requirements: []
66
88
 
67
89
  rubyforge_project: assertions
68
- rubygems_version: 1.2.0
90
+ rubygems_version: 1.3.5
69
91
  signing_key:
70
- specification_version: 2
92
+ specification_version: 3
71
93
  summary: "This package adds some additional assertions to Test::Unit::Assertions, including: * Assertions for all of the comparison operators (Test::Unit::Assertions#assert_greater_than, Test::Unit::Assertions#assert_less_than_or_equal_to, etc.)"
72
94
  test_files:
73
95
  - test/test_assertions.rb