ward 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +28 -0
- data/LICENSE +19 -0
- data/README.markdown +99 -0
- data/Rakefile +47 -0
- data/VERSION +1 -0
- data/features/acceptance_matcher.feature +78 -0
- data/features/attribute_keyword.feature +13 -0
- data/features/close_to_matcher.feature +130 -0
- data/features/context_arguments.feature +47 -0
- data/features/equal_to_matcher.feature +25 -0
- data/features/error_messages.feature +69 -0
- data/features/external_validation.feature +15 -0
- data/features/has_matcher.feature +72 -0
- data/features/has_matcher_initialized_with_expectation.feature +94 -0
- data/features/has_matcher_relativities.feature +171 -0
- data/features/include_matcher.feature +28 -0
- data/features/is_keyword.feature +42 -0
- data/features/is_not_keyword.feature +62 -0
- data/features/match_matcher.feature +49 -0
- data/features/multiple_validators.feature +29 -0
- data/features/nil_matcher.feature +25 -0
- data/features/predicate_matcher.feature +23 -0
- data/features/present_matcher.feature +59 -0
- data/features/satisfy_matcher.feature +80 -0
- data/features/scenario_validation.feature +81 -0
- data/features/step_definitions/external_validation_steps.rb +69 -0
- data/features/step_definitions/generic_validation_steps.rb +33 -0
- data/features/step_definitions/object_definition_steps.rb +43 -0
- data/features/support/env.rb +12 -0
- data/features/support/object_builder.rb +33 -0
- data/features/support/struct.rb +38 -0
- data/lang/en.yml +56 -0
- data/lib/ward.rb +26 -0
- data/lib/ward/context.rb +70 -0
- data/lib/ward/context_chain.rb +87 -0
- data/lib/ward/dsl.rb +7 -0
- data/lib/ward/dsl/validation_block.rb +73 -0
- data/lib/ward/dsl/validation_builder.rb +190 -0
- data/lib/ward/errors.rb +213 -0
- data/lib/ward/matchers.rb +97 -0
- data/lib/ward/matchers/acceptance.rb +43 -0
- data/lib/ward/matchers/close_to.rb +60 -0
- data/lib/ward/matchers/equal_to.rb +33 -0
- data/lib/ward/matchers/has.rb +283 -0
- data/lib/ward/matchers/include.rb +54 -0
- data/lib/ward/matchers/match.rb +29 -0
- data/lib/ward/matchers/matcher.rb +68 -0
- data/lib/ward/matchers/nil.rb +30 -0
- data/lib/ward/matchers/predicate.rb +31 -0
- data/lib/ward/matchers/present.rb +56 -0
- data/lib/ward/matchers/satisfy.rb +65 -0
- data/lib/ward/spec.rb +17 -0
- data/lib/ward/spec/matcher_matcher.rb +114 -0
- data/lib/ward/support.rb +7 -0
- data/lib/ward/support/basic_object.rb +55 -0
- data/lib/ward/support/result.rb +49 -0
- data/lib/ward/validator.rb +147 -0
- data/lib/ward/validator_set.rb +115 -0
- data/lib/ward/version.rb +3 -0
- data/spec/lib/has_matcher_relativity_examples.rb +15 -0
- data/spec/lib/have_public_method_defined.rb +22 -0
- data/spec/rcov.opts +8 -0
- data/spec/spec.opts +4 -0
- data/spec/spec_helper.rb +19 -0
- data/spec/ward/context_chain_spec.rb +178 -0
- data/spec/ward/context_spec.rb +57 -0
- data/spec/ward/dsl/validation_block_spec.rb +27 -0
- data/spec/ward/dsl/validation_builder_spec.rb +212 -0
- data/spec/ward/errors_spec.rb +149 -0
- data/spec/ward/matchers/acceptance_spec.rb +16 -0
- data/spec/ward/matchers/close_to_spec.rb +57 -0
- data/spec/ward/matchers/equal_to_spec.rb +16 -0
- data/spec/ward/matchers/has_spec.rb +175 -0
- data/spec/ward/matchers/include_spec.rb +41 -0
- data/spec/ward/matchers/match_spec.rb +21 -0
- data/spec/ward/matchers/matcher_spec.rb +54 -0
- data/spec/ward/matchers/nil_spec.rb +16 -0
- data/spec/ward/matchers/predicate_spec.rb +19 -0
- data/spec/ward/matchers/present_spec.rb +16 -0
- data/spec/ward/matchers/satisfy_spec.rb +68 -0
- data/spec/ward/matchers_spec.rb +51 -0
- data/spec/ward/spec/have_public_method_defined_spec.rb +31 -0
- data/spec/ward/spec/matcher_matcher_spec.rb +217 -0
- data/spec/ward/validator_set_spec.rb +178 -0
- data/spec/ward/validator_spec.rb +264 -0
- data/tasks/features.rake +15 -0
- data/tasks/rcov.rake +24 -0
- data/tasks/spec.rake +18 -0
- data/tasks/yard.rake +9 -0
- data/ward.gemspec +176 -0
- metadata +239 -0
data/tasks/rcov.rake
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
begin
|
2
|
+
require 'rcov'
|
3
|
+
require 'spec/rake/spectask'
|
4
|
+
require 'spec/rake/verify_rcov'
|
5
|
+
|
6
|
+
Spec::Rake::SpecTask.new(:rcov) do |rcov|
|
7
|
+
rcov.pattern = 'spec/**/*_spec.rb'
|
8
|
+
rcov.libs << 'lib' << 'spec'
|
9
|
+
rcov.spec_opts << '--options' << 'spec/spec.opts'
|
10
|
+
rcov.rcov = true
|
11
|
+
rcov.rcov_opts = File.read('spec/rcov.opts').split(/\s+/)
|
12
|
+
end
|
13
|
+
|
14
|
+
RCov::VerifyTask.new('rcov:verify' => :rcov) do |rcov|
|
15
|
+
rcov.threshold = 100
|
16
|
+
end
|
17
|
+
rescue LoadError
|
18
|
+
%w(rcov rcov:verify).each do |name|
|
19
|
+
task name do
|
20
|
+
abort "rcov is not available. In order to run #{name}, you must: gem " \
|
21
|
+
"install rcov"
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
data/tasks/spec.rake
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
begin
|
2
|
+
require 'spec/rake/spectask'
|
3
|
+
|
4
|
+
Spec::Rake::SpecTask.new(:specs_only) do |spec|
|
5
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
6
|
+
spec.libs << 'lib' << 'spec'
|
7
|
+
spec.spec_opts << '--options' << 'spec/spec.opts'
|
8
|
+
end
|
9
|
+
|
10
|
+
desc "Run the specs, followed by the Cucumber features (if specs pass)"
|
11
|
+
task :spec => [:specs_only, :features]
|
12
|
+
|
13
|
+
rescue LoadError
|
14
|
+
task :spec do
|
15
|
+
abort 'rspec is not available. In order to run spec, you must: gem ' \
|
16
|
+
'install rspec'
|
17
|
+
end
|
18
|
+
end
|
data/tasks/yard.rake
ADDED
data/ward.gemspec
ADDED
@@ -0,0 +1,176 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{ward}
|
8
|
+
s.version = "0.1.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Anthony Williams"]
|
12
|
+
s.date = %q{2010-03-17}
|
13
|
+
s.description = %q{Object validation inspired by RSpec.}
|
14
|
+
s.email = %q{hi@antw.me}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.markdown"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.markdown",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"features/acceptance_matcher.feature",
|
27
|
+
"features/attribute_keyword.feature",
|
28
|
+
"features/close_to_matcher.feature",
|
29
|
+
"features/context_arguments.feature",
|
30
|
+
"features/equal_to_matcher.feature",
|
31
|
+
"features/error_messages.feature",
|
32
|
+
"features/external_validation.feature",
|
33
|
+
"features/has_matcher.feature",
|
34
|
+
"features/has_matcher_initialized_with_expectation.feature",
|
35
|
+
"features/has_matcher_relativities.feature",
|
36
|
+
"features/include_matcher.feature",
|
37
|
+
"features/is_keyword.feature",
|
38
|
+
"features/is_not_keyword.feature",
|
39
|
+
"features/match_matcher.feature",
|
40
|
+
"features/multiple_validators.feature",
|
41
|
+
"features/nil_matcher.feature",
|
42
|
+
"features/predicate_matcher.feature",
|
43
|
+
"features/present_matcher.feature",
|
44
|
+
"features/satisfy_matcher.feature",
|
45
|
+
"features/scenario_validation.feature",
|
46
|
+
"features/step_definitions/external_validation_steps.rb",
|
47
|
+
"features/step_definitions/generic_validation_steps.rb",
|
48
|
+
"features/step_definitions/object_definition_steps.rb",
|
49
|
+
"features/support/env.rb",
|
50
|
+
"features/support/object_builder.rb",
|
51
|
+
"features/support/struct.rb",
|
52
|
+
"lang/en.yml",
|
53
|
+
"lib/ward.rb",
|
54
|
+
"lib/ward/context.rb",
|
55
|
+
"lib/ward/context_chain.rb",
|
56
|
+
"lib/ward/dsl.rb",
|
57
|
+
"lib/ward/dsl/validation_block.rb",
|
58
|
+
"lib/ward/dsl/validation_builder.rb",
|
59
|
+
"lib/ward/errors.rb",
|
60
|
+
"lib/ward/matchers.rb",
|
61
|
+
"lib/ward/matchers/acceptance.rb",
|
62
|
+
"lib/ward/matchers/close_to.rb",
|
63
|
+
"lib/ward/matchers/equal_to.rb",
|
64
|
+
"lib/ward/matchers/has.rb",
|
65
|
+
"lib/ward/matchers/include.rb",
|
66
|
+
"lib/ward/matchers/match.rb",
|
67
|
+
"lib/ward/matchers/matcher.rb",
|
68
|
+
"lib/ward/matchers/nil.rb",
|
69
|
+
"lib/ward/matchers/predicate.rb",
|
70
|
+
"lib/ward/matchers/present.rb",
|
71
|
+
"lib/ward/matchers/satisfy.rb",
|
72
|
+
"lib/ward/spec.rb",
|
73
|
+
"lib/ward/spec/matcher_matcher.rb",
|
74
|
+
"lib/ward/support.rb",
|
75
|
+
"lib/ward/support/basic_object.rb",
|
76
|
+
"lib/ward/support/result.rb",
|
77
|
+
"lib/ward/validator.rb",
|
78
|
+
"lib/ward/validator_set.rb",
|
79
|
+
"lib/ward/version.rb",
|
80
|
+
"spec/lib/has_matcher_relativity_examples.rb",
|
81
|
+
"spec/lib/have_public_method_defined.rb",
|
82
|
+
"spec/rcov.opts",
|
83
|
+
"spec/spec.opts",
|
84
|
+
"spec/spec_helper.rb",
|
85
|
+
"spec/ward/context_chain_spec.rb",
|
86
|
+
"spec/ward/context_spec.rb",
|
87
|
+
"spec/ward/dsl/validation_block_spec.rb",
|
88
|
+
"spec/ward/dsl/validation_builder_spec.rb",
|
89
|
+
"spec/ward/errors_spec.rb",
|
90
|
+
"spec/ward/matchers/acceptance_spec.rb",
|
91
|
+
"spec/ward/matchers/close_to_spec.rb",
|
92
|
+
"spec/ward/matchers/equal_to_spec.rb",
|
93
|
+
"spec/ward/matchers/has_spec.rb",
|
94
|
+
"spec/ward/matchers/include_spec.rb",
|
95
|
+
"spec/ward/matchers/match_spec.rb",
|
96
|
+
"spec/ward/matchers/matcher_spec.rb",
|
97
|
+
"spec/ward/matchers/nil_spec.rb",
|
98
|
+
"spec/ward/matchers/predicate_spec.rb",
|
99
|
+
"spec/ward/matchers/present_spec.rb",
|
100
|
+
"spec/ward/matchers/satisfy_spec.rb",
|
101
|
+
"spec/ward/matchers_spec.rb",
|
102
|
+
"spec/ward/spec/have_public_method_defined_spec.rb",
|
103
|
+
"spec/ward/spec/matcher_matcher_spec.rb",
|
104
|
+
"spec/ward/validator_set_spec.rb",
|
105
|
+
"spec/ward/validator_spec.rb",
|
106
|
+
"tasks/features.rake",
|
107
|
+
"tasks/rcov.rake",
|
108
|
+
"tasks/spec.rake",
|
109
|
+
"tasks/yard.rake",
|
110
|
+
"ward.gemspec"
|
111
|
+
]
|
112
|
+
s.has_rdoc = false
|
113
|
+
s.homepage = %q{http://github.com/antw/ward}
|
114
|
+
s.post_install_message = %q{************************************************************
|
115
|
+
|
116
|
+
Thank you for installing ward-0.1.0
|
117
|
+
|
118
|
+
Please note that 0.1 is a preview release and considered
|
119
|
+
unsuitable for use in a production environment.
|
120
|
+
|
121
|
+
************************************************************
|
122
|
+
}
|
123
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
124
|
+
s.require_paths = ["lib"]
|
125
|
+
s.rubygems_version = %q{1.3.6}
|
126
|
+
s.summary = %q{Ward}
|
127
|
+
s.test_files = [
|
128
|
+
"spec/lib/has_matcher_relativity_examples.rb",
|
129
|
+
"spec/lib/have_public_method_defined.rb",
|
130
|
+
"spec/spec_helper.rb",
|
131
|
+
"spec/ward/context_chain_spec.rb",
|
132
|
+
"spec/ward/context_spec.rb",
|
133
|
+
"spec/ward/dsl/validation_block_spec.rb",
|
134
|
+
"spec/ward/dsl/validation_builder_spec.rb",
|
135
|
+
"spec/ward/errors_spec.rb",
|
136
|
+
"spec/ward/matchers/acceptance_spec.rb",
|
137
|
+
"spec/ward/matchers/close_to_spec.rb",
|
138
|
+
"spec/ward/matchers/equal_to_spec.rb",
|
139
|
+
"spec/ward/matchers/has_spec.rb",
|
140
|
+
"spec/ward/matchers/include_spec.rb",
|
141
|
+
"spec/ward/matchers/match_spec.rb",
|
142
|
+
"spec/ward/matchers/matcher_spec.rb",
|
143
|
+
"spec/ward/matchers/nil_spec.rb",
|
144
|
+
"spec/ward/matchers/predicate_spec.rb",
|
145
|
+
"spec/ward/matchers/present_spec.rb",
|
146
|
+
"spec/ward/matchers/satisfy_spec.rb",
|
147
|
+
"spec/ward/matchers_spec.rb",
|
148
|
+
"spec/ward/spec/have_public_method_defined_spec.rb",
|
149
|
+
"spec/ward/spec/matcher_matcher_spec.rb",
|
150
|
+
"spec/ward/validator_set_spec.rb",
|
151
|
+
"spec/ward/validator_spec.rb"
|
152
|
+
]
|
153
|
+
|
154
|
+
if s.respond_to? :specification_version then
|
155
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
156
|
+
s.specification_version = 3
|
157
|
+
|
158
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
159
|
+
s.add_runtime_dependency(%q<activesupport>, [">= 3.0.0.beta"])
|
160
|
+
s.add_development_dependency(%q<rspec>, [">= 1.3.0"])
|
161
|
+
s.add_development_dependency(%q<cucumber>, [">= 0.3"])
|
162
|
+
s.add_development_dependency(%q<yard>, [">= 0.5"])
|
163
|
+
else
|
164
|
+
s.add_dependency(%q<activesupport>, [">= 3.0.0.beta"])
|
165
|
+
s.add_dependency(%q<rspec>, [">= 1.3.0"])
|
166
|
+
s.add_dependency(%q<cucumber>, [">= 0.3"])
|
167
|
+
s.add_dependency(%q<yard>, [">= 0.5"])
|
168
|
+
end
|
169
|
+
else
|
170
|
+
s.add_dependency(%q<activesupport>, [">= 3.0.0.beta"])
|
171
|
+
s.add_dependency(%q<rspec>, [">= 1.3.0"])
|
172
|
+
s.add_dependency(%q<cucumber>, [">= 0.3"])
|
173
|
+
s.add_dependency(%q<yard>, [">= 0.5"])
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
metadata
ADDED
@@ -0,0 +1,239 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ward
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
version: 0.1.0
|
10
|
+
platform: ruby
|
11
|
+
authors:
|
12
|
+
- Anthony Williams
|
13
|
+
autorequire:
|
14
|
+
bindir: bin
|
15
|
+
cert_chain: []
|
16
|
+
|
17
|
+
date: 2010-03-17 00:00:00 +00:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: activesupport
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 3
|
29
|
+
- 0
|
30
|
+
- 0
|
31
|
+
- beta
|
32
|
+
version: 3.0.0.beta
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: rspec
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
segments:
|
43
|
+
- 1
|
44
|
+
- 3
|
45
|
+
- 0
|
46
|
+
version: 1.3.0
|
47
|
+
type: :development
|
48
|
+
version_requirements: *id002
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: cucumber
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
segments:
|
57
|
+
- 0
|
58
|
+
- 3
|
59
|
+
version: "0.3"
|
60
|
+
type: :development
|
61
|
+
version_requirements: *id003
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: yard
|
64
|
+
prerelease: false
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
segments:
|
70
|
+
- 0
|
71
|
+
- 5
|
72
|
+
version: "0.5"
|
73
|
+
type: :development
|
74
|
+
version_requirements: *id004
|
75
|
+
description: Object validation inspired by RSpec.
|
76
|
+
email: hi@antw.me
|
77
|
+
executables: []
|
78
|
+
|
79
|
+
extensions: []
|
80
|
+
|
81
|
+
extra_rdoc_files:
|
82
|
+
- LICENSE
|
83
|
+
- README.markdown
|
84
|
+
files:
|
85
|
+
- .document
|
86
|
+
- .gitignore
|
87
|
+
- LICENSE
|
88
|
+
- README.markdown
|
89
|
+
- Rakefile
|
90
|
+
- VERSION
|
91
|
+
- features/acceptance_matcher.feature
|
92
|
+
- features/attribute_keyword.feature
|
93
|
+
- features/close_to_matcher.feature
|
94
|
+
- features/context_arguments.feature
|
95
|
+
- features/equal_to_matcher.feature
|
96
|
+
- features/error_messages.feature
|
97
|
+
- features/external_validation.feature
|
98
|
+
- features/has_matcher.feature
|
99
|
+
- features/has_matcher_initialized_with_expectation.feature
|
100
|
+
- features/has_matcher_relativities.feature
|
101
|
+
- features/include_matcher.feature
|
102
|
+
- features/is_keyword.feature
|
103
|
+
- features/is_not_keyword.feature
|
104
|
+
- features/match_matcher.feature
|
105
|
+
- features/multiple_validators.feature
|
106
|
+
- features/nil_matcher.feature
|
107
|
+
- features/predicate_matcher.feature
|
108
|
+
- features/present_matcher.feature
|
109
|
+
- features/satisfy_matcher.feature
|
110
|
+
- features/scenario_validation.feature
|
111
|
+
- features/step_definitions/external_validation_steps.rb
|
112
|
+
- features/step_definitions/generic_validation_steps.rb
|
113
|
+
- features/step_definitions/object_definition_steps.rb
|
114
|
+
- features/support/env.rb
|
115
|
+
- features/support/object_builder.rb
|
116
|
+
- features/support/struct.rb
|
117
|
+
- lang/en.yml
|
118
|
+
- lib/ward.rb
|
119
|
+
- lib/ward/context.rb
|
120
|
+
- lib/ward/context_chain.rb
|
121
|
+
- lib/ward/dsl.rb
|
122
|
+
- lib/ward/dsl/validation_block.rb
|
123
|
+
- lib/ward/dsl/validation_builder.rb
|
124
|
+
- lib/ward/errors.rb
|
125
|
+
- lib/ward/matchers.rb
|
126
|
+
- lib/ward/matchers/acceptance.rb
|
127
|
+
- lib/ward/matchers/close_to.rb
|
128
|
+
- lib/ward/matchers/equal_to.rb
|
129
|
+
- lib/ward/matchers/has.rb
|
130
|
+
- lib/ward/matchers/include.rb
|
131
|
+
- lib/ward/matchers/match.rb
|
132
|
+
- lib/ward/matchers/matcher.rb
|
133
|
+
- lib/ward/matchers/nil.rb
|
134
|
+
- lib/ward/matchers/predicate.rb
|
135
|
+
- lib/ward/matchers/present.rb
|
136
|
+
- lib/ward/matchers/satisfy.rb
|
137
|
+
- lib/ward/spec.rb
|
138
|
+
- lib/ward/spec/matcher_matcher.rb
|
139
|
+
- lib/ward/support.rb
|
140
|
+
- lib/ward/support/basic_object.rb
|
141
|
+
- lib/ward/support/result.rb
|
142
|
+
- lib/ward/validator.rb
|
143
|
+
- lib/ward/validator_set.rb
|
144
|
+
- lib/ward/version.rb
|
145
|
+
- spec/lib/has_matcher_relativity_examples.rb
|
146
|
+
- spec/lib/have_public_method_defined.rb
|
147
|
+
- spec/rcov.opts
|
148
|
+
- spec/spec.opts
|
149
|
+
- spec/spec_helper.rb
|
150
|
+
- spec/ward/context_chain_spec.rb
|
151
|
+
- spec/ward/context_spec.rb
|
152
|
+
- spec/ward/dsl/validation_block_spec.rb
|
153
|
+
- spec/ward/dsl/validation_builder_spec.rb
|
154
|
+
- spec/ward/errors_spec.rb
|
155
|
+
- spec/ward/matchers/acceptance_spec.rb
|
156
|
+
- spec/ward/matchers/close_to_spec.rb
|
157
|
+
- spec/ward/matchers/equal_to_spec.rb
|
158
|
+
- spec/ward/matchers/has_spec.rb
|
159
|
+
- spec/ward/matchers/include_spec.rb
|
160
|
+
- spec/ward/matchers/match_spec.rb
|
161
|
+
- spec/ward/matchers/matcher_spec.rb
|
162
|
+
- spec/ward/matchers/nil_spec.rb
|
163
|
+
- spec/ward/matchers/predicate_spec.rb
|
164
|
+
- spec/ward/matchers/present_spec.rb
|
165
|
+
- spec/ward/matchers/satisfy_spec.rb
|
166
|
+
- spec/ward/matchers_spec.rb
|
167
|
+
- spec/ward/spec/have_public_method_defined_spec.rb
|
168
|
+
- spec/ward/spec/matcher_matcher_spec.rb
|
169
|
+
- spec/ward/validator_set_spec.rb
|
170
|
+
- spec/ward/validator_spec.rb
|
171
|
+
- tasks/features.rake
|
172
|
+
- tasks/rcov.rake
|
173
|
+
- tasks/spec.rake
|
174
|
+
- tasks/yard.rake
|
175
|
+
- ward.gemspec
|
176
|
+
has_rdoc: false
|
177
|
+
homepage: http://github.com/antw/ward
|
178
|
+
licenses: []
|
179
|
+
|
180
|
+
post_install_message: |
|
181
|
+
************************************************************
|
182
|
+
|
183
|
+
Thank you for installing ward-0.1.0
|
184
|
+
|
185
|
+
Please note that 0.1 is a preview release and considered
|
186
|
+
unsuitable for use in a production environment.
|
187
|
+
|
188
|
+
************************************************************
|
189
|
+
|
190
|
+
rdoc_options:
|
191
|
+
- --charset=UTF-8
|
192
|
+
require_paths:
|
193
|
+
- lib
|
194
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
195
|
+
requirements:
|
196
|
+
- - ">="
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
segments:
|
199
|
+
- 0
|
200
|
+
version: "0"
|
201
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - ">="
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
segments:
|
206
|
+
- 0
|
207
|
+
version: "0"
|
208
|
+
requirements: []
|
209
|
+
|
210
|
+
rubyforge_project:
|
211
|
+
rubygems_version: 1.3.6
|
212
|
+
signing_key:
|
213
|
+
specification_version: 3
|
214
|
+
summary: Ward
|
215
|
+
test_files:
|
216
|
+
- spec/lib/has_matcher_relativity_examples.rb
|
217
|
+
- spec/lib/have_public_method_defined.rb
|
218
|
+
- spec/spec_helper.rb
|
219
|
+
- spec/ward/context_chain_spec.rb
|
220
|
+
- spec/ward/context_spec.rb
|
221
|
+
- spec/ward/dsl/validation_block_spec.rb
|
222
|
+
- spec/ward/dsl/validation_builder_spec.rb
|
223
|
+
- spec/ward/errors_spec.rb
|
224
|
+
- spec/ward/matchers/acceptance_spec.rb
|
225
|
+
- spec/ward/matchers/close_to_spec.rb
|
226
|
+
- spec/ward/matchers/equal_to_spec.rb
|
227
|
+
- spec/ward/matchers/has_spec.rb
|
228
|
+
- spec/ward/matchers/include_spec.rb
|
229
|
+
- spec/ward/matchers/match_spec.rb
|
230
|
+
- spec/ward/matchers/matcher_spec.rb
|
231
|
+
- spec/ward/matchers/nil_spec.rb
|
232
|
+
- spec/ward/matchers/predicate_spec.rb
|
233
|
+
- spec/ward/matchers/present_spec.rb
|
234
|
+
- spec/ward/matchers/satisfy_spec.rb
|
235
|
+
- spec/ward/matchers_spec.rb
|
236
|
+
- spec/ward/spec/have_public_method_defined_spec.rb
|
237
|
+
- spec/ward/spec/matcher_matcher_spec.rb
|
238
|
+
- spec/ward/validator_set_spec.rb
|
239
|
+
- spec/ward/validator_spec.rb
|