mhennemeyer-matchy 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/License.txt +20 -0
- data/Manifest.txt +25 -0
- data/PostInstall.txt +7 -0
- data/README.rdoc +119 -0
- data/Rakefile +4 -0
- data/config/hoe.rb +73 -0
- data/config/requirements.rb +15 -0
- data/lib/matchy.rb +54 -0
- data/lib/matchy/built_in/change_expectations.rb +31 -0
- data/lib/matchy/built_in/enumerable_expectations.rb +41 -0
- data/lib/matchy/built_in/error_expectations.rb +66 -0
- data/lib/matchy/built_in/operator_expectations.rb +42 -0
- data/lib/matchy/built_in/truth_expectations.rb +146 -0
- data/lib/matchy/def_matcher.rb +10 -0
- data/lib/matchy/matcher_builder.rb +46 -0
- data/lib/matchy/modals.rb +34 -0
- data/lib/matchy/version.rb +9 -0
- data/matchy.gemspec +50 -0
- data/setup.rb +1585 -0
- data/test/test_change_expectation.rb +63 -0
- data/test/test_def_matcher.rb +100 -0
- data/test/test_enumerable_expectations.rb +91 -0
- data/test/test_error_expectations.rb +144 -0
- data/test/test_matcher_builder.rb +72 -0
- data/test/test_modals.rb +39 -0
- data/test/test_operator_expectations.rb +157 -0
- data/test/test_truth_expectations.rb +373 -0
- metadata +83 -0
metadata
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: mhennemeyer-matchy
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jeremy McAnally
|
8
|
+
- Matthias Hennemeyer
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2009-02-08 00:00:00 -08:00
|
14
|
+
default_executable:
|
15
|
+
dependencies: []
|
16
|
+
|
17
|
+
description: "A 300loc refactoring of Jeremy Mcanally's Matchy. Original Description: Hate writing assertions? Need a little behavior-driven love in your tests? Then matchy is for you."
|
18
|
+
email: mhennemeyer@gmail.com
|
19
|
+
executables: []
|
20
|
+
|
21
|
+
extensions: []
|
22
|
+
|
23
|
+
extra_rdoc_files:
|
24
|
+
- History.txt
|
25
|
+
- Manifest.txt
|
26
|
+
- README.rdoc
|
27
|
+
files:
|
28
|
+
- History.txt
|
29
|
+
- Manifest.txt
|
30
|
+
- README.rdoc
|
31
|
+
- Rakefile
|
32
|
+
- matchy.gemspec
|
33
|
+
- License.txt
|
34
|
+
- PostInstall.txt
|
35
|
+
- config/hoe.rb
|
36
|
+
- config/requirements.rb
|
37
|
+
- lib/matchy.rb
|
38
|
+
- lib/matchy/version.rb
|
39
|
+
- lib/matchy/modals.rb
|
40
|
+
- lib/matchy/def_matcher.rb
|
41
|
+
- lib/matchy/matcher_builder.rb
|
42
|
+
- lib/matchy/built_in/enumerable_expectations.rb
|
43
|
+
- lib/matchy/built_in/error_expectations.rb
|
44
|
+
- lib/matchy/built_in/operator_expectations.rb
|
45
|
+
- lib/matchy/built_in/truth_expectations.rb
|
46
|
+
- lib/matchy/built_in/change_expectations.rb
|
47
|
+
- setup.rb
|
48
|
+
has_rdoc: true
|
49
|
+
homepage: http://github.com/mhennemeyer/matchy
|
50
|
+
post_install_message:
|
51
|
+
rdoc_options:
|
52
|
+
- --main
|
53
|
+
- README.rdoc
|
54
|
+
require_paths:
|
55
|
+
- lib
|
56
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: "0"
|
61
|
+
version:
|
62
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: "0"
|
67
|
+
version:
|
68
|
+
requirements: []
|
69
|
+
|
70
|
+
rubyforge_project:
|
71
|
+
rubygems_version: 1.2.0
|
72
|
+
signing_key:
|
73
|
+
specification_version: 2
|
74
|
+
summary: RSpec-esque matchers for use in Test::Unit
|
75
|
+
test_files:
|
76
|
+
- test/test_change_expectation.rb
|
77
|
+
- test/test_def_matcher.rb
|
78
|
+
- test/test_enumerable_expectations.rb
|
79
|
+
- test/test_error_expectations.rb
|
80
|
+
- test/test_matcher_builder.rb
|
81
|
+
- test/test_operator_expectations.rb
|
82
|
+
- test/test_truth_expectations.rb
|
83
|
+
- test/test_modals.rb
|