ruby-contract 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +56 -0
- data/Manifest +85 -0
- data/README +32 -0
- data/TODO +83 -0
- data/doc/classes/Contract.html +599 -0
- data/doc/classes/Contract/Check.html +229 -0
- data/doc/classes/Contract/Check/All.html +172 -0
- data/doc/classes/Contract/Check/Any.html +172 -0
- data/doc/classes/Contract/Check/Block.html +172 -0
- data/doc/classes/Contract/Check/None.html +173 -0
- data/doc/classes/Contract/Check/Quack.html +172 -0
- data/doc/classes/Contract/ContractError.html +151 -0
- data/doc/classes/Contract/ContractException.html +162 -0
- data/doc/classes/Contract/ContractMismatch.html +134 -0
- data/doc/classes/Kernel.html +256 -0
- data/doc/classes/Method.html +135 -0
- data/doc/classes/MethodSignatureMixin.html +208 -0
- data/doc/classes/Module.html +526 -0
- data/doc/created.rid +1 -0
- data/doc/dot/f_0.dot +14 -0
- data/doc/dot/f_0.png +0 -0
- data/doc/dot/f_1.dot +14 -0
- data/doc/dot/f_1.png +0 -0
- data/doc/dot/f_2.dot +14 -0
- data/doc/dot/f_2.png +0 -0
- data/doc/dot/f_3.dot +112 -0
- data/doc/dot/f_3.png +0 -0
- data/doc/dot/f_4.dot +62 -0
- data/doc/dot/f_4.png +0 -0
- data/doc/dot/f_5.dot +62 -0
- data/doc/dot/f_5.png +0 -0
- data/doc/dot/f_6.dot +224 -0
- data/doc/dot/f_6.png +0 -0
- data/doc/dot/f_6_0.dot +24 -0
- data/doc/dot/f_6_0.png +0 -0
- data/doc/dot/f_6_1.dot +24 -0
- data/doc/dot/f_6_1.png +0 -0
- data/doc/dot/f_7.dot +62 -0
- data/doc/dot/f_7.png +0 -0
- data/doc/files/COPYING.html +168 -0
- data/doc/files/README.html +146 -0
- data/doc/files/TODO.html +240 -0
- data/doc/files/lib/contract/assertions_rb.html +118 -0
- data/doc/files/lib/contract/exception_rb.html +125 -0
- data/doc/files/lib/contract/integration_rb.html +130 -0
- data/doc/files/lib/contract/overrides_rb.html +118 -0
- data/doc/files/lib/contract_rb.html +127 -0
- data/doc/fr_class_index.html +40 -0
- data/doc/fr_file_index.html +34 -0
- data/doc/fr_method_index.html +45 -0
- data/doc/index.html +24 -0
- data/doc/rdoc-style.css +208 -0
- data/lib/contract.rb +146 -0
- data/lib/contract/assertions.rb +42 -0
- data/lib/contract/exception.rb +95 -0
- data/lib/contract/integration.rb +664 -0
- data/lib/contract/overrides.rb +41 -0
- data/setup.rb +1360 -0
- data/test/coverage/_-lib-contract-assertions_rb.html +526 -0
- data/test/coverage/_-lib-contract-exception_rb.html +632 -0
- data/test/coverage/_-lib-contract-integration_rb.html +1450 -0
- data/test/coverage/_-lib-contract-overrides_rb.html +524 -0
- data/test/coverage/_-lib-contract_rb.html +724 -0
- data/test/coverage/__-lib-contract-assertions_rb.html +484 -0
- data/test/coverage/__-lib-contract-exception_rb.html +537 -0
- data/test/coverage/__-lib-contract-integration_rb.html +946 -0
- data/test/coverage/__-lib-contract-overrides_rb.html +483 -0
- data/test/coverage/__-lib-contract_rb.html +583 -0
- data/test/coverage/index.html +93 -0
- data/test/tc_all.rb +8 -0
- data/test/tc_contract.rb +109 -0
- data/test/tc_exception.rb +43 -0
- data/test/tc_integration.rb +357 -0
- metadata +136 -0
metadata
ADDED
@@ -0,0 +1,136 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
rubygems_version: 0.8.3
|
3
|
+
specification_version: 1
|
4
|
+
name: ruby-contract
|
5
|
+
version: !ruby/object:Gem::Version
|
6
|
+
version: 0.1.1
|
7
|
+
date: 2005-02-15
|
8
|
+
summary: ruby-contract provides support for describing and using types via unit-tests.
|
9
|
+
require_paths:
|
10
|
+
- lib
|
11
|
+
email: flgr@ccan.de
|
12
|
+
homepage: http://ruby-contract.rubyforge.org/
|
13
|
+
rubyforge_project: ruby-contract
|
14
|
+
description: "ruby-contract provides support for describing and using types via unit-tests. It
|
15
|
+
offers support for specifying contracts (Contract), method signature checks
|
16
|
+
(Module#signature), automatic adaption between types (Kernel#adaption) and
|
17
|
+
integration with the classic message- and class-based typing."
|
18
|
+
autorequire: contract
|
19
|
+
default_executable:
|
20
|
+
bindir: bin
|
21
|
+
has_rdoc: true
|
22
|
+
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
23
|
+
requirements:
|
24
|
+
-
|
25
|
+
- ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: 1.8.1
|
28
|
+
version:
|
29
|
+
platform: ruby
|
30
|
+
authors:
|
31
|
+
- Florian Gross
|
32
|
+
files:
|
33
|
+
- lib
|
34
|
+
- test
|
35
|
+
- doc
|
36
|
+
- TODO
|
37
|
+
- COPYING
|
38
|
+
- README
|
39
|
+
- setup.rb
|
40
|
+
- Manifest
|
41
|
+
- lib/contract.rb
|
42
|
+
- lib/contract
|
43
|
+
- lib/contract/integration.rb
|
44
|
+
- lib/contract/assertions.rb
|
45
|
+
- lib/contract/overrides.rb
|
46
|
+
- lib/contract/exception.rb
|
47
|
+
- test/tc_contract.rb
|
48
|
+
- test/tc_integration.rb
|
49
|
+
- test/coverage
|
50
|
+
- test/tc_exception.rb
|
51
|
+
- test/tc_all.rb
|
52
|
+
- test/coverage/_-lib-contract-integration_rb.html
|
53
|
+
- test/coverage/_-lib-contract-assertions_rb.html
|
54
|
+
- test/coverage/_-lib-contract-overrides_rb.html
|
55
|
+
- test/coverage/_-lib-contract-exception_rb.html
|
56
|
+
- test/coverage/_-lib-contract_rb.html
|
57
|
+
- test/coverage/__-lib-contract-assertions_rb.html
|
58
|
+
- test/coverage/__-lib-contract-exception_rb.html
|
59
|
+
- test/coverage/__-lib-contract_rb.html
|
60
|
+
- test/coverage/__-lib-contract-overrides_rb.html
|
61
|
+
- test/coverage/__-lib-contract-integration_rb.html
|
62
|
+
- test/coverage/index.html
|
63
|
+
- doc/index.html
|
64
|
+
- doc/fr_method_index.html
|
65
|
+
- doc/fr_class_index.html
|
66
|
+
- doc/fr_file_index.html
|
67
|
+
- doc/classes
|
68
|
+
- doc/files
|
69
|
+
- doc/rdoc-style.css
|
70
|
+
- doc/dot
|
71
|
+
- doc/created.rid
|
72
|
+
- doc/classes/Kernel.html
|
73
|
+
- doc/classes/MethodSignatureMixin.html
|
74
|
+
- doc/classes/Module.html
|
75
|
+
- doc/classes/Method.html
|
76
|
+
- doc/classes/Contract
|
77
|
+
- doc/classes/Contract.html
|
78
|
+
- doc/classes/Contract/ContractMismatch.html
|
79
|
+
- doc/classes/Contract/ContractError.html
|
80
|
+
- doc/classes/Contract/Check
|
81
|
+
- doc/classes/Contract/Check.html
|
82
|
+
- doc/classes/Contract/ContractException.html
|
83
|
+
- doc/classes/Contract/Check/Quack.html
|
84
|
+
- doc/classes/Contract/Check/Block.html
|
85
|
+
- doc/classes/Contract/Check/None.html
|
86
|
+
- doc/classes/Contract/Check/All.html
|
87
|
+
- doc/classes/Contract/Check/Any.html
|
88
|
+
- doc/files/lib
|
89
|
+
- doc/files/README.html
|
90
|
+
- doc/files/COPYING.html
|
91
|
+
- doc/files/TODO.html
|
92
|
+
- doc/files/lib/contract_rb.html
|
93
|
+
- doc/files/lib/contract
|
94
|
+
- doc/files/lib/contract/integration_rb.html
|
95
|
+
- doc/files/lib/contract/assertions_rb.html
|
96
|
+
- doc/files/lib/contract/overrides_rb.html
|
97
|
+
- doc/files/lib/contract/exception_rb.html
|
98
|
+
- doc/dot/f_7.png
|
99
|
+
- doc/dot/f_7.dot
|
100
|
+
- doc/dot/f_6_1.png
|
101
|
+
- doc/dot/f_6_1.dot
|
102
|
+
- doc/dot/f_6_0.png
|
103
|
+
- doc/dot/f_6_0.dot
|
104
|
+
- doc/dot/f_6.png
|
105
|
+
- doc/dot/f_6.dot
|
106
|
+
- doc/dot/f_5.png
|
107
|
+
- doc/dot/f_5.dot
|
108
|
+
- doc/dot/f_4.png
|
109
|
+
- doc/dot/f_4.dot
|
110
|
+
- doc/dot/f_3.png
|
111
|
+
- doc/dot/f_3.dot
|
112
|
+
- doc/dot/f_2.png
|
113
|
+
- doc/dot/f_2.dot
|
114
|
+
- doc/dot/f_1.png
|
115
|
+
- doc/dot/f_1.dot
|
116
|
+
- doc/dot/f_0.png
|
117
|
+
- doc/dot/f_0.dot
|
118
|
+
test_files:
|
119
|
+
- test/tc_all.rb
|
120
|
+
rdoc_options:
|
121
|
+
- "--diagram"
|
122
|
+
- "--inline-source"
|
123
|
+
- "--line-numbers"
|
124
|
+
- "--title"
|
125
|
+
- ruby-contract
|
126
|
+
- "%s"
|
127
|
+
- "--main"
|
128
|
+
- README
|
129
|
+
extra_rdoc_files:
|
130
|
+
- TODO
|
131
|
+
- COPYING
|
132
|
+
- README
|
133
|
+
executables: []
|
134
|
+
extensions: []
|
135
|
+
requirements: []
|
136
|
+
dependencies: []
|