shoulda-matchers 4.0.0.rc1 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/README.md +72 -40
- data/lib/shoulda/matchers/action_controller.rb +2 -0
- data/lib/shoulda/matchers/active_model.rb +2 -3
- data/lib/shoulda/matchers/active_model/validate_inclusion_of_matcher.rb +1 -0
- data/lib/shoulda/matchers/active_record.rb +2 -0
- data/lib/shoulda/matchers/active_record/association_matcher.rb +34 -0
- data/lib/shoulda/matchers/active_record/association_matchers/optional_matcher.rb +27 -4
- data/lib/shoulda/matchers/active_record/association_matchers/required_matcher.rb +27 -4
- data/lib/shoulda/matchers/active_record/validate_uniqueness_of_matcher.rb +1 -1
- data/lib/shoulda/matchers/independent.rb +2 -1
- data/lib/shoulda/matchers/rails_shim.rb +5 -9
- data/lib/shoulda/matchers/version.rb +1 -1
- data/lib/shoulda/matchers/warn.rb +1 -0
- data/shoulda-matchers.gemspec +11 -3
- metadata +13 -340
- data/.gitignore +0 -12
- data/.hound.yml +0 -3
- data/.hound/ruby.yml +0 -1062
- data/.python-version +0 -1
- data/.rubocop.yml +0 -15
- data/.travis.yml +0 -21
- data/.yardopts +0 -10
- data/Appraisals +0 -105
- data/CONTRIBUTING.md +0 -172
- data/Gemfile +0 -15
- data/Gemfile.lock +0 -59
- data/MAINTAINING.md +0 -250
- data/NEWS.md +0 -1235
- data/Rakefile +0 -46
- data/bin/setup +0 -190
- data/custom_plan.rb +0 -104
- data/doc_config/gh-pages/index.html.erb +0 -9
- data/doc_config/yard/setup.rb +0 -22
- data/doc_config/yard/templates/default/fulldoc/html/css/bootstrap.css +0 -5967
- data/doc_config/yard/templates/default/fulldoc/html/css/full_list.css +0 -12
- data/doc_config/yard/templates/default/fulldoc/html/css/global.css +0 -66
- data/doc_config/yard/templates/default/fulldoc/html/css/solarized.css +0 -69
- data/doc_config/yard/templates/default/fulldoc/html/css/style.css +0 -312
- data/doc_config/yard/templates/default/fulldoc/html/full_list.erb +0 -26
- data/doc_config/yard/templates/default/fulldoc/html/full_list_class.erb +0 -1
- data/doc_config/yard/templates/default/fulldoc/html/full_list_method.erb +0 -8
- data/doc_config/yard/templates/default/fulldoc/html/js/app.js +0 -281
- data/doc_config/yard/templates/default/fulldoc/html/js/full_list.js +0 -1
- data/doc_config/yard/templates/default/fulldoc/html/js/jquery.stickyheaders.js +0 -289
- data/doc_config/yard/templates/default/fulldoc/html/js/underscore.min.js +0 -6
- data/doc_config/yard/templates/default/fulldoc/html/setup.rb +0 -35
- data/doc_config/yard/templates/default/layout/html/breadcrumb.erb +0 -14
- data/doc_config/yard/templates/default/layout/html/fonts.erb +0 -1
- data/doc_config/yard/templates/default/layout/html/footer.erb +0 -6
- data/doc_config/yard/templates/default/layout/html/layout.erb +0 -23
- data/doc_config/yard/templates/default/layout/html/search.erb +0 -13
- data/doc_config/yard/templates/default/layout/html/setup.rb +0 -40
- data/doc_config/yard/templates/default/method_details/html/source.erb +0 -10
- data/doc_config/yard/templates/default/module/html/box_info.erb +0 -31
- data/gemfiles/4.2.gemfile +0 -39
- data/gemfiles/4.2.gemfile.lock +0 -246
- data/gemfiles/5.0.gemfile +0 -37
- data/gemfiles/5.0.gemfile.lock +0 -238
- data/gemfiles/5.1.gemfile +0 -38
- data/gemfiles/5.1.gemfile.lock +0 -254
- data/gemfiles/5.2.gemfile +0 -40
- data/gemfiles/5.2.gemfile.lock +0 -273
- data/script/install_gems_in_all_appraisals +0 -16
- data/script/run_all_tests +0 -16
- data/script/supported_ruby_versions +0 -7
- data/script/update_gem_in_all_appraisals +0 -17
- data/script/update_gems_in_all_appraisals +0 -16
- data/spec/acceptance/active_model_integration_spec.rb +0 -23
- data/spec/acceptance/independent_matchers_spec.rb +0 -125
- data/spec/acceptance/multiple_libraries_integration_spec.rb +0 -55
- data/spec/acceptance/rails_integration_spec.rb +0 -156
- data/spec/acceptance_spec_helper.rb +0 -23
- data/spec/doublespeak_spec_helper.rb +0 -2
- data/spec/report_warnings.rb +0 -7
- data/spec/spec_helper.rb +0 -20
- data/spec/support/acceptance/adds_shoulda_matchers_to_project.rb +0 -133
- data/spec/support/acceptance/helpers.rb +0 -33
- data/spec/support/acceptance/helpers/active_model_helpers.rb +0 -11
- data/spec/support/acceptance/helpers/array_helpers.rb +0 -13
- data/spec/support/acceptance/helpers/base_helpers.rb +0 -19
- data/spec/support/acceptance/helpers/command_helpers.rb +0 -68
- data/spec/support/acceptance/helpers/file_helpers.rb +0 -19
- data/spec/support/acceptance/helpers/gem_helpers.rb +0 -31
- data/spec/support/acceptance/helpers/minitest_helpers.rb +0 -11
- data/spec/support/acceptance/helpers/n_unit_helpers.rb +0 -25
- data/spec/support/acceptance/helpers/pluralization_helpers.rb +0 -13
- data/spec/support/acceptance/helpers/rails_migration_helpers.rb +0 -21
- data/spec/support/acceptance/helpers/rails_version_helpers.rb +0 -11
- data/spec/support/acceptance/helpers/rspec_helpers.rb +0 -24
- data/spec/support/acceptance/helpers/ruby_version_helpers.rb +0 -9
- data/spec/support/acceptance/helpers/step_helpers.rb +0 -127
- data/spec/support/acceptance/matchers/have_output.rb +0 -31
- data/spec/support/acceptance/matchers/indicate_number_of_tests_was_run_matcher.rb +0 -55
- data/spec/support/acceptance/matchers/indicate_that_tests_were_run_matcher.rb +0 -103
- data/spec/support/tests/bundle.rb +0 -94
- data/spec/support/tests/command_runner.rb +0 -230
- data/spec/support/tests/current_bundle.rb +0 -55
- data/spec/support/tests/database.rb +0 -28
- data/spec/support/tests/database_adapters/postgresql.rb +0 -25
- data/spec/support/tests/database_adapters/sqlite3.rb +0 -26
- data/spec/support/tests/database_configuration.rb +0 -33
- data/spec/support/tests/database_configuration_registry.rb +0 -28
- data/spec/support/tests/filesystem.rb +0 -100
- data/spec/support/tests/version.rb +0 -45
- data/spec/support/unit/active_record/create_table.rb +0 -54
- data/spec/support/unit/attribute.rb +0 -45
- data/spec/support/unit/capture.rb +0 -46
- data/spec/support/unit/change_value.rb +0 -111
- data/spec/support/unit/create_model_arguments/basic.rb +0 -135
- data/spec/support/unit/create_model_arguments/has_many.rb +0 -15
- data/spec/support/unit/create_model_arguments/uniqueness_matcher.rb +0 -74
- data/spec/support/unit/helpers/action_pack_versions.rb +0 -22
- data/spec/support/unit/helpers/active_model_helpers.rb +0 -27
- data/spec/support/unit/helpers/active_model_versions.rb +0 -32
- data/spec/support/unit/helpers/active_record_versions.rb +0 -44
- data/spec/support/unit/helpers/active_resource_builder.rb +0 -27
- data/spec/support/unit/helpers/allow_value_matcher_helpers.rb +0 -15
- data/spec/support/unit/helpers/class_builder.rb +0 -90
- data/spec/support/unit/helpers/column_type_helpers.rb +0 -26
- data/spec/support/unit/helpers/confirmation_matcher_helpers.rb +0 -17
- data/spec/support/unit/helpers/controller_builder.rb +0 -63
- data/spec/support/unit/helpers/database_helpers.rb +0 -20
- data/spec/support/unit/helpers/i18n_faker.rb +0 -15
- data/spec/support/unit/helpers/mailer_builder.rb +0 -12
- data/spec/support/unit/helpers/message_helpers.rb +0 -19
- data/spec/support/unit/helpers/model_builder.rb +0 -114
- data/spec/support/unit/helpers/rails_versions.rb +0 -42
- data/spec/support/unit/helpers/validation_matcher_scenario_helpers.rb +0 -44
- data/spec/support/unit/i18n.rb +0 -7
- data/spec/support/unit/load_environment.rb +0 -12
- data/spec/support/unit/matchers/deprecate.rb +0 -60
- data/spec/support/unit/matchers/fail_with_message_including_matcher.rb +0 -51
- data/spec/support/unit/matchers/fail_with_message_matcher.rb +0 -64
- data/spec/support/unit/matchers/print_warning_including.rb +0 -67
- data/spec/support/unit/model_creation_strategies/active_model.rb +0 -111
- data/spec/support/unit/model_creation_strategies/active_record.rb +0 -77
- data/spec/support/unit/model_creators.rb +0 -19
- data/spec/support/unit/model_creators/active_model.rb +0 -39
- data/spec/support/unit/model_creators/active_record.rb +0 -42
- data/spec/support/unit/model_creators/active_record/has_and_belongs_to_many.rb +0 -95
- data/spec/support/unit/model_creators/active_record/has_many.rb +0 -67
- data/spec/support/unit/model_creators/active_record/uniqueness_matcher.rb +0 -42
- data/spec/support/unit/model_creators/basic.rb +0 -102
- data/spec/support/unit/rails_application.rb +0 -151
- data/spec/support/unit/record_builder_with_i18n_validation_message.rb +0 -69
- data/spec/support/unit/record_validating_confirmation_builder.rb +0 -54
- data/spec/support/unit/record_with_different_error_attribute_builder.rb +0 -92
- data/spec/support/unit/shared_examples/ignoring_interference_by_writer.rb +0 -79
- data/spec/support/unit/shared_examples/numerical_submatcher.rb +0 -17
- data/spec/support/unit/shared_examples/set_session_or_flash.rb +0 -360
- data/spec/support/unit/validation_matcher_scenario.rb +0 -60
- data/spec/unit/shoulda/matchers/action_controller/callback_matcher_spec.rb +0 -82
- data/spec/unit/shoulda/matchers/action_controller/filter_param_matcher_spec.rb +0 -28
- data/spec/unit/shoulda/matchers/action_controller/permit_matcher_spec.rb +0 -629
- data/spec/unit/shoulda/matchers/action_controller/redirect_to_matcher_spec.rb +0 -42
- data/spec/unit/shoulda/matchers/action_controller/render_template_matcher_spec.rb +0 -76
- data/spec/unit/shoulda/matchers/action_controller/render_with_layout_matcher_spec.rb +0 -62
- data/spec/unit/shoulda/matchers/action_controller/rescue_from_matcher_spec.rb +0 -90
- data/spec/unit/shoulda/matchers/action_controller/respond_with_matcher_spec.rb +0 -31
- data/spec/unit/shoulda/matchers/action_controller/route_matcher_spec.rb +0 -330
- data/spec/unit/shoulda/matchers/action_controller/route_params_spec.rb +0 -30
- data/spec/unit/shoulda/matchers/action_controller/set_flash_matcher_spec.rb +0 -67
- data/spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb +0 -17
- data/spec/unit/shoulda/matchers/action_controller/set_session_or_flash_matcher_spec.rb +0 -562
- data/spec/unit/shoulda/matchers/active_model/allow_mass_assignment_of_matcher_spec.rb +0 -117
- data/spec/unit/shoulda/matchers/active_model/allow_value_matcher_spec.rb +0 -829
- data/spec/unit/shoulda/matchers/active_model/disallow_value_matcher_spec.rb +0 -86
- data/spec/unit/shoulda/matchers/active_model/have_secure_password_matcher_spec.rb +0 -20
- data/spec/unit/shoulda/matchers/active_model/helpers_spec.rb +0 -162
- data/spec/unit/shoulda/matchers/active_model/validate_absence_of_matcher_spec.rb +0 -290
- data/spec/unit/shoulda/matchers/active_model/validate_acceptance_of_matcher_spec.rb +0 -109
- data/spec/unit/shoulda/matchers/active_model/validate_confirmation_of_matcher_spec.rb +0 -172
- data/spec/unit/shoulda/matchers/active_model/validate_exclusion_of_matcher_spec.rb +0 -264
- data/spec/unit/shoulda/matchers/active_model/validate_inclusion_of_matcher_spec.rb +0 -1049
- data/spec/unit/shoulda/matchers/active_model/validate_length_of_matcher_spec.rb +0 -335
- data/spec/unit/shoulda/matchers/active_model/validate_numericality_of_matcher_spec.rb +0 -1865
- data/spec/unit/shoulda/matchers/active_model/validate_presence_of_matcher_spec.rb +0 -406
- data/spec/unit/shoulda/matchers/active_record/accept_nested_attributes_for_matcher_spec.rb +0 -107
- data/spec/unit/shoulda/matchers/active_record/association_matcher_spec.rb +0 -1672
- data/spec/unit/shoulda/matchers/active_record/association_matchers/model_reflection_spec.rb +0 -251
- data/spec/unit/shoulda/matchers/active_record/define_enum_for_matcher_spec.rb +0 -690
- data/spec/unit/shoulda/matchers/active_record/have_db_column_matcher_spec.rb +0 -111
- data/spec/unit/shoulda/matchers/active_record/have_db_index_matcher_spec.rb +0 -85
- data/spec/unit/shoulda/matchers/active_record/have_readonly_attributes_matcher_spec.rb +0 -41
- data/spec/unit/shoulda/matchers/active_record/have_secure_token_matcher_spec.rb +0 -169
- data/spec/unit/shoulda/matchers/active_record/serialize_matcher_spec.rb +0 -86
- data/spec/unit/shoulda/matchers/active_record/validate_uniqueness_of_matcher_spec.rb +0 -1682
- data/spec/unit/shoulda/matchers/doublespeak/double_collection_spec.rb +0 -190
- data/spec/unit/shoulda/matchers/doublespeak/double_implementation_registry_spec.rb +0 -21
- data/spec/unit/shoulda/matchers/doublespeak/double_spec.rb +0 -271
- data/spec/unit/shoulda/matchers/doublespeak/object_double_spec.rb +0 -77
- data/spec/unit/shoulda/matchers/doublespeak/proxy_implementation_spec.rb +0 -72
- data/spec/unit/shoulda/matchers/doublespeak/stub_implementation_spec.rb +0 -101
- data/spec/unit/shoulda/matchers/doublespeak/world_spec.rb +0 -78
- data/spec/unit/shoulda/matchers/doublespeak_spec.rb +0 -27
- data/spec/unit/shoulda/matchers/independent/delegate_method_matcher/stubbed_target_spec.rb +0 -43
- data/spec/unit/shoulda/matchers/independent/delegate_method_matcher_spec.rb +0 -650
- data/spec/unit/shoulda/matchers/routing/route_matcher_spec.rb +0 -406
- data/spec/unit/shoulda/matchers/util/word_wrap_spec.rb +0 -252
- data/spec/unit_spec_helper.rb +0 -54
- data/spec/warnings_spy.rb +0 -64
- data/spec/warnings_spy/filesystem.rb +0 -45
- data/spec/warnings_spy/partitioner.rb +0 -36
- data/spec/warnings_spy/reader.rb +0 -53
- data/spec/warnings_spy/reporter.rb +0 -88
- data/tasks/documentation.rb +0 -199
- data/zeus.json +0 -11
data/shoulda-matchers.gemspec
CHANGED
@@ -12,10 +12,18 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.summary = "Making tests easy on the fingers and eyes"
|
13
13
|
s.license = "MIT"
|
14
14
|
s.description = "Making tests easy on the fingers and eyes"
|
15
|
+
s.metadata = {
|
16
|
+
'bug_tracker_uri' => 'https://github.com/thoughtbot/shoulda-matchers/issues',
|
17
|
+
'changelog_uri' => 'https://github.com/thoughtbot/shoulda-matchers/blob/master/NEWS.md',
|
18
|
+
'documentation_uri' => 'https://matchers.shoulda.io/docs',
|
19
|
+
'homepage_uri' => 'https://matchers.shoulda.io',
|
20
|
+
'source_code_uri' => 'https://github.com/thoughtbot/shoulda-matchers'
|
21
|
+
}
|
15
22
|
|
16
|
-
s.files
|
17
|
-
|
18
|
-
|
23
|
+
s.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
24
|
+
`git ls-files -z -- {docs,lib,README.md,MIT-LICENSE,shoulda-matchers.gemspec}`.
|
25
|
+
split("\x0")
|
26
|
+
end
|
19
27
|
s.require_paths = ["lib"]
|
20
28
|
|
21
29
|
s.required_ruby_version = '>= 2.2.0'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shoulda-matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tammer Saleh
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date:
|
17
|
+
date: 2019-02-25 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: activesupport
|
@@ -32,61 +32,13 @@ dependencies:
|
|
32
32
|
version: 4.2.0
|
33
33
|
description: Making tests easy on the fingers and eyes
|
34
34
|
email: support@thoughtbot.com
|
35
|
-
executables:
|
36
|
-
- setup
|
35
|
+
executables: []
|
37
36
|
extensions: []
|
38
37
|
extra_rdoc_files: []
|
39
38
|
files:
|
40
|
-
- ".gitignore"
|
41
|
-
- ".hound.yml"
|
42
|
-
- ".hound/ruby.yml"
|
43
|
-
- ".python-version"
|
44
|
-
- ".rubocop.yml"
|
45
|
-
- ".travis.yml"
|
46
|
-
- ".yardopts"
|
47
|
-
- Appraisals
|
48
|
-
- CONTRIBUTING.md
|
49
|
-
- Gemfile
|
50
|
-
- Gemfile.lock
|
51
|
-
- MAINTAINING.md
|
52
39
|
- MIT-LICENSE
|
53
|
-
- NEWS.md
|
54
40
|
- README.md
|
55
|
-
- Rakefile
|
56
|
-
- bin/setup
|
57
|
-
- custom_plan.rb
|
58
|
-
- doc_config/gh-pages/index.html.erb
|
59
|
-
- doc_config/yard/setup.rb
|
60
|
-
- doc_config/yard/templates/default/fulldoc/html/css/bootstrap.css
|
61
|
-
- doc_config/yard/templates/default/fulldoc/html/css/full_list.css
|
62
|
-
- doc_config/yard/templates/default/fulldoc/html/css/global.css
|
63
|
-
- doc_config/yard/templates/default/fulldoc/html/css/solarized.css
|
64
|
-
- doc_config/yard/templates/default/fulldoc/html/css/style.css
|
65
|
-
- doc_config/yard/templates/default/fulldoc/html/full_list.erb
|
66
|
-
- doc_config/yard/templates/default/fulldoc/html/full_list_class.erb
|
67
|
-
- doc_config/yard/templates/default/fulldoc/html/full_list_method.erb
|
68
|
-
- doc_config/yard/templates/default/fulldoc/html/js/app.js
|
69
|
-
- doc_config/yard/templates/default/fulldoc/html/js/full_list.js
|
70
|
-
- doc_config/yard/templates/default/fulldoc/html/js/jquery.stickyheaders.js
|
71
|
-
- doc_config/yard/templates/default/fulldoc/html/js/underscore.min.js
|
72
|
-
- doc_config/yard/templates/default/fulldoc/html/setup.rb
|
73
|
-
- doc_config/yard/templates/default/layout/html/breadcrumb.erb
|
74
|
-
- doc_config/yard/templates/default/layout/html/fonts.erb
|
75
|
-
- doc_config/yard/templates/default/layout/html/footer.erb
|
76
|
-
- doc_config/yard/templates/default/layout/html/layout.erb
|
77
|
-
- doc_config/yard/templates/default/layout/html/search.erb
|
78
|
-
- doc_config/yard/templates/default/layout/html/setup.rb
|
79
|
-
- doc_config/yard/templates/default/method_details/html/source.erb
|
80
|
-
- doc_config/yard/templates/default/module/html/box_info.erb
|
81
41
|
- docs/errors/NonCaseSwappableValueError.md
|
82
|
-
- gemfiles/4.2.gemfile
|
83
|
-
- gemfiles/4.2.gemfile.lock
|
84
|
-
- gemfiles/5.0.gemfile
|
85
|
-
- gemfiles/5.0.gemfile.lock
|
86
|
-
- gemfiles/5.1.gemfile
|
87
|
-
- gemfiles/5.1.gemfile.lock
|
88
|
-
- gemfiles/5.2.gemfile
|
89
|
-
- gemfiles/5.2.gemfile.lock
|
90
42
|
- lib/shoulda-matchers.rb
|
91
43
|
- lib/shoulda/matchers.rb
|
92
44
|
- lib/shoulda/matchers/action_controller.rb
|
@@ -211,156 +163,16 @@ files:
|
|
211
163
|
- lib/shoulda/matchers/util/word_wrap.rb
|
212
164
|
- lib/shoulda/matchers/version.rb
|
213
165
|
- lib/shoulda/matchers/warn.rb
|
214
|
-
- script/install_gems_in_all_appraisals
|
215
|
-
- script/run_all_tests
|
216
|
-
- script/supported_ruby_versions
|
217
|
-
- script/update_gem_in_all_appraisals
|
218
|
-
- script/update_gems_in_all_appraisals
|
219
166
|
- shoulda-matchers.gemspec
|
220
|
-
- spec/acceptance/active_model_integration_spec.rb
|
221
|
-
- spec/acceptance/independent_matchers_spec.rb
|
222
|
-
- spec/acceptance/multiple_libraries_integration_spec.rb
|
223
|
-
- spec/acceptance/rails_integration_spec.rb
|
224
|
-
- spec/acceptance_spec_helper.rb
|
225
|
-
- spec/doublespeak_spec_helper.rb
|
226
|
-
- spec/report_warnings.rb
|
227
|
-
- spec/spec_helper.rb
|
228
|
-
- spec/support/acceptance/adds_shoulda_matchers_to_project.rb
|
229
|
-
- spec/support/acceptance/helpers.rb
|
230
|
-
- spec/support/acceptance/helpers/active_model_helpers.rb
|
231
|
-
- spec/support/acceptance/helpers/array_helpers.rb
|
232
|
-
- spec/support/acceptance/helpers/base_helpers.rb
|
233
|
-
- spec/support/acceptance/helpers/command_helpers.rb
|
234
|
-
- spec/support/acceptance/helpers/file_helpers.rb
|
235
|
-
- spec/support/acceptance/helpers/gem_helpers.rb
|
236
|
-
- spec/support/acceptance/helpers/minitest_helpers.rb
|
237
|
-
- spec/support/acceptance/helpers/n_unit_helpers.rb
|
238
|
-
- spec/support/acceptance/helpers/pluralization_helpers.rb
|
239
|
-
- spec/support/acceptance/helpers/rails_migration_helpers.rb
|
240
|
-
- spec/support/acceptance/helpers/rails_version_helpers.rb
|
241
|
-
- spec/support/acceptance/helpers/rspec_helpers.rb
|
242
|
-
- spec/support/acceptance/helpers/ruby_version_helpers.rb
|
243
|
-
- spec/support/acceptance/helpers/step_helpers.rb
|
244
|
-
- spec/support/acceptance/matchers/have_output.rb
|
245
|
-
- spec/support/acceptance/matchers/indicate_number_of_tests_was_run_matcher.rb
|
246
|
-
- spec/support/acceptance/matchers/indicate_that_tests_were_run_matcher.rb
|
247
|
-
- spec/support/tests/bundle.rb
|
248
|
-
- spec/support/tests/command_runner.rb
|
249
|
-
- spec/support/tests/current_bundle.rb
|
250
|
-
- spec/support/tests/database.rb
|
251
|
-
- spec/support/tests/database_adapters/postgresql.rb
|
252
|
-
- spec/support/tests/database_adapters/sqlite3.rb
|
253
|
-
- spec/support/tests/database_configuration.rb
|
254
|
-
- spec/support/tests/database_configuration_registry.rb
|
255
|
-
- spec/support/tests/filesystem.rb
|
256
|
-
- spec/support/tests/version.rb
|
257
|
-
- spec/support/unit/active_record/create_table.rb
|
258
|
-
- spec/support/unit/attribute.rb
|
259
|
-
- spec/support/unit/capture.rb
|
260
|
-
- spec/support/unit/change_value.rb
|
261
|
-
- spec/support/unit/create_model_arguments/basic.rb
|
262
|
-
- spec/support/unit/create_model_arguments/has_many.rb
|
263
|
-
- spec/support/unit/create_model_arguments/uniqueness_matcher.rb
|
264
|
-
- spec/support/unit/helpers/action_pack_versions.rb
|
265
|
-
- spec/support/unit/helpers/active_model_helpers.rb
|
266
|
-
- spec/support/unit/helpers/active_model_versions.rb
|
267
|
-
- spec/support/unit/helpers/active_record_versions.rb
|
268
|
-
- spec/support/unit/helpers/active_resource_builder.rb
|
269
|
-
- spec/support/unit/helpers/allow_value_matcher_helpers.rb
|
270
|
-
- spec/support/unit/helpers/class_builder.rb
|
271
|
-
- spec/support/unit/helpers/column_type_helpers.rb
|
272
|
-
- spec/support/unit/helpers/confirmation_matcher_helpers.rb
|
273
|
-
- spec/support/unit/helpers/controller_builder.rb
|
274
|
-
- spec/support/unit/helpers/database_helpers.rb
|
275
|
-
- spec/support/unit/helpers/i18n_faker.rb
|
276
|
-
- spec/support/unit/helpers/mailer_builder.rb
|
277
|
-
- spec/support/unit/helpers/message_helpers.rb
|
278
|
-
- spec/support/unit/helpers/model_builder.rb
|
279
|
-
- spec/support/unit/helpers/rails_versions.rb
|
280
|
-
- spec/support/unit/helpers/validation_matcher_scenario_helpers.rb
|
281
|
-
- spec/support/unit/i18n.rb
|
282
|
-
- spec/support/unit/load_environment.rb
|
283
|
-
- spec/support/unit/matchers/deprecate.rb
|
284
|
-
- spec/support/unit/matchers/fail_with_message_including_matcher.rb
|
285
|
-
- spec/support/unit/matchers/fail_with_message_matcher.rb
|
286
|
-
- spec/support/unit/matchers/print_warning_including.rb
|
287
|
-
- spec/support/unit/model_creation_strategies/active_model.rb
|
288
|
-
- spec/support/unit/model_creation_strategies/active_record.rb
|
289
|
-
- spec/support/unit/model_creators.rb
|
290
|
-
- spec/support/unit/model_creators/active_model.rb
|
291
|
-
- spec/support/unit/model_creators/active_record.rb
|
292
|
-
- spec/support/unit/model_creators/active_record/has_and_belongs_to_many.rb
|
293
|
-
- spec/support/unit/model_creators/active_record/has_many.rb
|
294
|
-
- spec/support/unit/model_creators/active_record/uniqueness_matcher.rb
|
295
|
-
- spec/support/unit/model_creators/basic.rb
|
296
|
-
- spec/support/unit/rails_application.rb
|
297
|
-
- spec/support/unit/record_builder_with_i18n_validation_message.rb
|
298
|
-
- spec/support/unit/record_validating_confirmation_builder.rb
|
299
|
-
- spec/support/unit/record_with_different_error_attribute_builder.rb
|
300
|
-
- spec/support/unit/shared_examples/ignoring_interference_by_writer.rb
|
301
|
-
- spec/support/unit/shared_examples/numerical_submatcher.rb
|
302
|
-
- spec/support/unit/shared_examples/set_session_or_flash.rb
|
303
|
-
- spec/support/unit/validation_matcher_scenario.rb
|
304
|
-
- spec/unit/shoulda/matchers/action_controller/callback_matcher_spec.rb
|
305
|
-
- spec/unit/shoulda/matchers/action_controller/filter_param_matcher_spec.rb
|
306
|
-
- spec/unit/shoulda/matchers/action_controller/permit_matcher_spec.rb
|
307
|
-
- spec/unit/shoulda/matchers/action_controller/redirect_to_matcher_spec.rb
|
308
|
-
- spec/unit/shoulda/matchers/action_controller/render_template_matcher_spec.rb
|
309
|
-
- spec/unit/shoulda/matchers/action_controller/render_with_layout_matcher_spec.rb
|
310
|
-
- spec/unit/shoulda/matchers/action_controller/rescue_from_matcher_spec.rb
|
311
|
-
- spec/unit/shoulda/matchers/action_controller/respond_with_matcher_spec.rb
|
312
|
-
- spec/unit/shoulda/matchers/action_controller/route_matcher_spec.rb
|
313
|
-
- spec/unit/shoulda/matchers/action_controller/route_params_spec.rb
|
314
|
-
- spec/unit/shoulda/matchers/action_controller/set_flash_matcher_spec.rb
|
315
|
-
- spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb
|
316
|
-
- spec/unit/shoulda/matchers/action_controller/set_session_or_flash_matcher_spec.rb
|
317
|
-
- spec/unit/shoulda/matchers/active_model/allow_mass_assignment_of_matcher_spec.rb
|
318
|
-
- spec/unit/shoulda/matchers/active_model/allow_value_matcher_spec.rb
|
319
|
-
- spec/unit/shoulda/matchers/active_model/disallow_value_matcher_spec.rb
|
320
|
-
- spec/unit/shoulda/matchers/active_model/have_secure_password_matcher_spec.rb
|
321
|
-
- spec/unit/shoulda/matchers/active_model/helpers_spec.rb
|
322
|
-
- spec/unit/shoulda/matchers/active_model/validate_absence_of_matcher_spec.rb
|
323
|
-
- spec/unit/shoulda/matchers/active_model/validate_acceptance_of_matcher_spec.rb
|
324
|
-
- spec/unit/shoulda/matchers/active_model/validate_confirmation_of_matcher_spec.rb
|
325
|
-
- spec/unit/shoulda/matchers/active_model/validate_exclusion_of_matcher_spec.rb
|
326
|
-
- spec/unit/shoulda/matchers/active_model/validate_inclusion_of_matcher_spec.rb
|
327
|
-
- spec/unit/shoulda/matchers/active_model/validate_length_of_matcher_spec.rb
|
328
|
-
- spec/unit/shoulda/matchers/active_model/validate_numericality_of_matcher_spec.rb
|
329
|
-
- spec/unit/shoulda/matchers/active_model/validate_presence_of_matcher_spec.rb
|
330
|
-
- spec/unit/shoulda/matchers/active_record/accept_nested_attributes_for_matcher_spec.rb
|
331
|
-
- spec/unit/shoulda/matchers/active_record/association_matcher_spec.rb
|
332
|
-
- spec/unit/shoulda/matchers/active_record/association_matchers/model_reflection_spec.rb
|
333
|
-
- spec/unit/shoulda/matchers/active_record/define_enum_for_matcher_spec.rb
|
334
|
-
- spec/unit/shoulda/matchers/active_record/have_db_column_matcher_spec.rb
|
335
|
-
- spec/unit/shoulda/matchers/active_record/have_db_index_matcher_spec.rb
|
336
|
-
- spec/unit/shoulda/matchers/active_record/have_readonly_attributes_matcher_spec.rb
|
337
|
-
- spec/unit/shoulda/matchers/active_record/have_secure_token_matcher_spec.rb
|
338
|
-
- spec/unit/shoulda/matchers/active_record/serialize_matcher_spec.rb
|
339
|
-
- spec/unit/shoulda/matchers/active_record/validate_uniqueness_of_matcher_spec.rb
|
340
|
-
- spec/unit/shoulda/matchers/doublespeak/double_collection_spec.rb
|
341
|
-
- spec/unit/shoulda/matchers/doublespeak/double_implementation_registry_spec.rb
|
342
|
-
- spec/unit/shoulda/matchers/doublespeak/double_spec.rb
|
343
|
-
- spec/unit/shoulda/matchers/doublespeak/object_double_spec.rb
|
344
|
-
- spec/unit/shoulda/matchers/doublespeak/proxy_implementation_spec.rb
|
345
|
-
- spec/unit/shoulda/matchers/doublespeak/stub_implementation_spec.rb
|
346
|
-
- spec/unit/shoulda/matchers/doublespeak/world_spec.rb
|
347
|
-
- spec/unit/shoulda/matchers/doublespeak_spec.rb
|
348
|
-
- spec/unit/shoulda/matchers/independent/delegate_method_matcher/stubbed_target_spec.rb
|
349
|
-
- spec/unit/shoulda/matchers/independent/delegate_method_matcher_spec.rb
|
350
|
-
- spec/unit/shoulda/matchers/routing/route_matcher_spec.rb
|
351
|
-
- spec/unit/shoulda/matchers/util/word_wrap_spec.rb
|
352
|
-
- spec/unit_spec_helper.rb
|
353
|
-
- spec/warnings_spy.rb
|
354
|
-
- spec/warnings_spy/filesystem.rb
|
355
|
-
- spec/warnings_spy/partitioner.rb
|
356
|
-
- spec/warnings_spy/reader.rb
|
357
|
-
- spec/warnings_spy/reporter.rb
|
358
|
-
- tasks/documentation.rb
|
359
|
-
- zeus.json
|
360
167
|
homepage: https://matchers.shoulda.io/
|
361
168
|
licenses:
|
362
169
|
- MIT
|
363
|
-
metadata:
|
170
|
+
metadata:
|
171
|
+
bug_tracker_uri: https://github.com/thoughtbot/shoulda-matchers/issues
|
172
|
+
changelog_uri: https://github.com/thoughtbot/shoulda-matchers/blob/master/NEWS.md
|
173
|
+
documentation_uri: https://matchers.shoulda.io/docs
|
174
|
+
homepage_uri: https://matchers.shoulda.io
|
175
|
+
source_code_uri: https://github.com/thoughtbot/shoulda-matchers
|
364
176
|
post_install_message:
|
365
177
|
rdoc_options: []
|
366
178
|
require_paths:
|
@@ -372,151 +184,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
372
184
|
version: 2.2.0
|
373
185
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
374
186
|
requirements:
|
375
|
-
- - "
|
187
|
+
- - ">="
|
376
188
|
- !ruby/object:Gem::Version
|
377
|
-
version:
|
189
|
+
version: '0'
|
378
190
|
requirements: []
|
379
|
-
|
380
|
-
rubygems_version: 2.7.6
|
191
|
+
rubygems_version: 3.0.2
|
381
192
|
signing_key:
|
382
193
|
specification_version: 4
|
383
194
|
summary: Making tests easy on the fingers and eyes
|
384
|
-
test_files:
|
385
|
-
- spec/acceptance/active_model_integration_spec.rb
|
386
|
-
- spec/acceptance/independent_matchers_spec.rb
|
387
|
-
- spec/acceptance/multiple_libraries_integration_spec.rb
|
388
|
-
- spec/acceptance/rails_integration_spec.rb
|
389
|
-
- spec/acceptance_spec_helper.rb
|
390
|
-
- spec/doublespeak_spec_helper.rb
|
391
|
-
- spec/report_warnings.rb
|
392
|
-
- spec/spec_helper.rb
|
393
|
-
- spec/support/acceptance/adds_shoulda_matchers_to_project.rb
|
394
|
-
- spec/support/acceptance/helpers.rb
|
395
|
-
- spec/support/acceptance/helpers/active_model_helpers.rb
|
396
|
-
- spec/support/acceptance/helpers/array_helpers.rb
|
397
|
-
- spec/support/acceptance/helpers/base_helpers.rb
|
398
|
-
- spec/support/acceptance/helpers/command_helpers.rb
|
399
|
-
- spec/support/acceptance/helpers/file_helpers.rb
|
400
|
-
- spec/support/acceptance/helpers/gem_helpers.rb
|
401
|
-
- spec/support/acceptance/helpers/minitest_helpers.rb
|
402
|
-
- spec/support/acceptance/helpers/n_unit_helpers.rb
|
403
|
-
- spec/support/acceptance/helpers/pluralization_helpers.rb
|
404
|
-
- spec/support/acceptance/helpers/rails_migration_helpers.rb
|
405
|
-
- spec/support/acceptance/helpers/rails_version_helpers.rb
|
406
|
-
- spec/support/acceptance/helpers/rspec_helpers.rb
|
407
|
-
- spec/support/acceptance/helpers/ruby_version_helpers.rb
|
408
|
-
- spec/support/acceptance/helpers/step_helpers.rb
|
409
|
-
- spec/support/acceptance/matchers/have_output.rb
|
410
|
-
- spec/support/acceptance/matchers/indicate_number_of_tests_was_run_matcher.rb
|
411
|
-
- spec/support/acceptance/matchers/indicate_that_tests_were_run_matcher.rb
|
412
|
-
- spec/support/tests/bundle.rb
|
413
|
-
- spec/support/tests/command_runner.rb
|
414
|
-
- spec/support/tests/current_bundle.rb
|
415
|
-
- spec/support/tests/database.rb
|
416
|
-
- spec/support/tests/database_adapters/postgresql.rb
|
417
|
-
- spec/support/tests/database_adapters/sqlite3.rb
|
418
|
-
- spec/support/tests/database_configuration.rb
|
419
|
-
- spec/support/tests/database_configuration_registry.rb
|
420
|
-
- spec/support/tests/filesystem.rb
|
421
|
-
- spec/support/tests/version.rb
|
422
|
-
- spec/support/unit/active_record/create_table.rb
|
423
|
-
- spec/support/unit/attribute.rb
|
424
|
-
- spec/support/unit/capture.rb
|
425
|
-
- spec/support/unit/change_value.rb
|
426
|
-
- spec/support/unit/create_model_arguments/basic.rb
|
427
|
-
- spec/support/unit/create_model_arguments/has_many.rb
|
428
|
-
- spec/support/unit/create_model_arguments/uniqueness_matcher.rb
|
429
|
-
- spec/support/unit/helpers/action_pack_versions.rb
|
430
|
-
- spec/support/unit/helpers/active_model_helpers.rb
|
431
|
-
- spec/support/unit/helpers/active_model_versions.rb
|
432
|
-
- spec/support/unit/helpers/active_record_versions.rb
|
433
|
-
- spec/support/unit/helpers/active_resource_builder.rb
|
434
|
-
- spec/support/unit/helpers/allow_value_matcher_helpers.rb
|
435
|
-
- spec/support/unit/helpers/class_builder.rb
|
436
|
-
- spec/support/unit/helpers/column_type_helpers.rb
|
437
|
-
- spec/support/unit/helpers/confirmation_matcher_helpers.rb
|
438
|
-
- spec/support/unit/helpers/controller_builder.rb
|
439
|
-
- spec/support/unit/helpers/database_helpers.rb
|
440
|
-
- spec/support/unit/helpers/i18n_faker.rb
|
441
|
-
- spec/support/unit/helpers/mailer_builder.rb
|
442
|
-
- spec/support/unit/helpers/message_helpers.rb
|
443
|
-
- spec/support/unit/helpers/model_builder.rb
|
444
|
-
- spec/support/unit/helpers/rails_versions.rb
|
445
|
-
- spec/support/unit/helpers/validation_matcher_scenario_helpers.rb
|
446
|
-
- spec/support/unit/i18n.rb
|
447
|
-
- spec/support/unit/load_environment.rb
|
448
|
-
- spec/support/unit/matchers/deprecate.rb
|
449
|
-
- spec/support/unit/matchers/fail_with_message_including_matcher.rb
|
450
|
-
- spec/support/unit/matchers/fail_with_message_matcher.rb
|
451
|
-
- spec/support/unit/matchers/print_warning_including.rb
|
452
|
-
- spec/support/unit/model_creation_strategies/active_model.rb
|
453
|
-
- spec/support/unit/model_creation_strategies/active_record.rb
|
454
|
-
- spec/support/unit/model_creators.rb
|
455
|
-
- spec/support/unit/model_creators/active_model.rb
|
456
|
-
- spec/support/unit/model_creators/active_record.rb
|
457
|
-
- spec/support/unit/model_creators/active_record/has_and_belongs_to_many.rb
|
458
|
-
- spec/support/unit/model_creators/active_record/has_many.rb
|
459
|
-
- spec/support/unit/model_creators/active_record/uniqueness_matcher.rb
|
460
|
-
- spec/support/unit/model_creators/basic.rb
|
461
|
-
- spec/support/unit/rails_application.rb
|
462
|
-
- spec/support/unit/record_builder_with_i18n_validation_message.rb
|
463
|
-
- spec/support/unit/record_validating_confirmation_builder.rb
|
464
|
-
- spec/support/unit/record_with_different_error_attribute_builder.rb
|
465
|
-
- spec/support/unit/shared_examples/ignoring_interference_by_writer.rb
|
466
|
-
- spec/support/unit/shared_examples/numerical_submatcher.rb
|
467
|
-
- spec/support/unit/shared_examples/set_session_or_flash.rb
|
468
|
-
- spec/support/unit/validation_matcher_scenario.rb
|
469
|
-
- spec/unit/shoulda/matchers/action_controller/callback_matcher_spec.rb
|
470
|
-
- spec/unit/shoulda/matchers/action_controller/filter_param_matcher_spec.rb
|
471
|
-
- spec/unit/shoulda/matchers/action_controller/permit_matcher_spec.rb
|
472
|
-
- spec/unit/shoulda/matchers/action_controller/redirect_to_matcher_spec.rb
|
473
|
-
- spec/unit/shoulda/matchers/action_controller/render_template_matcher_spec.rb
|
474
|
-
- spec/unit/shoulda/matchers/action_controller/render_with_layout_matcher_spec.rb
|
475
|
-
- spec/unit/shoulda/matchers/action_controller/rescue_from_matcher_spec.rb
|
476
|
-
- spec/unit/shoulda/matchers/action_controller/respond_with_matcher_spec.rb
|
477
|
-
- spec/unit/shoulda/matchers/action_controller/route_matcher_spec.rb
|
478
|
-
- spec/unit/shoulda/matchers/action_controller/route_params_spec.rb
|
479
|
-
- spec/unit/shoulda/matchers/action_controller/set_flash_matcher_spec.rb
|
480
|
-
- spec/unit/shoulda/matchers/action_controller/set_session_matcher_spec.rb
|
481
|
-
- spec/unit/shoulda/matchers/action_controller/set_session_or_flash_matcher_spec.rb
|
482
|
-
- spec/unit/shoulda/matchers/active_model/allow_mass_assignment_of_matcher_spec.rb
|
483
|
-
- spec/unit/shoulda/matchers/active_model/allow_value_matcher_spec.rb
|
484
|
-
- spec/unit/shoulda/matchers/active_model/disallow_value_matcher_spec.rb
|
485
|
-
- spec/unit/shoulda/matchers/active_model/have_secure_password_matcher_spec.rb
|
486
|
-
- spec/unit/shoulda/matchers/active_model/helpers_spec.rb
|
487
|
-
- spec/unit/shoulda/matchers/active_model/validate_absence_of_matcher_spec.rb
|
488
|
-
- spec/unit/shoulda/matchers/active_model/validate_acceptance_of_matcher_spec.rb
|
489
|
-
- spec/unit/shoulda/matchers/active_model/validate_confirmation_of_matcher_spec.rb
|
490
|
-
- spec/unit/shoulda/matchers/active_model/validate_exclusion_of_matcher_spec.rb
|
491
|
-
- spec/unit/shoulda/matchers/active_model/validate_inclusion_of_matcher_spec.rb
|
492
|
-
- spec/unit/shoulda/matchers/active_model/validate_length_of_matcher_spec.rb
|
493
|
-
- spec/unit/shoulda/matchers/active_model/validate_numericality_of_matcher_spec.rb
|
494
|
-
- spec/unit/shoulda/matchers/active_model/validate_presence_of_matcher_spec.rb
|
495
|
-
- spec/unit/shoulda/matchers/active_record/accept_nested_attributes_for_matcher_spec.rb
|
496
|
-
- spec/unit/shoulda/matchers/active_record/association_matcher_spec.rb
|
497
|
-
- spec/unit/shoulda/matchers/active_record/association_matchers/model_reflection_spec.rb
|
498
|
-
- spec/unit/shoulda/matchers/active_record/define_enum_for_matcher_spec.rb
|
499
|
-
- spec/unit/shoulda/matchers/active_record/have_db_column_matcher_spec.rb
|
500
|
-
- spec/unit/shoulda/matchers/active_record/have_db_index_matcher_spec.rb
|
501
|
-
- spec/unit/shoulda/matchers/active_record/have_readonly_attributes_matcher_spec.rb
|
502
|
-
- spec/unit/shoulda/matchers/active_record/have_secure_token_matcher_spec.rb
|
503
|
-
- spec/unit/shoulda/matchers/active_record/serialize_matcher_spec.rb
|
504
|
-
- spec/unit/shoulda/matchers/active_record/validate_uniqueness_of_matcher_spec.rb
|
505
|
-
- spec/unit/shoulda/matchers/doublespeak/double_collection_spec.rb
|
506
|
-
- spec/unit/shoulda/matchers/doublespeak/double_implementation_registry_spec.rb
|
507
|
-
- spec/unit/shoulda/matchers/doublespeak/double_spec.rb
|
508
|
-
- spec/unit/shoulda/matchers/doublespeak/object_double_spec.rb
|
509
|
-
- spec/unit/shoulda/matchers/doublespeak/proxy_implementation_spec.rb
|
510
|
-
- spec/unit/shoulda/matchers/doublespeak/stub_implementation_spec.rb
|
511
|
-
- spec/unit/shoulda/matchers/doublespeak/world_spec.rb
|
512
|
-
- spec/unit/shoulda/matchers/doublespeak_spec.rb
|
513
|
-
- spec/unit/shoulda/matchers/independent/delegate_method_matcher/stubbed_target_spec.rb
|
514
|
-
- spec/unit/shoulda/matchers/independent/delegate_method_matcher_spec.rb
|
515
|
-
- spec/unit/shoulda/matchers/routing/route_matcher_spec.rb
|
516
|
-
- spec/unit/shoulda/matchers/util/word_wrap_spec.rb
|
517
|
-
- spec/unit_spec_helper.rb
|
518
|
-
- spec/warnings_spy.rb
|
519
|
-
- spec/warnings_spy/filesystem.rb
|
520
|
-
- spec/warnings_spy/partitioner.rb
|
521
|
-
- spec/warnings_spy/reader.rb
|
522
|
-
- spec/warnings_spy/reporter.rb
|
195
|
+
test_files: []
|
data/.gitignore
DELETED
data/.hound.yml
DELETED