mspec 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mspec/matchers.rb +1 -0
  3. data/lib/mspec/matchers/block_caller.rb +34 -0
  4. data/lib/mspec/runner/actions/timer.rb +6 -2
  5. data/lib/mspec/runner/context.rb +1 -1
  6. data/lib/mspec/version.rb +1 -1
  7. data/spec/commands/mspec_spec.rb +2 -2
  8. data/spec/commands/mspec_tag_spec.rb +3 -3
  9. data/spec/guards/background_spec.rb +1 -1
  10. data/spec/guards/feature_spec.rb +4 -4
  11. data/spec/guards/guard_spec.rb +2 -2
  12. data/spec/helpers/fs_spec.rb +12 -12
  13. data/spec/helpers/numeric_spec.rb +1 -1
  14. data/spec/matchers/be_an_instance_of_spec.rb +6 -6
  15. data/spec/matchers/be_computed_by_function_spec.rb +4 -4
  16. data/spec/matchers/be_computed_by_spec.rb +5 -5
  17. data/spec/matchers/be_valid_dns_name_spec.rb +8 -8
  18. data/spec/matchers/block_caller_spec.rb +13 -0
  19. data/spec/matchers/equal_element_spec.rb +32 -32
  20. data/spec/matchers/have_class_variable_spec.rb +4 -4
  21. data/spec/matchers/have_constant_spec.rb +2 -2
  22. data/spec/matchers/have_data_spec.rb +4 -4
  23. data/spec/matchers/have_instance_method_spec.rb +4 -4
  24. data/spec/matchers/have_instance_variable_spec.rb +4 -4
  25. data/spec/matchers/have_method_spec.rb +6 -6
  26. data/spec/matchers/have_private_instance_method_spec.rb +4 -4
  27. data/spec/matchers/have_private_method_spec.rb +2 -2
  28. data/spec/matchers/have_protected_instance_method_spec.rb +4 -4
  29. data/spec/matchers/have_public_instance_method_spec.rb +4 -4
  30. data/spec/matchers/have_singleton_method_spec.rb +2 -2
  31. data/spec/mocks/mock_spec.rb +5 -5
  32. data/spec/mocks/proxy_spec.rb +8 -8
  33. data/spec/runner/actions/tag_spec.rb +7 -7
  34. data/spec/runner/actions/taglist_spec.rb +3 -3
  35. data/spec/runner/actions/timer_spec.rb +4 -4
  36. data/spec/runner/context_spec.rb +17 -17
  37. data/spec/runner/exception_spec.rb +3 -3
  38. data/spec/runner/formatters/dotted_spec.rb +15 -15
  39. data/spec/runner/formatters/file_spec.rb +4 -4
  40. data/spec/runner/formatters/specdoc_spec.rb +2 -2
  41. data/spec/runner/mspec_spec.rb +19 -15
  42. data/spec/utils/options_spec.rb +9 -11
  43. metadata +6 -3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Shirai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-25 00:00:00.000000000 Z
11
+ date: 2015-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -133,6 +133,7 @@ files:
133
133
  - lib/mspec/matchers/be_nil.rb
134
134
  - lib/mspec/matchers/be_true.rb
135
135
  - lib/mspec/matchers/be_valid_dns_name.rb
136
+ - lib/mspec/matchers/block_caller.rb
136
137
  - lib/mspec/matchers/complain.rb
137
138
  - lib/mspec/matchers/eql.rb
138
139
  - lib/mspec/matchers/equal.rb
@@ -269,6 +270,7 @@ files:
269
270
  - spec/matchers/be_nil_spec.rb
270
271
  - spec/matchers/be_true_spec.rb
271
272
  - spec/matchers/be_valid_dns_name_spec.rb
273
+ - spec/matchers/block_caller_spec.rb
272
274
  - spec/matchers/complain_spec.rb
273
275
  - spec/matchers/eql_spec.rb
274
276
  - spec/matchers/equal_element_spec.rb
@@ -356,7 +358,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
356
358
  version: '0'
357
359
  requirements: []
358
360
  rubyforge_project: http://rubyforge.org/projects/mspec
359
- rubygems_version: 2.4.5
361
+ rubygems_version: 2.4.8
360
362
  signing_key:
361
363
  specification_version: 4
362
364
  summary: MSpec is a specialized framework that is syntax-compatible with RSpec for
@@ -428,6 +430,7 @@ test_files:
428
430
  - spec/matchers/be_nil_spec.rb
429
431
  - spec/matchers/be_true_spec.rb
430
432
  - spec/matchers/be_valid_dns_name_spec.rb
433
+ - spec/matchers/block_caller_spec.rb
431
434
  - spec/matchers/complain_spec.rb
432
435
  - spec/matchers/eql_spec.rb
433
436
  - spec/matchers/equal_element_spec.rb