syllable_counter 0.0.1 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (652) hide show
  1. checksums.yaml +6 -14
  2. data/README.md +5 -2
  3. data/lib/syllable_counter.rb +7 -19
  4. data/lib/syllable_counter/calculate.rb +28 -0
  5. data/lib/syllable_counter/english_exceptions.rb +11 -0
  6. data/lib/syllable_counter/rules.rb +71 -0
  7. data/lib/syllable_counter/version.rb +1 -1
  8. data/spec/calculator_spec.rb +27 -0
  9. data/spec/rules_spec.rb +39 -0
  10. data/spec/spec_helper.rb +3 -0
  11. data/spec/syllable_counter_spec.rb +6 -75
  12. data/syllable_counter.gemspec +2 -2
  13. data/vendor/bundle/bin/autospec +23 -0
  14. data/vendor/bundle/bin/htmldiff +25 -0
  15. data/vendor/bundle/bin/ldiff +25 -0
  16. data/vendor/bundle/bin/rake +23 -0
  17. data/vendor/bundle/bin/rspec +23 -0
  18. data/vendor/bundle/build_info/diff-lcs-1.2.4.info +1 -0
  19. data/vendor/bundle/build_info/rake-10.1.0.info +1 -0
  20. data/vendor/bundle/build_info/rspec-2.14.1.info +1 -0
  21. data/vendor/bundle/build_info/rspec-core-2.14.5.info +1 -0
  22. data/vendor/bundle/build_info/rspec-expectations-2.14.2.info +1 -0
  23. data/vendor/bundle/build_info/rspec-mocks-2.14.3.info +1 -0
  24. data/vendor/bundle/gems/diff-lcs-1.2.4/.autotest +3 -0
  25. data/vendor/bundle/gems/diff-lcs-1.2.4/.gemtest +0 -0
  26. data/vendor/bundle/gems/diff-lcs-1.2.4/.hoerc +2 -0
  27. data/vendor/bundle/gems/diff-lcs-1.2.4/.rspec +2 -0
  28. data/vendor/bundle/gems/diff-lcs-1.2.4/.travis.yml +22 -0
  29. data/vendor/bundle/gems/diff-lcs-1.2.4/Contributing.rdoc +64 -0
  30. data/vendor/bundle/gems/diff-lcs-1.2.4/Gemfile +20 -0
  31. data/vendor/bundle/gems/diff-lcs-1.2.4/History.rdoc +146 -0
  32. data/vendor/bundle/gems/diff-lcs-1.2.4/License.rdoc +39 -0
  33. data/vendor/bundle/gems/diff-lcs-1.2.4/Manifest.txt +38 -0
  34. data/vendor/bundle/gems/diff-lcs-1.2.4/README.rdoc +85 -0
  35. data/vendor/bundle/gems/diff-lcs-1.2.4/Rakefile +39 -0
  36. data/vendor/bundle/gems/diff-lcs-1.2.4/autotest/discover.rb +1 -0
  37. data/vendor/bundle/gems/diff-lcs-1.2.4/bin/htmldiff +32 -0
  38. data/vendor/bundle/gems/diff-lcs-1.2.4/bin/ldiff +6 -0
  39. data/vendor/bundle/gems/diff-lcs-1.2.4/docs/COPYING.txt +339 -0
  40. data/vendor/bundle/gems/diff-lcs-1.2.4/docs/artistic.txt +127 -0
  41. data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff-lcs.rb +3 -0
  42. data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs.rb +805 -0
  43. data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/array.rb +7 -0
  44. data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/block.rb +37 -0
  45. data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/callbacks.rb +322 -0
  46. data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/change.rb +177 -0
  47. data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/htmldiff.rb +149 -0
  48. data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/hunk.rb +276 -0
  49. data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/internals.rb +301 -0
  50. data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/ldiff.rb +195 -0
  51. data/vendor/bundle/gems/diff-lcs-1.2.4/lib/diff/lcs/string.rb +5 -0
  52. data/vendor/bundle/gems/diff-lcs-1.2.4/spec/change_spec.rb +65 -0
  53. data/vendor/bundle/gems/diff-lcs-1.2.4/spec/diff_spec.rb +47 -0
  54. data/vendor/bundle/gems/diff-lcs-1.2.4/spec/hunk_spec.rb +72 -0
  55. data/vendor/bundle/gems/diff-lcs-1.2.4/spec/issues_spec.rb +24 -0
  56. data/vendor/bundle/gems/diff-lcs-1.2.4/spec/lcs_spec.rb +54 -0
  57. data/vendor/bundle/gems/diff-lcs-1.2.4/spec/patch_spec.rb +414 -0
  58. data/vendor/bundle/gems/diff-lcs-1.2.4/spec/sdiff_spec.rb +202 -0
  59. data/vendor/bundle/gems/diff-lcs-1.2.4/spec/spec_helper.rb +290 -0
  60. data/vendor/bundle/gems/diff-lcs-1.2.4/spec/traverse_balanced_spec.rb +310 -0
  61. data/vendor/bundle/gems/diff-lcs-1.2.4/spec/traverse_sequences_spec.rb +139 -0
  62. data/vendor/bundle/gems/rake-10.1.0/.gemtest +0 -0
  63. data/vendor/bundle/gems/rake-10.1.0/CHANGES +530 -0
  64. data/vendor/bundle/gems/rake-10.1.0/MIT-LICENSE +21 -0
  65. data/vendor/bundle/gems/rake-10.1.0/README.rdoc +187 -0
  66. data/vendor/bundle/gems/rake-10.1.0/Rakefile +375 -0
  67. data/vendor/bundle/gems/rake-10.1.0/TODO +21 -0
  68. data/vendor/bundle/gems/rake-10.1.0/bin/rake +33 -0
  69. data/vendor/bundle/gems/rake-10.1.0/install.rb +80 -0
  70. data/vendor/bundle/gems/rake-10.1.0/lib/rake.rb +73 -0
  71. data/vendor/bundle/gems/rake-10.1.0/lib/rake/alt_system.rb +108 -0
  72. data/vendor/bundle/gems/rake-10.1.0/lib/rake/application.rb +728 -0
  73. data/vendor/bundle/gems/rake-10.1.0/lib/rake/backtrace.rb +20 -0
  74. data/vendor/bundle/gems/rake-10.1.0/lib/rake/clean.rb +55 -0
  75. data/vendor/bundle/gems/rake-10.1.0/lib/rake/cloneable.rb +16 -0
  76. data/vendor/bundle/gems/rake-10.1.0/lib/rake/contrib/compositepublisher.rb +21 -0
  77. data/vendor/bundle/gems/rake-10.1.0/lib/rake/contrib/ftptools.rb +139 -0
  78. data/vendor/bundle/gems/rake-10.1.0/lib/rake/contrib/publisher.rb +73 -0
  79. data/vendor/bundle/gems/rake-10.1.0/lib/rake/contrib/rubyforgepublisher.rb +16 -0
  80. data/vendor/bundle/gems/rake-10.1.0/lib/rake/contrib/sshpublisher.rb +50 -0
  81. data/vendor/bundle/gems/rake-10.1.0/lib/rake/contrib/sys.rb +2 -0
  82. data/vendor/bundle/gems/rake-10.1.0/lib/rake/default_loader.rb +10 -0
  83. data/vendor/bundle/gems/rake-10.1.0/lib/rake/dsl_definition.rb +157 -0
  84. data/vendor/bundle/gems/rake-10.1.0/lib/rake/early_time.rb +18 -0
  85. data/vendor/bundle/gems/rake-10.1.0/lib/rake/ext/core.rb +28 -0
  86. data/vendor/bundle/gems/rake-10.1.0/lib/rake/ext/module.rb +0 -0
  87. data/vendor/bundle/gems/rake-10.1.0/lib/rake/ext/string.rb +166 -0
  88. data/vendor/bundle/gems/rake-10.1.0/lib/rake/ext/time.rb +15 -0
  89. data/vendor/bundle/gems/rake-10.1.0/lib/rake/file_creation_task.rb +24 -0
  90. data/vendor/bundle/gems/rake-10.1.0/lib/rake/file_list.rb +416 -0
  91. data/vendor/bundle/gems/rake-10.1.0/lib/rake/file_task.rb +46 -0
  92. data/vendor/bundle/gems/rake-10.1.0/lib/rake/file_utils.rb +116 -0
  93. data/vendor/bundle/gems/rake-10.1.0/lib/rake/file_utils_ext.rb +144 -0
  94. data/vendor/bundle/gems/rake-10.1.0/lib/rake/gempackagetask.rb +2 -0
  95. data/vendor/bundle/gems/rake-10.1.0/lib/rake/invocation_chain.rb +57 -0
  96. data/vendor/bundle/gems/rake-10.1.0/lib/rake/invocation_exception_mixin.rb +16 -0
  97. data/vendor/bundle/gems/rake-10.1.0/lib/rake/linked_list.rb +103 -0
  98. data/vendor/bundle/gems/rake-10.1.0/lib/rake/loaders/makefile.rb +40 -0
  99. data/vendor/bundle/gems/rake-10.1.0/lib/rake/multi_task.rb +13 -0
  100. data/vendor/bundle/gems/rake-10.1.0/lib/rake/name_space.rb +25 -0
  101. data/vendor/bundle/gems/rake-10.1.0/lib/rake/packagetask.rb +190 -0
  102. data/vendor/bundle/gems/rake-10.1.0/lib/rake/pathmap.rb +1 -0
  103. data/vendor/bundle/gems/rake-10.1.0/lib/rake/phony.rb +15 -0
  104. data/vendor/bundle/gems/rake-10.1.0/lib/rake/private_reader.rb +20 -0
  105. data/vendor/bundle/gems/rake-10.1.0/lib/rake/promise.rb +99 -0
  106. data/vendor/bundle/gems/rake-10.1.0/lib/rake/pseudo_status.rb +29 -0
  107. data/vendor/bundle/gems/rake-10.1.0/lib/rake/rake_module.rb +37 -0
  108. data/vendor/bundle/gems/rake-10.1.0/lib/rake/rake_test_loader.rb +22 -0
  109. data/vendor/bundle/gems/rake-10.1.0/lib/rake/rdoctask.rb +2 -0
  110. data/vendor/bundle/gems/rake-10.1.0/lib/rake/ruby182_test_unit_fix.rb +27 -0
  111. data/vendor/bundle/gems/rake-10.1.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
  112. data/vendor/bundle/gems/rake-10.1.0/lib/rake/runtest.rb +22 -0
  113. data/vendor/bundle/gems/rake-10.1.0/lib/rake/scope.rb +42 -0
  114. data/vendor/bundle/gems/rake-10.1.0/lib/rake/task.rb +378 -0
  115. data/vendor/bundle/gems/rake-10.1.0/lib/rake/task_argument_error.rb +7 -0
  116. data/vendor/bundle/gems/rake-10.1.0/lib/rake/task_arguments.rb +89 -0
  117. data/vendor/bundle/gems/rake-10.1.0/lib/rake/task_manager.rb +297 -0
  118. data/vendor/bundle/gems/rake-10.1.0/lib/rake/tasklib.rb +22 -0
  119. data/vendor/bundle/gems/rake-10.1.0/lib/rake/testtask.rb +201 -0
  120. data/vendor/bundle/gems/rake-10.1.0/lib/rake/thread_history_display.rb +48 -0
  121. data/vendor/bundle/gems/rake-10.1.0/lib/rake/thread_pool.rb +161 -0
  122. data/vendor/bundle/gems/rake-10.1.0/lib/rake/trace_output.rb +22 -0
  123. data/vendor/bundle/gems/rake-10.1.0/lib/rake/version.rb +9 -0
  124. data/vendor/bundle/gems/rake-10.1.0/lib/rake/win32.rb +56 -0
  125. data/vendor/bundle/gems/rake-10.1.0/test/file_creation.rb +34 -0
  126. data/vendor/bundle/gems/rake-10.1.0/test/helper.rb +128 -0
  127. data/vendor/bundle/gems/rake-10.1.0/test/support/rakefile_definitions.rb +444 -0
  128. data/vendor/bundle/gems/rake-10.1.0/test/support/ruby_runner.rb +33 -0
  129. data/vendor/bundle/gems/rake-10.1.0/test/test_private_reader.rb +42 -0
  130. data/vendor/bundle/gems/rake-10.1.0/test/test_rake.rb +40 -0
  131. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_application.rb +517 -0
  132. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_application_options.rb +457 -0
  133. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_backtrace.rb +113 -0
  134. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_clean.rb +46 -0
  135. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_definitions.rb +79 -0
  136. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_directory_task.rb +57 -0
  137. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_dsl.rb +40 -0
  138. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_early_time.rb +31 -0
  139. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_extension.rb +59 -0
  140. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_file_creation_task.rb +56 -0
  141. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_file_list.rb +627 -0
  142. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_file_list_path_map.rb +8 -0
  143. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_file_task.rb +122 -0
  144. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_file_utils.rb +309 -0
  145. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_ftp_file.rb +74 -0
  146. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_functional.rb +466 -0
  147. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_invocation_chain.rb +64 -0
  148. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_linked_list.rb +84 -0
  149. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_makefile_loader.rb +46 -0
  150. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_multi_task.rb +58 -0
  151. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_name_space.rb +43 -0
  152. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_package_task.rb +79 -0
  153. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_path_map.rb +168 -0
  154. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_path_map_explode.rb +34 -0
  155. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_path_map_partial.rb +18 -0
  156. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_pseudo_status.rb +21 -0
  157. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_rake_test_loader.rb +20 -0
  158. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_reduce_compat.rb +26 -0
  159. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_require.rb +40 -0
  160. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_rules.rb +362 -0
  161. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_scope.rb +44 -0
  162. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_task.rb +376 -0
  163. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_task_argument_parsing.rb +103 -0
  164. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_task_arguments.rb +121 -0
  165. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_task_lib.rb +9 -0
  166. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_task_manager.rb +158 -0
  167. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_task_manager_argument_resolution.rb +19 -0
  168. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_task_with_arguments.rb +171 -0
  169. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_test_task.rb +119 -0
  170. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_thread_pool.rb +142 -0
  171. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_top_level_functions.rb +71 -0
  172. data/vendor/bundle/gems/rake-10.1.0/test/test_rake_win32.rb +72 -0
  173. data/vendor/bundle/gems/rake-10.1.0/test/test_thread_history_display.rb +101 -0
  174. data/vendor/bundle/gems/rake-10.1.0/test/test_trace_output.rb +52 -0
  175. data/vendor/bundle/gems/rspec-2.14.1/License.txt +24 -0
  176. data/vendor/bundle/gems/rspec-2.14.1/README.md +47 -0
  177. data/vendor/bundle/gems/rspec-2.14.1/lib/rspec.rb +3 -0
  178. data/vendor/bundle/gems/rspec-2.14.1/lib/rspec/version.rb +5 -0
  179. data/vendor/bundle/gems/rspec-core-2.14.5/.document +5 -0
  180. data/vendor/bundle/gems/rspec-core-2.14.5/.yardopts +6 -0
  181. data/vendor/bundle/gems/rspec-core-2.14.5/Changelog.md +881 -0
  182. data/vendor/bundle/gems/rspec-core-2.14.5/License.txt +24 -0
  183. data/vendor/bundle/gems/rspec-core-2.14.5/README.md +261 -0
  184. data/vendor/bundle/gems/rspec-core-2.14.5/exe/autospec +13 -0
  185. data/vendor/bundle/gems/rspec-core-2.14.5/exe/rspec +25 -0
  186. data/vendor/bundle/gems/rspec-core-2.14.5/features/Autotest.md +38 -0
  187. data/vendor/bundle/gems/rspec-core-2.14.5/features/README.md +17 -0
  188. data/vendor/bundle/gems/rspec-core-2.14.5/features/Upgrade.md +364 -0
  189. data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/README.md +28 -0
  190. data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/example_name_option.feature +97 -0
  191. data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/exit_status.feature +82 -0
  192. data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/format_option.feature +75 -0
  193. data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/init.feature +18 -0
  194. data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/line_number_appended_to_path.feature +140 -0
  195. data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/line_number_option.feature +58 -0
  196. data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/order.feature +29 -0
  197. data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/pattern_option.feature +49 -0
  198. data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/rake_task.feature +122 -0
  199. data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/require_option.feature +43 -0
  200. data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/ruby.feature +22 -0
  201. data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/tag.feature +98 -0
  202. data/vendor/bundle/gems/rspec-core-2.14.5/features/command_line/warnings_option.feature +29 -0
  203. data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/alias_example_to.feature +48 -0
  204. data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/backtrace_clean_patterns.feature +102 -0
  205. data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/custom_settings.feature +84 -0
  206. data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/default_path.feature +38 -0
  207. data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/deprecation_stream.feature +58 -0
  208. data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/fail_fast.feature +77 -0
  209. data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/failure_exit_code.feature +36 -0
  210. data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/order_and_seed.feature +3 -0
  211. data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/output_stream.feature +24 -0
  212. data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/pattern.feature +38 -0
  213. data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/profile.feature +220 -0
  214. data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/read_options_from_file.feature +90 -0
  215. data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/run_all_when_everything_filtered.feature +76 -0
  216. data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/show_failures_in_pending_blocks.feature +61 -0
  217. data/vendor/bundle/gems/rspec-core-2.14.5/features/configuration/treat_symbols_as_metadata_keys_with_true_values.feature +52 -0
  218. data/vendor/bundle/gems/rspec-core-2.14.5/features/example_groups/basic_structure.feature +55 -0
  219. data/vendor/bundle/gems/rspec-core-2.14.5/features/example_groups/shared_context.feature +74 -0
  220. data/vendor/bundle/gems/rspec-core-2.14.5/features/example_groups/shared_examples.feature +294 -0
  221. data/vendor/bundle/gems/rspec-core-2.14.5/features/expectation_framework_integration/configure_expectation_framework.feature +102 -0
  222. data/vendor/bundle/gems/rspec-core-2.14.5/features/filtering/exclusion_filters.feature +138 -0
  223. data/vendor/bundle/gems/rspec-core-2.14.5/features/filtering/if_and_unless.feature +168 -0
  224. data/vendor/bundle/gems/rspec-core-2.14.5/features/filtering/inclusion_filters.feature +105 -0
  225. data/vendor/bundle/gems/rspec-core-2.14.5/features/formatters/configurable_colors.feature +31 -0
  226. data/vendor/bundle/gems/rspec-core-2.14.5/features/formatters/custom_formatter.feature +36 -0
  227. data/vendor/bundle/gems/rspec-core-2.14.5/features/formatters/json_formatter.feature +30 -0
  228. data/vendor/bundle/gems/rspec-core-2.14.5/features/formatters/text_formatter.feature +46 -0
  229. data/vendor/bundle/gems/rspec-core-2.14.5/features/helper_methods/arbitrary_methods.feature +40 -0
  230. data/vendor/bundle/gems/rspec-core-2.14.5/features/helper_methods/let.feature +50 -0
  231. data/vendor/bundle/gems/rspec-core-2.14.5/features/helper_methods/modules.feature +149 -0
  232. data/vendor/bundle/gems/rspec-core-2.14.5/features/hooks/around_hooks.feature +343 -0
  233. data/vendor/bundle/gems/rspec-core-2.14.5/features/hooks/before_and_after_hooks.feature +427 -0
  234. data/vendor/bundle/gems/rspec-core-2.14.5/features/hooks/filtering.feature +234 -0
  235. data/vendor/bundle/gems/rspec-core-2.14.5/features/metadata/current_example.feature +17 -0
  236. data/vendor/bundle/gems/rspec-core-2.14.5/features/metadata/described_class.feature +17 -0
  237. data/vendor/bundle/gems/rspec-core-2.14.5/features/metadata/user_defined.feature +113 -0
  238. data/vendor/bundle/gems/rspec-core-2.14.5/features/mock_framework_integration/use_any_framework.feature +106 -0
  239. data/vendor/bundle/gems/rspec-core-2.14.5/features/mock_framework_integration/use_flexmock.feature +96 -0
  240. data/vendor/bundle/gems/rspec-core-2.14.5/features/mock_framework_integration/use_mocha.feature +97 -0
  241. data/vendor/bundle/gems/rspec-core-2.14.5/features/mock_framework_integration/use_rr.feature +98 -0
  242. data/vendor/bundle/gems/rspec-core-2.14.5/features/mock_framework_integration/use_rspec.feature +97 -0
  243. data/vendor/bundle/gems/rspec-core-2.14.5/features/pending/pending_examples.feature +229 -0
  244. data/vendor/bundle/gems/rspec-core-2.14.5/features/spec_files/arbitrary_file_suffix.feature +13 -0
  245. data/vendor/bundle/gems/rspec-core-2.14.5/features/step_definitions/additional_cli_steps.rb +49 -0
  246. data/vendor/bundle/gems/rspec-core-2.14.5/features/subject/attribute_of_subject.feature +124 -0
  247. data/vendor/bundle/gems/rspec-core-2.14.5/features/subject/explicit_subject.feature +101 -0
  248. data/vendor/bundle/gems/rspec-core-2.14.5/features/subject/implicit_receiver.feature +29 -0
  249. data/vendor/bundle/gems/rspec-core-2.14.5/features/subject/implicit_subject.feature +63 -0
  250. data/vendor/bundle/gems/rspec-core-2.14.5/features/support/env.rb +14 -0
  251. data/vendor/bundle/gems/rspec-core-2.14.5/features/support/rubinius.rb +6 -0
  252. data/vendor/bundle/gems/rspec-core-2.14.5/lib/autotest/discover.rb +1 -0
  253. data/vendor/bundle/gems/rspec-core-2.14.5/lib/autotest/rspec2.rb +73 -0
  254. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/autorun.rb +2 -0
  255. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core.rb +169 -0
  256. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/backtrace_cleaner.rb +46 -0
  257. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/backward_compatibility.rb +55 -0
  258. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/command_line.rb +36 -0
  259. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/configuration.rb +1174 -0
  260. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/configuration_options.rb +156 -0
  261. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/deprecation.rb +31 -0
  262. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/drb_command_line.rb +26 -0
  263. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/drb_options.rb +87 -0
  264. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/dsl.rb +26 -0
  265. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/example.rb +331 -0
  266. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/example_group.rb +479 -0
  267. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/extensions/instance_eval_with_args.rb +44 -0
  268. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/extensions/kernel.rb +9 -0
  269. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/extensions/module_eval_with_args.rb +38 -0
  270. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/extensions/ordered.rb +27 -0
  271. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/filter_manager.rb +203 -0
  272. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters.rb +55 -0
  273. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/base_formatter.rb +246 -0
  274. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/base_text_formatter.rb +329 -0
  275. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/deprecation_formatter.rb +39 -0
  276. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/documentation_formatter.rb +67 -0
  277. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/helpers.rb +110 -0
  278. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/html_formatter.rb +155 -0
  279. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/html_printer.rb +408 -0
  280. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/json_formatter.rb +70 -0
  281. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/progress_formatter.rb +32 -0
  282. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/snippet_extractor.rb +92 -0
  283. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/formatters/text_mate_formatter.rb +34 -0
  284. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/hooks.rb +519 -0
  285. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/memoized_helpers.rb +514 -0
  286. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/metadata.rb +299 -0
  287. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/metadata_hash_builder.rb +97 -0
  288. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/mocking/with_absolutely_nothing.rb +11 -0
  289. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/mocking/with_flexmock.rb +27 -0
  290. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/mocking/with_mocha.rb +52 -0
  291. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/mocking/with_rr.rb +27 -0
  292. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/mocking/with_rspec.rb +27 -0
  293. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/option_parser.rb +219 -0
  294. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/pending.rb +109 -0
  295. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/project_initializer.rb +86 -0
  296. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/rake_task.rb +206 -0
  297. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/reporter.rb +132 -0
  298. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/ruby_project.rb +44 -0
  299. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/runner.rb +87 -0
  300. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/shared_context.rb +55 -0
  301. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/shared_example_group.rb +185 -0
  302. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/shared_example_group/collection.rb +43 -0
  303. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/version.rb +8 -0
  304. data/vendor/bundle/gems/rspec-core-2.14.5/lib/rspec/core/world.rb +127 -0
  305. data/vendor/bundle/gems/rspec-core-2.14.5/spec/autotest/discover_spec.rb +19 -0
  306. data/vendor/bundle/gems/rspec-core-2.14.5/spec/autotest/failed_results_re_spec.rb +45 -0
  307. data/vendor/bundle/gems/rspec-core-2.14.5/spec/autotest/rspec_spec.rb +133 -0
  308. data/vendor/bundle/gems/rspec-core-2.14.5/spec/command_line/order_spec.rb +204 -0
  309. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/backtrace_cleaner_spec.rb +68 -0
  310. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/command_line_spec.rb +108 -0
  311. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/command_line_spec_output.txt +0 -0
  312. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/configuration_options_spec.rb +417 -0
  313. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/configuration_spec.rb +1561 -0
  314. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/deprecation_spec.rb +46 -0
  315. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/deprecations_spec.rb +73 -0
  316. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/drb_command_line_spec.rb +102 -0
  317. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/drb_options_spec.rb +193 -0
  318. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/dsl_spec.rb +25 -0
  319. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/example_group_spec.rb +1187 -0
  320. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/example_spec.rb +439 -0
  321. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/filter_manager_spec.rb +246 -0
  322. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/base_formatter_spec.rb +108 -0
  323. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/base_text_formatter_spec.rb +494 -0
  324. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/deprecation_formatter_spec.rb +96 -0
  325. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/documentation_formatter_spec.rb +88 -0
  326. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/helpers_spec.rb +94 -0
  327. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +404 -0
  328. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-1.8.7-rbx.html +477 -0
  329. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-1.8.7.html +414 -0
  330. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-1.9.2.html +425 -0
  331. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-1.9.3-jruby.html +404 -0
  332. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-1.9.3-rbx.html +477 -0
  333. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-1.9.3.html +425 -0
  334. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatted-2.0.0.html +425 -0
  335. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/html_formatter_spec.rb +95 -0
  336. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/json_formatter_spec.rb +115 -0
  337. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/progress_formatter_spec.rb +30 -0
  338. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/snippet_extractor_spec.rb +26 -0
  339. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +395 -0
  340. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-1.8.7-rbx.html +477 -0
  341. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +414 -0
  342. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +425 -0
  343. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-1.9.3-jruby.html +404 -0
  344. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-1.9.3-rbx.html +477 -0
  345. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-1.9.3.html +425 -0
  346. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatted-2.0.0.html +425 -0
  347. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/formatters/text_mate_formatter_spec.rb +96 -0
  348. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/hooks_filtering_spec.rb +227 -0
  349. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/hooks_spec.rb +267 -0
  350. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/kernel_extensions_spec.rb +9 -0
  351. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/memoized_helpers_spec.rb +688 -0
  352. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/metadata_spec.rb +491 -0
  353. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/option_parser_spec.rb +242 -0
  354. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/pending_example_spec.rb +220 -0
  355. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/project_initializer_spec.rb +130 -0
  356. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/rake_task_spec.rb +181 -0
  357. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/reporter_spec.rb +141 -0
  358. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/resources/a_bar.rb +0 -0
  359. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/resources/a_foo.rb +0 -0
  360. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/resources/a_spec.rb +1 -0
  361. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/resources/custom_example_group_runner.rb +14 -0
  362. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/resources/formatter_specs.rb +60 -0
  363. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/resources/utf8_encoded.rb +8 -0
  364. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/rspec_matchers_spec.rb +45 -0
  365. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/ruby_project_spec.rb +26 -0
  366. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/runner_spec.rb +82 -0
  367. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/shared_context_spec.rb +114 -0
  368. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/shared_example_group/collection_spec.rb +70 -0
  369. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/shared_example_group_spec.rb +120 -0
  370. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core/world_spec.rb +142 -0
  371. data/vendor/bundle/gems/rspec-core-2.14.5/spec/rspec/core_spec.rb +74 -0
  372. data/vendor/bundle/gems/rspec-core-2.14.5/spec/spec_helper.rb +132 -0
  373. data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/config_options_helper.rb +15 -0
  374. data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/helper_methods.rb +36 -0
  375. data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/isolate_load_path_mutation.rb +6 -0
  376. data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/isolated_directory.rb +10 -0
  377. data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/isolated_home_directory.rb +16 -0
  378. data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/matchers.rb +65 -0
  379. data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/sandboxed_mock_space.rb +100 -0
  380. data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/shared_example_groups.rb +41 -0
  381. data/vendor/bundle/gems/rspec-core-2.14.5/spec/support/spec_files.rb +44 -0
  382. data/vendor/bundle/gems/rspec-expectations-2.14.2/.document +5 -0
  383. data/vendor/bundle/gems/rspec-expectations-2.14.2/.yardopts +6 -0
  384. data/vendor/bundle/gems/rspec-expectations-2.14.2/Changelog.md +399 -0
  385. data/vendor/bundle/gems/rspec-expectations-2.14.2/License.txt +23 -0
  386. data/vendor/bundle/gems/rspec-expectations-2.14.2/README.md +184 -0
  387. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/README.md +48 -0
  388. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/Upgrade.md +53 -0
  389. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/README.md +90 -0
  390. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/be.feature +175 -0
  391. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/be_within.feature +48 -0
  392. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/cover.feature +47 -0
  393. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/end_with.feature +48 -0
  394. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/equality.feature +139 -0
  395. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/exist.feature +45 -0
  396. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/expect_change.feature +59 -0
  397. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/expect_error.feature +144 -0
  398. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/have.feature +109 -0
  399. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/include.feature +174 -0
  400. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/match.feature +52 -0
  401. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/operators.feature +227 -0
  402. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/predicates.feature +137 -0
  403. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/respond_to.feature +84 -0
  404. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/satisfy.feature +33 -0
  405. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/start_with.feature +48 -0
  406. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/throw_symbol.feature +91 -0
  407. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/types.feature +116 -0
  408. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/built_in_matchers/yield.feature +161 -0
  409. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/custom_matchers/access_running_example.feature +53 -0
  410. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/custom_matchers/define_diffable_matcher.feature +27 -0
  411. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/custom_matchers/define_matcher.feature +368 -0
  412. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/custom_matchers/define_matcher_outside_rspec.feature +38 -0
  413. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/custom_matchers/define_matcher_with_fluent_interface.feature +24 -0
  414. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/customized_message.feature +22 -0
  415. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/diffing.feature +85 -0
  416. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/implicit_docstrings.feature +52 -0
  417. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/step_definitions/additional_cli_steps.rb +22 -0
  418. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/support/env.rb +14 -0
  419. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/support/rubinius.rb +6 -0
  420. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/syntax_configuration.feature +71 -0
  421. data/vendor/bundle/gems/rspec-expectations-2.14.2/features/test_frameworks/test_unit.feature +44 -0
  422. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec-expectations.rb +1 -0
  423. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations.rb +47 -0
  424. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/deprecation.rb +17 -0
  425. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/differ.rb +140 -0
  426. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/errors.rb +9 -0
  427. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/expectation_target.rb +87 -0
  428. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/extensions.rb +2 -0
  429. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/extensions/array.rb +9 -0
  430. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/extensions/object.rb +29 -0
  431. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/fail_with.rb +79 -0
  432. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/handler.rb +68 -0
  433. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/syntax.rb +164 -0
  434. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/expectations/version.rb +9 -0
  435. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers.rb +697 -0
  436. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/be_close.rb +9 -0
  437. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in.rb +39 -0
  438. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/base_matcher.rb +68 -0
  439. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/be.rb +197 -0
  440. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/be_instance_of.rb +15 -0
  441. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/be_kind_of.rb +11 -0
  442. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/be_within.rb +55 -0
  443. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/change.rb +141 -0
  444. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/cover.rb +21 -0
  445. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/eq.rb +22 -0
  446. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/eql.rb +23 -0
  447. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/equal.rb +48 -0
  448. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/exist.rb +26 -0
  449. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/has.rb +48 -0
  450. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/have.rb +124 -0
  451. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/include.rb +61 -0
  452. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/match.rb +12 -0
  453. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/match_array.rb +51 -0
  454. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/raise_error.rb +123 -0
  455. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/respond_to.rb +74 -0
  456. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/satisfy.rb +30 -0
  457. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/start_and_end_with.rb +48 -0
  458. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/throw_symbol.rb +94 -0
  459. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/built_in/yield.rb +296 -0
  460. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/compatibility.rb +14 -0
  461. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/configuration.rb +108 -0
  462. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/dsl.rb +24 -0
  463. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/extensions/instance_eval_with_args.rb +39 -0
  464. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/generated_descriptions.rb +35 -0
  465. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/matcher.rb +300 -0
  466. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/method_missing.rb +12 -0
  467. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/operator_matcher.rb +109 -0
  468. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/pretty.rb +70 -0
  469. data/vendor/bundle/gems/rspec-expectations-2.14.2/lib/rspec/matchers/test_unit_integration.rb +11 -0
  470. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/expectations/differ_spec.rb +203 -0
  471. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/expectations/expectation_target_spec.rb +82 -0
  472. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/expectations/extensions/kernel_spec.rb +67 -0
  473. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/expectations/fail_with_spec.rb +114 -0
  474. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/expectations/handler_spec.rb +227 -0
  475. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/expectations/syntax_spec.rb +139 -0
  476. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/base_matcher_spec.rb +62 -0
  477. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/be_close_spec.rb +22 -0
  478. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/be_instance_of_spec.rb +63 -0
  479. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/be_kind_of_spec.rb +41 -0
  480. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/be_spec.rb +522 -0
  481. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/be_within_spec.rb +137 -0
  482. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/change_spec.rb +567 -0
  483. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/configuration_spec.rb +206 -0
  484. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/cover_spec.rb +69 -0
  485. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/description_generation_spec.rb +190 -0
  486. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/dsl_spec.rb +57 -0
  487. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/eq_spec.rb +60 -0
  488. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/eql_spec.rb +41 -0
  489. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/equal_spec.rb +78 -0
  490. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/exist_spec.rb +124 -0
  491. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/has_spec.rb +122 -0
  492. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/have_spec.rb +455 -0
  493. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/include_matcher_integration_spec.rb +30 -0
  494. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/include_spec.rb +531 -0
  495. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/match_array_spec.rb +194 -0
  496. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/match_spec.rb +61 -0
  497. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/matcher_spec.rb +471 -0
  498. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/matchers_spec.rb +37 -0
  499. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/method_missing_spec.rb +28 -0
  500. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/operator_matcher_spec.rb +223 -0
  501. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/raise_error_spec.rb +485 -0
  502. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/respond_to_spec.rb +292 -0
  503. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/satisfy_spec.rb +44 -0
  504. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/start_with_end_with_spec.rb +186 -0
  505. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/throw_symbol_spec.rb +116 -0
  506. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/rspec/matchers/yield_spec.rb +514 -0
  507. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/spec_helper.rb +54 -0
  508. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/support/classes.rb +56 -0
  509. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/support/in_sub_process.rb +38 -0
  510. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/support/matchers.rb +22 -0
  511. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/support/ruby_version.rb +10 -0
  512. data/vendor/bundle/gems/rspec-expectations-2.14.2/spec/support/shared_examples.rb +13 -0
  513. data/vendor/bundle/gems/rspec-mocks-2.14.3/.document +5 -0
  514. data/vendor/bundle/gems/rspec-mocks-2.14.3/.yardopts +6 -0
  515. data/vendor/bundle/gems/rspec-mocks-2.14.3/Changelog.md +410 -0
  516. data/vendor/bundle/gems/rspec-mocks-2.14.3/License.txt +23 -0
  517. data/vendor/bundle/gems/rspec-mocks-2.14.3/README.md +315 -0
  518. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/README.md +67 -0
  519. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/Scope.md +17 -0
  520. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/Upgrade.md +22 -0
  521. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/argument_matchers/README.md +27 -0
  522. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/argument_matchers/explicit.feature +59 -0
  523. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/argument_matchers/general_matchers.feature +85 -0
  524. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/argument_matchers/type_matchers.feature +26 -0
  525. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/README.md +73 -0
  526. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/allow_any_instance_of.feature +26 -0
  527. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/any_instance.feature +21 -0
  528. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/block_local_expectations.feature.pending +55 -0
  529. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/call_original.feature +24 -0
  530. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/expect_any_instance_of.feature +27 -0
  531. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/expect_message_using_expect.feature +107 -0
  532. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/expect_message_using_should_receive.feature +118 -0
  533. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/receive_counts.feature +209 -0
  534. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/message_expectations/warn_when_expectation_is_set_on_nil.feature +50 -0
  535. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/README.md +73 -0
  536. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/any_instance.feature +136 -0
  537. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/as_null_object.feature +40 -0
  538. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/simple_return_value_with_allow.feature +44 -0
  539. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/simple_return_value_with_stub.feature +64 -0
  540. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/stub_chain.feature +51 -0
  541. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/stub_implementation.feature +48 -0
  542. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/method_stubs/to_ary.feature +51 -0
  543. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/mutating_constants/README.md +82 -0
  544. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/mutating_constants/hiding_defined_constant.feature +64 -0
  545. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/mutating_constants/stub_defined_constant.feature +79 -0
  546. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/mutating_constants/stub_undefined_constant.feature +50 -0
  547. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/outside_rspec/configuration.feature +62 -0
  548. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/outside_rspec/standalone.feature +33 -0
  549. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/spies/spy_partial_mock_method.feature +34 -0
  550. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/spies/spy_pure_mock_method.feature +76 -0
  551. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/spies/spy_unstubbed_method.feature +18 -0
  552. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/step_definitions/additional_cli_steps.rb +11 -0
  553. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/support/env.rb +13 -0
  554. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/support/rubinius.rb +6 -0
  555. data/vendor/bundle/gems/rspec-mocks-2.14.3/features/test_frameworks/test_unit.feature +43 -0
  556. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks.rb +92 -0
  557. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/any_instance/chain.rb +93 -0
  558. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/any_instance/expectation_chain.rb +42 -0
  559. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/any_instance/message_chains.rb +60 -0
  560. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/any_instance/recorder.rb +206 -0
  561. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/any_instance/stub_chain.rb +38 -0
  562. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
  563. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/argument_list_matcher.rb +97 -0
  564. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/argument_matchers.rb +238 -0
  565. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/configuration.rb +55 -0
  566. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/deprecation.rb +18 -0
  567. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/error_generator.rb +179 -0
  568. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/errors.rb +12 -0
  569. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/example_methods.rb +156 -0
  570. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/extensions/instance_exec.rb +34 -0
  571. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/extensions/marshal.rb +17 -0
  572. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/framework.rb +34 -0
  573. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/instance_method_stasher.rb +94 -0
  574. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/matchers/have_received.rb +93 -0
  575. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/matchers/receive.rb +96 -0
  576. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/message_expectation.rb +583 -0
  577. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/method_double.rb +265 -0
  578. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/mock.rb +7 -0
  579. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/mutate_const.rb +403 -0
  580. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/order_group.rb +40 -0
  581. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/proxy.rb +216 -0
  582. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/proxy_for_nil.rb +37 -0
  583. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/space.rb +87 -0
  584. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/standalone.rb +3 -0
  585. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/stub_chain.rb +51 -0
  586. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/syntax.rb +349 -0
  587. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/targets.rb +69 -0
  588. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/test_double.rb +135 -0
  589. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/rspec/mocks/version.rb +7 -0
  590. data/vendor/bundle/gems/rspec-mocks-2.14.3/lib/spec/mocks.rb +4 -0
  591. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/and_call_original_spec.rb +243 -0
  592. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/and_yield_spec.rb +127 -0
  593. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/any_instance/message_chains_spec.rb +40 -0
  594. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/any_instance_spec.rb +963 -0
  595. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/any_number_of_times_spec.rb +36 -0
  596. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/argument_expectation_spec.rb +32 -0
  597. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/at_least_spec.rb +151 -0
  598. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/at_most_spec.rb +90 -0
  599. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/block_return_value_spec.rb +88 -0
  600. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_10260_spec.rb +8 -0
  601. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_10263_spec.rb +27 -0
  602. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_11545_spec.rb +32 -0
  603. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_496_spec.rb +17 -0
  604. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_600_spec.rb +22 -0
  605. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_7611_spec.rb +16 -0
  606. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_8165_spec.rb +31 -0
  607. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_830_spec.rb +21 -0
  608. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/bug_report_957_spec.rb +22 -0
  609. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/combining_implementation_instructions_spec.rb +205 -0
  610. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/configuration_spec.rb +150 -0
  611. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/double_spec.rb +24 -0
  612. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/extensions/marshal_spec.rb +54 -0
  613. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/failing_argument_matchers_spec.rb +110 -0
  614. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/hash_excluding_matcher_spec.rb +67 -0
  615. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/hash_including_matcher_spec.rb +90 -0
  616. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/instance_method_stasher_spec.rb +58 -0
  617. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/matchers/have_received_spec.rb +266 -0
  618. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/matchers/receive_spec.rb +328 -0
  619. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/methods_spec.rb +27 -0
  620. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/mock_ordering_spec.rb +103 -0
  621. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/mock_space_spec.rb +113 -0
  622. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/mock_spec.rb +798 -0
  623. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/multiple_return_value_spec.rb +132 -0
  624. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/mutate_const_spec.rb +501 -0
  625. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/nil_expectation_warning_spec.rb +68 -0
  626. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/null_object_mock_spec.rb +123 -0
  627. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/once_counts_spec.rb +52 -0
  628. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/options_hash_spec.rb +35 -0
  629. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/partial_mock_spec.rb +205 -0
  630. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/partial_mock_using_mocks_directly_spec.rb +95 -0
  631. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/passing_argument_matchers_spec.rb +142 -0
  632. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/precise_counts_spec.rb +68 -0
  633. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/record_messages_spec.rb +26 -0
  634. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/serialization_spec.rb +89 -0
  635. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/stash_spec.rb +46 -0
  636. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/stub_chain_spec.rb +154 -0
  637. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/stub_implementation_spec.rb +81 -0
  638. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/stub_spec.rb +353 -0
  639. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/stubbed_message_expectations_spec.rb +58 -0
  640. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/syntax_agnostic_message_matchers_spec.rb +81 -0
  641. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/test_double_spec.rb +67 -0
  642. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/to_ary_spec.rb +54 -0
  643. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks/twice_counts_spec.rb +66 -0
  644. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/rspec/mocks_spec.rb +65 -0
  645. data/vendor/bundle/gems/rspec-mocks-2.14.3/spec/spec_helper.rb +60 -0
  646. data/vendor/bundle/specifications/diff-lcs-1.2.4.gemspec +64 -0
  647. data/vendor/bundle/specifications/rake-10.1.0.gemspec +35 -0
  648. data/vendor/bundle/specifications/rspec-2.14.1.gemspec +39 -0
  649. data/vendor/bundle/specifications/rspec-core-2.14.5.gemspec +58 -0
  650. data/vendor/bundle/specifications/rspec-expectations-2.14.2.gemspec +40 -0
  651. data/vendor/bundle/specifications/rspec-mocks-2.14.3.gemspec +37 -0
  652. metadata +657 -11
@@ -0,0 +1,491 @@
1
+ require 'spec_helper'
2
+
3
+ module RSpec
4
+ module Core
5
+ describe Metadata do
6
+
7
+ describe '.relative_path' do
8
+ let(:here) { File.expand_path(".") }
9
+ it "transforms absolute paths to relative paths" do
10
+ expect(Metadata.relative_path(here)).to eq "."
11
+ end
12
+ it "transforms absolute paths to relative paths anywhere in its argument" do
13
+ expect(Metadata.relative_path("foo #{here} bar")).to eq "foo . bar"
14
+ end
15
+ it "returns nil if passed an unparseable file:line combo" do
16
+ expect(Metadata.relative_path("-e:1")).to be_nil
17
+ end
18
+ # I have no idea what line = line.sub(/\A([^:]+:\d+)$/, '\\1') is supposed to do
19
+ it "gracefully returns nil if run in a secure thread" do
20
+ safely do
21
+ value = Metadata.relative_path(".")
22
+ # on some rubies, File.expand_path is not a security error, so accept "." as well
23
+ expect([nil, "."]).to include(value)
24
+ end
25
+ end
26
+
27
+ end
28
+
29
+ describe "#process" do
30
+ Metadata::RESERVED_KEYS.each do |key|
31
+ it "prohibits :#{key} as a hash key" do
32
+ m = Metadata.new
33
+ expect do
34
+ m.process('group', key => {})
35
+ end.to raise_error(/:#{key} is not allowed/)
36
+ end
37
+ end
38
+
39
+ it "uses :caller if passed as part of the user metadata" do
40
+ m = Metadata.new
41
+ m.process('group', :caller => ['example_file:42'])
42
+ expect(m[:example_group][:location]).to eq("example_file:42")
43
+ end
44
+ end
45
+
46
+ describe "#filter_applies?" do
47
+ let(:parent_group_metadata) { Metadata.new.process('parent group', :caller => ["foo_spec.rb:#{__LINE__}"]) }
48
+ let(:group_metadata) { Metadata.new(parent_group_metadata).process('group', :caller => ["foo_spec.rb:#{__LINE__}"]) }
49
+ let(:example_metadata) { group_metadata.for_example('example', :caller => ["foo_spec.rb:#{__LINE__}"], :if => true) }
50
+ let(:next_example_metadata) { group_metadata.for_example('next_example', :caller => ["foo_spec.rb:#{example_line_number + 2}"]) }
51
+ let(:world) { World.new }
52
+
53
+ before { RSpec.stub(:world) { world } }
54
+
55
+ shared_examples_for "matching by line number" do
56
+ let(:preceeding_declaration_lines) {{
57
+ parent_group_metadata[:example_group][:line_number] => parent_group_metadata[:example_group][:line_number],
58
+ group_metadata[:example_group][:line_number] => group_metadata[:example_group][:line_number],
59
+ example_metadata[:line_number] => example_metadata[:line_number],
60
+ (example_metadata[:line_number] + 1) => example_metadata[:line_number],
61
+ (example_metadata[:line_number] + 2) => example_metadata[:line_number] + 2,
62
+ }}
63
+ before do
64
+ world.should_receive(:preceding_declaration_line).at_least(:once).and_return do |v|
65
+ preceeding_declaration_lines[v]
66
+ end
67
+ end
68
+
69
+ it "matches the group when the line_number is the example group line number" do
70
+ # this call doesn't really make sense since filter_applies? is only called
71
+ # for example metadata not group metadata
72
+ expect(group_metadata.filter_applies?(condition_key, group_condition)).to be_true
73
+ end
74
+
75
+ it "matches the example when the line_number is the grandparent example group line number" do
76
+ expect(example_metadata.filter_applies?(condition_key, parent_group_condition)).to be_true
77
+ end
78
+
79
+ it "matches the example when the line_number is the parent example group line number" do
80
+ expect(example_metadata.filter_applies?(condition_key, group_condition)).to be_true
81
+ end
82
+
83
+ it "matches the example when the line_number is the example line number" do
84
+ expect(example_metadata.filter_applies?(condition_key, example_condition)).to be_true
85
+ end
86
+
87
+ it "matches when the line number is between this example and the next" do
88
+ expect(example_metadata.filter_applies?(condition_key, between_examples_condition)).to be_true
89
+ end
90
+
91
+ it "does not match when the line number matches the next example" do
92
+ expect(example_metadata.filter_applies?(condition_key, next_example_condition)).to be_false
93
+ end
94
+ end
95
+
96
+ context "with a single line number" do
97
+ let(:condition_key){ :line_numbers }
98
+ let(:parent_group_condition) { [parent_group_metadata[:example_group][:line_number]] }
99
+ let(:group_condition) { [group_metadata[:example_group][:line_number]] }
100
+ let(:example_condition) { [example_metadata[:line_number]] }
101
+ let(:between_examples_condition) { [group_metadata[:example_group][:line_number] + 1] }
102
+ let(:next_example_condition) { [example_metadata[:line_number] + 2] }
103
+
104
+ it_has_behavior "matching by line number"
105
+ end
106
+
107
+ context "with multiple line numbers" do
108
+ let(:condition_key){ :line_numbers }
109
+ let(:parent_group_condition) { [-1, parent_group_metadata[:example_group][:line_number]] }
110
+ let(:group_condition) { [-1, group_metadata[:example_group][:line_number]] }
111
+ let(:example_condition) { [-1, example_metadata[:line_number]] }
112
+ let(:between_examples_condition) { [-1, group_metadata[:example_group][:line_number] + 1] }
113
+ let(:next_example_condition) { [-1, example_metadata[:line_number] + 2] }
114
+
115
+ it_has_behavior "matching by line number"
116
+ end
117
+
118
+ context "with locations" do
119
+ let(:condition_key){ :locations }
120
+ let(:parent_group_condition) do
121
+ {File.expand_path(parent_group_metadata[:example_group][:file_path]) => [parent_group_metadata[:example_group][:line_number]]}
122
+ end
123
+ let(:group_condition) do
124
+ {File.expand_path(group_metadata[:example_group][:file_path]) => [group_metadata[:example_group][:line_number]]}
125
+ end
126
+ let(:example_condition) do
127
+ {File.expand_path(example_metadata[:file_path]) => [example_metadata[:line_number]]}
128
+ end
129
+ let(:between_examples_condition) do
130
+ {File.expand_path(group_metadata[:example_group][:file_path]) => [group_metadata[:example_group][:line_number] + 1]}
131
+ end
132
+ let(:next_example_condition) do
133
+ {File.expand_path(example_metadata[:file_path]) => [example_metadata[:line_number] + 2]}
134
+ end
135
+
136
+ it_has_behavior "matching by line number"
137
+
138
+ it "ignores location filters for other files" do
139
+ expect(example_metadata.filter_applies?(:locations, {"/path/to/other_spec.rb" => [3,5,7]})).to be_true
140
+ end
141
+ end
142
+
143
+ it "matches a proc with no arguments that evaluates to true" do
144
+ expect(example_metadata.filter_applies?(:if, lambda { true })).to be_true
145
+ end
146
+
147
+ it "matches a proc that evaluates to true" do
148
+ expect(example_metadata.filter_applies?(:if, lambda { |v| v })).to be_true
149
+ end
150
+
151
+ it "does not match a proc that evaluates to false" do
152
+ expect(example_metadata.filter_applies?(:if, lambda { |v| !v })).to be_false
153
+ end
154
+
155
+ it "matches a proc with an arity of 2" do
156
+ example_metadata[:foo] = nil
157
+ expect(example_metadata.filter_applies?(:foo, lambda { |v, m| m == example_metadata })).to be_true
158
+ end
159
+
160
+ it "raises an error when the proc has an incorrect arity" do
161
+ expect {
162
+ example_metadata.filter_applies?(:if, lambda { |a,b,c| true })
163
+ }.to raise_error(ArgumentError)
164
+ end
165
+
166
+ context "with an Array" do
167
+ let(:metadata_with_array) {
168
+ group_metadata.for_example('example_with_array', :tag => [:one, 2, 'three', /four/])
169
+ }
170
+
171
+ it "matches a symbol" do
172
+ expect(metadata_with_array.filter_applies?(:tag, 'one')).to be_true
173
+ expect(metadata_with_array.filter_applies?(:tag, :one)).to be_true
174
+ expect(metadata_with_array.filter_applies?(:tag, 'two')).to be_false
175
+ end
176
+
177
+ it "matches a string" do
178
+ expect(metadata_with_array.filter_applies?(:tag, 'three')).to be_true
179
+ expect(metadata_with_array.filter_applies?(:tag, :three)).to be_true
180
+ expect(metadata_with_array.filter_applies?(:tag, 'tree')).to be_false
181
+ end
182
+
183
+ it "matches an integer" do
184
+ expect(metadata_with_array.filter_applies?(:tag, '2')).to be_true
185
+ expect(metadata_with_array.filter_applies?(:tag, 2)).to be_true
186
+ expect(metadata_with_array.filter_applies?(:tag, 3)).to be_false
187
+ end
188
+
189
+ it "matches a regexp" do
190
+ expect(metadata_with_array.filter_applies?(:tag, 'four')).to be_true
191
+ expect(metadata_with_array.filter_applies?(:tag, 'fourtune')).to be_true
192
+ expect(metadata_with_array.filter_applies?(:tag, 'fortune')).to be_false
193
+ end
194
+
195
+ it "matches a proc that evaluates to true" do
196
+ expect(metadata_with_array.filter_applies?(:tag, lambda { |values| values.include? 'three' })).to be_true
197
+ end
198
+
199
+ it "does not match a proc that evaluates to false" do
200
+ expect(metadata_with_array.filter_applies?(:tag, lambda { |values| values.include? 'nothing' })).to be_false
201
+ end
202
+ end
203
+ end
204
+
205
+ describe "#for_example" do
206
+ let(:metadata) { Metadata.new.process("group description") }
207
+ let(:mfe) { metadata.for_example("example description", {:arbitrary => :options}) }
208
+ let(:line_number) { __LINE__ - 1 }
209
+
210
+ it "stores the description args" do
211
+ expect(mfe.fetch(:description_args)).to eq ["example description"]
212
+ expect(mfe[:description_args]).to eq ["example description"]
213
+ end
214
+
215
+ it "ignores nil description args" do
216
+ expect(metadata.for_example(nil, {}).fetch(:description_args)).to eq []
217
+ expect(metadata.for_example(nil, {})[:description_args]).to eq []
218
+ end
219
+
220
+ it "stores the full_description (group description + example description)" do
221
+ expect(mfe.fetch(:full_description)).to eq("group description example description")
222
+ expect(mfe[:full_description]).to eq("group description example description")
223
+ end
224
+
225
+ it "creates an empty execution result" do
226
+ expect(mfe.fetch(:execution_result)).to eq({})
227
+ expect(mfe[:execution_result]).to eq({})
228
+ end
229
+
230
+ it "extracts file path from caller" do
231
+ expect(mfe.fetch(:file_path)).to eq(relative_path(__FILE__))
232
+ expect(mfe[:file_path]).to eq(relative_path(__FILE__))
233
+ end
234
+
235
+ it "extracts line number from caller" do
236
+ expect(mfe.fetch(:line_number)).to eq(line_number)
237
+ expect(mfe[:line_number]).to eq(line_number)
238
+ end
239
+
240
+ it "extracts location from caller" do
241
+ expect(mfe.fetch(:location)).to eq("#{relative_path(__FILE__)}:#{line_number}")
242
+ expect(mfe[:location]).to eq("#{relative_path(__FILE__)}:#{line_number}")
243
+ end
244
+
245
+ it "uses :caller if passed as an option" do
246
+ example_metadata = metadata.for_example('example description', {:caller => ['example_file:42']})
247
+ expect(example_metadata[:location]).to eq("example_file:42")
248
+ end
249
+
250
+ it "merges arbitrary options" do
251
+ expect(mfe.fetch(:arbitrary)).to eq(:options)
252
+ expect(mfe[:arbitrary]).to eq(:options)
253
+ end
254
+
255
+ it "points :example_group to the same hash object" do
256
+ a = metadata.for_example("foo", {})[:example_group]
257
+ b = metadata.for_example("bar", {})[:example_group]
258
+ a[:description] = "new description"
259
+ expect(b[:description]).to eq("new description")
260
+ end
261
+ end
262
+
263
+ [:described_class, :describes].each do |key|
264
+ describe key do
265
+ context "with a String" do
266
+ it "returns nil" do
267
+ m = Metadata.new
268
+ m.process('group')
269
+
270
+ expect(m[:example_group][key]).to be_nil
271
+ end
272
+ end
273
+
274
+ context "with a Symbol" do
275
+ it "returns nil" do
276
+ m = Metadata.new
277
+ m.process(:group)
278
+
279
+ expect(m[:example_group][key]).to be_nil
280
+ end
281
+ end
282
+
283
+ context "with a class" do
284
+ it "returns the class" do
285
+ m = Metadata.new
286
+ m.process(String)
287
+
288
+ expect(m[:example_group][key]).to be(String)
289
+ end
290
+ end
291
+
292
+ context "in a nested group" do
293
+ it "returns the parent group's described class" do
294
+ sm = Metadata.new
295
+ sm.process(String)
296
+
297
+ m = Metadata.new(sm)
298
+ m.process(Array)
299
+
300
+ expect(m[:example_group][key]).to be(String)
301
+ end
302
+
303
+ it "returns own described class if parent doesn't have one" do
304
+ sm = Metadata.new
305
+ sm.process("foo")
306
+
307
+ m = Metadata.new(sm)
308
+ m.process(Array)
309
+
310
+ expect(m[:example_group][key]).to be(Array)
311
+ end
312
+
313
+ it "can override a parent group's described class" do
314
+ parent = Metadata.new
315
+ parent.process(String)
316
+
317
+ child = Metadata.new(parent)
318
+ child.process(Fixnum)
319
+ child[:example_group][key] = Hash
320
+
321
+ grandchild = Metadata.new(child)
322
+ grandchild.process(Array)
323
+
324
+ expect(grandchild[:example_group][key]).to be(Hash)
325
+ expect(child[:example_group][key]).to be(Hash)
326
+ expect(parent[:example_group][key]).to be(String)
327
+ end
328
+ end
329
+ end
330
+ end
331
+
332
+ describe ":description" do
333
+ it "just has the example description" do
334
+ m = Metadata.new
335
+ m.process("group")
336
+
337
+ m = m.for_example("example", {})
338
+ expect(m[:description]).to eq("example")
339
+ end
340
+
341
+ context "with a string" do
342
+ it "provides the submitted description" do
343
+ m = Metadata.new
344
+ m.process("group")
345
+
346
+ expect(m[:example_group][:description]).to eq("group")
347
+ end
348
+ end
349
+
350
+ context "with a non-string" do
351
+ it "provides the submitted description" do
352
+ m = Metadata.new
353
+ m.process("group")
354
+
355
+ expect(m[:example_group][:description]).to eq("group")
356
+ end
357
+ end
358
+
359
+ context "with a non-string and a string" do
360
+ it "concats the args" do
361
+ m = Metadata.new
362
+ m.process(Object, 'group')
363
+
364
+ expect(m[:example_group][:description]).to eq("Object group")
365
+ end
366
+ end
367
+
368
+ context "with empty args" do
369
+ it "returns empty string for [:example_group][:description]" do
370
+ m = Metadata.new
371
+ m.process()
372
+
373
+ expect(m[:example_group][:description]).to eq("")
374
+ end
375
+ end
376
+ end
377
+
378
+ describe ":full_description" do
379
+ it "concats example group name and description" do
380
+ group_metadata = Metadata.new
381
+ group_metadata.process('group')
382
+
383
+ example_metadata = group_metadata.for_example("example", {})
384
+ expect(example_metadata[:full_description]).to eq("group example")
385
+ end
386
+
387
+ it "concats nested example group descriptions" do
388
+ parent = Metadata.new
389
+ parent.process('parent')
390
+
391
+ child = Metadata.new(parent)
392
+ child.process('child')
393
+
394
+ expect(child[:example_group][:full_description]).to eq("parent child")
395
+ expect(child.for_example('example', child)[:full_description]).to eq("parent child example")
396
+ end
397
+
398
+ it "concats nested example group descriptions three deep" do
399
+ grandparent = Metadata.new
400
+ grandparent.process('grandparent')
401
+
402
+ parent = Metadata.new(grandparent)
403
+ parent.process('parent')
404
+
405
+ child = Metadata.new(parent)
406
+ child.process('child')
407
+
408
+ expect(grandparent[:example_group][:full_description]).to eq("grandparent")
409
+ expect(parent[:example_group][:full_description]).to eq("grandparent parent")
410
+ expect(child[:example_group][:full_description]).to eq("grandparent parent child")
411
+ expect(child.for_example('example', child)[:full_description]).to eq("grandparent parent child example")
412
+ end
413
+
414
+ %w[# . ::].each do |char|
415
+ context "with a 2nd arg starting with #{char}" do
416
+ it "removes the space" do
417
+ m = Metadata.new
418
+ m.process(Array, "#{char}method")
419
+ expect(m[:example_group][:full_description]).to eq("Array#{char}method")
420
+ end
421
+ end
422
+
423
+ context "with a description starting with #{char} nested under a module" do
424
+ it "removes the space" do
425
+ parent = Metadata.new
426
+ parent.process(Object)
427
+ child = Metadata.new(parent)
428
+ child.process("#{char}method")
429
+ expect(child[:example_group][:full_description]).to eq("Object#{char}method")
430
+ end
431
+ end
432
+
433
+ context "with a description starting with #{char} nested under a context string" do
434
+ it "does not remove the space" do
435
+ grandparent = Metadata.new
436
+ grandparent.process(Array)
437
+ parent = Metadata.new(grandparent)
438
+ parent.process("with 2 items")
439
+ child = Metadata.new(parent)
440
+ child.process("#{char}method")
441
+ expect(child[:example_group][:full_description]).to eq("Array with 2 items #{char}method")
442
+ end
443
+ end
444
+ end
445
+ end
446
+
447
+ describe ":file_path" do
448
+ it "finds the first non-rspec lib file in the caller array" do
449
+ m = Metadata.new
450
+ m.process(:caller => [
451
+ "./lib/rspec/core/foo.rb",
452
+ "#{__FILE__}:#{__LINE__}"
453
+ ])
454
+ expect(m[:example_group][:file_path]).to eq(relative_path(__FILE__))
455
+ end
456
+ end
457
+
458
+ describe ":line_number" do
459
+ it "finds the line number with the first non-rspec lib file in the backtrace" do
460
+ m = Metadata.new
461
+ m.process({})
462
+ expect(m[:example_group][:line_number]).to eq(__LINE__ - 1)
463
+ end
464
+
465
+ it "finds the line number with the first spec file with drive letter" do
466
+ m = Metadata.new
467
+ m.process(:caller => [ "C:/path/to/file_spec.rb:#{__LINE__}" ])
468
+ expect(m[:example_group][:line_number]).to eq(__LINE__ - 1)
469
+ end
470
+
471
+ it "uses the number after the first : for ruby 1.9" do
472
+ m = Metadata.new
473
+ m.process(:caller => [ "#{__FILE__}:#{__LINE__}:999" ])
474
+ expect(m[:example_group][:line_number]).to eq(__LINE__ - 1)
475
+ end
476
+ end
477
+
478
+ describe "child example group" do
479
+ it "nests the parent's example group metadata" do
480
+ parent = Metadata.new
481
+ parent.process(Object, 'parent')
482
+
483
+ child = Metadata.new(parent)
484
+ child.process()
485
+
486
+ expect(child[:example_group][:example_group]).to eq(parent[:example_group])
487
+ end
488
+ end
489
+ end
490
+ end
491
+ end