shoulda-matchers 2.6.1 → 2.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +9 -0
  4. data/.yardopts +8 -0
  5. data/Appraisals +82 -33
  6. data/Gemfile +18 -2
  7. data/Gemfile.lock +13 -1
  8. data/NEWS.md +27 -2
  9. data/README.md +83 -1329
  10. data/Rakefile +118 -1
  11. data/cucumber.yml +1 -0
  12. data/doc_config/gh-pages/index.html.erb +9 -0
  13. data/doc_config/yard/setup.rb +22 -0
  14. data/doc_config/yard/templates/default/fulldoc/html/css/bootstrap.css +5967 -0
  15. data/doc_config/yard/templates/default/fulldoc/html/css/full_list.css +12 -0
  16. data/doc_config/yard/templates/default/fulldoc/html/css/global.css +45 -0
  17. data/doc_config/yard/templates/default/fulldoc/html/css/solarized.css +69 -0
  18. data/doc_config/yard/templates/default/fulldoc/html/css/style.css +283 -0
  19. data/doc_config/yard/templates/default/fulldoc/html/full_list.erb +32 -0
  20. data/doc_config/yard/templates/default/fulldoc/html/full_list_class.erb +1 -0
  21. data/doc_config/yard/templates/default/fulldoc/html/full_list_method.erb +8 -0
  22. data/doc_config/yard/templates/default/fulldoc/html/js/app.js +298 -0
  23. data/doc_config/yard/templates/default/fulldoc/html/js/full_list.js +1 -0
  24. data/doc_config/yard/templates/default/fulldoc/html/js/jquery.stickyheaders.js +289 -0
  25. data/doc_config/yard/templates/default/fulldoc/html/js/underscore.min.js +6 -0
  26. data/doc_config/yard/templates/default/fulldoc/html/setup.rb +8 -0
  27. data/doc_config/yard/templates/default/layout/html/breadcrumb.erb +14 -0
  28. data/doc_config/yard/templates/default/layout/html/fonts.erb +1 -0
  29. data/doc_config/yard/templates/default/layout/html/layout.erb +23 -0
  30. data/doc_config/yard/templates/default/layout/html/search.erb +13 -0
  31. data/doc_config/yard/templates/default/layout/html/setup.rb +40 -0
  32. data/doc_config/yard/templates/default/method_details/html/source.erb +10 -0
  33. data/doc_config/yard/templates/default/module/html/box_info.erb +31 -0
  34. data/docs.watchr +5 -0
  35. data/features/rails_integration.feature +32 -0
  36. data/features/step_definitions/rails_steps.rb +55 -9
  37. data/features/support/env.rb +1 -0
  38. data/gemfiles/3.0.gemfile +13 -1
  39. data/gemfiles/3.0.gemfile.lock +13 -1
  40. data/gemfiles/3.1.gemfile +17 -2
  41. data/gemfiles/3.1.gemfile.lock +31 -2
  42. data/gemfiles/3.1_1.9.2.gemfile +33 -0
  43. data/gemfiles/3.1_1.9.2.gemfile.lock +203 -0
  44. data/gemfiles/3.2.gemfile +18 -2
  45. data/gemfiles/3.2.gemfile.lock +32 -2
  46. data/gemfiles/3.2_1.9.2.gemfile +32 -0
  47. data/gemfiles/3.2_1.9.2.gemfile.lock +200 -0
  48. data/gemfiles/4.0.0.gemfile +20 -1
  49. data/gemfiles/4.0.0.gemfile.lock +46 -2
  50. data/gemfiles/4.0.1.gemfile +20 -1
  51. data/gemfiles/4.0.1.gemfile.lock +46 -2
  52. data/gemfiles/4.1.gemfile +21 -2
  53. data/gemfiles/4.1.gemfile.lock +47 -4
  54. data/lib/shoulda/matchers/action_controller.rb +0 -20
  55. data/lib/shoulda/matchers/action_controller/callback_matcher.rb +119 -28
  56. data/lib/shoulda/matchers/action_controller/filter_param_matcher.rb +22 -6
  57. data/lib/shoulda/matchers/action_controller/redirect_to_matcher.rb +43 -10
  58. data/lib/shoulda/matchers/action_controller/render_template_matcher.rb +40 -13
  59. data/lib/shoulda/matchers/action_controller/render_with_layout_matcher.rb +63 -11
  60. data/lib/shoulda/matchers/action_controller/rescue_from_matcher.rb +34 -1
  61. data/lib/shoulda/matchers/action_controller/respond_with_matcher.rb +84 -15
  62. data/lib/shoulda/matchers/action_controller/route_matcher.rb +84 -28
  63. data/lib/shoulda/matchers/action_controller/route_params.rb +4 -3
  64. data/lib/shoulda/matchers/action_controller/set_session_matcher.rb +76 -13
  65. data/lib/shoulda/matchers/action_controller/set_the_flash_matcher.rb +147 -13
  66. data/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb +148 -2
  67. data/lib/shoulda/matchers/active_model.rb +0 -25
  68. data/lib/shoulda/matchers/active_model/allow_mass_assignment_of_matcher.rb +66 -9
  69. data/lib/shoulda/matchers/active_model/allow_value_matcher.rb +161 -19
  70. data/lib/shoulda/matchers/active_model/disallow_value_matcher.rb +5 -5
  71. data/lib/shoulda/matchers/active_model/ensure_exclusion_of_matcher.rb +92 -13
  72. data/lib/shoulda/matchers/active_model/ensure_inclusion_of_matcher.rb +218 -16
  73. data/lib/shoulda/matchers/active_model/ensure_length_of_matcher.rb +198 -32
  74. data/lib/shoulda/matchers/active_model/errors.rb +5 -2
  75. data/lib/shoulda/matchers/active_model/exception_message_finder.rb +1 -1
  76. data/lib/shoulda/matchers/active_model/have_secure_password_matcher.rb +29 -8
  77. data/lib/shoulda/matchers/active_model/helpers.rb +20 -8
  78. data/lib/shoulda/matchers/active_model/numericality_matchers.rb +9 -0
  79. data/lib/shoulda/matchers/active_model/numericality_matchers/comparison_matcher.rb +4 -6
  80. data/lib/shoulda/matchers/active_model/numericality_matchers/even_number_matcher.rb +4 -3
  81. data/lib/shoulda/matchers/active_model/numericality_matchers/numeric_type_matcher.rb +3 -2
  82. data/lib/shoulda/matchers/active_model/numericality_matchers/odd_number_matcher.rb +4 -3
  83. data/lib/shoulda/matchers/active_model/numericality_matchers/only_integer_matcher.rb +4 -3
  84. data/lib/shoulda/matchers/active_model/validate_absence_of_matcher.rb +52 -14
  85. data/lib/shoulda/matchers/active_model/validate_acceptance_of_matcher.rb +51 -13
  86. data/lib/shoulda/matchers/active_model/validate_confirmation_of_matcher.rb +53 -7
  87. data/lib/shoulda/matchers/active_model/validate_numericality_of_matcher.rb +275 -19
  88. data/lib/shoulda/matchers/active_model/validate_presence_of_matcher.rb +84 -14
  89. data/lib/shoulda/matchers/active_model/validate_uniqueness_of_matcher.rb +170 -41
  90. data/lib/shoulda/matchers/active_model/validation_matcher.rb +20 -15
  91. data/lib/shoulda/matchers/active_model/validation_message_finder.rb +1 -2
  92. data/lib/shoulda/matchers/active_record.rb +1 -12
  93. data/lib/shoulda/matchers/active_record/accept_nested_attributes_for_matcher.rb +89 -15
  94. data/lib/shoulda/matchers/active_record/association_matcher.rb +726 -70
  95. data/lib/shoulda/matchers/active_record/association_matchers.rb +9 -0
  96. data/lib/shoulda/matchers/active_record/association_matchers/counter_cache_matcher.rb +4 -3
  97. data/lib/shoulda/matchers/active_record/association_matchers/dependent_matcher.rb +4 -3
  98. data/lib/shoulda/matchers/active_record/association_matchers/inverse_of_matcher.rb +4 -3
  99. data/lib/shoulda/matchers/active_record/association_matchers/model_reflection.rb +2 -1
  100. data/lib/shoulda/matchers/active_record/association_matchers/model_reflector.rb +4 -3
  101. data/lib/shoulda/matchers/active_record/association_matchers/option_verifier.rb +4 -5
  102. data/lib/shoulda/matchers/active_record/association_matchers/order_matcher.rb +4 -3
  103. data/lib/shoulda/matchers/active_record/association_matchers/source_matcher.rb +4 -3
  104. data/lib/shoulda/matchers/active_record/association_matchers/through_matcher.rb +4 -3
  105. data/lib/shoulda/matchers/active_record/have_db_column_matcher.rb +79 -15
  106. data/lib/shoulda/matchers/active_record/have_db_index_matcher.rb +64 -15
  107. data/lib/shoulda/matchers/active_record/have_readonly_attribute_matcher.rb +21 -7
  108. data/lib/shoulda/matchers/active_record/serialize_matcher.rb +85 -10
  109. data/lib/shoulda/matchers/assertion_error.rb +7 -1
  110. data/lib/shoulda/matchers/doublespeak.rb +2 -1
  111. data/lib/shoulda/matchers/doublespeak/double.rb +3 -1
  112. data/lib/shoulda/matchers/doublespeak/double_collection.rb +2 -1
  113. data/lib/shoulda/matchers/doublespeak/double_implementation_registry.rb +1 -0
  114. data/lib/shoulda/matchers/doublespeak/object_double.rb +2 -1
  115. data/lib/shoulda/matchers/doublespeak/proxy_implementation.rb +2 -1
  116. data/lib/shoulda/matchers/doublespeak/structs.rb +2 -0
  117. data/lib/shoulda/matchers/doublespeak/stub_implementation.rb +2 -1
  118. data/lib/shoulda/matchers/doublespeak/world.rb +3 -4
  119. data/lib/shoulda/matchers/error.rb +1 -0
  120. data/lib/shoulda/matchers/independent/delegate_matcher.rb +108 -20
  121. data/lib/shoulda/matchers/independent/delegate_matcher/stubbed_target.rb +4 -3
  122. data/lib/shoulda/matchers/integrations/nunit_test_case_detection.rb +3 -0
  123. data/lib/shoulda/matchers/rails_shim.rb +3 -2
  124. data/lib/shoulda/matchers/version.rb +2 -1
  125. data/lib/shoulda/matchers/warn.rb +1 -0
  126. data/script/SUPPORTED_VERSIONS +1 -0
  127. data/script/install_gems_in_all_appraisals +14 -0
  128. data/script/run_all_tests +14 -0
  129. data/shoulda-matchers.gemspec +0 -10
  130. data/spec/report_warnings.rb +7 -0
  131. data/spec/shoulda/matchers/action_controller/route_matcher_spec.rb +1 -1
  132. data/spec/shoulda/matchers/action_controller/strong_parameters_matcher_spec.rb +9 -0
  133. data/spec/shoulda/matchers/active_model/validate_uniqueness_of_matcher_spec.rb +0 -36
  134. data/spec/shoulda/matchers/active_model/validation_message_finder_spec.rb +2 -2
  135. data/spec/shoulda/matchers/doublespeak/double_spec.rb +1 -1
  136. data/spec/shoulda/matchers/doublespeak/world_spec.rb +11 -29
  137. data/spec/shoulda/matchers/doublespeak_spec.rb +3 -3
  138. data/spec/spec_helper.rb +17 -0
  139. data/spec/support/class_builder.rb +4 -0
  140. data/spec/support/test_application.rb +1 -1
  141. data/spec/warnings_spy.rb +64 -0
  142. data/spec/warnings_spy/filesystem.rb +45 -0
  143. data/spec/warnings_spy/partitioner.rb +29 -0
  144. data/spec/warnings_spy/reader.rb +64 -0
  145. data/spec/warnings_spy/reporter.rb +87 -0
  146. metadata +49 -134
@@ -0,0 +1,87 @@
1
+ require 'forwardable'
2
+
3
+ class WarningsSpy
4
+ class Reporter
5
+ extend Forwardable
6
+
7
+ def initialize(partitioner, filesystem, project_name)
8
+ @partitioner = partitioner
9
+ @warnings_file = filesystem.warnings_file
10
+ @relevant_warnings_file = filesystem.relevant_warnings_file
11
+ @irrelevant_warnings_file = filesystem.irrelevant_warnings_file
12
+ @project_name = project_name
13
+ end
14
+
15
+ def report
16
+ reporting_all_groups do
17
+ report_relevant_warning_groups
18
+ report_irrelevant_warning_groups
19
+ end
20
+ end
21
+
22
+ protected
23
+
24
+ attr_reader :partitioner, :warnings_file, :relevant_warnings_file,
25
+ :irrelevant_warnings_file, :project_name
26
+
27
+ private
28
+
29
+ def_delegators :partitioner, :relevant_warning_groups, :irrelevant_warning_groups
30
+
31
+ def report_relevant_warning_groups
32
+ if relevant_warning_groups.any?
33
+ print_divider('-', 75, header: " #{project_name} warnings:")
34
+ relevant_warning_groups.each do |group|
35
+ group.each do |line|
36
+ relevant_warnings_file.puts(line)
37
+ puts line
38
+ end
39
+ end
40
+ print_divider('-', 75)
41
+ puts "#{project_name} warnings written to #{relevant_warnings_file.path}."
42
+ end
43
+ end
44
+
45
+ def report_irrelevant_warning_groups
46
+ if irrelevant_warning_groups.any?
47
+ irrelevant_warning_groups.each do |group|
48
+ group.each do |line|
49
+ irrelevant_warnings_file.puts(line)
50
+ end
51
+ end
52
+ puts "Non #{project_name} warnings were raised during the test run. These have been written to #{irrelevant_warnings_file.path}."
53
+ end
54
+ end
55
+
56
+ def reporting_all_groups
57
+ if relevant_warning_groups.any? || irrelevant_warning_groups.any?
58
+ puts
59
+ yield
60
+ puts "All warnings were written to #{warnings_file.path}."
61
+ puts
62
+ end
63
+ end
64
+
65
+ def print_divider(character, count, options = {})
66
+ puts
67
+
68
+ if options[:header]
69
+ first_count = 10
70
+ second_count = options[:header].length - first_count
71
+ string =
72
+ horizontal_rule(character, first_count) +
73
+ options[:header] +
74
+ horizontal_rule(character, second_count)
75
+ puts string
76
+ else
77
+ puts horizontal_rule(character, count)
78
+ end
79
+
80
+ puts
81
+ end
82
+
83
+ def horizontal_rule(character, count)
84
+ character * count
85
+ end
86
+ end
87
+ end
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: 2.6.1
4
+ version: 2.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tammer Saleh
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2014-04-30 00:00:00.000000000 Z
16
+ date: 2014-07-18 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: activesupport
@@ -29,138 +29,6 @@ dependencies:
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
31
  version: 3.0.0
32
- - !ruby/object:Gem::Dependency
33
- name: appraisal
34
- requirement: !ruby/object:Gem::Requirement
35
- requirements:
36
- - - "~>"
37
- - !ruby/object:Gem::Version
38
- version: 1.0.0.beta2
39
- type: :development
40
- prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
42
- requirements:
43
- - - "~>"
44
- - !ruby/object:Gem::Version
45
- version: 1.0.0.beta2
46
- - !ruby/object:Gem::Dependency
47
- name: aruba
48
- requirement: !ruby/object:Gem::Requirement
49
- requirements:
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: '0'
53
- type: :development
54
- prerelease: false
55
- version_requirements: !ruby/object:Gem::Requirement
56
- requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: '0'
60
- - !ruby/object:Gem::Dependency
61
- name: pry
62
- requirement: !ruby/object:Gem::Requirement
63
- requirements:
64
- - - ">="
65
- - !ruby/object:Gem::Version
66
- version: '0'
67
- type: :development
68
- prerelease: false
69
- version_requirements: !ruby/object:Gem::Requirement
70
- requirements:
71
- - - ">="
72
- - !ruby/object:Gem::Version
73
- version: '0'
74
- - !ruby/object:Gem::Dependency
75
- name: bourne
76
- requirement: !ruby/object:Gem::Requirement
77
- requirements:
78
- - - "~>"
79
- - !ruby/object:Gem::Version
80
- version: '1.3'
81
- type: :development
82
- prerelease: false
83
- version_requirements: !ruby/object:Gem::Requirement
84
- requirements:
85
- - - "~>"
86
- - !ruby/object:Gem::Version
87
- version: '1.3'
88
- - !ruby/object:Gem::Dependency
89
- name: bundler
90
- requirement: !ruby/object:Gem::Requirement
91
- requirements:
92
- - - "~>"
93
- - !ruby/object:Gem::Version
94
- version: '1.1'
95
- type: :development
96
- prerelease: false
97
- version_requirements: !ruby/object:Gem::Requirement
98
- requirements:
99
- - - "~>"
100
- - !ruby/object:Gem::Version
101
- version: '1.1'
102
- - !ruby/object:Gem::Dependency
103
- name: cucumber
104
- requirement: !ruby/object:Gem::Requirement
105
- requirements:
106
- - - "~>"
107
- - !ruby/object:Gem::Version
108
- version: '1.1'
109
- type: :development
110
- prerelease: false
111
- version_requirements: !ruby/object:Gem::Requirement
112
- requirements:
113
- - - "~>"
114
- - !ruby/object:Gem::Version
115
- version: '1.1'
116
- - !ruby/object:Gem::Dependency
117
- name: rails
118
- requirement: !ruby/object:Gem::Requirement
119
- requirements:
120
- - - "~>"
121
- - !ruby/object:Gem::Version
122
- version: '3.0'
123
- type: :development
124
- prerelease: false
125
- version_requirements: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - "~>"
128
- - !ruby/object:Gem::Version
129
- version: '3.0'
130
- - !ruby/object:Gem::Dependency
131
- name: rake
132
- requirement: !ruby/object:Gem::Requirement
133
- requirements:
134
- - - ">="
135
- - !ruby/object:Gem::Version
136
- version: 0.9.2
137
- type: :development
138
- prerelease: false
139
- version_requirements: !ruby/object:Gem::Requirement
140
- requirements:
141
- - - ">="
142
- - !ruby/object:Gem::Version
143
- version: 0.9.2
144
- - !ruby/object:Gem::Dependency
145
- name: rspec-rails
146
- requirement: !ruby/object:Gem::Requirement
147
- requirements:
148
- - - ">="
149
- - !ruby/object:Gem::Version
150
- version: 2.13.1
151
- - - "<"
152
- - !ruby/object:Gem::Version
153
- version: '3'
154
- type: :development
155
- prerelease: false
156
- version_requirements: !ruby/object:Gem::Requirement
157
- requirements:
158
- - - ">="
159
- - !ruby/object:Gem::Version
160
- version: 2.13.1
161
- - - "<"
162
- - !ruby/object:Gem::Version
163
- version: '3'
164
32
  description: Making tests easy on the fingers and eyes
165
33
  email: support@thoughtbot.com
166
34
  executables: []
@@ -169,6 +37,7 @@ extra_rdoc_files: []
169
37
  files:
170
38
  - ".gitignore"
171
39
  - ".travis.yml"
40
+ - ".yardopts"
172
41
  - Appraisals
173
42
  - CONTRIBUTING.md
174
43
  - Gemfile
@@ -177,6 +46,30 @@ files:
177
46
  - NEWS.md
178
47
  - README.md
179
48
  - Rakefile
49
+ - cucumber.yml
50
+ - doc_config/gh-pages/index.html.erb
51
+ - doc_config/yard/setup.rb
52
+ - doc_config/yard/templates/default/fulldoc/html/css/bootstrap.css
53
+ - doc_config/yard/templates/default/fulldoc/html/css/full_list.css
54
+ - doc_config/yard/templates/default/fulldoc/html/css/global.css
55
+ - doc_config/yard/templates/default/fulldoc/html/css/solarized.css
56
+ - doc_config/yard/templates/default/fulldoc/html/css/style.css
57
+ - doc_config/yard/templates/default/fulldoc/html/full_list.erb
58
+ - doc_config/yard/templates/default/fulldoc/html/full_list_class.erb
59
+ - doc_config/yard/templates/default/fulldoc/html/full_list_method.erb
60
+ - doc_config/yard/templates/default/fulldoc/html/js/app.js
61
+ - doc_config/yard/templates/default/fulldoc/html/js/full_list.js
62
+ - doc_config/yard/templates/default/fulldoc/html/js/jquery.stickyheaders.js
63
+ - doc_config/yard/templates/default/fulldoc/html/js/underscore.min.js
64
+ - doc_config/yard/templates/default/fulldoc/html/setup.rb
65
+ - doc_config/yard/templates/default/layout/html/breadcrumb.erb
66
+ - doc_config/yard/templates/default/layout/html/fonts.erb
67
+ - doc_config/yard/templates/default/layout/html/layout.erb
68
+ - doc_config/yard/templates/default/layout/html/search.erb
69
+ - doc_config/yard/templates/default/layout/html/setup.rb
70
+ - doc_config/yard/templates/default/method_details/html/source.erb
71
+ - doc_config/yard/templates/default/module/html/box_info.erb
72
+ - docs.watchr
180
73
  - features/activemodel_integration.feature
181
74
  - features/rails_integration.feature
182
75
  - features/step_definitions/activemodel_steps.rb
@@ -186,8 +79,12 @@ files:
186
79
  - gemfiles/3.0.gemfile.lock
187
80
  - gemfiles/3.1.gemfile
188
81
  - gemfiles/3.1.gemfile.lock
82
+ - gemfiles/3.1_1.9.2.gemfile
83
+ - gemfiles/3.1_1.9.2.gemfile.lock
189
84
  - gemfiles/3.2.gemfile
190
85
  - gemfiles/3.2.gemfile.lock
86
+ - gemfiles/3.2_1.9.2.gemfile
87
+ - gemfiles/3.2_1.9.2.gemfile.lock
191
88
  - gemfiles/4.0.0.gemfile
192
89
  - gemfiles/4.0.0.gemfile.lock
193
90
  - gemfiles/4.0.1.gemfile
@@ -220,6 +117,7 @@ files:
220
117
  - lib/shoulda/matchers/active_model/exception_message_finder.rb
221
118
  - lib/shoulda/matchers/active_model/have_secure_password_matcher.rb
222
119
  - lib/shoulda/matchers/active_model/helpers.rb
120
+ - lib/shoulda/matchers/active_model/numericality_matchers.rb
223
121
  - lib/shoulda/matchers/active_model/numericality_matchers/comparison_matcher.rb
224
122
  - lib/shoulda/matchers/active_model/numericality_matchers/even_number_matcher.rb
225
123
  - lib/shoulda/matchers/active_model/numericality_matchers/numeric_type_matcher.rb
@@ -236,6 +134,7 @@ files:
236
134
  - lib/shoulda/matchers/active_record.rb
237
135
  - lib/shoulda/matchers/active_record/accept_nested_attributes_for_matcher.rb
238
136
  - lib/shoulda/matchers/active_record/association_matcher.rb
137
+ - lib/shoulda/matchers/active_record/association_matchers.rb
239
138
  - lib/shoulda/matchers/active_record/association_matchers/counter_cache_matcher.rb
240
139
  - lib/shoulda/matchers/active_record/association_matchers/dependent_matcher.rb
241
140
  - lib/shoulda/matchers/active_record/association_matchers/inverse_of_matcher.rb
@@ -269,7 +168,11 @@ files:
269
168
  - lib/shoulda/matchers/rails_shim.rb
270
169
  - lib/shoulda/matchers/version.rb
271
170
  - lib/shoulda/matchers/warn.rb
171
+ - script/SUPPORTED_VERSIONS
172
+ - script/install_gems_in_all_appraisals
173
+ - script/run_all_tests
272
174
  - shoulda-matchers.gemspec
175
+ - spec/report_warnings.rb
273
176
  - spec/shoulda/matchers/action_controller/callback_matcher_spec.rb
274
177
  - spec/shoulda/matchers/action_controller/filter_param_matcher_spec.rb
275
178
  - spec/shoulda/matchers/action_controller/redirect_to_matcher_spec.rb
@@ -335,6 +238,11 @@ files:
335
238
  - spec/support/shared_examples/numerical_submatcher.rb
336
239
  - spec/support/shared_examples/numerical_type_submatcher.rb
337
240
  - spec/support/test_application.rb
241
+ - spec/warnings_spy.rb
242
+ - spec/warnings_spy/filesystem.rb
243
+ - spec/warnings_spy/partitioner.rb
244
+ - spec/warnings_spy/reader.rb
245
+ - spec/warnings_spy/reporter.rb
338
246
  homepage: http://thoughtbot.com/community/
339
247
  licenses:
340
248
  - MIT
@@ -365,6 +273,7 @@ test_files:
365
273
  - features/step_definitions/activemodel_steps.rb
366
274
  - features/step_definitions/rails_steps.rb
367
275
  - features/support/env.rb
276
+ - spec/report_warnings.rb
368
277
  - spec/shoulda/matchers/action_controller/callback_matcher_spec.rb
369
278
  - spec/shoulda/matchers/action_controller/filter_param_matcher_spec.rb
370
279
  - spec/shoulda/matchers/action_controller/redirect_to_matcher_spec.rb
@@ -430,3 +339,9 @@ test_files:
430
339
  - spec/support/shared_examples/numerical_submatcher.rb
431
340
  - spec/support/shared_examples/numerical_type_submatcher.rb
432
341
  - spec/support/test_application.rb
342
+ - spec/warnings_spy.rb
343
+ - spec/warnings_spy/filesystem.rb
344
+ - spec/warnings_spy/partitioner.rb
345
+ - spec/warnings_spy/reader.rb
346
+ - spec/warnings_spy/reporter.rb
347
+ has_rdoc: