rspec 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/CHANGES +10 -2
  2. data/Rakefile +22 -30
  3. data/doc/src/default.css +11 -10
  4. data/doc/src/documentation/api.page +15 -82
  5. data/doc/src/documentation/mocks.page +12 -55
  6. data/doc/src/meta.info +4 -1
  7. data/examples/airport_spec.rb +0 -1
  8. data/examples/empty_stack_spec.rb +1 -0
  9. data/examples/stack_spec.rb +1 -0
  10. data/examples/team_spec.rb +30 -0
  11. data/lib/spec/api.rb +1 -0
  12. data/lib/spec/api/duck_type.rb +16 -0
  13. data/lib/spec/api/expectations.rb +4 -4
  14. data/lib/spec/api/mock.rb +1 -0
  15. data/lib/spec/runner/backtrace_tweaker.rb +1 -2
  16. data/lib/spec/runner/context.rb +2 -3
  17. data/lib/spec/runner/context_runner.rb +2 -2
  18. data/lib/spec/runner/execution_context.rb +4 -0
  19. data/lib/spec/runner/option_parser.rb +3 -2
  20. data/lib/spec/runner/simple_text_reporter.rb +11 -25
  21. data/lib/spec/runner/specification.rb +1 -2
  22. data/lib/spec/version.rb +1 -1
  23. data/test/{rake → rcov}/rcov_testtask.rb +4 -4
  24. data/test/rcov/rcov_verify.rb +28 -0
  25. data/test/spec/api/duck_type_test.rb +19 -0
  26. data/test/spec/api/mock_arg_constraints_test.rb +20 -0
  27. data/test/spec/runner/backtrace_tweaker_test.rb +16 -8
  28. data/test/spec/runner/context_runner_test.rb +3 -3
  29. data/test/spec/runner/context_test.rb +2 -2
  30. data/test/spec/runner/execution_context_test.rb +7 -0
  31. data/test/spec/runner/option_parser_test.rb +12 -2
  32. data/test/spec/runner/simple_text_reporter_test.rb +18 -47
  33. data/test/spec/runner/specification_test.rb +5 -5
  34. data/test/spec/tool/command_line_test.rb +0 -1
  35. data/test/test_helper.rb +1 -0
  36. metadata +9 -7
  37. data/doc/src/download.page +0 -7
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.11
2
+ rubygems_version: 0.8.10
3
3
  specification_version: 1
4
4
  name: rspec
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.5.2
7
- date: 2006-04-09 00:00:00 -05:00
6
+ version: 0.5.3
7
+ date: 2006-04-11
8
8
  summary: Behaviour Specification Framework for Ruby
9
9
  require_paths:
10
10
  - lib
@@ -23,8 +23,6 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
23
23
  version: 0.0.0
24
24
  version:
25
25
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
26
  authors:
29
27
  - Steven Baker
30
28
  files:
@@ -35,6 +33,7 @@ files:
35
33
  - lib/spec/api.rb
36
34
  - lib/spec/runner.rb
37
35
  - lib/spec/version.rb
36
+ - lib/spec/api/duck_type.rb
38
37
  - lib/spec/api/exceptions.rb
39
38
  - lib/spec/api/expectations.rb
40
39
  - lib/spec/api/helper.rb
@@ -63,7 +62,9 @@ files:
63
62
  - lib/spec/tool/command_line.rb
64
63
  - lib/spec/tool/test_unit_translator.rb
65
64
  - test/test_helper.rb
66
- - test/rake/rcov_testtask.rb
65
+ - test/rcov/rcov_testtask.rb
66
+ - test/rcov/rcov_verify.rb
67
+ - test/spec/api/duck_type_test.rb
67
68
  - test/spec/api/mock_arg_constraints_test.rb
68
69
  - test/spec/api/mock_test.rb
69
70
  - test/spec/api/helper/arbitrary_predicate_test.rb
@@ -96,6 +97,7 @@ files:
96
97
  - examples/spec_framework_spec.rb
97
98
  - examples/stack.rb
98
99
  - examples/stack_spec.rb
100
+ - examples/team_spec.rb
99
101
  - doc/config.yaml
100
102
  - doc/plugin
101
103
  - doc/README
@@ -107,7 +109,6 @@ files:
107
109
  - doc/src/default.css
108
110
  - doc/src/default.template
109
111
  - doc/src/documentation
110
- - doc/src/download.page
111
112
  - doc/src/examples.page
112
113
  - doc/src/images
113
114
  - doc/src/index.page
@@ -134,6 +135,7 @@ rdoc_options:
134
135
  - README
135
136
  - --line-numbers
136
137
  extra_rdoc_files:
138
+ - README
137
139
  - CHANGES
138
140
  executables:
139
141
  - spec
@@ -1,7 +0,0 @@
1
- ---
2
- title: Download
3
- inMenu: true
4
- ---
5
- h2. Download
6
-
7
- Bla