rspec-expectations 2.99.2 → 3.0.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +14 -6
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +2 -0
  4. data/Changelog.md +63 -104
  5. data/License.txt +1 -0
  6. data/README.md +14 -8
  7. data/features/README.md +1 -2
  8. data/features/built_in_matchers/README.md +3 -0
  9. data/features/built_in_matchers/be.feature +44 -44
  10. data/features/built_in_matchers/be_within.feature +1 -1
  11. data/features/built_in_matchers/comparisons.feature +97 -0
  12. data/features/built_in_matchers/cover.feature +3 -3
  13. data/features/built_in_matchers/end_with.feature +3 -3
  14. data/features/built_in_matchers/equality.feature +20 -23
  15. data/features/built_in_matchers/exist.feature +5 -5
  16. data/features/built_in_matchers/expect_error.feature +14 -14
  17. data/features/built_in_matchers/include.feature +15 -15
  18. data/features/built_in_matchers/match.feature +4 -5
  19. data/features/built_in_matchers/match_array.feature +37 -0
  20. data/features/built_in_matchers/predicates.feature +30 -6
  21. data/features/built_in_matchers/respond_to.feature +4 -4
  22. data/features/built_in_matchers/satisfy.feature +2 -2
  23. data/features/built_in_matchers/start_with.feature +3 -3
  24. data/features/built_in_matchers/types.feature +6 -6
  25. data/features/custom_matchers/access_running_example.feature +3 -3
  26. data/features/custom_matchers/define_matcher.feature +6 -34
  27. data/features/custom_matchers/define_matcher_outside_rspec.feature +2 -2
  28. data/features/custom_matchers/define_matcher_with_fluent_interface.feature +1 -1
  29. data/features/customized_message.feature +18 -1
  30. data/features/diffing.feature +3 -3
  31. data/features/implicit_docstrings.feature +9 -9
  32. data/features/step_definitions/additional_cli_steps.rb +0 -10
  33. data/features/support/env.rb +10 -3
  34. data/features/test_frameworks/test_unit.feature +0 -40
  35. data/lib/rspec-expectations.rb +0 -5
  36. data/lib/rspec/expectations.rb +4 -18
  37. data/lib/rspec/expectations/expectation_target.rb +10 -77
  38. data/lib/rspec/expectations/extensions.rb +0 -1
  39. data/lib/rspec/expectations/handler.rb +1 -5
  40. data/lib/rspec/expectations/syntax.rb +25 -5
  41. data/lib/rspec/expectations/version.rb +1 -1
  42. data/lib/rspec/matchers.rb +7 -102
  43. data/lib/rspec/matchers/built_in/base_matcher.rb +10 -17
  44. data/lib/rspec/matchers/built_in/be.rb +5 -18
  45. data/lib/rspec/matchers/built_in/be_within.rb +2 -8
  46. data/lib/rspec/matchers/built_in/change.rb +1 -39
  47. data/lib/rspec/matchers/built_in/has.rb +7 -40
  48. data/lib/rspec/matchers/built_in/include.rb +1 -1
  49. data/lib/rspec/matchers/built_in/match_array.rb +1 -1
  50. data/lib/rspec/matchers/built_in/raise_error.rb +44 -23
  51. data/lib/rspec/matchers/built_in/respond_to.rb +1 -7
  52. data/lib/rspec/matchers/built_in/satisfy.rb +1 -7
  53. data/lib/rspec/matchers/built_in/throw_symbol.rb +2 -10
  54. data/lib/rspec/matchers/built_in/yield.rb +4 -25
  55. data/lib/rspec/matchers/compatibility.rb +2 -2
  56. data/lib/rspec/{expectations → matchers}/configuration.rb +9 -6
  57. data/lib/rspec/matchers/dsl.rb +2 -4
  58. data/lib/rspec/matchers/matcher.rb +163 -283
  59. data/lib/rspec/matchers/operator_matcher.rb +57 -71
  60. data/lib/rspec/matchers/pretty.rb +0 -4
  61. data/lib/rspec/matchers/test_unit_integration.rb +5 -22
  62. data/spec/rspec/expectations/expectation_target_spec.rb +0 -62
  63. data/spec/rspec/expectations/extensions/kernel_spec.rb +0 -4
  64. data/spec/rspec/expectations_spec.rb +2 -43
  65. data/spec/rspec/matchers/base_matcher_spec.rb +12 -27
  66. data/spec/rspec/matchers/be_spec.rb +2 -71
  67. data/spec/rspec/matchers/change_spec.rb +1 -76
  68. data/spec/rspec/{expectations → matchers}/configuration_spec.rb +41 -21
  69. data/spec/rspec/matchers/description_generation_spec.rb +2 -21
  70. data/spec/rspec/matchers/equal_spec.rb +0 -26
  71. data/spec/rspec/matchers/has_spec.rb +0 -24
  72. data/spec/rspec/matchers/match_array_spec.rb +0 -13
  73. data/spec/rspec/matchers/matcher_spec.rb +325 -279
  74. data/spec/rspec/matchers/matchers_spec.rb +36 -0
  75. data/spec/rspec/matchers/operator_matcher_spec.rb +8 -27
  76. data/spec/rspec/matchers/raise_error_spec.rb +65 -209
  77. data/spec/rspec/matchers/yield_spec.rb +32 -9
  78. data/spec/spec_helper.rb +21 -6
  79. data/spec/support/classes.rb +7 -7
  80. data/spec/support/in_sub_process.rb +7 -8
  81. data/spec/support/shared_examples.rb +0 -42
  82. metadata +113 -84
  83. metadata.gz.sig +4 -0
  84. data/features/built_in_matchers/have.feature +0 -109
  85. data/features/built_in_matchers/operators.feature +0 -227
  86. data/lib/rspec/expectations/caller_filter.rb +0 -60
  87. data/lib/rspec/expectations/deprecation.rb +0 -27
  88. data/lib/rspec/expectations/extensions/array.rb +0 -9
  89. data/lib/rspec/matchers/be_close.rb +0 -12
  90. data/lib/rspec/matchers/built_in/have.rb +0 -273
  91. data/lib/rspec/matchers/differentiate_block_method_types.rb +0 -55
  92. data/lib/rspec/matchers/extensions/instance_eval_with_args.rb +0 -39
  93. data/lib/rspec/matchers/match_aliases.rb +0 -22
  94. data/spec/rspec/matchers/be_close_spec.rb +0 -25
  95. data/spec/rspec/matchers/differentiate_block_method_types_spec.rb +0 -39
  96. data/spec/rspec/matchers/have_spec.rb +0 -853
  97. data/spec/rspec/matchers/pretty_spec.rb +0 -23
  98. data/spec/support/helper_methods.rb +0 -42
@@ -1,9 +1,27 @@
1
+ unless ENV['NO_COVERALLS']
2
+ require 'simplecov' if RUBY_VERSION.to_f >= 1.9
3
+ require 'coveralls'
4
+ Coveralls.wear! do
5
+ add_filter '/bundle/'
6
+ add_filter '/spec/'
7
+ add_filter '/tmp/'
8
+ end
9
+ end
10
+
1
11
  Dir['./spec/support/**/*'].each {|f| require f}
2
12
 
13
+ module DeprecationHelpers
14
+ def expect_deprecation_with_call_site(file, line)
15
+ expect(RSpec.configuration.reporter).to receive(:deprecation) do |options|
16
+ expect(options[:call_site]).to include([file, line].join(':'))
17
+ end
18
+ end
19
+ end
20
+
3
21
  RSpec::configure do |config|
4
- config.treat_symbols_as_metadata_keys_with_true_values = true
5
- config.color = true
6
- config.filter_run :focus
22
+ config.include DeprecationHelpers
23
+ config.color_enabled = true
24
+ config.filter_run :focused
7
25
  config.run_all_when_everything_filtered = true
8
26
  config.order = :random
9
27
 
@@ -11,8 +29,6 @@ RSpec::configure do |config|
11
29
  $default_expectation_syntax = expectations.syntax
12
30
  expectations.syntax = :expect
13
31
  end
14
-
15
- config.include DeprecationHelpers
16
32
  end
17
33
 
18
34
  shared_context "with #should enabled", :uses_should do
@@ -53,4 +69,3 @@ module TestUnitIntegrationSupport
53
69
  end
54
70
  end
55
71
  end
56
-
@@ -33,13 +33,13 @@ module RSpec
33
33
  @items_in_collection_with_size_method.push(item)
34
34
  end
35
35
 
36
- def add_to_collection_with_length_method(item)
37
- @items_in_collection_with_length_method.push(item)
38
- end
39
-
40
- def add_to_collection_with_count_method(item)
41
- @items_in_collection_with_count_method.push(item)
42
- end
36
+ def add_to_collection_with_length_method(item)
37
+ @items_in_collection_with_length_method.push(item)
38
+ end
39
+
40
+ def add_to_collection_with_count_method(item)
41
+ @items_in_collection_with_count_method.push(item)
42
+ end
43
43
 
44
44
  def items_for(arg)
45
45
  return [1, 2, 3] if arg == 'a'
@@ -10,14 +10,14 @@ module InSubProcess
10
10
  readme, writeme = IO.pipe
11
11
 
12
12
  pid = Process.fork do
13
- value = nil
13
+ exception = nil
14
14
  begin
15
15
  yield
16
- rescue => e
17
- value = e
16
+ rescue Exception => e
17
+ exception = e
18
18
  end
19
19
 
20
- writeme.write Marshal.dump(value)
20
+ writeme.write Marshal.dump(exception)
21
21
 
22
22
  readme.close
23
23
  writeme.close
@@ -27,11 +27,10 @@ module InSubProcess
27
27
  writeme.close
28
28
  Process.waitpid(pid)
29
29
 
30
- if exception = Marshal.load(readme.read)
31
- raise exception
32
- end
33
-
30
+ exception = Marshal.load(readme.read)
34
31
  readme.close
32
+
33
+ raise exception if exception
35
34
  end
36
35
  end
37
36
  end
@@ -1,55 +1,13 @@
1
1
  shared_examples_for "an RSpec matcher" do |options|
2
2
  let(:valid_value) { options.fetch(:valid_value) }
3
3
  let(:invalid_value) { options.fetch(:invalid_value) }
4
- let(:deprecations) { [] }
5
-
6
- def matched_deprecations
7
- deprecations.select { |opts| opts[:deprecated] =~ /matcher == value/ }
8
- end
9
-
10
- before do
11
- allow(RSpec.configuration.reporter).to receive(:deprecation) do |opts|
12
- deprecations << opts
13
- end
14
- end
15
4
 
16
5
  it 'matches a valid value when using #== so it can be composed' do
17
6
  expect(matcher).to eq(valid_value)
18
7
  end
19
8
 
20
- it 'matches a valid value when using #=== so it can be composed' do
21
- expect(matcher).to be === valid_value
22
- end
23
-
24
9
  it 'does not match an invalid value when using #== so it can be composed' do
25
10
  expect(matcher).not_to eq(invalid_value)
26
11
  end
27
-
28
- it 'does not match an invalid value when using #=== so it can be composed' do
29
- expect(matcher).not_to be === invalid_value
30
- end
31
-
32
- it 'does not print a deprecation warning when using #===' do
33
- matcher === valid_value
34
- matcher === invalid_value
35
- expect(matched_deprecations).to eq([])
36
- end
37
-
38
- it 'does not print a deprecation warning when using #== if it returns false' do
39
- (matcher == invalid_value).nil? # calling a method to avoid a warning
40
- expect(matched_deprecations).to eq([])
41
- end
42
-
43
- it 'does not print a deprecation warning when using #== if it returns true because it was given the same object' do
44
- expect(matcher).to be == matcher
45
- expect(matched_deprecations).to eq([])
46
- end
47
-
48
- it 'prints a deprecation warning for #== when given a valid value since' do
49
- (matcher == valid_value).nil? # calling a method to avoid a warning
50
- expect(matched_deprecations.count).to eq(1)
51
- deprecation = matched_deprecations.first
52
- expect(deprecation[:call_site]).to include([__FILE__, __LINE__ - 3].join(':'))
53
- end
54
12
  end
55
13
 
metadata CHANGED
@@ -1,141 +1,141 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-expectations
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.99.2
4
+ version: 3.0.0.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Baker
8
8
  - David Chelimsky
9
+ - Myron Marston
9
10
  autorequire:
10
11
  bindir: bin
11
- cert_chain: []
12
- date: 2014-07-21 00:00:00.000000000 Z
12
+ cert_chain:
13
+ - !binary |-
14
+ LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURqakNDQW5hZ0F3SUJB
15
+ Z0lCQVRBTkJna3Foa2lHOXcwQkFRVUZBREJHTVJJd0VBWURWUVFEREFseWMz
16
+ QmwKWXkxa1pYWXhHekFaQmdvSmtpYUprL0lzWkFFWkZndG5iMjluYkdWbmIz
17
+ VndjekVUTUJFR0NnbVNKb21UOGl4awpBUmtXQTJOdmJUQWVGdzB4TXpFeE1E
18
+ Y3hPVFF5TlRsYUZ3MHhOREV4TURjeE9UUXlOVGxhTUVZeEVqQVFCZ05WCkJB
19
+ TU1DWEp6Y0dWakxXUmxkakViTUJrR0NnbVNKb21UOGl4a0FSa1dDMmR2YjJk
20
+ c1pXZHZkWEJ6TVJNd0VRWUsKQ1pJbWlaUHlMR1FCR1JZRFkyOXRNSUlCSWpB
21
+ TkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4QU1JSUJDZ0tDQVFFQQpuaENlWm91
22
+ RExYV081NW5vK0VkWk5DdGpYamZKUTFYOVRiUGN2QkREMjlPeXBJVWNlMmgv
23
+ VmRLWEIyZ0k3WkhzCkY1TmtQZ2dzbFRFckdGbVdBdElpdXI3dTk0M1JWcUhP
24
+ c3lvSXN5MDY1RjlmQ3RyeWtrQSsyMmVsdlREaGE0SXoKUlVDdnVoUTNrbGF0
25
+ WWs0akYrY0d0MWpOT05OVmRMT2l5MGJNeW52Y003aG9WUTJBb213R3MrY0VP
26
+ V1EvNGRrRApKY05WM3FmekY1UUJjVEQyMzcyWE5NNTNiMjVuWVZRU1gyS0g1
27
+ RkY3QmhsS3lvdjMzYk9tMmdBOU0rbVdJdWpXCnFna3l4VmxmcmxFK1pCZ1Yz
28
+ d1huMUNvamcxTHBUcTM1eU9Bcmd3aW95cnd3bFpaSlI5am9OOXMvbkRrbGZy
29
+ NUEKK2R5RVRqRmM2Y21FUFdacnQyY0pCUUlEQVFBQm80R0dNSUdETUFrR0Ex
30
+ VWRFd1FDTUFBd0N3WURWUjBQQkFRRApBZ1N3TUIwR0ExVWREZ1FXQkJTVytX
31
+ RDdobjFzd0oxQTdpOHRidUZldU5DSkNqQWtCZ05WSFJFRUhUQWJnUmx5CmMz
32
+ QmxZeTFrWlhaQVoyOXZaMnhsWjI5MWNITXVZMjl0TUNRR0ExVWRFZ1FkTUJ1
33
+ QkdYSnpjR1ZqTFdSbGRrQm4KYjI5bmJHVm5iM1Z3Y3k1amIyMHdEUVlKS29a
34
+ SWh2Y05BUUVGQlFBRGdnRUJBSDI3akFaOHNEN3ZuWHVwajZZKwpCYUJkZkh0
35
+ Q2tGYXNsTEowYUt1TURJVlh3WXVLZnFvVzE1Y1pQRExtU0lFQnVRRk0zbHc2
36
+ ZC9oRUVMNFVvMmpaCkZ2dG1INU94aWZQRHpGeVV0Q0w0eXA2cWdOZS9YZjZz
37
+ RHNSZzZGbUtjcGdxQ3dOT21zVmlhZjBMUFNVSC9HWVEKM1Rlb3o4UUNhRGJE
38
+ N0FLc2ZmVDdlRHJuYkhuS3dlTzFYZGVtUkpDOTh1L3lZeG5Hek1TV0tFc24w
39
+ OWV0QmxaOQo3SDY3azVaM3VmNmNmTFpnVG9XTDZ6U2h6WlkzTnVuNXI3M1lz
40
+ TmYyL1FaT2U0VVplNHZmR3ZuNmJhdzUzeXM5CjF5SEMxQWNTWXB2aTJkQWJP
41
+ aUhUNWlRRitrcm00d3NlOEtjdFhnVE5uak1zSEVvR0t1bEpTMi9zWmw5MGpj
42
+ Q3oKbXVBPQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
43
+ date: 2013-11-08 00:00:00.000000000 Z
13
44
  dependencies:
45
+ - !ruby/object:Gem::Dependency
46
+ name: rspec-support
47
+ requirement: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - '='
50
+ - !ruby/object:Gem::Version
51
+ version: 3.0.0.beta1
52
+ type: :runtime
53
+ prerelease: false
54
+ version_requirements: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - '='
57
+ - !ruby/object:Gem::Version
58
+ version: 3.0.0.beta1
14
59
  - !ruby/object:Gem::Dependency
15
60
  name: diff-lcs
16
61
  requirement: !ruby/object:Gem::Requirement
17
62
  requirements:
18
- - - ">="
63
+ - - ! '>='
19
64
  - !ruby/object:Gem::Version
20
65
  version: 1.1.3
21
- - - "<"
66
+ - - <
22
67
  - !ruby/object:Gem::Version
23
68
  version: '2.0'
24
69
  type: :runtime
25
70
  prerelease: false
26
71
  version_requirements: !ruby/object:Gem::Requirement
27
72
  requirements:
28
- - - ">="
73
+ - - ! '>='
29
74
  - !ruby/object:Gem::Version
30
75
  version: 1.1.3
31
- - - "<"
76
+ - - <
32
77
  - !ruby/object:Gem::Version
33
78
  version: '2.0'
34
79
  - !ruby/object:Gem::Dependency
35
80
  name: rake
36
81
  requirement: !ruby/object:Gem::Requirement
37
82
  requirements:
38
- - - "~>"
83
+ - - ~>
39
84
  - !ruby/object:Gem::Version
40
85
  version: 10.0.0
41
86
  type: :development
42
87
  prerelease: false
43
88
  version_requirements: !ruby/object:Gem::Requirement
44
89
  requirements:
45
- - - "~>"
90
+ - - ~>
46
91
  - !ruby/object:Gem::Version
47
92
  version: 10.0.0
48
93
  - !ruby/object:Gem::Dependency
49
94
  name: cucumber
50
95
  requirement: !ruby/object:Gem::Requirement
51
96
  requirements:
52
- - - "~>"
97
+ - - ~>
53
98
  - !ruby/object:Gem::Version
54
99
  version: 1.1.9
55
100
  type: :development
56
101
  prerelease: false
57
102
  version_requirements: !ruby/object:Gem::Requirement
58
103
  requirements:
59
- - - "~>"
104
+ - - ~>
60
105
  - !ruby/object:Gem::Version
61
106
  version: 1.1.9
62
107
  - !ruby/object:Gem::Dependency
63
108
  name: aruba
64
109
  requirement: !ruby/object:Gem::Requirement
65
110
  requirements:
66
- - - "~>"
111
+ - - ~>
67
112
  - !ruby/object:Gem::Version
68
113
  version: '0.5'
69
114
  type: :development
70
115
  prerelease: false
71
116
  version_requirements: !ruby/object:Gem::Requirement
72
117
  requirements:
73
- - - "~>"
118
+ - - ~>
74
119
  - !ruby/object:Gem::Version
75
120
  version: '0.5'
76
121
  description: rspec expectations (should[_not] and matchers)
77
- email: rspec-users@rubyforge.org
122
+ email: rspec@googlegroups.com
78
123
  executables: []
79
124
  extensions: []
80
125
  extra_rdoc_files: []
81
126
  files:
82
- - ".document"
83
- - ".yardopts"
84
- - Changelog.md
85
- - License.txt
86
- - README.md
87
- - features/README.md
88
- - features/Upgrade.md
89
- - features/built_in_matchers/README.md
90
- - features/built_in_matchers/be.feature
91
- - features/built_in_matchers/be_within.feature
92
- - features/built_in_matchers/cover.feature
93
- - features/built_in_matchers/end_with.feature
94
- - features/built_in_matchers/equality.feature
95
- - features/built_in_matchers/exist.feature
96
- - features/built_in_matchers/expect_change.feature
97
- - features/built_in_matchers/expect_error.feature
98
- - features/built_in_matchers/have.feature
99
- - features/built_in_matchers/include.feature
100
- - features/built_in_matchers/match.feature
101
- - features/built_in_matchers/operators.feature
102
- - features/built_in_matchers/predicates.feature
103
- - features/built_in_matchers/respond_to.feature
104
- - features/built_in_matchers/satisfy.feature
105
- - features/built_in_matchers/start_with.feature
106
- - features/built_in_matchers/throw_symbol.feature
107
- - features/built_in_matchers/types.feature
108
- - features/built_in_matchers/yield.feature
109
- - features/custom_matchers/access_running_example.feature
110
- - features/custom_matchers/define_diffable_matcher.feature
111
- - features/custom_matchers/define_matcher.feature
112
- - features/custom_matchers/define_matcher_outside_rspec.feature
113
- - features/custom_matchers/define_matcher_with_fluent_interface.feature
114
- - features/customized_message.feature
115
- - features/diffing.feature
116
- - features/implicit_docstrings.feature
117
- - features/step_definitions/additional_cli_steps.rb
118
- - features/support/env.rb
119
- - features/support/rubinius.rb
120
- - features/syntax_configuration.feature
121
- - features/test_frameworks/test_unit.feature
122
127
  - lib/rspec-expectations.rb
123
128
  - lib/rspec/expectations.rb
124
- - lib/rspec/expectations/caller_filter.rb
125
- - lib/rspec/expectations/configuration.rb
126
- - lib/rspec/expectations/deprecation.rb
127
129
  - lib/rspec/expectations/differ.rb
128
130
  - lib/rspec/expectations/errors.rb
129
131
  - lib/rspec/expectations/expectation_target.rb
130
132
  - lib/rspec/expectations/extensions.rb
131
- - lib/rspec/expectations/extensions/array.rb
132
133
  - lib/rspec/expectations/extensions/object.rb
133
134
  - lib/rspec/expectations/fail_with.rb
134
135
  - lib/rspec/expectations/handler.rb
135
136
  - lib/rspec/expectations/syntax.rb
136
137
  - lib/rspec/expectations/version.rb
137
138
  - lib/rspec/matchers.rb
138
- - lib/rspec/matchers/be_close.rb
139
139
  - lib/rspec/matchers/built_in.rb
140
140
  - lib/rspec/matchers/built_in/base_matcher.rb
141
141
  - lib/rspec/matchers/built_in/be.rb
@@ -149,7 +149,6 @@ files:
149
149
  - lib/rspec/matchers/built_in/equal.rb
150
150
  - lib/rspec/matchers/built_in/exist.rb
151
151
  - lib/rspec/matchers/built_in/has.rb
152
- - lib/rspec/matchers/built_in/have.rb
153
152
  - lib/rspec/matchers/built_in/include.rb
154
153
  - lib/rspec/matchers/built_in/match.rb
155
154
  - lib/rspec/matchers/built_in/match_array.rb
@@ -160,17 +159,54 @@ files:
160
159
  - lib/rspec/matchers/built_in/throw_symbol.rb
161
160
  - lib/rspec/matchers/built_in/yield.rb
162
161
  - lib/rspec/matchers/compatibility.rb
163
- - lib/rspec/matchers/differentiate_block_method_types.rb
162
+ - lib/rspec/matchers/configuration.rb
164
163
  - lib/rspec/matchers/dsl.rb
165
- - lib/rspec/matchers/extensions/instance_eval_with_args.rb
166
164
  - lib/rspec/matchers/generated_descriptions.rb
167
- - lib/rspec/matchers/match_aliases.rb
168
165
  - lib/rspec/matchers/matcher.rb
169
166
  - lib/rspec/matchers/method_missing.rb
170
167
  - lib/rspec/matchers/operator_matcher.rb
171
168
  - lib/rspec/matchers/pretty.rb
172
169
  - lib/rspec/matchers/test_unit_integration.rb
173
- - spec/rspec/expectations/configuration_spec.rb
170
+ - README.md
171
+ - License.txt
172
+ - Changelog.md
173
+ - .yardopts
174
+ - .document
175
+ - features/README.md
176
+ - features/Upgrade.md
177
+ - features/built_in_matchers/README.md
178
+ - features/built_in_matchers/be.feature
179
+ - features/built_in_matchers/be_within.feature
180
+ - features/built_in_matchers/comparisons.feature
181
+ - features/built_in_matchers/cover.feature
182
+ - features/built_in_matchers/end_with.feature
183
+ - features/built_in_matchers/equality.feature
184
+ - features/built_in_matchers/exist.feature
185
+ - features/built_in_matchers/expect_change.feature
186
+ - features/built_in_matchers/expect_error.feature
187
+ - features/built_in_matchers/include.feature
188
+ - features/built_in_matchers/match.feature
189
+ - features/built_in_matchers/match_array.feature
190
+ - features/built_in_matchers/predicates.feature
191
+ - features/built_in_matchers/respond_to.feature
192
+ - features/built_in_matchers/satisfy.feature
193
+ - features/built_in_matchers/start_with.feature
194
+ - features/built_in_matchers/throw_symbol.feature
195
+ - features/built_in_matchers/types.feature
196
+ - features/built_in_matchers/yield.feature
197
+ - features/custom_matchers/access_running_example.feature
198
+ - features/custom_matchers/define_diffable_matcher.feature
199
+ - features/custom_matchers/define_matcher.feature
200
+ - features/custom_matchers/define_matcher_outside_rspec.feature
201
+ - features/custom_matchers/define_matcher_with_fluent_interface.feature
202
+ - features/customized_message.feature
203
+ - features/diffing.feature
204
+ - features/implicit_docstrings.feature
205
+ - features/step_definitions/additional_cli_steps.rb
206
+ - features/support/env.rb
207
+ - features/support/rubinius.rb
208
+ - features/syntax_configuration.feature
209
+ - features/test_frameworks/test_unit.feature
174
210
  - spec/rspec/expectations/differ_spec.rb
175
211
  - spec/rspec/expectations/expectation_target_spec.rb
176
212
  - spec/rspec/expectations/extensions/kernel_spec.rb
@@ -179,30 +215,28 @@ files:
179
215
  - spec/rspec/expectations/syntax_spec.rb
180
216
  - spec/rspec/expectations_spec.rb
181
217
  - spec/rspec/matchers/base_matcher_spec.rb
182
- - spec/rspec/matchers/be_close_spec.rb
183
218
  - spec/rspec/matchers/be_instance_of_spec.rb
184
219
  - spec/rspec/matchers/be_kind_of_spec.rb
185
220
  - spec/rspec/matchers/be_spec.rb
186
221
  - spec/rspec/matchers/be_within_spec.rb
187
222
  - spec/rspec/matchers/change_spec.rb
223
+ - spec/rspec/matchers/configuration_spec.rb
188
224
  - spec/rspec/matchers/cover_spec.rb
189
225
  - spec/rspec/matchers/description_generation_spec.rb
190
- - spec/rspec/matchers/differentiate_block_method_types_spec.rb
191
226
  - spec/rspec/matchers/dsl_spec.rb
192
227
  - spec/rspec/matchers/eq_spec.rb
193
228
  - spec/rspec/matchers/eql_spec.rb
194
229
  - spec/rspec/matchers/equal_spec.rb
195
230
  - spec/rspec/matchers/exist_spec.rb
196
231
  - spec/rspec/matchers/has_spec.rb
197
- - spec/rspec/matchers/have_spec.rb
198
232
  - spec/rspec/matchers/include_matcher_integration_spec.rb
199
233
  - spec/rspec/matchers/include_spec.rb
200
234
  - spec/rspec/matchers/match_array_spec.rb
201
235
  - spec/rspec/matchers/match_spec.rb
202
236
  - spec/rspec/matchers/matcher_spec.rb
237
+ - spec/rspec/matchers/matchers_spec.rb
203
238
  - spec/rspec/matchers/method_missing_spec.rb
204
239
  - spec/rspec/matchers/operator_matcher_spec.rb
205
- - spec/rspec/matchers/pretty_spec.rb
206
240
  - spec/rspec/matchers/raise_error_spec.rb
207
241
  - spec/rspec/matchers/respond_to_spec.rb
208
242
  - spec/rspec/matchers/satisfy_spec.rb
@@ -211,7 +245,6 @@ files:
211
245
  - spec/rspec/matchers/yield_spec.rb
212
246
  - spec/spec_helper.rb
213
247
  - spec/support/classes.rb
214
- - spec/support/helper_methods.rb
215
248
  - spec/support/in_sub_process.rb
216
249
  - spec/support/matchers.rb
217
250
  - spec/support/ruby_version.rb
@@ -222,41 +255,41 @@ licenses:
222
255
  metadata: {}
223
256
  post_install_message:
224
257
  rdoc_options:
225
- - "--charset=UTF-8"
258
+ - --charset=UTF-8
226
259
  require_paths:
227
260
  - lib
228
261
  required_ruby_version: !ruby/object:Gem::Requirement
229
262
  requirements:
230
- - - ">="
263
+ - - ! '>='
231
264
  - !ruby/object:Gem::Version
232
- version: '0'
265
+ version: 1.8.7
233
266
  required_rubygems_version: !ruby/object:Gem::Requirement
234
267
  requirements:
235
- - - ">="
268
+ - - ! '>'
236
269
  - !ruby/object:Gem::Version
237
- version: '0'
270
+ version: 1.3.1
238
271
  requirements: []
239
272
  rubyforge_project: rspec
240
- rubygems_version: 2.2.2
273
+ rubygems_version: 2.0.7
241
274
  signing_key:
242
275
  specification_version: 4
243
- summary: rspec-expectations-2.99.2
276
+ summary: rspec-expectations-3.0.0.beta1
244
277
  test_files:
245
278
  - features/README.md
246
279
  - features/Upgrade.md
247
280
  - features/built_in_matchers/README.md
248
281
  - features/built_in_matchers/be.feature
249
282
  - features/built_in_matchers/be_within.feature
283
+ - features/built_in_matchers/comparisons.feature
250
284
  - features/built_in_matchers/cover.feature
251
285
  - features/built_in_matchers/end_with.feature
252
286
  - features/built_in_matchers/equality.feature
253
287
  - features/built_in_matchers/exist.feature
254
288
  - features/built_in_matchers/expect_change.feature
255
289
  - features/built_in_matchers/expect_error.feature
256
- - features/built_in_matchers/have.feature
257
290
  - features/built_in_matchers/include.feature
258
291
  - features/built_in_matchers/match.feature
259
- - features/built_in_matchers/operators.feature
292
+ - features/built_in_matchers/match_array.feature
260
293
  - features/built_in_matchers/predicates.feature
261
294
  - features/built_in_matchers/respond_to.feature
262
295
  - features/built_in_matchers/satisfy.feature
@@ -277,7 +310,6 @@ test_files:
277
310
  - features/support/rubinius.rb
278
311
  - features/syntax_configuration.feature
279
312
  - features/test_frameworks/test_unit.feature
280
- - spec/rspec/expectations/configuration_spec.rb
281
313
  - spec/rspec/expectations/differ_spec.rb
282
314
  - spec/rspec/expectations/expectation_target_spec.rb
283
315
  - spec/rspec/expectations/extensions/kernel_spec.rb
@@ -286,30 +318,28 @@ test_files:
286
318
  - spec/rspec/expectations/syntax_spec.rb
287
319
  - spec/rspec/expectations_spec.rb
288
320
  - spec/rspec/matchers/base_matcher_spec.rb
289
- - spec/rspec/matchers/be_close_spec.rb
290
321
  - spec/rspec/matchers/be_instance_of_spec.rb
291
322
  - spec/rspec/matchers/be_kind_of_spec.rb
292
323
  - spec/rspec/matchers/be_spec.rb
293
324
  - spec/rspec/matchers/be_within_spec.rb
294
325
  - spec/rspec/matchers/change_spec.rb
326
+ - spec/rspec/matchers/configuration_spec.rb
295
327
  - spec/rspec/matchers/cover_spec.rb
296
328
  - spec/rspec/matchers/description_generation_spec.rb
297
- - spec/rspec/matchers/differentiate_block_method_types_spec.rb
298
329
  - spec/rspec/matchers/dsl_spec.rb
299
330
  - spec/rspec/matchers/eq_spec.rb
300
331
  - spec/rspec/matchers/eql_spec.rb
301
332
  - spec/rspec/matchers/equal_spec.rb
302
333
  - spec/rspec/matchers/exist_spec.rb
303
334
  - spec/rspec/matchers/has_spec.rb
304
- - spec/rspec/matchers/have_spec.rb
305
335
  - spec/rspec/matchers/include_matcher_integration_spec.rb
306
336
  - spec/rspec/matchers/include_spec.rb
307
337
  - spec/rspec/matchers/match_array_spec.rb
308
338
  - spec/rspec/matchers/match_spec.rb
309
339
  - spec/rspec/matchers/matcher_spec.rb
340
+ - spec/rspec/matchers/matchers_spec.rb
310
341
  - spec/rspec/matchers/method_missing_spec.rb
311
342
  - spec/rspec/matchers/operator_matcher_spec.rb
312
- - spec/rspec/matchers/pretty_spec.rb
313
343
  - spec/rspec/matchers/raise_error_spec.rb
314
344
  - spec/rspec/matchers/respond_to_spec.rb
315
345
  - spec/rspec/matchers/satisfy_spec.rb
@@ -318,7 +348,6 @@ test_files:
318
348
  - spec/rspec/matchers/yield_spec.rb
319
349
  - spec/spec_helper.rb
320
350
  - spec/support/classes.rb
321
- - spec/support/helper_methods.rb
322
351
  - spec/support/in_sub_process.rb
323
352
  - spec/support/matchers.rb
324
353
  - spec/support/ruby_version.rb