cocoapods-dependency-html 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2004) hide show
  1. checksums.yaml +7 -0
  2. data/.bundle/config +2 -0
  3. data/Gemfile +13 -0
  4. data/Gemfile.lock +106 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +11 -0
  7. data/Rakefile +13 -0
  8. data/cocoapods-dependency-html.gemspec +27 -0
  9. data/lib/cocoapods-dependency-html.rb +1 -0
  10. data/lib/cocoapods-dependency-html/command.rb +1 -0
  11. data/lib/cocoapods-dependency-html/command/dependency.rb +391 -0
  12. data/lib/cocoapods-dependency-html/command/front-end/dependency_graph.html +90 -0
  13. data/lib/cocoapods-dependency-html/gem_version.rb +3 -0
  14. data/lib/cocoapods_plugin.rb +1 -0
  15. data/spec/command/html_spec.rb +12 -0
  16. data/spec/spec_helper.rb +50 -0
  17. data/vendor/bundle/bin/bacon +27 -0
  18. data/vendor/bundle/bin/fuzzy_match +27 -0
  19. data/vendor/bundle/bin/launchy +27 -0
  20. data/vendor/bundle/bin/pod +27 -0
  21. data/vendor/bundle/bin/rake +27 -0
  22. data/vendor/bundle/bin/sandbox-pod +27 -0
  23. data/vendor/bundle/bin/xcodeproj +27 -0
  24. data/vendor/bundle/cache/CFPropertyList-3.0.0.gem +0 -0
  25. data/vendor/bundle/cache/activesupport-4.2.11.1.gem +0 -0
  26. data/vendor/bundle/cache/addressable-2.6.0.gem +0 -0
  27. data/vendor/bundle/cache/atomos-0.1.3.gem +0 -0
  28. data/vendor/bundle/cache/bacon-1.2.0.gem +0 -0
  29. data/vendor/bundle/cache/claide-1.0.2.gem +0 -0
  30. data/vendor/bundle/cache/cocoapods-1.6.1.gem +0 -0
  31. data/vendor/bundle/cache/cocoapods-core-1.6.1.gem +0 -0
  32. data/vendor/bundle/cache/cocoapods-deintegrate-1.0.4.gem +0 -0
  33. data/vendor/bundle/cache/cocoapods-downloader-1.2.2.gem +0 -0
  34. data/vendor/bundle/cache/cocoapods-plugins-1.0.0.gem +0 -0
  35. data/vendor/bundle/cache/cocoapods-search-1.0.0.gem +0 -0
  36. data/vendor/bundle/cache/cocoapods-stats-1.1.0.gem +0 -0
  37. data/vendor/bundle/cache/cocoapods-trunk-1.3.1.gem +0 -0
  38. data/vendor/bundle/cache/cocoapods-try-1.1.0.gem +0 -0
  39. data/vendor/bundle/cache/colored2-3.1.2.gem +0 -0
  40. data/vendor/bundle/cache/concurrent-ruby-1.1.5.gem +0 -0
  41. data/vendor/bundle/cache/escape-0.0.4.gem +0 -0
  42. data/vendor/bundle/cache/fourflusher-2.2.0.gem +0 -0
  43. data/vendor/bundle/cache/fuzzy_match-2.0.4.gem +0 -0
  44. data/vendor/bundle/cache/gh_inspector-1.1.3.gem +0 -0
  45. data/vendor/bundle/cache/i18n-0.9.5.gem +0 -0
  46. data/vendor/bundle/cache/json-2.2.0.gem +0 -0
  47. data/vendor/bundle/cache/launchy-2.4.3.gem +0 -0
  48. data/vendor/bundle/cache/metaclass-0.0.4.gem +0 -0
  49. data/vendor/bundle/cache/minitest-5.11.3.gem +0 -0
  50. data/vendor/bundle/cache/mocha-1.8.0.gem +0 -0
  51. data/vendor/bundle/cache/mocha-on-bacon-0.2.3.gem +0 -0
  52. data/vendor/bundle/cache/molinillo-0.6.6.gem +0 -0
  53. data/vendor/bundle/cache/nanaimo-0.2.6.gem +0 -0
  54. data/vendor/bundle/cache/nap-1.1.0.gem +0 -0
  55. data/vendor/bundle/cache/netrc-0.11.0.gem +0 -0
  56. data/vendor/bundle/cache/prettybacon-0.0.2.gem +0 -0
  57. data/vendor/bundle/cache/public_suffix-3.0.3.gem +0 -0
  58. data/vendor/bundle/cache/rake-12.3.2.gem +0 -0
  59. data/vendor/bundle/cache/ruby-macho-1.4.0.gem +0 -0
  60. data/vendor/bundle/cache/thread_safe-0.3.6.gem +0 -0
  61. data/vendor/bundle/cache/tzinfo-1.2.5.gem +0 -0
  62. data/vendor/bundle/cache/xcodeproj-1.9.0.gem +0 -0
  63. data/vendor/bundle/extensions/x86_64-darwin-17/2.5.0/json-2.2.0/gem.build_complete +0 -0
  64. data/vendor/bundle/extensions/x86_64-darwin-17/2.5.0/json-2.2.0/gem_make.out +13 -0
  65. data/vendor/bundle/extensions/x86_64-darwin-17/2.5.0/json-2.2.0/json/ext/generator.bundle +0 -0
  66. data/vendor/bundle/extensions/x86_64-darwin-17/2.5.0/json-2.2.0/json/ext/parser.bundle +0 -0
  67. data/vendor/bundle/extensions/x86_64-darwin-17/2.5.0/json-2.2.0/mkmf.log +60 -0
  68. data/vendor/bundle/gems/CFPropertyList-3.0.0/LICENSE +19 -0
  69. data/vendor/bundle/gems/CFPropertyList-3.0.0/README.md +79 -0
  70. data/vendor/bundle/gems/CFPropertyList-3.0.0/README.rdoc +43 -0
  71. data/vendor/bundle/gems/CFPropertyList-3.0.0/THANKS +7 -0
  72. data/vendor/bundle/gems/CFPropertyList-3.0.0/lib/cfpropertylist.rb +6 -0
  73. data/vendor/bundle/gems/CFPropertyList-3.0.0/lib/cfpropertylist/rbBinaryCFPropertyList.rb +594 -0
  74. data/vendor/bundle/gems/CFPropertyList-3.0.0/lib/cfpropertylist/rbCFPlistError.rb +26 -0
  75. data/vendor/bundle/gems/CFPropertyList-3.0.0/lib/cfpropertylist/rbCFPropertyList.rb +449 -0
  76. data/vendor/bundle/gems/CFPropertyList-3.0.0/lib/cfpropertylist/rbCFTypes.rb +349 -0
  77. data/vendor/bundle/gems/CFPropertyList-3.0.0/lib/cfpropertylist/rbLibXMLParser.rb +147 -0
  78. data/vendor/bundle/gems/CFPropertyList-3.0.0/lib/cfpropertylist/rbNokogiriParser.rb +151 -0
  79. data/vendor/bundle/gems/CFPropertyList-3.0.0/lib/cfpropertylist/rbPlainCFPropertyList.rb +199 -0
  80. data/vendor/bundle/gems/CFPropertyList-3.0.0/lib/cfpropertylist/rbREXMLParser.rb +148 -0
  81. data/vendor/bundle/gems/activesupport-4.2.11.1/CHANGELOG.md +678 -0
  82. data/vendor/bundle/gems/activesupport-4.2.11.1/MIT-LICENSE +20 -0
  83. data/vendor/bundle/gems/activesupport-4.2.11.1/README.rdoc +40 -0
  84. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support.rb +94 -0
  85. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/all.rb +3 -0
  86. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/backtrace_cleaner.rb +103 -0
  87. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/benchmarkable.rb +49 -0
  88. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/builder.rb +6 -0
  89. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/cache.rb +717 -0
  90. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/cache/file_store.rb +190 -0
  91. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/cache/mem_cache_store.rb +198 -0
  92. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/cache/memory_store.rb +172 -0
  93. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/cache/null_store.rb +44 -0
  94. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/cache/strategy/local_cache.rb +161 -0
  95. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/cache/strategy/local_cache_middleware.rb +44 -0
  96. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/callbacks.rb +795 -0
  97. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/concern.rb +142 -0
  98. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/concurrency/latch.rb +27 -0
  99. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/configurable.rb +147 -0
  100. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext.rb +3 -0
  101. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/array.rb +6 -0
  102. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/array/access.rb +64 -0
  103. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/array/conversions.rb +209 -0
  104. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/array/extract_options.rb +29 -0
  105. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/array/grouping.rb +116 -0
  106. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
  107. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/array/wrap.rb +45 -0
  108. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/benchmark.rb +14 -0
  109. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/big_decimal.rb +1 -0
  110. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/big_decimal/conversions.rb +16 -0
  111. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/big_decimal/yaml_conversions.rb +16 -0
  112. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/class.rb +3 -0
  113. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/class/attribute.rb +127 -0
  114. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/class/attribute_accessors.rb +4 -0
  115. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/class/delegating_attributes.rb +45 -0
  116. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/class/subclasses.rb +40 -0
  117. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/date.rb +5 -0
  118. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/date/acts_like.rb +8 -0
  119. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/date/calculations.rb +143 -0
  120. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/date/conversions.rb +94 -0
  121. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/date/zones.rb +6 -0
  122. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/date_and_time/calculations.rb +262 -0
  123. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/date_and_time/compatibility.rb +15 -0
  124. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/date_and_time/zones.rb +41 -0
  125. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/date_time.rb +5 -0
  126. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/date_time/acts_like.rb +14 -0
  127. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/date_time/calculations.rb +193 -0
  128. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/date_time/compatibility.rb +16 -0
  129. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/date_time/conversions.rb +103 -0
  130. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/date_time/zones.rb +6 -0
  131. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/digest/uuid.rb +51 -0
  132. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/enumerable.rb +96 -0
  133. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/file.rb +1 -0
  134. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/file/atomic.rb +63 -0
  135. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/hash.rb +9 -0
  136. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/hash/compact.rb +24 -0
  137. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/hash/conversions.rb +242 -0
  138. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/hash/deep_merge.rb +38 -0
  139. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/hash/except.rb +21 -0
  140. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/hash/indifferent_access.rb +23 -0
  141. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/hash/keys.rb +166 -0
  142. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/hash/reverse_merge.rb +22 -0
  143. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/hash/slice.rb +48 -0
  144. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/hash/transform_values.rb +23 -0
  145. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/integer.rb +3 -0
  146. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/integer/inflections.rb +29 -0
  147. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/integer/multiple.rb +10 -0
  148. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/integer/time.rb +29 -0
  149. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/kernel.rb +5 -0
  150. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
  151. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/kernel/concern.rb +10 -0
  152. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/kernel/debugger.rb +10 -0
  153. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/kernel/reporting.rb +125 -0
  154. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/kernel/singleton_class.rb +6 -0
  155. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/load_error.rb +28 -0
  156. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/marshal.rb +24 -0
  157. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/module.rb +11 -0
  158. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/module/aliasing.rb +69 -0
  159. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/module/anonymous.rb +19 -0
  160. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/module/attr_internal.rb +39 -0
  161. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/module/attribute_accessors.rb +212 -0
  162. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/module/concerning.rb +135 -0
  163. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/module/delegation.rb +217 -0
  164. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/module/deprecation.rb +23 -0
  165. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/module/introspection.rb +62 -0
  166. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/module/method_transplanting.rb +13 -0
  167. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/module/qualified_const.rb +52 -0
  168. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/module/reachable.rb +8 -0
  169. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/module/remove_method.rb +12 -0
  170. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/name_error.rb +18 -0
  171. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/numeric.rb +3 -0
  172. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/numeric/bytes.rb +44 -0
  173. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/numeric/conversions.rb +143 -0
  174. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/numeric/time.rb +54 -0
  175. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object.rb +15 -0
  176. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/acts_like.rb +10 -0
  177. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/blank.rb +131 -0
  178. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/conversions.rb +4 -0
  179. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/deep_dup.rb +46 -0
  180. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/duplicable.rb +129 -0
  181. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/inclusion.rb +27 -0
  182. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/instance_variables.rb +28 -0
  183. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/itself.rb +15 -0
  184. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/json.rb +197 -0
  185. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/to_param.rb +1 -0
  186. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/to_query.rb +84 -0
  187. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/try.rb +100 -0
  188. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/object/with_options.rb +69 -0
  189. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/range.rb +4 -0
  190. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/range/conversions.rb +19 -0
  191. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/range/each.rb +23 -0
  192. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/range/include_range.rb +23 -0
  193. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/range/overlaps.rb +8 -0
  194. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/regexp.rb +5 -0
  195. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string.rb +13 -0
  196. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string/access.rb +104 -0
  197. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string/behavior.rb +6 -0
  198. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string/conversions.rb +56 -0
  199. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string/exclude.rb +11 -0
  200. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string/filters.rb +103 -0
  201. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string/indent.rb +43 -0
  202. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string/inflections.rb +217 -0
  203. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string/inquiry.rb +13 -0
  204. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string/multibyte.rb +49 -0
  205. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string/output_safety.rb +262 -0
  206. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
  207. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string/strip.rb +26 -0
  208. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/string/zones.rb +14 -0
  209. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/struct.rb +6 -0
  210. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/thread.rb +86 -0
  211. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/time.rb +6 -0
  212. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/time/acts_like.rb +8 -0
  213. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/time/calculations.rb +281 -0
  214. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/time/compatibility.rb +14 -0
  215. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/time/conversions.rb +65 -0
  216. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/time/marshal.rb +30 -0
  217. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/time/zones.rb +79 -0
  218. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/core_ext/uri.rb +26 -0
  219. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/dependencies.rb +762 -0
  220. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/dependencies/autoload.rb +77 -0
  221. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/deprecation.rb +43 -0
  222. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/deprecation/behaviors.rb +76 -0
  223. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/deprecation/instance_delegator.rb +24 -0
  224. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/deprecation/method_wrappers.rb +44 -0
  225. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/deprecation/proxy_wrappers.rb +126 -0
  226. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/deprecation/reporting.rb +94 -0
  227. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/descendants_tracker.rb +60 -0
  228. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/duration.rb +160 -0
  229. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/file_update_checker.rb +137 -0
  230. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/gem_version.rb +15 -0
  231. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/gzip.rb +36 -0
  232. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/hash_with_indifferent_access.rb +300 -0
  233. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/i18n.rb +13 -0
  234. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/i18n_railtie.rb +94 -0
  235. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/inflections.rb +70 -0
  236. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/inflector.rb +7 -0
  237. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/inflector/inflections.rb +211 -0
  238. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/inflector/methods.rb +383 -0
  239. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/inflector/transliterate.rb +97 -0
  240. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/json.rb +2 -0
  241. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/json/decoding.rb +73 -0
  242. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/json/encoding.rb +177 -0
  243. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/key_generator.rb +73 -0
  244. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/lazy_load_hooks.rb +48 -0
  245. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/locale/en.yml +133 -0
  246. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/log_subscriber.rb +109 -0
  247. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/log_subscriber/test_helper.rb +104 -0
  248. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/logger.rb +107 -0
  249. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/logger_silence.rb +27 -0
  250. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/logger_thread_safe_level.rb +32 -0
  251. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/message_encryptor.rb +114 -0
  252. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/message_verifier.rb +72 -0
  253. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/multibyte.rb +21 -0
  254. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/multibyte/chars.rb +222 -0
  255. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/multibyte/unicode.rb +390 -0
  256. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/notifications.rb +212 -0
  257. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/notifications/fanout.rb +157 -0
  258. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/notifications/instrumenter.rb +73 -0
  259. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/number_helper.rb +345 -0
  260. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/number_helper/number_converter.rb +182 -0
  261. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/number_helper/number_to_currency_converter.rb +46 -0
  262. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/number_helper/number_to_delimited_converter.rb +23 -0
  263. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/number_helper/number_to_human_converter.rb +66 -0
  264. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/number_helper/number_to_human_size_converter.rb +58 -0
  265. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/number_helper/number_to_percentage_converter.rb +12 -0
  266. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/number_helper/number_to_phone_converter.rb +49 -0
  267. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/number_helper/number_to_rounded_converter.rb +87 -0
  268. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/option_merger.rb +25 -0
  269. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/ordered_hash.rb +48 -0
  270. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/ordered_options.rb +67 -0
  271. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/per_thread_registry.rb +55 -0
  272. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/proxy_object.rb +13 -0
  273. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/rails.rb +27 -0
  274. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/railtie.rb +46 -0
  275. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/rescuable.rb +119 -0
  276. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/security_utils.rb +27 -0
  277. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/string_inquirer.rb +26 -0
  278. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/subscriber.rb +125 -0
  279. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/tagged_logging.rb +76 -0
  280. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/test_case.rb +100 -0
  281. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/testing/assertions.rb +97 -0
  282. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/testing/autorun.rb +5 -0
  283. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/testing/constant_lookup.rb +50 -0
  284. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/testing/declarative.rb +26 -0
  285. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/testing/deprecation.rb +35 -0
  286. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/testing/isolation.rb +101 -0
  287. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/testing/setup_and_teardown.rb +50 -0
  288. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/testing/tagged_logging.rb +25 -0
  289. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/testing/time_helpers.rb +134 -0
  290. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/time.rb +18 -0
  291. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/time_with_zone.rb +421 -0
  292. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/values/time_zone.rb +430 -0
  293. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/values/unicode_tables.dat +0 -0
  294. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/version.rb +8 -0
  295. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/xml_mini.rb +209 -0
  296. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/xml_mini/jdom.rb +181 -0
  297. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/xml_mini/libxml.rb +77 -0
  298. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/xml_mini/libxmlsax.rb +82 -0
  299. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/xml_mini/nokogiri.rb +81 -0
  300. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/xml_mini/nokogirisax.rb +85 -0
  301. data/vendor/bundle/gems/activesupport-4.2.11.1/lib/active_support/xml_mini/rexml.rb +128 -0
  302. data/vendor/bundle/gems/addressable-2.6.0/CHANGELOG.md +227 -0
  303. data/vendor/bundle/gems/addressable-2.6.0/Gemfile +32 -0
  304. data/vendor/bundle/gems/addressable-2.6.0/LICENSE.txt +202 -0
  305. data/vendor/bundle/gems/addressable-2.6.0/README.md +119 -0
  306. data/vendor/bundle/gems/addressable-2.6.0/Rakefile +34 -0
  307. data/vendor/bundle/gems/addressable-2.6.0/data/unicode.data +0 -0
  308. data/vendor/bundle/gems/addressable-2.6.0/lib/addressable.rb +4 -0
  309. data/vendor/bundle/gems/addressable-2.6.0/lib/addressable/idna.rb +27 -0
  310. data/vendor/bundle/gems/addressable-2.6.0/lib/addressable/idna/native.rb +61 -0
  311. data/vendor/bundle/gems/addressable-2.6.0/lib/addressable/idna/pure.rb +676 -0
  312. data/vendor/bundle/gems/addressable-2.6.0/lib/addressable/template.rb +1045 -0
  313. data/vendor/bundle/gems/addressable-2.6.0/lib/addressable/uri.rb +2510 -0
  314. data/vendor/bundle/gems/addressable-2.6.0/lib/addressable/version.rb +32 -0
  315. data/vendor/bundle/gems/addressable-2.6.0/spec/addressable/idna_spec.rb +300 -0
  316. data/vendor/bundle/gems/addressable-2.6.0/spec/addressable/net_http_compat_spec.rb +30 -0
  317. data/vendor/bundle/gems/addressable-2.6.0/spec/addressable/rack_mount_compat_spec.rb +106 -0
  318. data/vendor/bundle/gems/addressable-2.6.0/spec/addressable/security_spec.rb +59 -0
  319. data/vendor/bundle/gems/addressable-2.6.0/spec/addressable/template_spec.rb +1451 -0
  320. data/vendor/bundle/gems/addressable-2.6.0/spec/addressable/uri_spec.rb +6545 -0
  321. data/vendor/bundle/gems/addressable-2.6.0/spec/spec_helper.rb +24 -0
  322. data/vendor/bundle/gems/addressable-2.6.0/tasks/clobber.rake +4 -0
  323. data/vendor/bundle/gems/addressable-2.6.0/tasks/gem.rake +93 -0
  324. data/vendor/bundle/gems/addressable-2.6.0/tasks/git.rake +47 -0
  325. data/vendor/bundle/gems/addressable-2.6.0/tasks/metrics.rake +24 -0
  326. data/vendor/bundle/gems/addressable-2.6.0/tasks/rspec.rake +23 -0
  327. data/vendor/bundle/gems/addressable-2.6.0/tasks/yard.rake +29 -0
  328. data/vendor/bundle/gems/atomos-0.1.3/.rspec +3 -0
  329. data/vendor/bundle/gems/atomos-0.1.3/.rubocop.yml +2 -0
  330. data/vendor/bundle/gems/atomos-0.1.3/.rubocop_todo.yml +32 -0
  331. data/vendor/bundle/gems/atomos-0.1.3/.travis.yml +5 -0
  332. data/vendor/bundle/gems/atomos-0.1.3/CODE_OF_CONDUCT.md +74 -0
  333. data/vendor/bundle/gems/atomos-0.1.3/Gemfile +8 -0
  334. data/vendor/bundle/gems/atomos-0.1.3/Gemfile.lock +51 -0
  335. data/vendor/bundle/gems/atomos-0.1.3/LICENSE.txt +21 -0
  336. data/vendor/bundle/gems/atomos-0.1.3/README.md +43 -0
  337. data/vendor/bundle/gems/atomos-0.1.3/Rakefile +11 -0
  338. data/vendor/bundle/gems/atomos-0.1.3/VERSION +1 -0
  339. data/vendor/bundle/gems/atomos-0.1.3/atomos.gemspec +26 -0
  340. data/vendor/bundle/gems/atomos-0.1.3/bin/console +15 -0
  341. data/vendor/bundle/gems/atomos-0.1.3/bin/rake +29 -0
  342. data/vendor/bundle/gems/atomos-0.1.3/bin/rspec +29 -0
  343. data/vendor/bundle/gems/atomos-0.1.3/bin/rubocop +29 -0
  344. data/vendor/bundle/gems/atomos-0.1.3/bin/setup +8 -0
  345. data/vendor/bundle/gems/atomos-0.1.3/lib/atomos.rb +47 -0
  346. data/vendor/bundle/gems/atomos-0.1.3/lib/atomos/version.rb +5 -0
  347. data/vendor/bundle/gems/bacon-1.2.0/.travis.yml +12 -0
  348. data/vendor/bundle/gems/bacon-1.2.0/COPYING +18 -0
  349. data/vendor/bundle/gems/bacon-1.2.0/ChangeLog +350 -0
  350. data/vendor/bundle/gems/bacon-1.2.0/RDOX +73 -0
  351. data/vendor/bundle/gems/bacon-1.2.0/README.rdoc +299 -0
  352. data/vendor/bundle/gems/bacon-1.2.0/Rakefile +80 -0
  353. data/vendor/bundle/gems/bacon-1.2.0/bacon.gemspec +25 -0
  354. data/vendor/bundle/gems/bacon-1.2.0/bin/bacon +118 -0
  355. data/vendor/bundle/gems/bacon-1.2.0/lib/autotest/bacon.rb +36 -0
  356. data/vendor/bundle/gems/bacon-1.2.0/lib/autotest/bacon_rspec.rb +2 -0
  357. data/vendor/bundle/gems/bacon-1.2.0/lib/autotest/discover.rb +9 -0
  358. data/vendor/bundle/gems/bacon-1.2.0/lib/bacon.rb +351 -0
  359. data/vendor/bundle/gems/bacon-1.2.0/test/spec_bacon.rb +415 -0
  360. data/vendor/bundle/gems/bacon-1.2.0/test/spec_nontrue.rb +14 -0
  361. data/vendor/bundle/gems/bacon-1.2.0/test/spec_should.rb +32 -0
  362. data/vendor/bundle/gems/claide-1.0.2/.kick +30 -0
  363. data/vendor/bundle/gems/claide-1.0.2/.rubocop.yml +3 -0
  364. data/vendor/bundle/gems/claide-1.0.2/.rubocop_cocoapods.yml +133 -0
  365. data/vendor/bundle/gems/claide-1.0.2/.rubocop_todo.yml +70 -0
  366. data/vendor/bundle/gems/claide-1.0.2/.travis.yml +17 -0
  367. data/vendor/bundle/gems/claide-1.0.2/.yardopts +1 -0
  368. data/vendor/bundle/gems/claide-1.0.2/CHANGELOG.md +240 -0
  369. data/vendor/bundle/gems/claide-1.0.2/Gemfile +23 -0
  370. data/vendor/bundle/gems/claide-1.0.2/Gemfile.lock +74 -0
  371. data/vendor/bundle/gems/claide-1.0.2/LICENSE +21 -0
  372. data/vendor/bundle/gems/claide-1.0.2/README.markdown +118 -0
  373. data/vendor/bundle/gems/claide-1.0.2/Rakefile +57 -0
  374. data/vendor/bundle/gems/claide-1.0.2/claide.gemspec +21 -0
  375. data/vendor/bundle/gems/claide-1.0.2/lib/claide.rb +19 -0
  376. data/vendor/bundle/gems/claide-1.0.2/lib/claide/ansi.rb +126 -0
  377. data/vendor/bundle/gems/claide-1.0.2/lib/claide/ansi/cursor.rb +69 -0
  378. data/vendor/bundle/gems/claide-1.0.2/lib/claide/ansi/graphics.rb +72 -0
  379. data/vendor/bundle/gems/claide-1.0.2/lib/claide/ansi/string_escaper.rb +79 -0
  380. data/vendor/bundle/gems/claide-1.0.2/lib/claide/argument.rb +62 -0
  381. data/vendor/bundle/gems/claide-1.0.2/lib/claide/argv.rb +329 -0
  382. data/vendor/bundle/gems/claide-1.0.2/lib/claide/command.rb +659 -0
  383. data/vendor/bundle/gems/claide-1.0.2/lib/claide/command/argument_suggester.rb +99 -0
  384. data/vendor/bundle/gems/claide-1.0.2/lib/claide/command/banner.rb +307 -0
  385. data/vendor/bundle/gems/claide-1.0.2/lib/claide/command/plugin_manager.rb +123 -0
  386. data/vendor/bundle/gems/claide-1.0.2/lib/claide/help.rb +58 -0
  387. data/vendor/bundle/gems/claide-1.0.2/lib/claide/informative_error.rb +21 -0
  388. data/vendor/bundle/gems/cocoapods-1.6.1/CHANGELOG.md +6521 -0
  389. data/vendor/bundle/gems/cocoapods-1.6.1/LICENSE +28 -0
  390. data/vendor/bundle/gems/cocoapods-1.6.1/README.md +80 -0
  391. data/vendor/bundle/gems/cocoapods-1.6.1/bin/pod +56 -0
  392. data/vendor/bundle/gems/cocoapods-1.6.1/bin/sandbox-pod +168 -0
  393. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods.rb +73 -0
  394. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command.rb +175 -0
  395. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/cache.rb +28 -0
  396. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/cache/clean.rb +90 -0
  397. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/cache/list.rb +69 -0
  398. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/env.rb +66 -0
  399. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/init.rb +130 -0
  400. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/install.rb +52 -0
  401. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/ipc.rb +19 -0
  402. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/ipc/list.rb +40 -0
  403. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/ipc/podfile.rb +31 -0
  404. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/ipc/podfile_json.rb +30 -0
  405. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/ipc/repl.rb +51 -0
  406. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/ipc/spec.rb +29 -0
  407. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/ipc/update_search_index.rb +24 -0
  408. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/lib.rb +11 -0
  409. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/lib/create.rb +105 -0
  410. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/lib/lint.rb +124 -0
  411. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/list.rb +39 -0
  412. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/options/project_directory.rb +36 -0
  413. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/options/repo_update.rb +34 -0
  414. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/outdated.rb +140 -0
  415. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/repo.rb +29 -0
  416. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/repo/add.rb +103 -0
  417. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/repo/lint.rb +82 -0
  418. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/repo/list.rb +93 -0
  419. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/repo/push.rb +286 -0
  420. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/repo/remove.rb +36 -0
  421. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/repo/update.rb +28 -0
  422. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/setup.rb +103 -0
  423. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/spec.rb +112 -0
  424. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/spec/cat.rb +51 -0
  425. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/spec/create.rb +283 -0
  426. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/spec/edit.rb +87 -0
  427. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/spec/env_spec.rb +53 -0
  428. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/spec/lint.rb +140 -0
  429. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/spec/which.rb +43 -0
  430. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/command/update.rb +101 -0
  431. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/config.rb +347 -0
  432. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/core_overrides.rb +1 -0
  433. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/downloader.rb +190 -0
  434. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/downloader/cache.rb +233 -0
  435. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/downloader/request.rb +86 -0
  436. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/downloader/response.rb +16 -0
  437. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/executable.rb +222 -0
  438. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/external_sources.rb +57 -0
  439. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/external_sources/abstract_external_source.rb +205 -0
  440. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/external_sources/downloader_source.rb +30 -0
  441. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/external_sources/path_source.rb +55 -0
  442. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/external_sources/podspec_source.rb +54 -0
  443. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/gem_version.rb +5 -0
  444. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/generator/acknowledgements.rb +107 -0
  445. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/generator/acknowledgements/markdown.rb +44 -0
  446. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/generator/acknowledgements/plist.rb +94 -0
  447. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/generator/app_target_helper.rb +351 -0
  448. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/generator/bridge_support.rb +22 -0
  449. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/generator/constant.rb +19 -0
  450. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/generator/copy_resources_script.rb +235 -0
  451. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/generator/dummy_source.rb +31 -0
  452. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/generator/embed_frameworks_script.rb +221 -0
  453. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/generator/header.rb +103 -0
  454. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/generator/info_plist_file.rb +124 -0
  455. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/generator/module_map.rb +99 -0
  456. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/generator/prefix_header.rb +60 -0
  457. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/generator/umbrella_header.rb +46 -0
  458. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/hooks_manager.rb +132 -0
  459. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer.rb +765 -0
  460. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/analyzer.rb +1039 -0
  461. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/analyzer/analysis_result.rb +87 -0
  462. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/analyzer/locking_dependency_analyzer.rb +103 -0
  463. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/analyzer/pod_variant.rb +67 -0
  464. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/analyzer/pod_variant_set.rb +157 -0
  465. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/analyzer/podfile_dependency_cache.rb +54 -0
  466. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/analyzer/sandbox_analyzer.rb +240 -0
  467. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/analyzer/specs_state.rb +108 -0
  468. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/analyzer/target_inspection_result.rb +58 -0
  469. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/analyzer/target_inspector.rb +260 -0
  470. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/installation_options.rb +160 -0
  471. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/pod_source_installer.rb +202 -0
  472. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/pod_source_preparer.rb +77 -0
  473. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/podfile_validator.rb +139 -0
  474. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/post_install_hooks_context.rb +132 -0
  475. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/pre_install_hooks_context.rb +51 -0
  476. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/source_provider_hooks_context.rb +34 -0
  477. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/user_project_integrator.rb +254 -0
  478. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/user_project_integrator/target_integrator.rb +501 -0
  479. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/user_project_integrator/target_integrator/xcconfig_integrator.rb +179 -0
  480. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode.rb +8 -0
  481. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/pods_project_generator.rb +361 -0
  482. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/pods_project_generator/aggregate_target_installer.rb +181 -0
  483. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/pods_project_generator/app_host_installer.rb +104 -0
  484. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/pods_project_generator/file_references_installer.rb +340 -0
  485. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_installer.rb +837 -0
  486. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/pods_project_generator/pod_target_integrator.rb +129 -0
  487. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/pods_project_generator/target_installation_result.rb +93 -0
  488. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/pods_project_generator/target_installer.rb +258 -0
  489. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/pods_project_generator/target_installer_helper.rb +72 -0
  490. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/installer/xcode/target_validator.rb +147 -0
  491. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/open-uri.rb +33 -0
  492. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/project.rb +416 -0
  493. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/resolver.rb +578 -0
  494. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/resolver/lazy_specification.rb +79 -0
  495. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/resolver/resolver_specification.rb +41 -0
  496. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/sandbox.rb +408 -0
  497. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/sandbox/file_accessor.rb +444 -0
  498. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/sandbox/headers_store.rb +146 -0
  499. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/sandbox/path_list.rb +220 -0
  500. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/sandbox/pod_dir_cleaner.rb +85 -0
  501. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/sandbox/podspec_finder.rb +23 -0
  502. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/sources_manager.rb +157 -0
  503. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/target.rb +261 -0
  504. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/target/aggregate_target.rb +373 -0
  505. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/target/build_settings.rb +1124 -0
  506. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/target/framework_paths.rb +36 -0
  507. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/target/pod_target.rb +556 -0
  508. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/user_interface.rb +459 -0
  509. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/user_interface/error_report.rb +187 -0
  510. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/user_interface/inspector_reporter.rb +109 -0
  511. data/vendor/bundle/gems/cocoapods-1.6.1/lib/cocoapods/validator.rb +999 -0
  512. data/vendor/bundle/gems/cocoapods-core-1.6.1/LICENSE +20 -0
  513. data/vendor/bundle/gems/cocoapods-core-1.6.1/README.md +42 -0
  514. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core.rb +38 -0
  515. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/core_ui.rb +19 -0
  516. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/dependency.rb +424 -0
  517. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/gem_version.rb +5 -0
  518. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/github.rb +161 -0
  519. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/http.rb +84 -0
  520. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/lockfile.rb +541 -0
  521. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/master_source.rb +8 -0
  522. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/metrics.rb +47 -0
  523. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/platform.rb +242 -0
  524. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/podfile.rb +402 -0
  525. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/podfile/dsl.rb +852 -0
  526. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/podfile/target_definition.rb +1068 -0
  527. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/requirement.rb +104 -0
  528. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/source.rb +458 -0
  529. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/source/acceptor.rb +170 -0
  530. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/source/aggregate.rb +218 -0
  531. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/source/health_reporter.rb +192 -0
  532. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/source/manager.rb +412 -0
  533. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/source/metadata.rb +79 -0
  534. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/specification.rb +732 -0
  535. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/specification/consumer.rb +418 -0
  536. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/specification/dsl.rb +1588 -0
  537. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/specification/dsl/attribute.rb +199 -0
  538. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/specification/dsl/attribute_support.rb +74 -0
  539. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/specification/dsl/deprecations.rb +20 -0
  540. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/specification/dsl/platform_proxy.rb +82 -0
  541. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/specification/json.rb +85 -0
  542. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/specification/linter.rb +499 -0
  543. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/specification/linter/analyzer.rb +205 -0
  544. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/specification/linter/result.rb +128 -0
  545. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/specification/root_attribute_accessors.rb +201 -0
  546. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/specification/set.rb +177 -0
  547. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/specification/set/presenter.rb +203 -0
  548. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/standard_error.rb +108 -0
  549. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/vendor.rb +50 -0
  550. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/vendor/requirement.rb +288 -0
  551. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/vendor/version.rb +377 -0
  552. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/version.rb +237 -0
  553. data/vendor/bundle/gems/cocoapods-core-1.6.1/lib/cocoapods-core/yaml_helper.rb +319 -0
  554. data/vendor/bundle/gems/cocoapods-deintegrate-1.0.4/LICENSE +23 -0
  555. data/vendor/bundle/gems/cocoapods-deintegrate-1.0.4/README.md +56 -0
  556. data/vendor/bundle/gems/cocoapods-deintegrate-1.0.4/lib/cocoapods/command/deintegrate.rb +53 -0
  557. data/vendor/bundle/gems/cocoapods-deintegrate-1.0.4/lib/cocoapods/deintegrate/gem_version.rb +3 -0
  558. data/vendor/bundle/gems/cocoapods-deintegrate-1.0.4/lib/cocoapods/deintegrator.rb +145 -0
  559. data/vendor/bundle/gems/cocoapods-deintegrate-1.0.4/lib/cocoapods_deintegrate.rb +2 -0
  560. data/vendor/bundle/gems/cocoapods-deintegrate-1.0.4/lib/cocoapods_plugin.rb +4 -0
  561. data/vendor/bundle/gems/cocoapods-downloader-1.2.2/LICENSE +21 -0
  562. data/vendor/bundle/gems/cocoapods-downloader-1.2.2/README.markdown +77 -0
  563. data/vendor/bundle/gems/cocoapods-downloader-1.2.2/lib/cocoapods-downloader.rb +102 -0
  564. data/vendor/bundle/gems/cocoapods-downloader-1.2.2/lib/cocoapods-downloader/api.rb +73 -0
  565. data/vendor/bundle/gems/cocoapods-downloader-1.2.2/lib/cocoapods-downloader/api_exposable.rb +23 -0
  566. data/vendor/bundle/gems/cocoapods-downloader-1.2.2/lib/cocoapods-downloader/base.rb +173 -0
  567. data/vendor/bundle/gems/cocoapods-downloader-1.2.2/lib/cocoapods-downloader/bazaar.rb +60 -0
  568. data/vendor/bundle/gems/cocoapods-downloader-1.2.2/lib/cocoapods-downloader/gem_version.rb +8 -0
  569. data/vendor/bundle/gems/cocoapods-downloader-1.2.2/lib/cocoapods-downloader/git.rb +136 -0
  570. data/vendor/bundle/gems/cocoapods-downloader-1.2.2/lib/cocoapods-downloader/http.rb +15 -0
  571. data/vendor/bundle/gems/cocoapods-downloader-1.2.2/lib/cocoapods-downloader/mercurial.rb +54 -0
  572. data/vendor/bundle/gems/cocoapods-downloader-1.2.2/lib/cocoapods-downloader/remote_file.rb +178 -0
  573. data/vendor/bundle/gems/cocoapods-downloader-1.2.2/lib/cocoapods-downloader/scp.rb +30 -0
  574. data/vendor/bundle/gems/cocoapods-downloader-1.2.2/lib/cocoapods-downloader/subversion.rb +69 -0
  575. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/.rubocop.yml +4 -0
  576. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/.rubocop_cocoapods.yml +116 -0
  577. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/.travis.yml +24 -0
  578. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/CHANGELOG.md +102 -0
  579. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/Gemfile +18 -0
  580. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/Gemfile.lock +134 -0
  581. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/LICENSE +21 -0
  582. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/README.md +44 -0
  583. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/Rakefile +88 -0
  584. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/cocoapods-plugins.gemspec +31 -0
  585. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/lib/cocoapods_plugin.rb +1 -0
  586. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/lib/cocoapods_plugins.rb +5 -0
  587. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/lib/pod/command/gem_helper.rb +120 -0
  588. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/lib/pod/command/gem_index_cache.rb +87 -0
  589. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins.rb +30 -0
  590. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/create.rb +120 -0
  591. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/installed.rb +92 -0
  592. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/list.rb +33 -0
  593. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/publish.rb +76 -0
  594. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/search.rb +58 -0
  595. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins_helper.rb +137 -0
  596. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/plugins.json +245 -0
  597. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/spec/command/gem_helper_spec.rb +40 -0
  598. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/spec/command/gem_index_cache_spec.rb +37 -0
  599. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/spec/command/plugins/create_spec.rb +89 -0
  600. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/spec/command/plugins/installed_spec.rb +140 -0
  601. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/spec/command/plugins/list_spec.rb +29 -0
  602. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/spec/command/plugins/publish_spec.rb +132 -0
  603. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/spec/command/plugins/search_spec.rb +55 -0
  604. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/spec/command/plugins_helper_spec.rb +33 -0
  605. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/spec/command/plugins_spec.rb +20 -0
  606. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/spec/fixtures/cocoapods-foo1.gemspec +10 -0
  607. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/spec/fixtures/cocoapods-foo2.gemspec +9 -0
  608. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/spec/fixtures/plugins.json +22 -0
  609. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/spec/fixtures/unprefixed.gemspec +10 -0
  610. data/vendor/bundle/gems/cocoapods-plugins-1.0.0/spec/spec_helper.rb +122 -0
  611. data/vendor/bundle/gems/cocoapods-search-1.0.0/.gitmodules +3 -0
  612. data/vendor/bundle/gems/cocoapods-search-1.0.0/.travis.yml +10 -0
  613. data/vendor/bundle/gems/cocoapods-search-1.0.0/CHANGELOG.md +70 -0
  614. data/vendor/bundle/gems/cocoapods-search-1.0.0/Gemfile +13 -0
  615. data/vendor/bundle/gems/cocoapods-search-1.0.0/Gemfile.lock +99 -0
  616. data/vendor/bundle/gems/cocoapods-search-1.0.0/LICENSE.txt +21 -0
  617. data/vendor/bundle/gems/cocoapods-search-1.0.0/README.md +106 -0
  618. data/vendor/bundle/gems/cocoapods-search-1.0.0/Rakefile +13 -0
  619. data/vendor/bundle/gems/cocoapods-search-1.0.0/cocoapods-search.gemspec +25 -0
  620. data/vendor/bundle/gems/cocoapods-search-1.0.0/lib/cocoapods-search.rb +1 -0
  621. data/vendor/bundle/gems/cocoapods-search-1.0.0/lib/cocoapods-search/command.rb +1 -0
  622. data/vendor/bundle/gems/cocoapods-search-1.0.0/lib/cocoapods-search/command/search.rb +115 -0
  623. data/vendor/bundle/gems/cocoapods-search-1.0.0/lib/cocoapods-search/gem_version.rb +3 -0
  624. data/vendor/bundle/gems/cocoapods-search-1.0.0/lib/cocoapods_plugin.rb +1 -0
  625. data/vendor/bundle/gems/cocoapods-search-1.0.0/spec/command/search_spec.rb +154 -0
  626. data/vendor/bundle/gems/cocoapods-search-1.0.0/spec/fixtures/spec-repos/test_repo/BananaLib/1.0/BananaLib.podspec +21 -0
  627. data/vendor/bundle/gems/cocoapods-search-1.0.0/spec/fixtures/spec-repos/test_repo/JSONKit/1.4/JSONKit.podspec +11 -0
  628. data/vendor/bundle/gems/cocoapods-search-1.0.0/spec/fixtures/spec-repos/test_repo/JSONKit/999.999.999/JSONKit.podspec +12 -0
  629. data/vendor/bundle/gems/cocoapods-search-1.0.0/spec/fixtures/spec-repos/test_repo/OrangeFramework/0.1.0/OrangeFramework.podspec +16 -0
  630. data/vendor/bundle/gems/cocoapods-search-1.0.0/spec/fixtures/spec-repos/test_repo/Pod+With+Plus+Signs/1.0/Pod+With+Plus+Signs.podspec +17 -0
  631. data/vendor/bundle/gems/cocoapods-search-1.0.0/spec/fixtures/spec-repos/test_repo/Realm/0.94/Realm.podspec +18 -0
  632. data/vendor/bundle/gems/cocoapods-search-1.0.0/spec/fixtures/spec-repos/test_repo/monkey/1.0.2/monkey.podspec +11 -0
  633. data/vendor/bundle/gems/cocoapods-search-1.0.0/spec/spec_helper.rb +85 -0
  634. data/vendor/bundle/gems/cocoapods-search-1.0.0/spec/spec_helper/command.rb +27 -0
  635. data/vendor/bundle/gems/cocoapods-search-1.0.0/spec/spec_helper/fixture.rb +32 -0
  636. data/vendor/bundle/gems/cocoapods-search-1.0.0/spec/spec_helper/pre_flight.rb +36 -0
  637. data/vendor/bundle/gems/cocoapods-search-1.0.0/spec/spec_helper/temporary_repos.rb +90 -0
  638. data/vendor/bundle/gems/cocoapods-search-1.0.0/spec/spec_helper/user_interface.rb +36 -0
  639. data/vendor/bundle/gems/cocoapods-stats-1.1.0/.rubocop.yml +9 -0
  640. data/vendor/bundle/gems/cocoapods-stats-1.1.0/.rubocop_cocoapods.yml +138 -0
  641. data/vendor/bundle/gems/cocoapods-stats-1.1.0/.travis.yml +8 -0
  642. data/vendor/bundle/gems/cocoapods-stats-1.1.0/CHANGELOG.md +125 -0
  643. data/vendor/bundle/gems/cocoapods-stats-1.1.0/Gemfile +14 -0
  644. data/vendor/bundle/gems/cocoapods-stats-1.1.0/Gemfile.lock +109 -0
  645. data/vendor/bundle/gems/cocoapods-stats-1.1.0/LICENSE.txt +22 -0
  646. data/vendor/bundle/gems/cocoapods-stats-1.1.0/README.md +11 -0
  647. data/vendor/bundle/gems/cocoapods-stats-1.1.0/Rakefile +26 -0
  648. data/vendor/bundle/gems/cocoapods-stats-1.1.0/cocoapods-stats.gemspec +24 -0
  649. data/vendor/bundle/gems/cocoapods-stats-1.1.0/lib/cocoapods_plugin.rb +74 -0
  650. data/vendor/bundle/gems/cocoapods-stats-1.1.0/lib/cocoapods_stats.rb +1 -0
  651. data/vendor/bundle/gems/cocoapods-stats-1.1.0/lib/cocoapods_stats/gem_version.rb +3 -0
  652. data/vendor/bundle/gems/cocoapods-stats-1.1.0/lib/cocoapods_stats/sender.rb +29 -0
  653. data/vendor/bundle/gems/cocoapods-stats-1.1.0/lib/cocoapods_stats/target_mapper.rb +44 -0
  654. data/vendor/bundle/gems/cocoapods-stats-1.1.0/spec/env_validator_spec.rb +19 -0
  655. data/vendor/bundle/gems/cocoapods-stats-1.1.0/spec/spec_helper.rb +46 -0
  656. data/vendor/bundle/gems/cocoapods-stats-1.1.0/spec/stats_spec.rb +36 -0
  657. data/vendor/bundle/gems/cocoapods-stats-1.1.0/spec/target_mapper_spec.rb +61 -0
  658. data/vendor/bundle/gems/cocoapods-stats-1.1.0/spec/validator_spec.rb +33 -0
  659. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/.kick +29 -0
  660. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/.rubocop.yml +3 -0
  661. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/.rubocop_cocoapods.yml +138 -0
  662. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/.rubocop_todo.yml +33 -0
  663. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/.travis.yml +24 -0
  664. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/CHANGELOG.md +326 -0
  665. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/Gemfile +25 -0
  666. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/Gemfile.lock +171 -0
  667. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/LICENSE.txt +22 -0
  668. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/README.md +36 -0
  669. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/Rakefile +68 -0
  670. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/cocoapods-trunk.gemspec +26 -0
  671. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/lib/cocoapods_plugin.rb +1 -0
  672. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/lib/cocoapods_trunk.rb +3 -0
  673. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/lib/pod/command/trunk.rb +146 -0
  674. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/lib/pod/command/trunk/add_owner.rb +47 -0
  675. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/lib/pod/command/trunk/delete.rb +70 -0
  676. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/lib/pod/command/trunk/deprecate.rb +48 -0
  677. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/lib/pod/command/trunk/info.rb +35 -0
  678. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/lib/pod/command/trunk/me.rb +119 -0
  679. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/lib/pod/command/trunk/push.rb +157 -0
  680. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/lib/pod/command/trunk/register.rb +78 -0
  681. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/lib/pod/command/trunk/remove_owner.rb +46 -0
  682. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/spec/command/trunk/addowner_spec.rb +52 -0
  683. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/spec/command/trunk/delete_spec.rb +68 -0
  684. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/spec/command/trunk/deprecate_spec.rb +58 -0
  685. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/spec/command/trunk/info_spec.rb +36 -0
  686. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/spec/command/trunk/me_spec.rb +17 -0
  687. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/spec/command/trunk/push_spec.rb +286 -0
  688. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/spec/command/trunk/register_spec.rb +31 -0
  689. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/spec/command/trunk/remove_owner_spec.rb +51 -0
  690. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/spec/command/trunk_spec.rb +23 -0
  691. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/spec/fixtures/BananaLib.podspec +25 -0
  692. data/vendor/bundle/gems/cocoapods-trunk-1.3.1/spec/spec_helper.rb +97 -0
  693. data/vendor/bundle/gems/cocoapods-try-1.1.0/.rubocop.yml +3 -0
  694. data/vendor/bundle/gems/cocoapods-try-1.1.0/.rubocop_cocoapods.yml +121 -0
  695. data/vendor/bundle/gems/cocoapods-try-1.1.0/.rubocop_todo.yml +12 -0
  696. data/vendor/bundle/gems/cocoapods-try-1.1.0/.travis.yml +30 -0
  697. data/vendor/bundle/gems/cocoapods-try-1.1.0/CHANGELOG.md +190 -0
  698. data/vendor/bundle/gems/cocoapods-try-1.1.0/Gemfile +19 -0
  699. data/vendor/bundle/gems/cocoapods-try-1.1.0/Gemfile.lock +131 -0
  700. data/vendor/bundle/gems/cocoapods-try-1.1.0/LICENSE +22 -0
  701. data/vendor/bundle/gems/cocoapods-try-1.1.0/README.md +19 -0
  702. data/vendor/bundle/gems/cocoapods-try-1.1.0/Rakefile +56 -0
  703. data/vendor/bundle/gems/cocoapods-try-1.1.0/cocoapods-try.gemspec +21 -0
  704. data/vendor/bundle/gems/cocoapods-try-1.1.0/lib/cocoapods_plugin.rb +1 -0
  705. data/vendor/bundle/gems/cocoapods-try-1.1.0/lib/cocoapods_try.rb +5 -0
  706. data/vendor/bundle/gems/cocoapods-try-1.1.0/lib/pod/command/try.rb +267 -0
  707. data/vendor/bundle/gems/cocoapods-try-1.1.0/lib/pod/try_settings.rb +53 -0
  708. data/vendor/bundle/gems/cocoapods-try-1.1.0/spec/command/try_settings_spec.rb +105 -0
  709. data/vendor/bundle/gems/cocoapods-try-1.1.0/spec/command/try_spec.rb +223 -0
  710. data/vendor/bundle/gems/cocoapods-try-1.1.0/spec/spec_helper.rb +60 -0
  711. data/vendor/bundle/gems/colored2-3.1.2/LICENSE +23 -0
  712. data/vendor/bundle/gems/colored2-3.1.2/README.md +93 -0
  713. data/vendor/bundle/gems/colored2-3.1.2/Rakefile +13 -0
  714. data/vendor/bundle/gems/colored2-3.1.2/lib/colored2.rb +85 -0
  715. data/vendor/bundle/gems/colored2-3.1.2/lib/colored2/ascii_decorator.rb +86 -0
  716. data/vendor/bundle/gems/colored2-3.1.2/lib/colored2/codes.rb +63 -0
  717. data/vendor/bundle/gems/colored2-3.1.2/lib/colored2/numbers.rb +11 -0
  718. data/vendor/bundle/gems/colored2-3.1.2/lib/colored2/object.rb +2 -0
  719. data/vendor/bundle/gems/colored2-3.1.2/lib/colored2/strings.rb +2 -0
  720. data/vendor/bundle/gems/colored2-3.1.2/lib/colored2/version.rb +3 -0
  721. data/vendor/bundle/gems/colored2-3.1.2/spec/colored2/numbers_spec.rb +26 -0
  722. data/vendor/bundle/gems/colored2-3.1.2/spec/colored2/object_spec.rb +24 -0
  723. data/vendor/bundle/gems/colored2-3.1.2/spec/colored2/strings_spec.rb +77 -0
  724. data/vendor/bundle/gems/colored2-3.1.2/spec/colored2_spec.rb +23 -0
  725. data/vendor/bundle/gems/colored2-3.1.2/spec/spec_helper.rb +5 -0
  726. data/vendor/bundle/gems/concurrent-ruby-1.1.5/CHANGELOG.md +478 -0
  727. data/vendor/bundle/gems/concurrent-ruby-1.1.5/Gemfile +41 -0
  728. data/vendor/bundle/gems/concurrent-ruby-1.1.5/LICENSE.md +23 -0
  729. data/vendor/bundle/gems/concurrent-ruby-1.1.5/README.md +381 -0
  730. data/vendor/bundle/gems/concurrent-ruby-1.1.5/Rakefile +327 -0
  731. data/vendor/bundle/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/ConcurrentRubyService.java +17 -0
  732. data/vendor/bundle/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +175 -0
  733. data/vendor/bundle/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +248 -0
  734. data/vendor/bundle/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +93 -0
  735. data/vendor/bundle/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +113 -0
  736. data/vendor/bundle/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +159 -0
  737. data/vendor/bundle/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +307 -0
  738. data/vendor/bundle/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java +31 -0
  739. data/vendor/bundle/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java +3863 -0
  740. data/vendor/bundle/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java +203 -0
  741. data/vendor/bundle/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java +342 -0
  742. data/vendor/bundle/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
  743. data/vendor/bundle/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java +204 -0
  744. data/vendor/bundle/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java +291 -0
  745. data/vendor/bundle/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java +199 -0
  746. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent-ruby.rb +1 -0
  747. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent.rb +134 -0
  748. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/agent.rb +587 -0
  749. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/array.rb +66 -0
  750. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/async.rb +459 -0
  751. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atom.rb +222 -0
  752. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/abstract_thread_local_var.rb +66 -0
  753. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_boolean.rb +126 -0
  754. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_fixnum.rb +143 -0
  755. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_markable_reference.rb +164 -0
  756. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_reference.rb +204 -0
  757. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/count_down_latch.rb +100 -0
  758. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/cyclic_barrier.rb +128 -0
  759. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/event.rb +109 -0
  760. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/java_count_down_latch.rb +42 -0
  761. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/java_thread_local_var.rb +37 -0
  762. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_atomic_boolean.rb +62 -0
  763. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
  764. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_count_down_latch.rb +44 -0
  765. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
  766. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/read_write_lock.rb +254 -0
  767. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/reentrant_read_write_lock.rb +379 -0
  768. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/ruby_thread_local_var.rb +161 -0
  769. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/semaphore.rb +145 -0
  770. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/thread_local_var.rb +104 -0
  771. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic_reference/mutex_atomic.rb +56 -0
  772. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
  773. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/atomics.rb +10 -0
  774. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
  775. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/copy_on_write_observer_set.rb +111 -0
  776. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
  777. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/lock_free_stack.rb +158 -0
  778. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
  779. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/mri_map_backend.rb +66 -0
  780. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/non_concurrent_map_backend.rb +140 -0
  781. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/synchronized_map_backend.rb +82 -0
  782. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
  783. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
  784. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/deprecation.rb +34 -0
  785. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/dereferenceable.rb +73 -0
  786. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/logging.rb +32 -0
  787. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/obligation.rb +220 -0
  788. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/observable.rb +110 -0
  789. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/concurrent_ruby.jar +0 -0
  790. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/configuration.rb +184 -0
  791. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/constants.rb +8 -0
  792. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/dataflow.rb +81 -0
  793. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/delay.rb +199 -0
  794. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/errors.rb +69 -0
  795. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/exchanger.rb +352 -0
  796. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/abstract_executor_service.rb +134 -0
  797. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/cached_thread_pool.rb +62 -0
  798. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/executor_service.rb +185 -0
  799. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
  800. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/immediate_executor.rb +66 -0
  801. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/indirect_immediate_executor.rb +44 -0
  802. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/java_executor_service.rb +91 -0
  803. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/java_single_thread_executor.rb +29 -0
  804. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/java_thread_pool_executor.rb +123 -0
  805. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_executor_service.rb +78 -0
  806. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_single_thread_executor.rb +22 -0
  807. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb +362 -0
  808. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/safe_task_executor.rb +35 -0
  809. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/serial_executor_service.rb +34 -0
  810. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/serialized_execution.rb +107 -0
  811. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/serialized_execution_delegator.rb +28 -0
  812. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/simple_executor_service.rb +100 -0
  813. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/single_thread_executor.rb +56 -0
  814. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/thread_pool_executor.rb +87 -0
  815. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/timer_set.rb +173 -0
  816. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/executors.rb +20 -0
  817. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/future.rb +141 -0
  818. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/hash.rb +59 -0
  819. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/immutable_struct.rb +93 -0
  820. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/ivar.rb +207 -0
  821. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/map.rb +337 -0
  822. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/maybe.rb +229 -0
  823. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/mutable_struct.rb +229 -0
  824. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/mvar.rb +242 -0
  825. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/options.rb +42 -0
  826. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/promise.rb +579 -0
  827. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/promises.rb +2167 -0
  828. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/re_include.rb +58 -0
  829. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/scheduled_task.rb +318 -0
  830. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/set.rb +66 -0
  831. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/settable_struct.rb +129 -0
  832. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization.rb +30 -0
  833. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
  834. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/abstract_object.rb +24 -0
  835. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/abstract_struct.rb +160 -0
  836. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/condition.rb +60 -0
  837. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/jruby_lockable_object.rb +13 -0
  838. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/jruby_object.rb +45 -0
  839. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/lock.rb +36 -0
  840. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/lockable_object.rb +74 -0
  841. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/mri_object.rb +44 -0
  842. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/mutex_lockable_object.rb +76 -0
  843. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/object.rb +183 -0
  844. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/rbx_lockable_object.rb +65 -0
  845. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/rbx_object.rb +49 -0
  846. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/truffleruby_object.rb +47 -0
  847. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/volatile.rb +36 -0
  848. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/synchronized_delegator.rb +50 -0
  849. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util.rb +16 -0
  850. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/adder.rb +74 -0
  851. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
  852. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/data_structures.rb +63 -0
  853. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
  854. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/striped64.rb +246 -0
  855. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/volatile.rb +75 -0
  856. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
  857. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/timer_task.rb +334 -0
  858. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/tuple.rb +86 -0
  859. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/tvar.rb +258 -0
  860. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/at_exit.rb +97 -0
  861. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/engine.rb +56 -0
  862. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/monotonic_time.rb +58 -0
  863. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/native_extension_loader.rb +79 -0
  864. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/native_integer.rb +53 -0
  865. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/processor_counter.rb +158 -0
  866. data/vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/version.rb +3 -0
  867. data/vendor/bundle/gems/escape-0.0.4/Readme +21 -0
  868. data/vendor/bundle/gems/escape-0.0.4/doc_include/template/qualitysmith.rb +631 -0
  869. data/vendor/bundle/gems/escape-0.0.4/lib/escape.rb +247 -0
  870. data/vendor/bundle/gems/fourflusher-2.2.0/.rubocop.yml +30 -0
  871. data/vendor/bundle/gems/fourflusher-2.2.0/.travis.yml +8 -0
  872. data/vendor/bundle/gems/fourflusher-2.2.0/CHANGELOG.md +116 -0
  873. data/vendor/bundle/gems/fourflusher-2.2.0/Gemfile +3 -0
  874. data/vendor/bundle/gems/fourflusher-2.2.0/Gemfile.lock +47 -0
  875. data/vendor/bundle/gems/fourflusher-2.2.0/LICENSE.txt +21 -0
  876. data/vendor/bundle/gems/fourflusher-2.2.0/README.md +33 -0
  877. data/vendor/bundle/gems/fourflusher-2.2.0/Rakefile +9 -0
  878. data/vendor/bundle/gems/fourflusher-2.2.0/bin/console +14 -0
  879. data/vendor/bundle/gems/fourflusher-2.2.0/bin/setup +8 -0
  880. data/vendor/bundle/gems/fourflusher-2.2.0/fourflusher.gemspec +27 -0
  881. data/vendor/bundle/gems/fourflusher-2.2.0/lib/fourflusher.rb +3 -0
  882. data/vendor/bundle/gems/fourflusher-2.2.0/lib/fourflusher/compat.rb +24 -0
  883. data/vendor/bundle/gems/fourflusher-2.2.0/lib/fourflusher/executable.rb +236 -0
  884. data/vendor/bundle/gems/fourflusher-2.2.0/lib/fourflusher/find.rb +150 -0
  885. data/vendor/bundle/gems/fourflusher-2.2.0/lib/fourflusher/simctl.rb +19 -0
  886. data/vendor/bundle/gems/fourflusher-2.2.0/lib/fourflusher/version.rb +3 -0
  887. data/vendor/bundle/gems/fourflusher-2.2.0/lib/fourflusher/xcodebuild.rb +13 -0
  888. data/vendor/bundle/gems/fuzzy_match-2.0.4/.rspec +2 -0
  889. data/vendor/bundle/gems/fuzzy_match-2.0.4/CHANGELOG +93 -0
  890. data/vendor/bundle/gems/fuzzy_match-2.0.4/Gemfile +11 -0
  891. data/vendor/bundle/gems/fuzzy_match-2.0.4/LICENSE +20 -0
  892. data/vendor/bundle/gems/fuzzy_match-2.0.4/README.markdown +191 -0
  893. data/vendor/bundle/gems/fuzzy_match-2.0.4/Rakefile +5 -0
  894. data/vendor/bundle/gems/fuzzy_match-2.0.4/THANKS-WILLIAM-JAMES.rb +37 -0
  895. data/vendor/bundle/gems/fuzzy_match-2.0.4/benchmark/before-with-free.txt +283 -0
  896. data/vendor/bundle/gems/fuzzy_match-2.0.4/benchmark/before-without-last-result.txt +257 -0
  897. data/vendor/bundle/gems/fuzzy_match-2.0.4/benchmark/before.txt +304 -0
  898. data/vendor/bundle/gems/fuzzy_match-2.0.4/benchmark/memory.rb +53 -0
  899. data/vendor/bundle/gems/fuzzy_match-2.0.4/bin/fuzzy_match +106 -0
  900. data/vendor/bundle/gems/fuzzy_match-2.0.4/fuzzy_match.gemspec +34 -0
  901. data/vendor/bundle/gems/fuzzy_match-2.0.4/groupings-screenshot.png +0 -0
  902. data/vendor/bundle/gems/fuzzy_match-2.0.4/highlevel.graffle +0 -0
  903. data/vendor/bundle/gems/fuzzy_match-2.0.4/highlevel.png +0 -0
  904. data/vendor/bundle/gems/fuzzy_match-2.0.4/lib/fuzzy_match.rb +335 -0
  905. data/vendor/bundle/gems/fuzzy_match-2.0.4/lib/fuzzy_match/cached_result.rb +79 -0
  906. data/vendor/bundle/gems/fuzzy_match-2.0.4/lib/fuzzy_match/record.rb +58 -0
  907. data/vendor/bundle/gems/fuzzy_match-2.0.4/lib/fuzzy_match/result.rb +45 -0
  908. data/vendor/bundle/gems/fuzzy_match-2.0.4/lib/fuzzy_match/rule.rb +17 -0
  909. data/vendor/bundle/gems/fuzzy_match-2.0.4/lib/fuzzy_match/rule/grouping.rb +90 -0
  910. data/vendor/bundle/gems/fuzzy_match-2.0.4/lib/fuzzy_match/rule/identity.rb +40 -0
  911. data/vendor/bundle/gems/fuzzy_match-2.0.4/lib/fuzzy_match/score.rb +30 -0
  912. data/vendor/bundle/gems/fuzzy_match-2.0.4/lib/fuzzy_match/score/amatch.rb +21 -0
  913. data/vendor/bundle/gems/fuzzy_match-2.0.4/lib/fuzzy_match/score/pure_ruby.rb +94 -0
  914. data/vendor/bundle/gems/fuzzy_match-2.0.4/lib/fuzzy_match/similarity.rb +39 -0
  915. data/vendor/bundle/gems/fuzzy_match-2.0.4/lib/fuzzy_match/version.rb +3 -0
  916. data/vendor/bundle/gems/fuzzy_match-2.0.4/spec/amatch_spec.rb +17 -0
  917. data/vendor/bundle/gems/fuzzy_match-2.0.4/spec/cache_spec.rb +132 -0
  918. data/vendor/bundle/gems/fuzzy_match-2.0.4/spec/foo.rb +9 -0
  919. data/vendor/bundle/gems/fuzzy_match-2.0.4/spec/fuzzy_match_spec.rb +367 -0
  920. data/vendor/bundle/gems/fuzzy_match-2.0.4/spec/grouping_spec.rb +60 -0
  921. data/vendor/bundle/gems/fuzzy_match-2.0.4/spec/identity_spec.rb +29 -0
  922. data/vendor/bundle/gems/fuzzy_match-2.0.4/spec/record_spec.rb +25 -0
  923. data/vendor/bundle/gems/fuzzy_match-2.0.4/spec/spec_helper.rb +21 -0
  924. data/vendor/bundle/gems/gh_inspector-1.1.3/.rspec +2 -0
  925. data/vendor/bundle/gems/gh_inspector-1.1.3/.rubocop.yml +134 -0
  926. data/vendor/bundle/gems/gh_inspector-1.1.3/.travis.yml +9 -0
  927. data/vendor/bundle/gems/gh_inspector-1.1.3/CHANGELOG.md +26 -0
  928. data/vendor/bundle/gems/gh_inspector-1.1.3/Gemfile +4 -0
  929. data/vendor/bundle/gems/gh_inspector-1.1.3/LICENSE +21 -0
  930. data/vendor/bundle/gems/gh_inspector-1.1.3/README.md +102 -0
  931. data/vendor/bundle/gems/gh_inspector-1.1.3/Rakefile +62 -0
  932. data/vendor/bundle/gems/gh_inspector-1.1.3/bin/console +10 -0
  933. data/vendor/bundle/gems/gh_inspector-1.1.3/bin/setup +8 -0
  934. data/vendor/bundle/gems/gh_inspector-1.1.3/gh_inspector.gemspec +27 -0
  935. data/vendor/bundle/gems/gh_inspector-1.1.3/lib/gh_inspector.rb +8 -0
  936. data/vendor/bundle/gems/gh_inspector-1.1.3/lib/gh_inspector/evidence.rb +118 -0
  937. data/vendor/bundle/gems/gh_inspector-1.1.3/lib/gh_inspector/exception_hound.rb +45 -0
  938. data/vendor/bundle/gems/gh_inspector-1.1.3/lib/gh_inspector/inspector.rb +71 -0
  939. data/vendor/bundle/gems/gh_inspector-1.1.3/lib/gh_inspector/sidekick.rb +138 -0
  940. data/vendor/bundle/gems/gh_inspector-1.1.3/lib/gh_inspector/version.rb +3 -0
  941. data/vendor/bundle/gems/i18n-0.9.5/MIT-LICENSE +20 -0
  942. data/vendor/bundle/gems/i18n-0.9.5/README.md +84 -0
  943. data/vendor/bundle/gems/i18n-0.9.5/gemfiles/Gemfile.rails-3.2.x +10 -0
  944. data/vendor/bundle/gems/i18n-0.9.5/gemfiles/Gemfile.rails-4.0.x +10 -0
  945. data/vendor/bundle/gems/i18n-0.9.5/gemfiles/Gemfile.rails-4.1.x +10 -0
  946. data/vendor/bundle/gems/i18n-0.9.5/gemfiles/Gemfile.rails-4.2.x +10 -0
  947. data/vendor/bundle/gems/i18n-0.9.5/gemfiles/Gemfile.rails-5.0.x +10 -0
  948. data/vendor/bundle/gems/i18n-0.9.5/gemfiles/Gemfile.rails-5.1.x +10 -0
  949. data/vendor/bundle/gems/i18n-0.9.5/gemfiles/Gemfile.rails-master +10 -0
  950. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n.rb +356 -0
  951. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/backend.rb +18 -0
  952. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/backend/base.rb +255 -0
  953. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/backend/cache.rb +114 -0
  954. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/backend/cascade.rb +54 -0
  955. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/backend/chain.rb +97 -0
  956. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/backend/fallbacks.rb +86 -0
  957. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/backend/flatten.rb +113 -0
  958. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/backend/gettext.rb +81 -0
  959. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/backend/interpolation_compiler.rb +121 -0
  960. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/backend/key_value.rb +177 -0
  961. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/backend/memoize.rb +46 -0
  962. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/backend/metadata.rb +69 -0
  963. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/backend/pluralization.rb +53 -0
  964. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/backend/simple.rb +93 -0
  965. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/backend/transliterator.rb +106 -0
  966. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/config.rb +147 -0
  967. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/core_ext/hash.rb +29 -0
  968. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/core_ext/kernel/suppress_warnings.rb +8 -0
  969. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/core_ext/string/interpolate.rb +9 -0
  970. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/exceptions.rb +104 -0
  971. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/gettext.rb +26 -0
  972. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/gettext/helpers.rb +73 -0
  973. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/gettext/po_parser.rb +329 -0
  974. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/interpolate/ruby.rb +37 -0
  975. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/locale.rb +6 -0
  976. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/locale/fallbacks.rb +96 -0
  977. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/locale/tag.rb +28 -0
  978. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/locale/tag/parents.rb +22 -0
  979. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/locale/tag/rfc4646.rb +74 -0
  980. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/locale/tag/simple.rb +39 -0
  981. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/middleware.rb +15 -0
  982. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/tests.rb +12 -0
  983. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/tests/basics.rb +60 -0
  984. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/tests/defaults.rb +52 -0
  985. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/tests/interpolation.rb +158 -0
  986. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/tests/link.rb +56 -0
  987. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/tests/localization.rb +19 -0
  988. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/tests/localization/date.rb +95 -0
  989. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/tests/localization/date_time.rb +82 -0
  990. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/tests/localization/procs.rb +116 -0
  991. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/tests/localization/time.rb +81 -0
  992. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/tests/lookup.rb +81 -0
  993. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/tests/pluralization.rb +35 -0
  994. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/tests/procs.rb +55 -0
  995. data/vendor/bundle/gems/i18n-0.9.5/lib/i18n/version.rb +3 -0
  996. data/vendor/bundle/gems/i18n-0.9.5/test/api/all_features_test.rb +58 -0
  997. data/vendor/bundle/gems/i18n-0.9.5/test/api/cascade_test.rb +28 -0
  998. data/vendor/bundle/gems/i18n-0.9.5/test/api/chain_test.rb +24 -0
  999. data/vendor/bundle/gems/i18n-0.9.5/test/api/fallbacks_test.rb +30 -0
  1000. data/vendor/bundle/gems/i18n-0.9.5/test/api/key_value_test.rb +24 -0
  1001. data/vendor/bundle/gems/i18n-0.9.5/test/api/memoize_test.rb +56 -0
  1002. data/vendor/bundle/gems/i18n-0.9.5/test/api/override_test.rb +42 -0
  1003. data/vendor/bundle/gems/i18n-0.9.5/test/api/pluralization_test.rb +30 -0
  1004. data/vendor/bundle/gems/i18n-0.9.5/test/api/simple_test.rb +28 -0
  1005. data/vendor/bundle/gems/i18n-0.9.5/test/backend/cache_test.rb +109 -0
  1006. data/vendor/bundle/gems/i18n-0.9.5/test/backend/cascade_test.rb +86 -0
  1007. data/vendor/bundle/gems/i18n-0.9.5/test/backend/chain_test.rb +122 -0
  1008. data/vendor/bundle/gems/i18n-0.9.5/test/backend/exceptions_test.rb +36 -0
  1009. data/vendor/bundle/gems/i18n-0.9.5/test/backend/fallbacks_test.rb +219 -0
  1010. data/vendor/bundle/gems/i18n-0.9.5/test/backend/interpolation_compiler_test.rb +118 -0
  1011. data/vendor/bundle/gems/i18n-0.9.5/test/backend/key_value_test.rb +61 -0
  1012. data/vendor/bundle/gems/i18n-0.9.5/test/backend/memoize_test.rb +79 -0
  1013. data/vendor/bundle/gems/i18n-0.9.5/test/backend/metadata_test.rb +48 -0
  1014. data/vendor/bundle/gems/i18n-0.9.5/test/backend/pluralization_test.rb +45 -0
  1015. data/vendor/bundle/gems/i18n-0.9.5/test/backend/simple_test.rb +103 -0
  1016. data/vendor/bundle/gems/i18n-0.9.5/test/backend/transliterator_test.rb +84 -0
  1017. data/vendor/bundle/gems/i18n-0.9.5/test/core_ext/hash_test.rb +36 -0
  1018. data/vendor/bundle/gems/i18n-0.9.5/test/gettext/api_test.rb +214 -0
  1019. data/vendor/bundle/gems/i18n-0.9.5/test/gettext/backend_test.rb +92 -0
  1020. data/vendor/bundle/gems/i18n-0.9.5/test/i18n/exceptions_test.rb +117 -0
  1021. data/vendor/bundle/gems/i18n-0.9.5/test/i18n/gettext_plural_keys_test.rb +20 -0
  1022. data/vendor/bundle/gems/i18n-0.9.5/test/i18n/interpolate_test.rb +91 -0
  1023. data/vendor/bundle/gems/i18n-0.9.5/test/i18n/load_path_test.rb +34 -0
  1024. data/vendor/bundle/gems/i18n-0.9.5/test/i18n/middleware_test.rb +24 -0
  1025. data/vendor/bundle/gems/i18n-0.9.5/test/i18n_test.rb +462 -0
  1026. data/vendor/bundle/gems/i18n-0.9.5/test/locale/fallbacks_test.rb +133 -0
  1027. data/vendor/bundle/gems/i18n-0.9.5/test/locale/tag/rfc4646_test.rb +143 -0
  1028. data/vendor/bundle/gems/i18n-0.9.5/test/locale/tag/simple_test.rb +32 -0
  1029. data/vendor/bundle/gems/i18n-0.9.5/test/run_all.rb +20 -0
  1030. data/vendor/bundle/gems/i18n-0.9.5/test/test_data/locales/de.po +82 -0
  1031. data/vendor/bundle/gems/i18n-0.9.5/test/test_data/locales/en.rb +3 -0
  1032. data/vendor/bundle/gems/i18n-0.9.5/test/test_data/locales/en.yml +3 -0
  1033. data/vendor/bundle/gems/i18n-0.9.5/test/test_data/locales/invalid/empty.yml +0 -0
  1034. data/vendor/bundle/gems/i18n-0.9.5/test/test_data/locales/invalid/syntax.yml +4 -0
  1035. data/vendor/bundle/gems/i18n-0.9.5/test/test_data/locales/plurals.rb +113 -0
  1036. data/vendor/bundle/gems/i18n-0.9.5/test/test_helper.rb +61 -0
  1037. data/vendor/bundle/gems/json-2.2.0/.travis.yml +23 -0
  1038. data/vendor/bundle/gems/json-2.2.0/CHANGES.md +391 -0
  1039. data/vendor/bundle/gems/json-2.2.0/Gemfile +14 -0
  1040. data/vendor/bundle/gems/json-2.2.0/README-json-jruby.md +33 -0
  1041. data/vendor/bundle/gems/json-2.2.0/README.md +409 -0
  1042. data/vendor/bundle/gems/json-2.2.0/Rakefile +408 -0
  1043. data/vendor/bundle/gems/json-2.2.0/VERSION +1 -0
  1044. data/vendor/bundle/gems/json-2.2.0/diagrams/.keep +0 -0
  1045. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/fbuffer/fbuffer.h +187 -0
  1046. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/.sitearchdir.-.json.-.ext.time +0 -0
  1047. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/depend +1 -0
  1048. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/extconf.rb +4 -0
  1049. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/generator.c +1444 -0
  1050. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/generator/generator.h +171 -0
  1051. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/.sitearchdir.-.json.-.ext.time +0 -0
  1052. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/depend +1 -0
  1053. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/extconf.rb +6 -0
  1054. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/parser.c +2131 -0
  1055. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/parser.h +91 -0
  1056. data/vendor/bundle/gems/json-2.2.0/ext/json/ext/parser/parser.rl +891 -0
  1057. data/vendor/bundle/gems/json-2.2.0/ext/json/extconf.rb +2 -0
  1058. data/vendor/bundle/gems/json-2.2.0/install.rb +23 -0
  1059. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/ByteListTranscoder.java +166 -0
  1060. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/Generator.java +443 -0
  1061. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/GeneratorMethods.java +231 -0
  1062. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/GeneratorService.java +42 -0
  1063. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/GeneratorState.java +490 -0
  1064. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/OptionsReader.java +113 -0
  1065. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/Parser.java +2362 -0
  1066. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/Parser.rl +893 -0
  1067. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/ParserService.java +34 -0
  1068. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/RuntimeInfo.java +116 -0
  1069. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/StringDecoder.java +166 -0
  1070. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/StringEncoder.java +111 -0
  1071. data/vendor/bundle/gems/json-2.2.0/java/src/json/ext/Utils.java +88 -0
  1072. data/vendor/bundle/gems/json-2.2.0/json-java.gemspec +38 -0
  1073. data/vendor/bundle/gems/json-2.2.0/json.gemspec +0 -0
  1074. data/vendor/bundle/gems/json-2.2.0/json_pure.gemspec +38 -0
  1075. data/vendor/bundle/gems/json-2.2.0/lib/json.rb +63 -0
  1076. data/vendor/bundle/gems/json-2.2.0/lib/json/add/bigdecimal.rb +29 -0
  1077. data/vendor/bundle/gems/json-2.2.0/lib/json/add/complex.rb +29 -0
  1078. data/vendor/bundle/gems/json-2.2.0/lib/json/add/core.rb +12 -0
  1079. data/vendor/bundle/gems/json-2.2.0/lib/json/add/date.rb +34 -0
  1080. data/vendor/bundle/gems/json-2.2.0/lib/json/add/date_time.rb +50 -0
  1081. data/vendor/bundle/gems/json-2.2.0/lib/json/add/exception.rb +31 -0
  1082. data/vendor/bundle/gems/json-2.2.0/lib/json/add/ostruct.rb +31 -0
  1083. data/vendor/bundle/gems/json-2.2.0/lib/json/add/range.rb +29 -0
  1084. data/vendor/bundle/gems/json-2.2.0/lib/json/add/rational.rb +28 -0
  1085. data/vendor/bundle/gems/json-2.2.0/lib/json/add/regexp.rb +30 -0
  1086. data/vendor/bundle/gems/json-2.2.0/lib/json/add/set.rb +29 -0
  1087. data/vendor/bundle/gems/json-2.2.0/lib/json/add/struct.rb +30 -0
  1088. data/vendor/bundle/gems/json-2.2.0/lib/json/add/symbol.rb +25 -0
  1089. data/vendor/bundle/gems/json-2.2.0/lib/json/add/time.rb +38 -0
  1090. data/vendor/bundle/gems/json-2.2.0/lib/json/common.rb +456 -0
  1091. data/vendor/bundle/gems/json-2.2.0/lib/json/ext.rb +15 -0
  1092. data/vendor/bundle/gems/json-2.2.0/lib/json/ext/.keep +0 -0
  1093. data/vendor/bundle/gems/json-2.2.0/lib/json/generic_object.rb +71 -0
  1094. data/vendor/bundle/gems/json-2.2.0/lib/json/pure.rb +15 -0
  1095. data/vendor/bundle/gems/json-2.2.0/lib/json/pure/generator.rb +458 -0
  1096. data/vendor/bundle/gems/json-2.2.0/lib/json/pure/parser.rb +311 -0
  1097. data/vendor/bundle/gems/json-2.2.0/lib/json/version.rb +9 -0
  1098. data/vendor/bundle/gems/json-2.2.0/references/rfc7159.txt +899 -0
  1099. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail10.json +1 -0
  1100. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail11.json +1 -0
  1101. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail12.json +1 -0
  1102. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail13.json +1 -0
  1103. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail14.json +1 -0
  1104. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail18.json +1 -0
  1105. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail19.json +1 -0
  1106. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail2.json +1 -0
  1107. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail20.json +1 -0
  1108. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail21.json +1 -0
  1109. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail22.json +1 -0
  1110. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail23.json +1 -0
  1111. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail24.json +1 -0
  1112. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail25.json +1 -0
  1113. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail27.json +2 -0
  1114. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail28.json +2 -0
  1115. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail3.json +1 -0
  1116. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail4.json +1 -0
  1117. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail5.json +1 -0
  1118. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail6.json +1 -0
  1119. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail7.json +1 -0
  1120. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail8.json +1 -0
  1121. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/fail9.json +1 -0
  1122. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/obsolete_fail1.json +1 -0
  1123. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass1.json +56 -0
  1124. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass15.json +1 -0
  1125. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass16.json +1 -0
  1126. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass17.json +1 -0
  1127. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass2.json +1 -0
  1128. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass26.json +1 -0
  1129. data/vendor/bundle/gems/json-2.2.0/tests/fixtures/pass3.json +6 -0
  1130. data/vendor/bundle/gems/json-2.2.0/tests/json_addition_test.rb +203 -0
  1131. data/vendor/bundle/gems/json-2.2.0/tests/json_common_interface_test.rb +126 -0
  1132. data/vendor/bundle/gems/json-2.2.0/tests/json_encoding_test.rb +107 -0
  1133. data/vendor/bundle/gems/json-2.2.0/tests/json_ext_parser_test.rb +15 -0
  1134. data/vendor/bundle/gems/json-2.2.0/tests/json_fixtures_test.rb +32 -0
  1135. data/vendor/bundle/gems/json-2.2.0/tests/json_generator_test.rb +377 -0
  1136. data/vendor/bundle/gems/json-2.2.0/tests/json_generic_object_test.rb +82 -0
  1137. data/vendor/bundle/gems/json-2.2.0/tests/json_parser_test.rb +472 -0
  1138. data/vendor/bundle/gems/json-2.2.0/tests/json_string_matching_test.rb +38 -0
  1139. data/vendor/bundle/gems/json-2.2.0/tests/test_helper.rb +17 -0
  1140. data/vendor/bundle/gems/json-2.2.0/tools/diff.sh +18 -0
  1141. data/vendor/bundle/gems/json-2.2.0/tools/fuzz.rb +131 -0
  1142. data/vendor/bundle/gems/json-2.2.0/tools/server.rb +62 -0
  1143. data/vendor/bundle/gems/launchy-2.4.3/CONTRIBUTING.md +59 -0
  1144. data/vendor/bundle/gems/launchy-2.4.3/HISTORY.md +160 -0
  1145. data/vendor/bundle/gems/launchy-2.4.3/LICENSE +16 -0
  1146. data/vendor/bundle/gems/launchy-2.4.3/Manifest.txt +38 -0
  1147. data/vendor/bundle/gems/launchy-2.4.3/README.md +136 -0
  1148. data/vendor/bundle/gems/launchy-2.4.3/Rakefile +25 -0
  1149. data/vendor/bundle/gems/launchy-2.4.3/bin/launchy +4 -0
  1150. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy.rb +152 -0
  1151. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/application.rb +62 -0
  1152. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/applications/browser.rb +82 -0
  1153. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/argv.rb +36 -0
  1154. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/cli.rb +89 -0
  1155. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/deprecated.rb +52 -0
  1156. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/descendant_tracker.rb +49 -0
  1157. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect.rb +10 -0
  1158. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect/host_os.rb +32 -0
  1159. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect/host_os_family.rb +71 -0
  1160. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect/nix_desktop_environment.rb +92 -0
  1161. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect/ruby_engine.rb +78 -0
  1162. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/detect/runner.rb +152 -0
  1163. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/error.rb +6 -0
  1164. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/os_family.rb +8 -0
  1165. data/vendor/bundle/gems/launchy-2.4.3/lib/launchy/version.rb +18 -0
  1166. data/vendor/bundle/gems/launchy-2.4.3/spec/application_spec.rb +43 -0
  1167. data/vendor/bundle/gems/launchy-2.4.3/spec/applications/browser_spec.rb +68 -0
  1168. data/vendor/bundle/gems/launchy-2.4.3/spec/cli_spec.rb +75 -0
  1169. data/vendor/bundle/gems/launchy-2.4.3/spec/detect/host_os_family_spec.rb +40 -0
  1170. data/vendor/bundle/gems/launchy-2.4.3/spec/detect/host_os_spec.rb +19 -0
  1171. data/vendor/bundle/gems/launchy-2.4.3/spec/detect/nix_desktop_environment_spec.rb +36 -0
  1172. data/vendor/bundle/gems/launchy-2.4.3/spec/detect/ruby_engine_spec.rb +37 -0
  1173. data/vendor/bundle/gems/launchy-2.4.3/spec/detect/runner_spec.rb +103 -0
  1174. data/vendor/bundle/gems/launchy-2.4.3/spec/launchy_spec.rb +110 -0
  1175. data/vendor/bundle/gems/launchy-2.4.3/spec/mock_application.rb +9 -0
  1176. data/vendor/bundle/gems/launchy-2.4.3/spec/spec_helper.rb +11 -0
  1177. data/vendor/bundle/gems/launchy-2.4.3/spec/tattle-host-os.yaml +427 -0
  1178. data/vendor/bundle/gems/launchy-2.4.3/spec/version_spec.rb +11 -0
  1179. data/vendor/bundle/gems/launchy-2.4.3/tasks/default.rake +272 -0
  1180. data/vendor/bundle/gems/launchy-2.4.3/tasks/this.rb +209 -0
  1181. data/vendor/bundle/gems/metaclass-0.0.4/COPYING.txt +21 -0
  1182. data/vendor/bundle/gems/metaclass-0.0.4/Gemfile +3 -0
  1183. data/vendor/bundle/gems/metaclass-0.0.4/README.md +10 -0
  1184. data/vendor/bundle/gems/metaclass-0.0.4/Rakefile +11 -0
  1185. data/vendor/bundle/gems/metaclass-0.0.4/lib/metaclass.rb +5 -0
  1186. data/vendor/bundle/gems/metaclass-0.0.4/lib/metaclass/object_methods.rb +11 -0
  1187. data/vendor/bundle/gems/metaclass-0.0.4/lib/metaclass/version.rb +3 -0
  1188. data/vendor/bundle/gems/metaclass-0.0.4/metaclass.gemspec +20 -0
  1189. data/vendor/bundle/gems/metaclass-0.0.4/test/object_methods_test.rb +31 -0
  1190. data/vendor/bundle/gems/metaclass-0.0.4/test/test_helper.rb +5 -0
  1191. data/vendor/bundle/gems/minitest-5.11.3/.autotest +34 -0
  1192. data/vendor/bundle/gems/minitest-5.11.3/History.rdoc +1310 -0
  1193. data/vendor/bundle/gems/minitest-5.11.3/Manifest.txt +26 -0
  1194. data/vendor/bundle/gems/minitest-5.11.3/README.rdoc +746 -0
  1195. data/vendor/bundle/gems/minitest-5.11.3/Rakefile +86 -0
  1196. data/vendor/bundle/gems/minitest-5.11.3/design_rationale.rb +52 -0
  1197. data/vendor/bundle/gems/minitest-5.11.3/lib/hoe/minitest.rb +32 -0
  1198. data/vendor/bundle/gems/minitest-5.11.3/lib/minitest.rb +987 -0
  1199. data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/assertions.rb +693 -0
  1200. data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/autorun.rb +13 -0
  1201. data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/benchmark.rb +455 -0
  1202. data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/expectations.rb +284 -0
  1203. data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/hell.rb +11 -0
  1204. data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/mock.rb +240 -0
  1205. data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/parallel.rb +70 -0
  1206. data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/pride.rb +4 -0
  1207. data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/pride_plugin.rb +142 -0
  1208. data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/spec.rb +331 -0
  1209. data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/test.rb +220 -0
  1210. data/vendor/bundle/gems/minitest-5.11.3/lib/minitest/unit.rb +45 -0
  1211. data/vendor/bundle/gems/minitest-5.11.3/test/minitest/metametameta.rb +102 -0
  1212. data/vendor/bundle/gems/minitest-5.11.3/test/minitest/test_minitest_benchmark.rb +137 -0
  1213. data/vendor/bundle/gems/minitest-5.11.3/test/minitest/test_minitest_mock.rb +874 -0
  1214. data/vendor/bundle/gems/minitest-5.11.3/test/minitest/test_minitest_reporter.rb +299 -0
  1215. data/vendor/bundle/gems/minitest-5.11.3/test/minitest/test_minitest_spec.rb +987 -0
  1216. data/vendor/bundle/gems/minitest-5.11.3/test/minitest/test_minitest_test.rb +2142 -0
  1217. data/vendor/bundle/gems/mocha-1.8.0/.gemtest +0 -0
  1218. data/vendor/bundle/gems/mocha-1.8.0/.rubocop.yml +58 -0
  1219. data/vendor/bundle/gems/mocha-1.8.0/.rubocop_todo.yml +50 -0
  1220. data/vendor/bundle/gems/mocha-1.8.0/.yardopts +23 -0
  1221. data/vendor/bundle/gems/mocha-1.8.0/CONTRIBUTING.md +7 -0
  1222. data/vendor/bundle/gems/mocha-1.8.0/COPYING.md +3 -0
  1223. data/vendor/bundle/gems/mocha-1.8.0/Gemfile +3 -0
  1224. data/vendor/bundle/gems/mocha-1.8.0/MIT-LICENSE.md +7 -0
  1225. data/vendor/bundle/gems/mocha-1.8.0/README.md +338 -0
  1226. data/vendor/bundle/gems/mocha-1.8.0/RELEASE.md +617 -0
  1227. data/vendor/bundle/gems/mocha-1.8.0/Rakefile +149 -0
  1228. data/vendor/bundle/gems/mocha-1.8.0/bin/build-matrix +83 -0
  1229. data/vendor/bundle/gems/mocha-1.8.0/docs/CNAME +1 -0
  1230. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha.html +127 -0
  1231. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/API.html +1056 -0
  1232. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ClassMethods.html +267 -0
  1233. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/Configuration.html +626 -0
  1234. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/Expectation.html +2709 -0
  1235. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ExpectationError.html +157 -0
  1236. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ExpectationErrorFactory.html +269 -0
  1237. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/Hooks.html +385 -0
  1238. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/Integration.html +125 -0
  1239. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/Integration/MiniTest.html +123 -0
  1240. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/Integration/MiniTest/Adapter.html +165 -0
  1241. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/Integration/TestUnit.html +123 -0
  1242. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/Integration/TestUnit/Adapter.html +165 -0
  1243. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/Mock.html +1197 -0
  1244. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ObjectMethods.html +712 -0
  1245. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers.html +3049 -0
  1246. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/AllOf.html +154 -0
  1247. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/AnyOf.html +154 -0
  1248. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/AnyParameters.html +153 -0
  1249. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/Anything.html +153 -0
  1250. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/Base.html +448 -0
  1251. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/Equals.html +154 -0
  1252. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/EquivalentUri.html +153 -0
  1253. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/HasEntries.html +154 -0
  1254. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/HasEntry.html +154 -0
  1255. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/HasKey.html +154 -0
  1256. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/HasValue.html +154 -0
  1257. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/Includes.html +154 -0
  1258. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/InstanceOf.html +154 -0
  1259. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/IsA.html +153 -0
  1260. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/KindOf.html +154 -0
  1261. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/Not.html +154 -0
  1262. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/Optionally.html +153 -0
  1263. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/RegexpMatches.html +154 -0
  1264. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/RespondsWith.html +154 -0
  1265. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/ParameterMatchers/YamlEquivalent.html +154 -0
  1266. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/Sequence.html +149 -0
  1267. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/StateMachine.html +539 -0
  1268. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/StateMachine/State.html +141 -0
  1269. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/StateMachine/StatePredicate.html +141 -0
  1270. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/StubbingError.html +150 -0
  1271. data/vendor/bundle/gems/mocha-1.8.0/docs/Mocha/UnexpectedInvocation.html +140 -0
  1272. data/vendor/bundle/gems/mocha-1.8.0/docs/_index.html +537 -0
  1273. data/vendor/bundle/gems/mocha-1.8.0/docs/class_list.html +51 -0
  1274. data/vendor/bundle/gems/mocha-1.8.0/docs/css/common.css +1 -0
  1275. data/vendor/bundle/gems/mocha-1.8.0/docs/css/full_list.css +58 -0
  1276. data/vendor/bundle/gems/mocha-1.8.0/docs/css/style.css +496 -0
  1277. data/vendor/bundle/gems/mocha-1.8.0/docs/file.COPYING.html +81 -0
  1278. data/vendor/bundle/gems/mocha-1.8.0/docs/file.MIT-LICENSE.html +85 -0
  1279. data/vendor/bundle/gems/mocha-1.8.0/docs/file.README.html +418 -0
  1280. data/vendor/bundle/gems/mocha-1.8.0/docs/file.RELEASE.html +875 -0
  1281. data/vendor/bundle/gems/mocha-1.8.0/docs/file_list.html +71 -0
  1282. data/vendor/bundle/gems/mocha-1.8.0/docs/frames.html +17 -0
  1283. data/vendor/bundle/gems/mocha-1.8.0/docs/index.html +418 -0
  1284. data/vendor/bundle/gems/mocha-1.8.0/docs/js/app.js +292 -0
  1285. data/vendor/bundle/gems/mocha-1.8.0/docs/js/full_list.js +216 -0
  1286. data/vendor/bundle/gems/mocha-1.8.0/docs/js/jquery.js +4 -0
  1287. data/vendor/bundle/gems/mocha-1.8.0/docs/method_list.html +571 -0
  1288. data/vendor/bundle/gems/mocha-1.8.0/docs/top-level-namespace.html +118 -0
  1289. data/vendor/bundle/gems/mocha-1.8.0/gemfiles/Gemfile.minitest.1.3.0 +7 -0
  1290. data/vendor/bundle/gems/mocha-1.8.0/gemfiles/Gemfile.minitest.1.4.0 +7 -0
  1291. data/vendor/bundle/gems/mocha-1.8.0/gemfiles/Gemfile.minitest.1.4.1 +7 -0
  1292. data/vendor/bundle/gems/mocha-1.8.0/gemfiles/Gemfile.minitest.1.4.2 +7 -0
  1293. data/vendor/bundle/gems/mocha-1.8.0/gemfiles/Gemfile.minitest.2.0.0 +7 -0
  1294. data/vendor/bundle/gems/mocha-1.8.0/gemfiles/Gemfile.minitest.2.0.1 +7 -0
  1295. data/vendor/bundle/gems/mocha-1.8.0/gemfiles/Gemfile.minitest.2.11.0 +7 -0
  1296. data/vendor/bundle/gems/mocha-1.8.0/gemfiles/Gemfile.minitest.2.11.2 +7 -0
  1297. data/vendor/bundle/gems/mocha-1.8.0/gemfiles/Gemfile.minitest.2.3.0 +7 -0
  1298. data/vendor/bundle/gems/mocha-1.8.0/gemfiles/Gemfile.minitest.latest +7 -0
  1299. data/vendor/bundle/gems/mocha-1.8.0/gemfiles/Gemfile.test-unit.2.0.0 +7 -0
  1300. data/vendor/bundle/gems/mocha-1.8.0/gemfiles/Gemfile.test-unit.2.0.1 +7 -0
  1301. data/vendor/bundle/gems/mocha-1.8.0/gemfiles/Gemfile.test-unit.2.0.3 +7 -0
  1302. data/vendor/bundle/gems/mocha-1.8.0/gemfiles/Gemfile.test-unit.latest +11 -0
  1303. data/vendor/bundle/gems/mocha-1.8.0/init.rb +3 -0
  1304. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha.rb +1 -0
  1305. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/any_instance_method.rb +66 -0
  1306. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/api.rb +178 -0
  1307. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/argument_iterator.rb +17 -0
  1308. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/backtrace_filter.rb +13 -0
  1309. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/cardinality.rb +88 -0
  1310. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/central.rb +42 -0
  1311. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/change_state_side_effect.rb +15 -0
  1312. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/class_method.rb +113 -0
  1313. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/class_methods.rb +60 -0
  1314. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/configuration.rb +148 -0
  1315. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/debug.rb +12 -0
  1316. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/deprecation.rb +20 -0
  1317. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/detection/mini_test.rb +23 -0
  1318. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/detection/test_unit.rb +29 -0
  1319. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/error_with_filtered_backtrace.rb +13 -0
  1320. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/exception_raiser.rb +14 -0
  1321. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/expectation.rb +609 -0
  1322. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/expectation_error.rb +10 -0
  1323. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/expectation_error_factory.rb +35 -0
  1324. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/expectation_list.rb +58 -0
  1325. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/hooks.rb +42 -0
  1326. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/in_state_ordering_constraint.rb +15 -0
  1327. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/inspect.rb +55 -0
  1328. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/instance_method.rb +6 -0
  1329. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration.rb +13 -0
  1330. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/assertion_counter.rb +13 -0
  1331. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/mini_test.rb +49 -0
  1332. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/mini_test/adapter.rb +52 -0
  1333. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/mini_test/exception_translation.rb +14 -0
  1334. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/mini_test/nothing.rb +19 -0
  1335. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/mini_test/version_13.rb +54 -0
  1336. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/mini_test/version_140.rb +54 -0
  1337. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/mini_test/version_141.rb +65 -0
  1338. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/mini_test/version_142_to_172.rb +65 -0
  1339. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/mini_test/version_200.rb +66 -0
  1340. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/mini_test/version_201_to_222.rb +66 -0
  1341. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/mini_test/version_2110_to_2111.rb +70 -0
  1342. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/mini_test/version_2112_to_320.rb +73 -0
  1343. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/mini_test/version_230_to_2101.rb +68 -0
  1344. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/monkey_patcher.rb +24 -0
  1345. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/test_unit.rb +44 -0
  1346. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/test_unit/adapter.rb +50 -0
  1347. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/test_unit/gem_version_200.rb +62 -0
  1348. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/test_unit/gem_version_201_to_202.rb +62 -0
  1349. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/test_unit/gem_version_203_to_220.rb +62 -0
  1350. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/test_unit/gem_version_230_to_250.rb +68 -0
  1351. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/test_unit/nothing.rb +19 -0
  1352. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/test_unit/ruby_version_185_and_below.rb +61 -0
  1353. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb +63 -0
  1354. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/is_a.rb +7 -0
  1355. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/logger.rb +11 -0
  1356. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/method_matcher.rb +17 -0
  1357. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/mini_test.rb +5 -0
  1358. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/minitest.rb +3 -0
  1359. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/mock.rb +359 -0
  1360. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/mockery.rb +225 -0
  1361. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/module_method.rb +6 -0
  1362. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/module_methods.rb +10 -0
  1363. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/multiple_yields.rb +15 -0
  1364. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/names.rb +43 -0
  1365. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/no_yields.rb +5 -0
  1366. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/not_initialized_error.rb +7 -0
  1367. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/object_methods.rb +175 -0
  1368. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers.rb +26 -0
  1369. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/all_of.rb +46 -0
  1370. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/any_of.rb +52 -0
  1371. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/any_parameters.rb +41 -0
  1372. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/anything.rb +36 -0
  1373. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/base.rb +65 -0
  1374. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/equals.rb +47 -0
  1375. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/equivalent_uri.rb +67 -0
  1376. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/has_entries.rb +51 -0
  1377. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/has_entry.rb +90 -0
  1378. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/has_key.rb +49 -0
  1379. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/has_value.rb +49 -0
  1380. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/includes.rb +100 -0
  1381. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/instance_of.rb +47 -0
  1382. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/is_a.rb +49 -0
  1383. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/kind_of.rb +49 -0
  1384. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/not.rb +48 -0
  1385. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/object.rb +15 -0
  1386. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/optionally.rb +61 -0
  1387. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/regexp_matches.rb +48 -0
  1388. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/responds_with.rb +49 -0
  1389. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameter_matchers/yaml_equivalent.rb +49 -0
  1390. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/parameters_matcher.rb +34 -0
  1391. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/pretty_parameters.rb +24 -0
  1392. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/receivers.rb +45 -0
  1393. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/return_values.rb +27 -0
  1394. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/ruby_version.rb +4 -0
  1395. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/sequence.rb +46 -0
  1396. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/setup.rb +9 -0
  1397. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/single_return_value.rb +13 -0
  1398. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/single_yield.rb +13 -0
  1399. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/standalone.rb +4 -0
  1400. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/state_machine.rb +102 -0
  1401. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/stubbing_error.rb +8 -0
  1402. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/test_unit.rb +3 -0
  1403. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/thrower.rb +12 -0
  1404. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/unexpected_invocation.rb +24 -0
  1405. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/version.rb +3 -0
  1406. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha/yield_parameters.rb +27 -0
  1407. data/vendor/bundle/gems/mocha-1.8.0/lib/mocha_standalone.rb +4 -0
  1408. data/vendor/bundle/gems/mocha-1.8.0/mocha.gemspec +51 -0
  1409. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/acceptance_test_helper.rb +35 -0
  1410. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/bug_18914_test.rb +38 -0
  1411. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/bug_21465_test.rb +32 -0
  1412. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/bug_21563_test.rb +23 -0
  1413. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/exception_rescue_test.rb +54 -0
  1414. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/expectations_on_multiple_methods_test.rb +56 -0
  1415. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/expected_invocation_count_test.rb +230 -0
  1416. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/failure_messages_test.rb +62 -0
  1417. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/issue_272_test.rb +51 -0
  1418. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/issue_65_test.rb +65 -0
  1419. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/issue_70_test.rb +54 -0
  1420. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/mocha_example_test.rb +97 -0
  1421. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/mocha_test_result_test.rb +84 -0
  1422. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/mock_test.rb +98 -0
  1423. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/mock_with_initializer_block_test.rb +56 -0
  1424. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/mocked_methods_dispatch_test.rb +76 -0
  1425. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/multiple_expectations_failure_message_test.rb +67 -0
  1426. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/optional_parameters_test.rb +68 -0
  1427. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/parameter_matcher_test.rb +300 -0
  1428. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/partial_mocks_test.rb +45 -0
  1429. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/prepend_test.rb +87 -0
  1430. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/prevent_use_of_mocha_outside_test_test.rb +77 -0
  1431. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/raise_exception_test.rb +37 -0
  1432. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/return_value_test.rb +50 -0
  1433. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/sequence_test.rb +190 -0
  1434. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/states_test.rb +72 -0
  1435. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_any_instance_method_defined_on_superclass_test.rb +65 -0
  1436. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_any_instance_method_test.rb +282 -0
  1437. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_class_method_defined_on_active_record_association_proxy_test.rb +106 -0
  1438. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_class_method_defined_on_class_test.rb +79 -0
  1439. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_class_method_defined_on_module_test.rb +74 -0
  1440. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_class_method_defined_on_superclass_test.rb +145 -0
  1441. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_everything_test.rb +54 -0
  1442. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_instance_method_defined_on_active_record_association_proxy_test.rb +92 -0
  1443. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_instance_method_defined_on_class_and_aliased_test.rb +68 -0
  1444. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_instance_method_defined_on_class_test.rb +68 -0
  1445. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_instance_method_defined_on_kernel_module_test.rb +137 -0
  1446. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_instance_method_defined_on_module_test.rb +77 -0
  1447. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_instance_method_defined_on_object_class_test.rb +76 -0
  1448. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_instance_method_defined_on_singleton_class_test.rb +68 -0
  1449. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_instance_method_defined_on_superclass_test.rb +71 -0
  1450. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_method_defined_on_module_and_aliased_test.rb +39 -0
  1451. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_module_method_test.rb +201 -0
  1452. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stub_test.rb +50 -0
  1453. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stubba_example_test.rb +94 -0
  1454. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stubba_test_result_test.rb +72 -0
  1455. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stubbing_error_backtrace_test.rb +64 -0
  1456. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stubbing_frozen_object_test.rb +89 -0
  1457. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stubbing_method_accepting_block_parameter_test.rb +53 -0
  1458. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stubbing_method_unnecessarily_test.rb +63 -0
  1459. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stubbing_nil_test.rb +60 -0
  1460. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stubbing_non_existent_any_instance_method_test.rb +141 -0
  1461. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stubbing_non_existent_class_method_test.rb +157 -0
  1462. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stubbing_non_existent_instance_method_test.rb +145 -0
  1463. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stubbing_non_public_any_instance_method_test.rb +128 -0
  1464. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stubbing_non_public_class_method_test.rb +163 -0
  1465. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stubbing_non_public_instance_method_test.rb +141 -0
  1466. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stubbing_on_non_mock_object_test.rb +70 -0
  1467. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/stubbing_same_class_method_on_parent_and_child_classes_test.rb +34 -0
  1468. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/throw_test.rb +43 -0
  1469. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/unexpected_invocation_test.rb +24 -0
  1470. data/vendor/bundle/gems/mocha-1.8.0/test/acceptance/unstubbing_test.rb +195 -0
  1471. data/vendor/bundle/gems/mocha-1.8.0/test/assertions.rb +8 -0
  1472. data/vendor/bundle/gems/mocha-1.8.0/test/deprecation_disabler.rb +15 -0
  1473. data/vendor/bundle/gems/mocha-1.8.0/test/execution_point.rb +36 -0
  1474. data/vendor/bundle/gems/mocha-1.8.0/test/integration/mini_test_test.rb +8 -0
  1475. data/vendor/bundle/gems/mocha-1.8.0/test/integration/shared_tests.rb +176 -0
  1476. data/vendor/bundle/gems/mocha-1.8.0/test/integration/test_unit_test.rb +8 -0
  1477. data/vendor/bundle/gems/mocha-1.8.0/test/method_definer.rb +22 -0
  1478. data/vendor/bundle/gems/mocha-1.8.0/test/mini_test_result.rb +96 -0
  1479. data/vendor/bundle/gems/mocha-1.8.0/test/minitest_result.rb +48 -0
  1480. data/vendor/bundle/gems/mocha-1.8.0/test/simple_counter.rb +11 -0
  1481. data/vendor/bundle/gems/mocha-1.8.0/test/test_helper.rb +58 -0
  1482. data/vendor/bundle/gems/mocha-1.8.0/test/test_runner.rb +56 -0
  1483. data/vendor/bundle/gems/mocha-1.8.0/test/test_unit_result.rb +22 -0
  1484. data/vendor/bundle/gems/mocha-1.8.0/test/unit/any_instance_method_test.rb +150 -0
  1485. data/vendor/bundle/gems/mocha-1.8.0/test/unit/array_inspect_test.rb +14 -0
  1486. data/vendor/bundle/gems/mocha-1.8.0/test/unit/backtrace_filter_test.rb +17 -0
  1487. data/vendor/bundle/gems/mocha-1.8.0/test/unit/cardinality_test.rb +54 -0
  1488. data/vendor/bundle/gems/mocha-1.8.0/test/unit/central_test.rb +99 -0
  1489. data/vendor/bundle/gems/mocha-1.8.0/test/unit/change_state_side_effect_test.rb +37 -0
  1490. data/vendor/bundle/gems/mocha-1.8.0/test/unit/class_method_test.rb +254 -0
  1491. data/vendor/bundle/gems/mocha-1.8.0/test/unit/class_methods_test.rb +69 -0
  1492. data/vendor/bundle/gems/mocha-1.8.0/test/unit/configuration_test.rb +37 -0
  1493. data/vendor/bundle/gems/mocha-1.8.0/test/unit/date_time_inspect_test.rb +19 -0
  1494. data/vendor/bundle/gems/mocha-1.8.0/test/unit/exception_raiser_test.rb +40 -0
  1495. data/vendor/bundle/gems/mocha-1.8.0/test/unit/expectation_list_test.rb +80 -0
  1496. data/vendor/bundle/gems/mocha-1.8.0/test/unit/expectation_test.rb +492 -0
  1497. data/vendor/bundle/gems/mocha-1.8.0/test/unit/hash_inspect_test.rb +14 -0
  1498. data/vendor/bundle/gems/mocha-1.8.0/test/unit/hooks_test.rb +35 -0
  1499. data/vendor/bundle/gems/mocha-1.8.0/test/unit/in_state_ordering_constraint_test.rb +39 -0
  1500. data/vendor/bundle/gems/mocha-1.8.0/test/unit/method_matcher_test.rb +26 -0
  1501. data/vendor/bundle/gems/mocha-1.8.0/test/unit/mock_test.rb +363 -0
  1502. data/vendor/bundle/gems/mocha-1.8.0/test/unit/mockery_test.rb +174 -0
  1503. data/vendor/bundle/gems/mocha-1.8.0/test/unit/module_methods_test.rb +17 -0
  1504. data/vendor/bundle/gems/mocha-1.8.0/test/unit/multiple_yields_test.rb +16 -0
  1505. data/vendor/bundle/gems/mocha-1.8.0/test/unit/no_yields_test.rb +16 -0
  1506. data/vendor/bundle/gems/mocha-1.8.0/test/unit/object_inspect_test.rb +58 -0
  1507. data/vendor/bundle/gems/mocha-1.8.0/test/unit/object_methods_test.rb +62 -0
  1508. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/all_of_test.rb +24 -0
  1509. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/any_of_test.rb +24 -0
  1510. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/anything_test.rb +19 -0
  1511. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/equals_test.rb +23 -0
  1512. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/equivalent_uri_test.rb +50 -0
  1513. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/has_entries_test.rb +51 -0
  1514. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/has_entry_test.rb +128 -0
  1515. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/has_key_test.rb +54 -0
  1516. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/has_value_test.rb +55 -0
  1517. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/includes_test.rb +106 -0
  1518. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/instance_of_test.rb +23 -0
  1519. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/is_a_test.rb +23 -0
  1520. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/kind_of_test.rb +23 -0
  1521. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/not_test.rb +24 -0
  1522. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/regexp_matches_test.rb +45 -0
  1523. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/responds_with_test.rb +38 -0
  1524. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/stub_matcher.rb +23 -0
  1525. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameter_matchers/yaml_equivalent_test.rb +23 -0
  1526. data/vendor/bundle/gems/mocha-1.8.0/test/unit/parameters_matcher_test.rb +119 -0
  1527. data/vendor/bundle/gems/mocha-1.8.0/test/unit/receivers_test.rb +96 -0
  1528. data/vendor/bundle/gems/mocha-1.8.0/test/unit/return_values_test.rb +61 -0
  1529. data/vendor/bundle/gems/mocha-1.8.0/test/unit/sequence_test.rb +100 -0
  1530. data/vendor/bundle/gems/mocha-1.8.0/test/unit/single_return_value_test.rb +12 -0
  1531. data/vendor/bundle/gems/mocha-1.8.0/test/unit/single_yield_test.rb +16 -0
  1532. data/vendor/bundle/gems/mocha-1.8.0/test/unit/state_machine_test.rb +96 -0
  1533. data/vendor/bundle/gems/mocha-1.8.0/test/unit/string_inspect_test.rb +9 -0
  1534. data/vendor/bundle/gems/mocha-1.8.0/test/unit/thrower_test.rb +18 -0
  1535. data/vendor/bundle/gems/mocha-1.8.0/test/unit/yield_parameters_test.rb +91 -0
  1536. data/vendor/bundle/gems/mocha-1.8.0/yard-templates/default/layout/html/google_analytics.erb +8 -0
  1537. data/vendor/bundle/gems/mocha-1.8.0/yard-templates/default/layout/html/setup.rb +5 -0
  1538. data/vendor/bundle/gems/mocha-on-bacon-0.2.3/LICENSE +20 -0
  1539. data/vendor/bundle/gems/mocha-on-bacon-0.2.3/README.md +75 -0
  1540. data/vendor/bundle/gems/mocha-on-bacon-0.2.3/lib/mocha-on-bacon.rb +69 -0
  1541. data/vendor/bundle/gems/molinillo-0.6.6/ARCHITECTURE.md +102 -0
  1542. data/vendor/bundle/gems/molinillo-0.6.6/CHANGELOG.md +438 -0
  1543. data/vendor/bundle/gems/molinillo-0.6.6/LICENSE +9 -0
  1544. data/vendor/bundle/gems/molinillo-0.6.6/README.md +45 -0
  1545. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo.rb +12 -0
  1546. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/compatibility.rb +26 -0
  1547. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/delegates/resolution_state.rb +57 -0
  1548. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/delegates/specification_provider.rb +81 -0
  1549. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/dependency_graph.rb +223 -0
  1550. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/dependency_graph/action.rb +36 -0
  1551. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/dependency_graph/add_edge_no_circular.rb +66 -0
  1552. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/dependency_graph/add_vertex.rb +62 -0
  1553. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/dependency_graph/delete_edge.rb +63 -0
  1554. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/dependency_graph/detach_vertex_named.rb +61 -0
  1555. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/dependency_graph/log.rb +126 -0
  1556. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/dependency_graph/set_payload.rb +46 -0
  1557. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/dependency_graph/tag.rb +36 -0
  1558. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/dependency_graph/vertex.rb +158 -0
  1559. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/errors.rb +143 -0
  1560. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/gem_metadata.rb +6 -0
  1561. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/modules/specification_provider.rb +101 -0
  1562. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/modules/ui.rb +67 -0
  1563. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/resolution.rb +837 -0
  1564. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/resolver.rb +46 -0
  1565. data/vendor/bundle/gems/molinillo-0.6.6/lib/molinillo/state.rb +58 -0
  1566. data/vendor/bundle/gems/nanaimo-0.2.6/.rspec +2 -0
  1567. data/vendor/bundle/gems/nanaimo-0.2.6/.rubocop.yml +14 -0
  1568. data/vendor/bundle/gems/nanaimo-0.2.6/.rubocop_todo.yml +104 -0
  1569. data/vendor/bundle/gems/nanaimo-0.2.6/.travis.yml +12 -0
  1570. data/vendor/bundle/gems/nanaimo-0.2.6/CHANGELOG.md +157 -0
  1571. data/vendor/bundle/gems/nanaimo-0.2.6/CODE_OF_CONDUCT.md +49 -0
  1572. data/vendor/bundle/gems/nanaimo-0.2.6/Gemfile +10 -0
  1573. data/vendor/bundle/gems/nanaimo-0.2.6/Gemfile.lock +51 -0
  1574. data/vendor/bundle/gems/nanaimo-0.2.6/LICENSE.txt +21 -0
  1575. data/vendor/bundle/gems/nanaimo-0.2.6/README.md +55 -0
  1576. data/vendor/bundle/gems/nanaimo-0.2.6/Rakefile +80 -0
  1577. data/vendor/bundle/gems/nanaimo-0.2.6/bin/console +15 -0
  1578. data/vendor/bundle/gems/nanaimo-0.2.6/bin/setup +8 -0
  1579. data/vendor/bundle/gems/nanaimo-0.2.6/lib/nanaimo.rb +22 -0
  1580. data/vendor/bundle/gems/nanaimo-0.2.6/lib/nanaimo/object.rb +102 -0
  1581. data/vendor/bundle/gems/nanaimo-0.2.6/lib/nanaimo/plist.rb +35 -0
  1582. data/vendor/bundle/gems/nanaimo-0.2.6/lib/nanaimo/reader.rb +287 -0
  1583. data/vendor/bundle/gems/nanaimo-0.2.6/lib/nanaimo/unicode.rb +89 -0
  1584. data/vendor/bundle/gems/nanaimo-0.2.6/lib/nanaimo/unicode/next_step_mapping.rb +136 -0
  1585. data/vendor/bundle/gems/nanaimo-0.2.6/lib/nanaimo/unicode/quote_maps.rb +57 -0
  1586. data/vendor/bundle/gems/nanaimo-0.2.6/lib/nanaimo/version.rb +5 -0
  1587. data/vendor/bundle/gems/nanaimo-0.2.6/lib/nanaimo/writer.rb +206 -0
  1588. data/vendor/bundle/gems/nanaimo-0.2.6/lib/nanaimo/writer/pbxproj.rb +83 -0
  1589. data/vendor/bundle/gems/nanaimo-0.2.6/lib/nanaimo/writer/xml.rb +139 -0
  1590. data/vendor/bundle/gems/nanaimo-0.2.6/nanaimo.gemspec +26 -0
  1591. data/vendor/bundle/gems/nap-1.1.0/LICENSE +18 -0
  1592. data/vendor/bundle/gems/nap-1.1.0/README.md +80 -0
  1593. data/vendor/bundle/gems/nap-1.1.0/lib/rest.rb +106 -0
  1594. data/vendor/bundle/gems/nap-1.1.0/lib/rest/error.rb +92 -0
  1595. data/vendor/bundle/gems/nap-1.1.0/lib/rest/request.rb +196 -0
  1596. data/vendor/bundle/gems/nap-1.1.0/lib/rest/response.rb +46 -0
  1597. data/vendor/bundle/gems/nap-1.1.0/support/cacert.pem +3988 -0
  1598. data/vendor/bundle/gems/netrc-0.11.0/LICENSE.md +20 -0
  1599. data/vendor/bundle/gems/netrc-0.11.0/Readme.md +53 -0
  1600. data/vendor/bundle/gems/netrc-0.11.0/changelog.txt +93 -0
  1601. data/vendor/bundle/gems/netrc-0.11.0/data/default_only.netrc +4 -0
  1602. data/vendor/bundle/gems/netrc-0.11.0/data/login.netrc +3 -0
  1603. data/vendor/bundle/gems/netrc-0.11.0/data/newlineless.netrc +4 -0
  1604. data/vendor/bundle/gems/netrc-0.11.0/data/password.netrc +3 -0
  1605. data/vendor/bundle/gems/netrc-0.11.0/data/permissive.netrc +4 -0
  1606. data/vendor/bundle/gems/netrc-0.11.0/data/sample.netrc +4 -0
  1607. data/vendor/bundle/gems/netrc-0.11.0/data/sample_multi.netrc +8 -0
  1608. data/vendor/bundle/gems/netrc-0.11.0/data/sample_multi_with_default.netrc +12 -0
  1609. data/vendor/bundle/gems/netrc-0.11.0/data/sample_with_default.netrc +8 -0
  1610. data/vendor/bundle/gems/netrc-0.11.0/lib/netrc.rb +251 -0
  1611. data/vendor/bundle/gems/netrc-0.11.0/test/test_lex.rb +58 -0
  1612. data/vendor/bundle/gems/netrc-0.11.0/test/test_netrc.rb +273 -0
  1613. data/vendor/bundle/gems/netrc-0.11.0/test/test_parse.rb +34 -0
  1614. data/vendor/bundle/gems/prettybacon-0.0.2/Gemfile +3 -0
  1615. data/vendor/bundle/gems/prettybacon-0.0.2/LICENSE.txt +22 -0
  1616. data/vendor/bundle/gems/prettybacon-0.0.2/PrettyBacon.gemspec +24 -0
  1617. data/vendor/bundle/gems/prettybacon-0.0.2/README.md +19 -0
  1618. data/vendor/bundle/gems/prettybacon-0.0.2/Rakefile +1 -0
  1619. data/vendor/bundle/gems/prettybacon-0.0.2/lib/pretty_bacon.rb +42 -0
  1620. data/vendor/bundle/gems/prettybacon-0.0.2/lib/pretty_bacon/context.rb +41 -0
  1621. data/vendor/bundle/gems/prettybacon-0.0.2/lib/pretty_bacon/spec_dox_output.rb +81 -0
  1622. data/vendor/bundle/gems/prettybacon-0.0.2/lib/pretty_bacon/test_unit_output.rb +79 -0
  1623. data/vendor/bundle/gems/prettybacon-0.0.2/lib/pretty_bacon/version.rb +3 -0
  1624. data/vendor/bundle/gems/public_suffix-3.0.3/.rubocop.yml +36 -0
  1625. data/vendor/bundle/gems/public_suffix-3.0.3/.rubocop_defaults.yml +184 -0
  1626. data/vendor/bundle/gems/public_suffix-3.0.3/.ruby-gemset +1 -0
  1627. data/vendor/bundle/gems/public_suffix-3.0.3/.travis.yml +25 -0
  1628. data/vendor/bundle/gems/public_suffix-3.0.3/.yardopts +1 -0
  1629. data/vendor/bundle/gems/public_suffix-3.0.3/2.0-Upgrade.md +52 -0
  1630. data/vendor/bundle/gems/public_suffix-3.0.3/CHANGELOG.md +340 -0
  1631. data/vendor/bundle/gems/public_suffix-3.0.3/Gemfile +10 -0
  1632. data/vendor/bundle/gems/public_suffix-3.0.3/LICENSE.txt +22 -0
  1633. data/vendor/bundle/gems/public_suffix-3.0.3/README.md +202 -0
  1634. data/vendor/bundle/gems/public_suffix-3.0.3/Rakefile +49 -0
  1635. data/vendor/bundle/gems/public_suffix-3.0.3/bin/console +14 -0
  1636. data/vendor/bundle/gems/public_suffix-3.0.3/data/list.txt +12659 -0
  1637. data/vendor/bundle/gems/public_suffix-3.0.3/lib/public_suffix.rb +175 -0
  1638. data/vendor/bundle/gems/public_suffix-3.0.3/lib/public_suffix/domain.rb +233 -0
  1639. data/vendor/bundle/gems/public_suffix-3.0.3/lib/public_suffix/errors.rb +39 -0
  1640. data/vendor/bundle/gems/public_suffix-3.0.3/lib/public_suffix/list.rb +243 -0
  1641. data/vendor/bundle/gems/public_suffix-3.0.3/lib/public_suffix/rule.rb +348 -0
  1642. data/vendor/bundle/gems/public_suffix-3.0.3/lib/public_suffix/version.rb +10 -0
  1643. data/vendor/bundle/gems/public_suffix-3.0.3/public_suffix.gemspec +25 -0
  1644. data/vendor/bundle/gems/public_suffix-3.0.3/test/.empty +2 -0
  1645. data/vendor/bundle/gems/public_suffix-3.0.3/test/acceptance_test.rb +127 -0
  1646. data/vendor/bundle/gems/public_suffix-3.0.3/test/benchmarks/bm_find.rb +66 -0
  1647. data/vendor/bundle/gems/public_suffix-3.0.3/test/benchmarks/bm_find_all.rb +102 -0
  1648. data/vendor/bundle/gems/public_suffix-3.0.3/test/benchmarks/bm_names.rb +91 -0
  1649. data/vendor/bundle/gems/public_suffix-3.0.3/test/benchmarks/bm_select.rb +26 -0
  1650. data/vendor/bundle/gems/public_suffix-3.0.3/test/benchmarks/bm_select_incremental.rb +25 -0
  1651. data/vendor/bundle/gems/public_suffix-3.0.3/test/benchmarks/bm_valid.rb +101 -0
  1652. data/vendor/bundle/gems/public_suffix-3.0.3/test/profilers/domain_profiler.rb +12 -0
  1653. data/vendor/bundle/gems/public_suffix-3.0.3/test/profilers/find_profiler.rb +12 -0
  1654. data/vendor/bundle/gems/public_suffix-3.0.3/test/profilers/find_profiler_jp.rb +12 -0
  1655. data/vendor/bundle/gems/public_suffix-3.0.3/test/profilers/initialization_profiler.rb +11 -0
  1656. data/vendor/bundle/gems/public_suffix-3.0.3/test/profilers/list_profsize.rb +11 -0
  1657. data/vendor/bundle/gems/public_suffix-3.0.3/test/profilers/object_binsize.rb +57 -0
  1658. data/vendor/bundle/gems/public_suffix-3.0.3/test/psl_test.rb +49 -0
  1659. data/vendor/bundle/gems/public_suffix-3.0.3/test/test_helper.rb +13 -0
  1660. data/vendor/bundle/gems/public_suffix-3.0.3/test/tests.txt +98 -0
  1661. data/vendor/bundle/gems/public_suffix-3.0.3/test/unit/domain_test.rb +104 -0
  1662. data/vendor/bundle/gems/public_suffix-3.0.3/test/unit/errors_test.rb +23 -0
  1663. data/vendor/bundle/gems/public_suffix-3.0.3/test/unit/list_test.rb +239 -0
  1664. data/vendor/bundle/gems/public_suffix-3.0.3/test/unit/public_suffix_test.rb +186 -0
  1665. data/vendor/bundle/gems/public_suffix-3.0.3/test/unit/rule_test.rb +220 -0
  1666. data/vendor/bundle/gems/rake-12.3.2/CONTRIBUTING.rdoc +43 -0
  1667. data/vendor/bundle/gems/rake-12.3.2/Gemfile +3 -0
  1668. data/vendor/bundle/gems/rake-12.3.2/History.rdoc +2333 -0
  1669. data/vendor/bundle/gems/rake-12.3.2/MIT-LICENSE +21 -0
  1670. data/vendor/bundle/gems/rake-12.3.2/README.rdoc +156 -0
  1671. data/vendor/bundle/gems/rake-12.3.2/Rakefile +41 -0
  1672. data/vendor/bundle/gems/rake-12.3.2/bin/bundle +105 -0
  1673. data/vendor/bundle/gems/rake-12.3.2/bin/console +7 -0
  1674. data/vendor/bundle/gems/rake-12.3.2/bin/rake +29 -0
  1675. data/vendor/bundle/gems/rake-12.3.2/bin/rdoc +29 -0
  1676. data/vendor/bundle/gems/rake-12.3.2/bin/rubocop +29 -0
  1677. data/vendor/bundle/gems/rake-12.3.2/bin/setup +6 -0
  1678. data/vendor/bundle/gems/rake-12.3.2/doc/command_line_usage.rdoc +158 -0
  1679. data/vendor/bundle/gems/rake-12.3.2/doc/example/Rakefile1 +38 -0
  1680. data/vendor/bundle/gems/rake-12.3.2/doc/example/Rakefile2 +35 -0
  1681. data/vendor/bundle/gems/rake-12.3.2/doc/example/a.c +6 -0
  1682. data/vendor/bundle/gems/rake-12.3.2/doc/example/b.c +6 -0
  1683. data/vendor/bundle/gems/rake-12.3.2/doc/example/main.c +11 -0
  1684. data/vendor/bundle/gems/rake-12.3.2/doc/glossary.rdoc +42 -0
  1685. data/vendor/bundle/gems/rake-12.3.2/doc/jamis.rb +592 -0
  1686. data/vendor/bundle/gems/rake-12.3.2/doc/proto_rake.rdoc +127 -0
  1687. data/vendor/bundle/gems/rake-12.3.2/doc/rake.1 +156 -0
  1688. data/vendor/bundle/gems/rake-12.3.2/doc/rakefile.rdoc +622 -0
  1689. data/vendor/bundle/gems/rake-12.3.2/doc/rational.rdoc +151 -0
  1690. data/vendor/bundle/gems/rake-12.3.2/exe/rake +27 -0
  1691. data/vendor/bundle/gems/rake-12.3.2/lib/rake.rb +71 -0
  1692. data/vendor/bundle/gems/rake-12.3.2/lib/rake/application.rb +824 -0
  1693. data/vendor/bundle/gems/rake-12.3.2/lib/rake/backtrace.rb +24 -0
  1694. data/vendor/bundle/gems/rake-12.3.2/lib/rake/clean.rb +78 -0
  1695. data/vendor/bundle/gems/rake-12.3.2/lib/rake/cloneable.rb +17 -0
  1696. data/vendor/bundle/gems/rake-12.3.2/lib/rake/cpu_counter.rb +107 -0
  1697. data/vendor/bundle/gems/rake-12.3.2/lib/rake/default_loader.rb +15 -0
  1698. data/vendor/bundle/gems/rake-12.3.2/lib/rake/dsl_definition.rb +195 -0
  1699. data/vendor/bundle/gems/rake-12.3.2/lib/rake/early_time.rb +22 -0
  1700. data/vendor/bundle/gems/rake-12.3.2/lib/rake/ext/core.rb +26 -0
  1701. data/vendor/bundle/gems/rake-12.3.2/lib/rake/ext/string.rb +176 -0
  1702. data/vendor/bundle/gems/rake-12.3.2/lib/rake/file_creation_task.rb +25 -0
  1703. data/vendor/bundle/gems/rake-12.3.2/lib/rake/file_list.rb +435 -0
  1704. data/vendor/bundle/gems/rake-12.3.2/lib/rake/file_task.rb +54 -0
  1705. data/vendor/bundle/gems/rake-12.3.2/lib/rake/file_utils.rb +137 -0
  1706. data/vendor/bundle/gems/rake-12.3.2/lib/rake/file_utils_ext.rb +145 -0
  1707. data/vendor/bundle/gems/rake-12.3.2/lib/rake/invocation_chain.rb +57 -0
  1708. data/vendor/bundle/gems/rake-12.3.2/lib/rake/invocation_exception_mixin.rb +17 -0
  1709. data/vendor/bundle/gems/rake-12.3.2/lib/rake/late_time.rb +18 -0
  1710. data/vendor/bundle/gems/rake-12.3.2/lib/rake/linked_list.rb +112 -0
  1711. data/vendor/bundle/gems/rake-12.3.2/lib/rake/loaders/makefile.rb +54 -0
  1712. data/vendor/bundle/gems/rake-12.3.2/lib/rake/multi_task.rb +14 -0
  1713. data/vendor/bundle/gems/rake-12.3.2/lib/rake/name_space.rb +38 -0
  1714. data/vendor/bundle/gems/rake-12.3.2/lib/rake/packagetask.rb +207 -0
  1715. data/vendor/bundle/gems/rake-12.3.2/lib/rake/phony.rb +16 -0
  1716. data/vendor/bundle/gems/rake-12.3.2/lib/rake/private_reader.rb +21 -0
  1717. data/vendor/bundle/gems/rake-12.3.2/lib/rake/promise.rb +100 -0
  1718. data/vendor/bundle/gems/rake-12.3.2/lib/rake/pseudo_status.rb +30 -0
  1719. data/vendor/bundle/gems/rake-12.3.2/lib/rake/rake_module.rb +67 -0
  1720. data/vendor/bundle/gems/rake-12.3.2/lib/rake/rake_test_loader.rb +27 -0
  1721. data/vendor/bundle/gems/rake-12.3.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
  1722. data/vendor/bundle/gems/rake-12.3.2/lib/rake/scope.rb +43 -0
  1723. data/vendor/bundle/gems/rake-12.3.2/lib/rake/task.rb +413 -0
  1724. data/vendor/bundle/gems/rake-12.3.2/lib/rake/task_argument_error.rb +8 -0
  1725. data/vendor/bundle/gems/rake-12.3.2/lib/rake/task_arguments.rb +109 -0
  1726. data/vendor/bundle/gems/rake-12.3.2/lib/rake/task_manager.rb +323 -0
  1727. data/vendor/bundle/gems/rake-12.3.2/lib/rake/tasklib.rb +12 -0
  1728. data/vendor/bundle/gems/rake-12.3.2/lib/rake/testtask.rb +224 -0
  1729. data/vendor/bundle/gems/rake-12.3.2/lib/rake/thread_history_display.rb +49 -0
  1730. data/vendor/bundle/gems/rake-12.3.2/lib/rake/thread_pool.rb +163 -0
  1731. data/vendor/bundle/gems/rake-12.3.2/lib/rake/trace_output.rb +23 -0
  1732. data/vendor/bundle/gems/rake-12.3.2/lib/rake/version.rb +10 -0
  1733. data/vendor/bundle/gems/rake-12.3.2/lib/rake/win32.rb +51 -0
  1734. data/vendor/bundle/gems/rake-12.3.2/rake.gemspec +42 -0
  1735. data/vendor/bundle/gems/ruby-macho-1.4.0/.yardopts +1 -0
  1736. data/vendor/bundle/gems/ruby-macho-1.4.0/LICENSE +21 -0
  1737. data/vendor/bundle/gems/ruby-macho-1.4.0/README.md +62 -0
  1738. data/vendor/bundle/gems/ruby-macho-1.4.0/lib/macho.rb +40 -0
  1739. data/vendor/bundle/gems/ruby-macho-1.4.0/lib/macho/exceptions.rb +207 -0
  1740. data/vendor/bundle/gems/ruby-macho-1.4.0/lib/macho/fat_file.rb +419 -0
  1741. data/vendor/bundle/gems/ruby-macho-1.4.0/lib/macho/headers.rb +784 -0
  1742. data/vendor/bundle/gems/ruby-macho-1.4.0/lib/macho/load_commands.rb +1790 -0
  1743. data/vendor/bundle/gems/ruby-macho-1.4.0/lib/macho/macho_file.rb +577 -0
  1744. data/vendor/bundle/gems/ruby-macho-1.4.0/lib/macho/sections.rb +204 -0
  1745. data/vendor/bundle/gems/ruby-macho-1.4.0/lib/macho/structure.rb +40 -0
  1746. data/vendor/bundle/gems/ruby-macho-1.4.0/lib/macho/tools.rb +109 -0
  1747. data/vendor/bundle/gems/ruby-macho-1.4.0/lib/macho/utils.rb +123 -0
  1748. data/vendor/bundle/gems/ruby-macho-1.4.0/lib/macho/view.rb +31 -0
  1749. data/vendor/bundle/gems/thread_safe-0.3.6/.rspec +2 -0
  1750. data/vendor/bundle/gems/thread_safe-0.3.6/.travis.yml +46 -0
  1751. data/vendor/bundle/gems/thread_safe-0.3.6/.yardopts +13 -0
  1752. data/vendor/bundle/gems/thread_safe-0.3.6/Gemfile +20 -0
  1753. data/vendor/bundle/gems/thread_safe-0.3.6/LICENSE +144 -0
  1754. data/vendor/bundle/gems/thread_safe-0.3.6/README.md +60 -0
  1755. data/vendor/bundle/gems/thread_safe-0.3.6/Rakefile +62 -0
  1756. data/vendor/bundle/gems/thread_safe-0.3.6/examples/bench_cache.rb +35 -0
  1757. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
  1758. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
  1759. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
  1760. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
  1761. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
  1762. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
  1763. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
  1764. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
  1765. data/vendor/bundle/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
  1766. data/vendor/bundle/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java +15 -0
  1767. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe.rb +65 -0
  1768. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb +908 -0
  1769. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb +161 -0
  1770. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb +60 -0
  1771. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb +135 -0
  1772. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb +77 -0
  1773. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb +43 -0
  1774. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util.rb +16 -0
  1775. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb +62 -0
  1776. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb +44 -0
  1777. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb +106 -0
  1778. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
  1779. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb +222 -0
  1780. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb +64 -0
  1781. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb +46 -0
  1782. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb +41 -0
  1783. data/vendor/bundle/gems/thread_safe-0.3.6/lib/thread_safe/version.rb +21 -0
  1784. data/vendor/bundle/gems/thread_safe-0.3.6/spec/spec_helper.rb +31 -0
  1785. data/vendor/bundle/gems/thread_safe-0.3.6/spec/src/thread_safe/SecurityManager.java +21 -0
  1786. data/vendor/bundle/gems/thread_safe-0.3.6/spec/support/threads.rb +1 -0
  1787. data/vendor/bundle/gems/thread_safe-0.3.6/spec/support/threadsafe_test.rb +75 -0
  1788. data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/array_spec.rb +18 -0
  1789. data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/cache_loops_spec.rb +507 -0
  1790. data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb +943 -0
  1791. data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/hash_spec.rb +17 -0
  1792. data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/no_unsafe_spec.rb +27 -0
  1793. data/vendor/bundle/gems/thread_safe-0.3.6/spec/thread_safe/synchronized_delegator_spec.rb +85 -0
  1794. data/vendor/bundle/gems/thread_safe-0.3.6/tasks/update_doc.rake +45 -0
  1795. data/vendor/bundle/gems/thread_safe-0.3.6/thread_safe.gemspec +26 -0
  1796. data/vendor/bundle/gems/thread_safe-0.3.6/yard-template/default/fulldoc/html/css/common.css +125 -0
  1797. data/vendor/bundle/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb +16 -0
  1798. data/vendor/bundle/gems/tzinfo-1.2.5/.yardopts +6 -0
  1799. data/vendor/bundle/gems/tzinfo-1.2.5/CHANGES.md +786 -0
  1800. data/vendor/bundle/gems/tzinfo-1.2.5/LICENSE +19 -0
  1801. data/vendor/bundle/gems/tzinfo-1.2.5/README.md +151 -0
  1802. data/vendor/bundle/gems/tzinfo-1.2.5/Rakefile +107 -0
  1803. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo.rb +40 -0
  1804. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/country.rb +196 -0
  1805. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/country_index_definition.rb +31 -0
  1806. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/country_info.rb +42 -0
  1807. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/country_timezone.rb +135 -0
  1808. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/data_source.rb +190 -0
  1809. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/data_timezone.rb +58 -0
  1810. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/data_timezone_info.rb +55 -0
  1811. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/info_timezone.rb +30 -0
  1812. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/linked_timezone.rb +63 -0
  1813. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/linked_timezone_info.rb +26 -0
  1814. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/offset_rationals.rb +77 -0
  1815. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/ruby_core_support.rb +146 -0
  1816. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/ruby_country_info.rb +74 -0
  1817. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/ruby_data_source.rb +136 -0
  1818. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/time_or_datetime.rb +340 -0
  1819. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone.rb +669 -0
  1820. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_definition.rb +36 -0
  1821. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_index_definition.rb +54 -0
  1822. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_info.rb +30 -0
  1823. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_offset.rb +101 -0
  1824. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_period.rb +245 -0
  1825. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_proxy.rb +105 -0
  1826. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_transition.rb +130 -0
  1827. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/timezone_transition_definition.rb +104 -0
  1828. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/transition_data_timezone_info.rb +274 -0
  1829. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_country_info.rb +37 -0
  1830. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_data_source.rb +488 -0
  1831. data/vendor/bundle/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_timezone_info.rb +296 -0
  1832. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_country.rb +234 -0
  1833. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_country_index_definition.rb +69 -0
  1834. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_country_info.rb +16 -0
  1835. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_country_timezone.rb +173 -0
  1836. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_data_source.rb +218 -0
  1837. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_data_timezone.rb +99 -0
  1838. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_data_timezone_info.rb +18 -0
  1839. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_info_timezone.rb +34 -0
  1840. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_linked_timezone.rb +155 -0
  1841. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_linked_timezone_info.rb +23 -0
  1842. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_offset_rationals.rb +23 -0
  1843. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_ruby_core_support.rb +168 -0
  1844. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_ruby_country_info.rb +110 -0
  1845. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_ruby_data_source.rb +143 -0
  1846. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_time_or_datetime.rb +654 -0
  1847. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone.rb +1350 -0
  1848. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_definition.rb +113 -0
  1849. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_index_definition.rb +73 -0
  1850. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_info.rb +11 -0
  1851. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_london.rb +143 -0
  1852. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_melbourne.rb +142 -0
  1853. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_new_york.rb +142 -0
  1854. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_offset.rb +126 -0
  1855. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_period.rb +555 -0
  1856. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_proxy.rb +136 -0
  1857. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_transition.rb +366 -0
  1858. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_transition_definition.rb +295 -0
  1859. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_timezone_utc.rb +27 -0
  1860. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_transition_data_timezone_info.rb +423 -0
  1861. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_zoneinfo_country_info.rb +78 -0
  1862. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_zoneinfo_data_source.rb +1195 -0
  1863. data/vendor/bundle/gems/tzinfo-1.2.5/test/tc_zoneinfo_timezone_info.rb +1232 -0
  1864. data/vendor/bundle/gems/tzinfo-1.2.5/test/test_utils.rb +163 -0
  1865. data/vendor/bundle/gems/tzinfo-1.2.5/test/ts_all.rb +7 -0
  1866. data/vendor/bundle/gems/tzinfo-1.2.5/test/ts_all_ruby.rb +5 -0
  1867. data/vendor/bundle/gems/tzinfo-1.2.5/test/ts_all_zoneinfo.rb +7 -0
  1868. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data.rb +8 -0
  1869. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
  1870. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +315 -0
  1871. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +218 -0
  1872. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
  1873. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
  1874. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
  1875. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
  1876. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +261 -0
  1877. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +186 -0
  1878. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +321 -0
  1879. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +265 -0
  1880. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +220 -0
  1881. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
  1882. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/indexes/countries.rb +927 -0
  1883. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +596 -0
  1884. data/vendor/bundle/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/version.rb +14 -0
  1885. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
  1886. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/America/New_York +0 -0
  1887. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Australia/Melbourne +0 -0
  1888. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/EST +0 -0
  1889. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Etc/UTC +0 -0
  1890. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Amsterdam +0 -0
  1891. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Andorra +0 -0
  1892. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Europe/London +0 -0
  1893. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Paris +0 -0
  1894. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Prague +0 -0
  1895. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/Factory +0 -0
  1896. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/iso3166.tab +275 -0
  1897. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/leapseconds +61 -0
  1898. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/posix/Europe/London +0 -0
  1899. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/posixrules +0 -0
  1900. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/right/Europe/London +0 -0
  1901. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/zone.tab +439 -0
  1902. data/vendor/bundle/gems/tzinfo-1.2.5/test/zoneinfo/zone1970.tab +369 -0
  1903. data/vendor/bundle/gems/tzinfo-1.2.5/tzinfo.gemspec +21 -0
  1904. data/vendor/bundle/gems/xcodeproj-1.9.0/LICENSE +19 -0
  1905. data/vendor/bundle/gems/xcodeproj-1.9.0/README.md +94 -0
  1906. data/vendor/bundle/gems/xcodeproj-1.9.0/bin/xcodeproj +10 -0
  1907. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj.rb +29 -0
  1908. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/command.rb +63 -0
  1909. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/command/config_dump.rb +87 -0
  1910. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/command/project_diff.rb +56 -0
  1911. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/command/show.rb +60 -0
  1912. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/command/sort.rb +33 -0
  1913. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/command/target_diff.rb +43 -0
  1914. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/config.rb +374 -0
  1915. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/config/other_linker_flags_parser.rb +68 -0
  1916. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/constants.rb +445 -0
  1917. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/differ.rb +239 -0
  1918. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/gem_version.rb +5 -0
  1919. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/helper.rb +30 -0
  1920. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/plist.rb +94 -0
  1921. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project.rb +867 -0
  1922. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/case_converter.rb +90 -0
  1923. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object.rb +532 -0
  1924. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object/build_configuration.rb +224 -0
  1925. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object/build_file.rb +70 -0
  1926. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object/build_phase.rb +305 -0
  1927. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object/build_rule.rb +90 -0
  1928. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object/configuration_list.rb +117 -0
  1929. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object/container_item_proxy.rb +116 -0
  1930. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object/file_reference.rb +337 -0
  1931. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object/group.rb +485 -0
  1932. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object/helpers/build_settings_array_settings_by_object_version.rb +72 -0
  1933. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object/helpers/file_references_factory.rb +242 -0
  1934. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object/helpers/groupable_helper.rb +259 -0
  1935. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object/native_target.rb +683 -0
  1936. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object/reference_proxy.rb +67 -0
  1937. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object/root_object.rb +87 -0
  1938. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object/target_dependency.rb +81 -0
  1939. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object_attributes.rb +522 -0
  1940. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object_dictionary.rb +210 -0
  1941. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/object_list.rb +223 -0
  1942. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/project_helper.rb +340 -0
  1943. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/project/uuid_generator.rb +132 -0
  1944. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/scheme.rb +371 -0
  1945. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/scheme/abstract_scheme_action.rb +28 -0
  1946. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/scheme/analyze_action.rb +19 -0
  1947. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/scheme/archive_action.rb +59 -0
  1948. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/scheme/build_action.rb +191 -0
  1949. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/scheme/buildable_product_runnable.rb +55 -0
  1950. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/scheme/buildable_reference.rb +129 -0
  1951. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/scheme/command_line_arguments.rb +162 -0
  1952. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/scheme/environment_variables.rb +170 -0
  1953. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/scheme/launch_action.rb +148 -0
  1954. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/scheme/macro_expansion.rb +34 -0
  1955. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/scheme/profile_action.rb +57 -0
  1956. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/scheme/remote_runnable.rb +92 -0
  1957. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/scheme/test_action.rb +333 -0
  1958. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/scheme/xml_element_wrapper.rb +82 -0
  1959. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/user_interface.rb +22 -0
  1960. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/workspace.rb +276 -0
  1961. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/workspace/file_reference.rb +79 -0
  1962. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/workspace/group_reference.rb +67 -0
  1963. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/workspace/reference.rb +40 -0
  1964. data/vendor/bundle/gems/xcodeproj-1.9.0/lib/xcodeproj/xcodebuild_helper.rb +108 -0
  1965. data/vendor/bundle/specifications/CFPropertyList-3.0.0.gemspec +34 -0
  1966. data/vendor/bundle/specifications/activesupport-4.2.11.1.gemspec +43 -0
  1967. data/vendor/bundle/specifications/addressable-2.6.0.gemspec +39 -0
  1968. data/vendor/bundle/specifications/atomos-0.1.3.gemspec +42 -0
  1969. data/vendor/bundle/specifications/bacon-1.2.0.gemspec +22 -0
  1970. data/vendor/bundle/specifications/claide-1.0.2.gemspec +19 -0
  1971. data/vendor/bundle/specifications/cocoapods-1.6.1.gemspec +95 -0
  1972. data/vendor/bundle/specifications/cocoapods-core-1.6.1.gemspec +42 -0
  1973. data/vendor/bundle/specifications/cocoapods-deintegrate-1.0.4.gemspec +20 -0
  1974. data/vendor/bundle/specifications/cocoapods-downloader-1.2.2.gemspec +20 -0
  1975. data/vendor/bundle/specifications/cocoapods-plugins-1.0.0.gemspec +38 -0
  1976. data/vendor/bundle/specifications/cocoapods-search-1.0.0.gemspec +35 -0
  1977. data/vendor/bundle/specifications/cocoapods-stats-1.1.0.gemspec +35 -0
  1978. data/vendor/bundle/specifications/cocoapods-trunk-1.3.1.gemspec +41 -0
  1979. data/vendor/bundle/specifications/cocoapods-try-1.1.0.gemspec +33 -0
  1980. data/vendor/bundle/specifications/colored2-3.1.2.gemspec +39 -0
  1981. data/vendor/bundle/specifications/concurrent-ruby-1.1.5.gemspec +24 -0
  1982. data/vendor/bundle/specifications/escape-0.0.4.gemspec +23 -0
  1983. data/vendor/bundle/specifications/fourflusher-2.2.0.gemspec +41 -0
  1984. data/vendor/bundle/specifications/fuzzy_match-2.0.4.gemspec +64 -0
  1985. data/vendor/bundle/specifications/gh_inspector-1.1.3.gemspec +47 -0
  1986. data/vendor/bundle/specifications/i18n-0.9.5.gemspec +34 -0
  1987. data/vendor/bundle/specifications/json-2.2.0.gemspec +0 -0
  1988. data/vendor/bundle/specifications/launchy-2.4.3.gemspec +45 -0
  1989. data/vendor/bundle/specifications/metaclass-0.0.4.gemspec +20 -0
  1990. data/vendor/bundle/specifications/minitest-5.11.3.gemspec +39 -0
  1991. data/vendor/bundle/specifications/mocha-1.8.0.gemspec +45 -0
  1992. data/vendor/bundle/specifications/mocha-on-bacon-0.2.3.gemspec +34 -0
  1993. data/vendor/bundle/specifications/molinillo-0.6.6.gemspec +34 -0
  1994. data/vendor/bundle/specifications/nanaimo-0.2.6.gemspec +38 -0
  1995. data/vendor/bundle/specifications/nap-1.1.0.gemspec +38 -0
  1996. data/vendor/bundle/specifications/netrc-0.11.0.gemspec +32 -0
  1997. data/vendor/bundle/specifications/prettybacon-0.0.2.gemspec +38 -0
  1998. data/vendor/bundle/specifications/public_suffix-3.0.3.gemspec +41 -0
  1999. data/vendor/bundle/specifications/rake-12.3.2.gemspec +49 -0
  2000. data/vendor/bundle/specifications/ruby-macho-1.4.0.gemspec +21 -0
  2001. data/vendor/bundle/specifications/thread_safe-0.3.6.gemspec +38 -0
  2002. data/vendor/bundle/specifications/tzinfo-1.2.5.gemspec +37 -0
  2003. data/vendor/bundle/specifications/xcodeproj-1.9.0.gemspec +47 -0
  2004. metadata +2118 -0
@@ -0,0 +1,2709 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>
7
+ Class: Mocha::Expectation
8
+
9
+ &mdash; Mocha 1.8.0
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ pathId = "Mocha::Expectation";
19
+ relpath = '../';
20
+ </script>
21
+
22
+
23
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
24
+
25
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
26
+
27
+
28
+ </head>
29
+ <body>
30
+ <div class="nav_wrap">
31
+ <iframe id="nav" src="../class_list.html?1"></iframe>
32
+ <div id="resizer"></div>
33
+ </div>
34
+
35
+ <div id="main" tabindex="-1">
36
+ <div id="header">
37
+ <div id="menu">
38
+
39
+ <a href="../_index.html">Index (E)</a> &raquo;
40
+ <span class='title'><span class='object_link'><a href="../Mocha.html" title="Mocha (module)">Mocha</a></span></span>
41
+ &raquo;
42
+ <span class="title">Expectation</span>
43
+
44
+ </div>
45
+
46
+ <div id="search">
47
+
48
+ <a class="full_list_link" id="class_list_link"
49
+ href="../class_list.html">
50
+
51
+ <svg width="24" height="24">
52
+ <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
53
+ <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
54
+ <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
55
+ </svg>
56
+ </a>
57
+
58
+ </div>
59
+ <div class="clear"></div>
60
+ </div>
61
+
62
+ <div id="content"><h1>Class: Mocha::Expectation
63
+
64
+
65
+
66
+ </h1>
67
+ <div class="box_info">
68
+
69
+ <dl>
70
+ <dt>Inherits:</dt>
71
+ <dd>
72
+ <span class="inheritName"><span class='object_link'>Object</span></span>
73
+
74
+ <ul class="fullTree">
75
+ <li><span class='object_link'>Object</span></li>
76
+
77
+ <li class="next">Mocha::Expectation</li>
78
+
79
+ </ul>
80
+ <a href="#" class="inheritanceTree">show all</a>
81
+
82
+ </dd>
83
+ </dl>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dl>
96
+ <dt>Defined in:</dt>
97
+ <dd>lib/mocha/expectation.rb</dd>
98
+ </dl>
99
+
100
+ </div>
101
+
102
+ <h2>Overview</h2><div class="docstring">
103
+ <div class="discussion">
104
+
105
+ <p>Methods on expectations returned from <span class='object_link'><a href="Mock.html#expects-instance_method" title="Mocha::Mock#expects (method)">Mock#expects</a></span>, <span class='object_link'><a href="Mock.html#stubs-instance_method" title="Mocha::Mock#stubs (method)">Mock#stubs</a></span>,
106
+ <span class='object_link'><a href="ObjectMethods.html#expects-instance_method" title="Mocha::ObjectMethods#expects (method)">ObjectMethods#expects</a></span> and <span class='object_link'><a href="ObjectMethods.html#stubs-instance_method" title="Mocha::ObjectMethods#stubs (method)">ObjectMethods#stubs</a></span>.</p>
107
+
108
+
109
+ </div>
110
+ </div>
111
+ <div class="tags">
112
+
113
+
114
+ </div>
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+ <h2>
123
+ Instance Method Summary
124
+ <small><a href="#" class="summary_toggle">collapse</a></small>
125
+ </h2>
126
+
127
+ <ul class="summary">
128
+
129
+ <li class="public ">
130
+ <span class="summary_signature">
131
+
132
+ <a href="#at_least-instance_method" title="#at_least (instance method)">#<strong>at_least</strong>(minimum_number_of_times) &#x21d2; Expectation </a>
133
+
134
+
135
+
136
+ </span>
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+ <span class="summary_desc"><div class='inline'>
147
+ <p>Modifies expectation so that the expected method must be called at least a
148
+ <code>minimum_number_of_times</code>.</p>
149
+ </div></span>
150
+
151
+ </li>
152
+
153
+
154
+ <li class="public ">
155
+ <span class="summary_signature">
156
+
157
+ <a href="#at_least_once-instance_method" title="#at_least_once (instance method)">#<strong>at_least_once</strong> &#x21d2; Expectation </a>
158
+
159
+
160
+
161
+ </span>
162
+
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+ <span class="summary_desc"><div class='inline'>
172
+ <p>Modifies expectation so that the expected method must be called at least
173
+ once.</p>
174
+ </div></span>
175
+
176
+ </li>
177
+
178
+
179
+ <li class="public ">
180
+ <span class="summary_signature">
181
+
182
+ <a href="#at_most-instance_method" title="#at_most (instance method)">#<strong>at_most</strong>(maximum_number_of_times) &#x21d2; Expectation </a>
183
+
184
+
185
+
186
+ </span>
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+ <span class="summary_desc"><div class='inline'>
197
+ <p>Modifies expectation so that the expected method must be called at most a
198
+ <code>maximum_number_of_times</code>.</p>
199
+ </div></span>
200
+
201
+ </li>
202
+
203
+
204
+ <li class="public ">
205
+ <span class="summary_signature">
206
+
207
+ <a href="#at_most_once-instance_method" title="#at_most_once (instance method)">#<strong>at_most_once</strong> &#x21d2; Expectation </a>
208
+
209
+
210
+
211
+ </span>
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+ <span class="summary_desc"><div class='inline'>
222
+ <p>Modifies expectation so that the expected method must be called at most
223
+ once.</p>
224
+ </div></span>
225
+
226
+ </li>
227
+
228
+
229
+ <li class="public ">
230
+ <span class="summary_signature">
231
+
232
+ <a href="#in_sequence-instance_method" title="#in_sequence (instance method)">#<strong>in_sequence</strong>(*sequences) &#x21d2; Expectation </a>
233
+
234
+
235
+
236
+ </span>
237
+
238
+
239
+
240
+
241
+
242
+
243
+
244
+
245
+
246
+ <span class="summary_desc"><div class='inline'>
247
+ <p>Constrains the expectation so that it must be invoked at the current point
248
+ in the <code>sequence</code>.</p>
249
+ </div></span>
250
+
251
+ </li>
252
+
253
+
254
+ <li class="public ">
255
+ <span class="summary_signature">
256
+
257
+ <a href="#multiple_yields-instance_method" title="#multiple_yields (instance method)">#<strong>multiple_yields</strong>(*parameter_groups) &#x21d2; Expectation </a>
258
+
259
+
260
+
261
+ </span>
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+ <span class="summary_desc"><div class='inline'>
272
+ <p>Modifies expectation so that when the expected method is called, it yields
273
+ multiple times per invocation with the specified
274
+ <code>parameter_groups</code>.</p>
275
+ </div></span>
276
+
277
+ </li>
278
+
279
+
280
+ <li class="public ">
281
+ <span class="summary_signature">
282
+
283
+ <a href="#never-instance_method" title="#never (instance method)">#<strong>never</strong> &#x21d2; Expectation </a>
284
+
285
+
286
+
287
+ </span>
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+
297
+ <span class="summary_desc"><div class='inline'>
298
+ <p>Modifies expectation so that the expected method must never be called.</p>
299
+ </div></span>
300
+
301
+ </li>
302
+
303
+
304
+ <li class="public ">
305
+ <span class="summary_signature">
306
+
307
+ <a href="#once-instance_method" title="#once (instance method)">#<strong>once</strong> &#x21d2; Expectation </a>
308
+
309
+
310
+
311
+ </span>
312
+
313
+
314
+
315
+
316
+
317
+
318
+
319
+
320
+
321
+ <span class="summary_desc"><div class='inline'>
322
+ <p>Modifies expectation so that the expected method must be called exactly
323
+ once.</p>
324
+ </div></span>
325
+
326
+ </li>
327
+
328
+
329
+ <li class="public ">
330
+ <span class="summary_signature">
331
+
332
+ <a href="#raises-instance_method" title="#raises (instance method)">#<strong>raises</strong>(exception = RuntimeError, message = nil) &#x21d2; Expectation </a>
333
+
334
+
335
+
336
+ </span>
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+
345
+
346
+ <span class="summary_desc"><div class='inline'>
347
+ <p>Modifies expectation so that when the expected method is called, it raises
348
+ the specified <code>exception</code> with the specified
349
+ <code>message</code> i.e.</p>
350
+ </div></span>
351
+
352
+ </li>
353
+
354
+
355
+ <li class="public ">
356
+ <span class="summary_signature">
357
+
358
+ <a href="#returns-instance_method" title="#returns (instance method)">#<strong>returns</strong>(*values) &#x21d2; Expectation </a>
359
+
360
+
361
+
362
+ </span>
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+ <span class="summary_desc"><div class='inline'>
373
+ <p>Modifies expectation so that when the expected method is called, it returns
374
+ the specified <code>value</code>.</p>
375
+ </div></span>
376
+
377
+ </li>
378
+
379
+
380
+ <li class="public ">
381
+ <span class="summary_signature">
382
+
383
+ <a href="#then-instance_method" title="#then (instance method)">#<strong>then</strong>(*parameters) &#x21d2; Expectation </a>
384
+
385
+
386
+
387
+ </span>
388
+
389
+
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+ <span class="summary_desc"><div class='inline'>
398
+ <p>The same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span>
399
+ methods to be chained.</p>
400
+ </div></span>
401
+
402
+ </li>
403
+
404
+
405
+ <li class="public ">
406
+ <span class="summary_signature">
407
+
408
+ <a href="#throws-instance_method" title="#throws (instance method)">#<strong>throws</strong>(tag, object = nil) &#x21d2; Expectation </a>
409
+
410
+
411
+
412
+ </span>
413
+
414
+
415
+
416
+
417
+
418
+
419
+
420
+
421
+
422
+ <span class="summary_desc"><div class='inline'>
423
+ <p>Modifies expectation so that when the expected method is called, it throws
424
+ the specified <code>tag</code> with the specific return value
425
+ <code>object</code> i.e.</p>
426
+ </div></span>
427
+
428
+ </li>
429
+
430
+
431
+ <li class="public ">
432
+ <span class="summary_signature">
433
+
434
+ <a href="#times-instance_method" title="#times (instance method)">#<strong>times</strong>(range) &#x21d2; Expectation </a>
435
+
436
+
437
+
438
+ </span>
439
+
440
+
441
+
442
+
443
+
444
+
445
+
446
+
447
+
448
+ <span class="summary_desc"><div class='inline'>
449
+ <p>Modifies expectation so that the number of calls to the expected method
450
+ must be within a specific <code>range</code>.</p>
451
+ </div></span>
452
+
453
+ </li>
454
+
455
+
456
+ <li class="public ">
457
+ <span class="summary_signature">
458
+
459
+ <a href="#twice-instance_method" title="#twice (instance method)">#<strong>twice</strong> &#x21d2; Expectation </a>
460
+
461
+
462
+
463
+ </span>
464
+
465
+
466
+
467
+
468
+
469
+
470
+
471
+
472
+
473
+ <span class="summary_desc"><div class='inline'>
474
+ <p>Modifies expectation so that the expected method must be called exactly
475
+ twice.</p>
476
+ </div></span>
477
+
478
+ </li>
479
+
480
+
481
+ <li class="public ">
482
+ <span class="summary_signature">
483
+
484
+ <a href="#when-instance_method" title="#when (instance method)">#<strong>when</strong>(state_predicate) &#x21d2; Expectation </a>
485
+
486
+
487
+
488
+ </span>
489
+
490
+
491
+
492
+
493
+
494
+
495
+
496
+
497
+
498
+ <span class="summary_desc"><div class='inline'>
499
+ <p>Constrains the expectation to occur only when the
500
+ <code>state_machine</code> is in the state specified by
501
+ <code>state_name</code>.</p>
502
+ </div></span>
503
+
504
+ </li>
505
+
506
+
507
+ <li class="public ">
508
+ <span class="summary_signature">
509
+
510
+ <a href="#with-instance_method" title="#with (instance method)">#<strong>with</strong>(*expected_parameters) {|actual_parameters| ... } &#x21d2; Expectation </a>
511
+
512
+
513
+
514
+ </span>
515
+
516
+
517
+
518
+
519
+
520
+
521
+
522
+
523
+
524
+ <span class="summary_desc"><div class='inline'>
525
+ <p>Modifies expectation so that the expected method must be called with
526
+ <code>expected_parameters</code>.</p>
527
+ </div></span>
528
+
529
+ </li>
530
+
531
+
532
+ <li class="public ">
533
+ <span class="summary_signature">
534
+
535
+ <a href="#yields-instance_method" title="#yields (instance method)">#<strong>yields</strong>(*parameters) &#x21d2; Expectation </a>
536
+
537
+
538
+
539
+ </span>
540
+
541
+
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+ <span class="summary_desc"><div class='inline'>
550
+ <p>Modifies expectation so that when the expected method is called, it yields
551
+ with the specified <code>parameters</code>.</p>
552
+ </div></span>
553
+
554
+ </li>
555
+
556
+
557
+ </ul>
558
+
559
+
560
+
561
+
562
+ <div id="instance_method_details" class="method_details_list">
563
+ <h2>Instance Method Details</h2>
564
+
565
+
566
+ <div class="method_details first">
567
+ <h3 class="signature first" id="at_least-instance_method">
568
+
569
+ #<strong>at_least</strong>(minimum_number_of_times) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>
570
+
571
+
572
+
573
+
574
+
575
+ </h3><div class="docstring">
576
+ <div class="discussion">
577
+
578
+ <p>Modifies expectation so that the expected method must be called at least a
579
+ <code>minimum_number_of_times</code>.</p>
580
+
581
+
582
+ </div>
583
+ </div>
584
+ <div class="tags">
585
+
586
+ <div class="examples">
587
+ <p class="tag_title">Examples:</p>
588
+
589
+
590
+ <p class="example_title"><div class='inline'>
591
+ <p>Expected method must be called at least twice.</p>
592
+ </div></p>
593
+
594
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
595
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_at_least'>at_least</span><span class='lparen'>(</span><span class='int'>2</span><span class='rparen'>)</span>
596
+ <span class='int'>3</span><span class='period'>.</span><span class='id identifier rubyid_times'>times</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='rbrace'>}</span>
597
+ <span class='comment'># =&gt; verify succeeds
598
+ </span>
599
+ <span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
600
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_at_least'>at_least</span><span class='lparen'>(</span><span class='int'>2</span><span class='rparen'>)</span>
601
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span>
602
+ <span class='comment'># =&gt; verify fails</span></code></pre>
603
+
604
+ </div>
605
+ <p class="tag_title">Parameters:</p>
606
+ <ul class="param">
607
+
608
+ <li>
609
+
610
+ <span class='name'>minimum_number_of_times</span>
611
+
612
+
613
+ <span class='type'>(<tt>Integer</tt>)</span>
614
+
615
+
616
+
617
+ &mdash;
618
+ <div class='inline'>
619
+ <p>minimum number of expected invocations.</p>
620
+ </div>
621
+
622
+ </li>
623
+
624
+ </ul>
625
+
626
+ <p class="tag_title">Returns:</p>
627
+ <ul class="return">
628
+
629
+ <li>
630
+
631
+
632
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
633
+
634
+
635
+
636
+ &mdash;
637
+ <div class='inline'>
638
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
639
+ methods to be chained.</p>
640
+ </div>
641
+
642
+ </li>
643
+
644
+ </ul>
645
+
646
+ </div><table class="source_code">
647
+ <tr>
648
+ <td>
649
+ <pre class="lines">
650
+
651
+
652
+ 130
653
+ 131
654
+ 132
655
+ 133</pre>
656
+ </td>
657
+ <td>
658
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 130</span>
659
+
660
+ <span class='kw'>def</span> <span class='id identifier rubyid_at_least'>at_least</span><span class='lparen'>(</span><span class='id identifier rubyid_minimum_number_of_times'>minimum_number_of_times</span><span class='rparen'>)</span>
661
+ <span class='ivar'>@cardinality</span> <span class='op'>=</span> <span class='const'>Cardinality</span><span class='period'>.</span><span class='id identifier rubyid_at_least'>at_least</span><span class='lparen'>(</span><span class='id identifier rubyid_minimum_number_of_times'>minimum_number_of_times</span><span class='rparen'>)</span>
662
+ <span class='kw'>self</span>
663
+ <span class='kw'>end</span></pre>
664
+ </td>
665
+ </tr>
666
+ </table>
667
+ </div>
668
+
669
+ <div class="method_details ">
670
+ <h3 class="signature " id="at_least_once-instance_method">
671
+
672
+ #<strong>at_least_once</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>
673
+
674
+
675
+
676
+
677
+
678
+ </h3><div class="docstring">
679
+ <div class="discussion">
680
+
681
+ <p>Modifies expectation so that the expected method must be called at least
682
+ once.</p>
683
+
684
+
685
+ </div>
686
+ </div>
687
+ <div class="tags">
688
+
689
+ <div class="examples">
690
+ <p class="tag_title">Examples:</p>
691
+
692
+
693
+ <p class="example_title"><div class='inline'>
694
+ <p>Expected method must be called at least once.</p>
695
+ </div></p>
696
+
697
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
698
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_at_least_once'>at_least_once</span>
699
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span>
700
+ <span class='comment'># =&gt; verify succeeds
701
+ </span>
702
+ <span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
703
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_at_least_once'>at_least_once</span>
704
+ <span class='comment'># =&gt; verify fails</span></code></pre>
705
+
706
+ </div>
707
+
708
+ <p class="tag_title">Returns:</p>
709
+ <ul class="return">
710
+
711
+ <li>
712
+
713
+
714
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
715
+
716
+
717
+
718
+ &mdash;
719
+ <div class='inline'>
720
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
721
+ methods to be chained.</p>
722
+ </div>
723
+
724
+ </li>
725
+
726
+ </ul>
727
+
728
+ </div><table class="source_code">
729
+ <tr>
730
+ <td>
731
+ <pre class="lines">
732
+
733
+
734
+ 148
735
+ 149
736
+ 150
737
+ 151</pre>
738
+ </td>
739
+ <td>
740
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 148</span>
741
+
742
+ <span class='kw'>def</span> <span class='id identifier rubyid_at_least_once'>at_least_once</span>
743
+ <span class='id identifier rubyid_at_least'>at_least</span><span class='lparen'>(</span><span class='int'>1</span><span class='rparen'>)</span>
744
+ <span class='kw'>self</span>
745
+ <span class='kw'>end</span></pre>
746
+ </td>
747
+ </tr>
748
+ </table>
749
+ </div>
750
+
751
+ <div class="method_details ">
752
+ <h3 class="signature " id="at_most-instance_method">
753
+
754
+ #<strong>at_most</strong>(maximum_number_of_times) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>
755
+
756
+
757
+
758
+
759
+
760
+ </h3><div class="docstring">
761
+ <div class="discussion">
762
+
763
+ <p>Modifies expectation so that the expected method must be called at most a
764
+ <code>maximum_number_of_times</code>.</p>
765
+
766
+
767
+ </div>
768
+ </div>
769
+ <div class="tags">
770
+
771
+ <div class="examples">
772
+ <p class="tag_title">Examples:</p>
773
+
774
+
775
+ <p class="example_title"><div class='inline'>
776
+ <p>Expected method must be called at most twice.</p>
777
+ </div></p>
778
+
779
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
780
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_at_most'>at_most</span><span class='lparen'>(</span><span class='int'>2</span><span class='rparen'>)</span>
781
+ <span class='int'>2</span><span class='period'>.</span><span class='id identifier rubyid_times'>times</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='rbrace'>}</span>
782
+ <span class='comment'># =&gt; verify succeeds
783
+ </span>
784
+ <span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
785
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_at_most'>at_most</span><span class='lparen'>(</span><span class='int'>2</span><span class='rparen'>)</span>
786
+ <span class='int'>3</span><span class='period'>.</span><span class='id identifier rubyid_times'>times</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='rbrace'>}</span> <span class='comment'># =&gt; unexpected invocation</span></code></pre>
787
+
788
+ </div>
789
+ <p class="tag_title">Parameters:</p>
790
+ <ul class="param">
791
+
792
+ <li>
793
+
794
+ <span class='name'>maximum_number_of_times</span>
795
+
796
+
797
+ <span class='type'>(<tt>Integer</tt>)</span>
798
+
799
+
800
+
801
+ &mdash;
802
+ <div class='inline'>
803
+ <p>maximum number of expected invocations.</p>
804
+ </div>
805
+
806
+ </li>
807
+
808
+ </ul>
809
+
810
+ <p class="tag_title">Returns:</p>
811
+ <ul class="return">
812
+
813
+ <li>
814
+
815
+
816
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
817
+
818
+
819
+
820
+ &mdash;
821
+ <div class='inline'>
822
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
823
+ methods to be chained.</p>
824
+ </div>
825
+
826
+ </li>
827
+
828
+ </ul>
829
+
830
+ </div><table class="source_code">
831
+ <tr>
832
+ <td>
833
+ <pre class="lines">
834
+
835
+
836
+ 167
837
+ 168
838
+ 169
839
+ 170</pre>
840
+ </td>
841
+ <td>
842
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 167</span>
843
+
844
+ <span class='kw'>def</span> <span class='id identifier rubyid_at_most'>at_most</span><span class='lparen'>(</span><span class='id identifier rubyid_maximum_number_of_times'>maximum_number_of_times</span><span class='rparen'>)</span>
845
+ <span class='ivar'>@cardinality</span> <span class='op'>=</span> <span class='const'>Cardinality</span><span class='period'>.</span><span class='id identifier rubyid_at_most'>at_most</span><span class='lparen'>(</span><span class='id identifier rubyid_maximum_number_of_times'>maximum_number_of_times</span><span class='rparen'>)</span>
846
+ <span class='kw'>self</span>
847
+ <span class='kw'>end</span></pre>
848
+ </td>
849
+ </tr>
850
+ </table>
851
+ </div>
852
+
853
+ <div class="method_details ">
854
+ <h3 class="signature " id="at_most_once-instance_method">
855
+
856
+ #<strong>at_most_once</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>
857
+
858
+
859
+
860
+
861
+
862
+ </h3><div class="docstring">
863
+ <div class="discussion">
864
+
865
+ <p>Modifies expectation so that the expected method must be called at most
866
+ once.</p>
867
+
868
+
869
+ </div>
870
+ </div>
871
+ <div class="tags">
872
+
873
+ <div class="examples">
874
+ <p class="tag_title">Examples:</p>
875
+
876
+
877
+ <p class="example_title"><div class='inline'>
878
+ <p>Expected method must be called at most once.</p>
879
+ </div></p>
880
+
881
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
882
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_at_most_once'>at_most_once</span>
883
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span>
884
+ <span class='comment'># =&gt; verify succeeds
885
+ </span>
886
+ <span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
887
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_at_most_once'>at_most_once</span>
888
+ <span class='int'>2</span><span class='period'>.</span><span class='id identifier rubyid_times'>times</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='rbrace'>}</span> <span class='comment'># =&gt; unexpected invocation</span></code></pre>
889
+
890
+ </div>
891
+
892
+ <p class="tag_title">Returns:</p>
893
+ <ul class="return">
894
+
895
+ <li>
896
+
897
+
898
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
899
+
900
+
901
+
902
+ &mdash;
903
+ <div class='inline'>
904
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
905
+ methods to be chained.</p>
906
+ </div>
907
+
908
+ </li>
909
+
910
+ </ul>
911
+
912
+ </div><table class="source_code">
913
+ <tr>
914
+ <td>
915
+ <pre class="lines">
916
+
917
+
918
+ 185
919
+ 186
920
+ 187
921
+ 188</pre>
922
+ </td>
923
+ <td>
924
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 185</span>
925
+
926
+ <span class='kw'>def</span> <span class='id identifier rubyid_at_most_once'>at_most_once</span>
927
+ <span class='id identifier rubyid_at_most'>at_most</span><span class='lparen'>(</span><span class='int'>1</span><span class='rparen'>)</span>
928
+ <span class='kw'>self</span>
929
+ <span class='kw'>end</span></pre>
930
+ </td>
931
+ </tr>
932
+ </table>
933
+ </div>
934
+
935
+ <div class="method_details ">
936
+ <h3 class="signature " id="in_sequence-instance_method">
937
+
938
+ #<strong>in_sequence</strong>(*sequences) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>
939
+
940
+
941
+
942
+
943
+
944
+ </h3><div class="docstring">
945
+ <div class="discussion">
946
+
947
+ <p>Constrains the expectation so that it must be invoked at the current point
948
+ in the <code>sequence</code>.</p>
949
+
950
+ <p>To expect a sequence of invocations, write the expectations in order and
951
+ add the <tt>in_sequence(sequence)</tt> clause to each one.</p>
952
+
953
+ <p>Expectations in a <code>sequence</code> can have any invocation count.</p>
954
+
955
+ <p>If an expectation in a sequence is stubbed, rather than expected, it can be
956
+ skipped in the <code>sequence</code>.</p>
957
+
958
+ <p>An expected method can appear in multiple sequences.</p>
959
+
960
+
961
+ </div>
962
+ </div>
963
+ <div class="tags">
964
+
965
+ <div class="examples">
966
+ <p class="tag_title">Examples:</p>
967
+
968
+
969
+ <p class="example_title"><div class='inline'>
970
+ <p>Ensure methods are invoked in a specified order.</p>
971
+ </div></p>
972
+
973
+ <pre class="example code"><code><span class='id identifier rubyid_breakfast'>breakfast</span> <span class='op'>=</span> <span class='id identifier rubyid_sequence'>sequence</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>breakfast</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
974
+
975
+ <span class='id identifier rubyid_egg'>egg</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>egg</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
976
+ <span class='id identifier rubyid_egg'>egg</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:crack</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_in_sequence'>in_sequence</span><span class='lparen'>(</span><span class='id identifier rubyid_breakfast'>breakfast</span><span class='rparen'>)</span>
977
+ <span class='id identifier rubyid_egg'>egg</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:fry</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_in_sequence'>in_sequence</span><span class='lparen'>(</span><span class='id identifier rubyid_breakfast'>breakfast</span><span class='rparen'>)</span>
978
+ <span class='id identifier rubyid_egg'>egg</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:eat</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_in_sequence'>in_sequence</span><span class='lparen'>(</span><span class='id identifier rubyid_breakfast'>breakfast</span><span class='rparen'>)</span></code></pre>
979
+
980
+ </div>
981
+ <p class="tag_title">Parameters:</p>
982
+ <ul class="param">
983
+
984
+ <li>
985
+
986
+ <span class='name'>sequences</span>
987
+
988
+
989
+ <span class='type'>(<tt>*Array&lt;<span class='object_link'><a href="Sequence.html" title="Mocha::Sequence (class)">Sequence</a></span>&gt;</tt>)</span>
990
+
991
+
992
+
993
+ &mdash;
994
+ <div class='inline'>
995
+ <p>sequences in which expected method should appear.</p>
996
+ </div>
997
+
998
+ </li>
999
+
1000
+ </ul>
1001
+
1002
+ <p class="tag_title">Returns:</p>
1003
+ <ul class="return">
1004
+
1005
+ <li>
1006
+
1007
+
1008
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
1009
+
1010
+
1011
+
1012
+ &mdash;
1013
+ <div class='inline'>
1014
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
1015
+ methods to be chained.</p>
1016
+ </div>
1017
+
1018
+ </li>
1019
+
1020
+ </ul>
1021
+
1022
+ <p class="tag_title">See Also:</p>
1023
+ <ul class="see">
1024
+
1025
+ <li><span class='object_link'><a href="API.html#sequence-instance_method" title="Mocha::API#sequence (method)">API#sequence</a></span></li>
1026
+
1027
+ </ul>
1028
+
1029
+ </div><table class="source_code">
1030
+ <tr>
1031
+ <td>
1032
+ <pre class="lines">
1033
+
1034
+
1035
+ 492
1036
+ 493
1037
+ 494
1038
+ 495</pre>
1039
+ </td>
1040
+ <td>
1041
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 492</span>
1042
+
1043
+ <span class='kw'>def</span> <span class='id identifier rubyid_in_sequence'>in_sequence</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_sequences'>sequences</span><span class='rparen'>)</span>
1044
+ <span class='id identifier rubyid_sequences'>sequences</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_sequence'>sequence</span><span class='op'>|</span> <span class='id identifier rubyid_add_in_sequence_ordering_constraint'>add_in_sequence_ordering_constraint</span><span class='lparen'>(</span><span class='id identifier rubyid_sequence'>sequence</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
1045
+ <span class='kw'>self</span>
1046
+ <span class='kw'>end</span></pre>
1047
+ </td>
1048
+ </tr>
1049
+ </table>
1050
+ </div>
1051
+
1052
+ <div class="method_details ">
1053
+ <h3 class="signature " id="multiple_yields-instance_method">
1054
+
1055
+ #<strong>multiple_yields</strong>(*parameter_groups) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>
1056
+
1057
+
1058
+
1059
+
1060
+
1061
+ </h3><div class="docstring">
1062
+ <div class="discussion">
1063
+
1064
+ <p>Modifies expectation so that when the expected method is called, it yields
1065
+ multiple times per invocation with the specified
1066
+ <code>parameter_groups</code>.</p>
1067
+
1068
+
1069
+ </div>
1070
+ </div>
1071
+ <div class="tags">
1072
+
1073
+ <div class="examples">
1074
+ <p class="tag_title">Examples:</p>
1075
+
1076
+
1077
+ <p class="example_title"><div class='inline'>
1078
+ <p>When the <code>expected_method</code> is called, the stub will invoke the
1079
+ block twice, the first time it passes <tt>&#39;result_1&#39;</tt>,
1080
+ <tt>&#39;result_2&#39;</tt> as the parameters, and the second time it passes
1081
+ &#39;result_3&#39; as the parameters.</p>
1082
+ </div></p>
1083
+
1084
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
1085
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_multiple_yields'>multiple_yields</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>result_1</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>result_2</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>result_3</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
1086
+ <span class='id identifier rubyid_yielded_values'>yielded_values</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
1087
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='op'>*</span><span class='id identifier rubyid_values'>values</span><span class='op'>|</span> <span class='id identifier rubyid_yielded_values'>yielded_values</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_values'>values</span> <span class='rbrace'>}</span>
1088
+ <span class='id identifier rubyid_yielded_values'>yielded_values</span> <span class='comment'># =&gt; [[&#39;result_1&#39;, &#39;result_2&#39;], [&#39;result_3]]</span></code></pre>
1089
+
1090
+
1091
+ <p class="example_title"><div class='inline'>
1092
+ <p>Yield different groups of parameters on different invocations of the
1093
+ expected method.</p>
1094
+ </div></p>
1095
+
1096
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
1097
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_multiple_yields'>multiple_yields</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='int'>1</span><span class='comma'>,</span> <span class='int'>2</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='int'>3</span><span class='rbracket'>]</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span><span class='period'>.</span><span class='id identifier rubyid_multiple_yields'>multiple_yields</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='int'>4</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='int'>5</span><span class='comma'>,</span> <span class='int'>6</span><span class='rbracket'>]</span><span class='rparen'>)</span>
1098
+ <span class='id identifier rubyid_yielded_values_from_first_invocation'>yielded_values_from_first_invocation</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
1099
+ <span class='id identifier rubyid_yielded_values_from_second_invocation'>yielded_values_from_second_invocation</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
1100
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='op'>*</span><span class='id identifier rubyid_values'>values</span><span class='op'>|</span> <span class='id identifier rubyid_yielded_values_from_first_invocation'>yielded_values_from_first_invocation</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_values'>values</span> <span class='rbrace'>}</span> <span class='comment'># first invocation
1101
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='op'>*</span><span class='id identifier rubyid_values'>values</span><span class='op'>|</span> <span class='id identifier rubyid_yielded_values_from_second_invocation'>yielded_values_from_second_invocation</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_values'>values</span> <span class='rbrace'>}</span> <span class='comment'># second invocation
1102
+ </span><span class='id identifier rubyid_yielded_values_from_first_invocation'>yielded_values_from_first_invocation</span> <span class='comment'># =&gt; [[1, 2], [3]]
1103
+ </span><span class='id identifier rubyid_yielded_values_from_second_invocation'>yielded_values_from_second_invocation</span> <span class='comment'># =&gt; [[4], [5, 6]]</span></code></pre>
1104
+
1105
+ </div>
1106
+ <p class="tag_title">Parameters:</p>
1107
+ <ul class="param">
1108
+
1109
+ <li>
1110
+
1111
+ <span class='name'>parameter_groups</span>
1112
+
1113
+
1114
+ <span class='type'>(<tt>*Array&lt;Array&gt;</tt>)</span>
1115
+
1116
+
1117
+
1118
+ &mdash;
1119
+ <div class='inline'>
1120
+ <p>each element of <code>parameter_groups</code> should iself be an
1121
+ <code>Array</code> representing the parameters to be passed to the block
1122
+ for a single yield.</p>
1123
+ </div>
1124
+
1125
+ </li>
1126
+
1127
+ </ul>
1128
+
1129
+ <p class="tag_title">Returns:</p>
1130
+ <ul class="return">
1131
+
1132
+ <li>
1133
+
1134
+
1135
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
1136
+
1137
+
1138
+
1139
+ &mdash;
1140
+ <div class='inline'>
1141
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
1142
+ methods to be chained.</p>
1143
+ </div>
1144
+
1145
+ </li>
1146
+
1147
+ </ul>
1148
+
1149
+ <p class="tag_title">See Also:</p>
1150
+ <ul class="see">
1151
+
1152
+ <li><span class='object_link'><a href="#then-instance_method" title="Mocha::Expectation#then (method)">#then</a></span></li>
1153
+
1154
+ </ul>
1155
+
1156
+ </div><table class="source_code">
1157
+ <tr>
1158
+ <td>
1159
+ <pre class="lines">
1160
+
1161
+
1162
+ 277
1163
+ 278
1164
+ 279
1165
+ 280</pre>
1166
+ </td>
1167
+ <td>
1168
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 277</span>
1169
+
1170
+ <span class='kw'>def</span> <span class='id identifier rubyid_multiple_yields'>multiple_yields</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_parameter_groups'>parameter_groups</span><span class='rparen'>)</span>
1171
+ <span class='ivar'>@yield_parameters</span><span class='period'>.</span><span class='id identifier rubyid_multiple_add'>multiple_add</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_parameter_groups'>parameter_groups</span><span class='rparen'>)</span>
1172
+ <span class='kw'>self</span>
1173
+ <span class='kw'>end</span></pre>
1174
+ </td>
1175
+ </tr>
1176
+ </table>
1177
+ </div>
1178
+
1179
+ <div class="method_details ">
1180
+ <h3 class="signature " id="never-instance_method">
1181
+
1182
+ #<strong>never</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>
1183
+
1184
+
1185
+
1186
+
1187
+
1188
+ </h3><div class="docstring">
1189
+ <div class="discussion">
1190
+
1191
+ <p>Modifies expectation so that the expected method must never be called.</p>
1192
+
1193
+
1194
+ </div>
1195
+ </div>
1196
+ <div class="tags">
1197
+
1198
+ <div class="examples">
1199
+ <p class="tag_title">Examples:</p>
1200
+
1201
+
1202
+ <p class="example_title"><div class='inline'>
1203
+ <p>Expected method must never be called.</p>
1204
+ </div></p>
1205
+
1206
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
1207
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_never'>never</span>
1208
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; unexpected invocation
1209
+ </span>
1210
+ <span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
1211
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_never'>never</span>
1212
+ <span class='comment'># =&gt; verify succeeds</span></code></pre>
1213
+
1214
+ </div>
1215
+
1216
+ <p class="tag_title">Returns:</p>
1217
+ <ul class="return">
1218
+
1219
+ <li>
1220
+
1221
+
1222
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
1223
+
1224
+
1225
+
1226
+ &mdash;
1227
+ <div class='inline'>
1228
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
1229
+ methods to be chained.</p>
1230
+ </div>
1231
+
1232
+ </li>
1233
+
1234
+ </ul>
1235
+
1236
+ </div><table class="source_code">
1237
+ <tr>
1238
+ <td>
1239
+ <pre class="lines">
1240
+
1241
+
1242
+ 110
1243
+ 111
1244
+ 112
1245
+ 113</pre>
1246
+ </td>
1247
+ <td>
1248
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 110</span>
1249
+
1250
+ <span class='kw'>def</span> <span class='id identifier rubyid_never'>never</span>
1251
+ <span class='ivar'>@cardinality</span> <span class='op'>=</span> <span class='const'>Cardinality</span><span class='period'>.</span><span class='id identifier rubyid_exactly'>exactly</span><span class='lparen'>(</span><span class='int'>0</span><span class='rparen'>)</span>
1252
+ <span class='kw'>self</span>
1253
+ <span class='kw'>end</span></pre>
1254
+ </td>
1255
+ </tr>
1256
+ </table>
1257
+ </div>
1258
+
1259
+ <div class="method_details ">
1260
+ <h3 class="signature " id="once-instance_method">
1261
+
1262
+ #<strong>once</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>
1263
+
1264
+
1265
+
1266
+
1267
+
1268
+ </h3><div class="docstring">
1269
+ <div class="discussion">
1270
+
1271
+ <p>Modifies expectation so that the expected method must be called exactly
1272
+ once.</p>
1273
+
1274
+ <p>Note that this is the default behaviour for an expectation, but you may
1275
+ wish to use it for clarity/emphasis.</p>
1276
+
1277
+
1278
+ </div>
1279
+ </div>
1280
+ <div class="tags">
1281
+
1282
+ <div class="examples">
1283
+ <p class="tag_title">Examples:</p>
1284
+
1285
+
1286
+ <p class="example_title"><div class='inline'>
1287
+ <p>Expected method must be invoked exactly once.</p>
1288
+ </div></p>
1289
+
1290
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
1291
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_once'>once</span>
1292
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span>
1293
+ <span class='comment'># =&gt; verify succeeds
1294
+ </span>
1295
+ <span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
1296
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_once'>once</span>
1297
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span>
1298
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; unexpected invocation
1299
+ </span>
1300
+ <span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
1301
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_once'>once</span>
1302
+ <span class='comment'># =&gt; verify fails</span></code></pre>
1303
+
1304
+ </div>
1305
+
1306
+ <p class="tag_title">Returns:</p>
1307
+ <ul class="return">
1308
+
1309
+ <li>
1310
+
1311
+
1312
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
1313
+
1314
+
1315
+
1316
+ &mdash;
1317
+ <div class='inline'>
1318
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
1319
+ methods to be chained.</p>
1320
+ </div>
1321
+
1322
+ </li>
1323
+
1324
+ </ul>
1325
+
1326
+ </div><table class="source_code">
1327
+ <tr>
1328
+ <td>
1329
+ <pre class="lines">
1330
+
1331
+
1332
+ 93
1333
+ 94
1334
+ 95
1335
+ 96</pre>
1336
+ </td>
1337
+ <td>
1338
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 93</span>
1339
+
1340
+ <span class='kw'>def</span> <span class='id identifier rubyid_once'>once</span>
1341
+ <span class='ivar'>@cardinality</span> <span class='op'>=</span> <span class='const'>Cardinality</span><span class='period'>.</span><span class='id identifier rubyid_exactly'>exactly</span><span class='lparen'>(</span><span class='int'>1</span><span class='rparen'>)</span>
1342
+ <span class='kw'>self</span>
1343
+ <span class='kw'>end</span></pre>
1344
+ </td>
1345
+ </tr>
1346
+ </table>
1347
+ </div>
1348
+
1349
+ <div class="method_details ">
1350
+ <h3 class="signature " id="raises-instance_method">
1351
+
1352
+
1353
+ <span class="overload">#<strong>raises</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt> </span>
1354
+
1355
+ <span class="overload">#<strong>raises</strong>(exception) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt> </span>
1356
+
1357
+ <span class="overload">#<strong>raises</strong>(exception, message) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt> </span>
1358
+
1359
+
1360
+
1361
+
1362
+
1363
+
1364
+ </h3><div class="docstring">
1365
+ <div class="discussion">
1366
+
1367
+ <p>Modifies expectation so that when the expected method is called, it raises
1368
+ the specified <code>exception</code> with the specified
1369
+ <code>message</code> i.e. calls <tt>Kernel#raise(exception, message)</tt>.</p>
1370
+
1371
+
1372
+ </div>
1373
+ </div>
1374
+ <div class="tags">
1375
+
1376
+ <div class="examples">
1377
+ <p class="tag_title">Examples:</p>
1378
+
1379
+
1380
+ <p class="example_title"><div class='inline'>
1381
+ <p>Raise specified exception if expected method is invoked.</p>
1382
+ </div></p>
1383
+
1384
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_stub'>stub</span><span class='lparen'>(</span><span class='rparen'>)</span>
1385
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_raises'>raises</span><span class='lparen'>(</span><span class='const'>Exception</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>message</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
1386
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; raises exception of class Exception and with message &#39;message&#39;</span></code></pre>
1387
+
1388
+
1389
+ <p class="example_title"><div class='inline'>
1390
+ <p>Raise custom exception with extra constructor parameters by passing in an
1391
+ instance of the exception.</p>
1392
+ </div></p>
1393
+
1394
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_stub'>stub</span><span class='lparen'>(</span><span class='rparen'>)</span>
1395
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_raises'>raises</span><span class='lparen'>(</span><span class='const'>MyException</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>message</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='int'>1</span><span class='comma'>,</span> <span class='int'>2</span><span class='comma'>,</span> <span class='int'>3</span><span class='rparen'>)</span><span class='rparen'>)</span>
1396
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; raises the specified instance of MyException</span></code></pre>
1397
+
1398
+
1399
+ <p class="example_title"><div class='inline'>
1400
+ <p>Raise different exceptions on consecutive invocations of the expected
1401
+ method.</p>
1402
+ </div></p>
1403
+
1404
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_stub'>stub</span><span class='lparen'>(</span><span class='rparen'>)</span>
1405
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_raises'>raises</span><span class='lparen'>(</span><span class='const'>Exception1</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span><span class='period'>.</span><span class='id identifier rubyid_raises'>raises</span><span class='lparen'>(</span><span class='const'>Exception2</span><span class='rparen'>)</span>
1406
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; raises exception of class Exception1
1407
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; raises exception of class Exception2</span></code></pre>
1408
+
1409
+
1410
+ <p class="example_title"><div class='inline'>
1411
+ <p>Raise an exception on first invocation of expected method and then return
1412
+ values on subsequent invocations.</p>
1413
+ </div></p>
1414
+
1415
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_stub'>stub</span><span class='lparen'>(</span><span class='rparen'>)</span>
1416
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_raises'>raises</span><span class='lparen'>(</span><span class='const'>Exception</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span><span class='period'>.</span><span class='id identifier rubyid_returns'>returns</span><span class='lparen'>(</span><span class='int'>2</span><span class='comma'>,</span> <span class='int'>3</span><span class='rparen'>)</span>
1417
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; raises exception of class Exception1
1418
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; 2
1419
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; 3</span></code></pre>
1420
+
1421
+ </div>
1422
+ <p class="tag_title">Parameters:</p>
1423
+ <ul class="param">
1424
+
1425
+ <li>
1426
+
1427
+ <span class='name'>exception</span>
1428
+
1429
+
1430
+ <span class='type'>(<tt>Class</tt>, <tt>Exception</tt>, <tt>String</tt>, <tt>#exception</tt>)</span>
1431
+
1432
+
1433
+ <em class="default">(defaults to: <tt>RuntimeError</tt>)</em>
1434
+
1435
+
1436
+ &mdash;
1437
+ <div class='inline'>
1438
+ <p>exception to be raised or message to be passed to RuntimeError.</p>
1439
+ </div>
1440
+
1441
+ </li>
1442
+
1443
+ <li>
1444
+
1445
+ <span class='name'>message</span>
1446
+
1447
+
1448
+ <span class='type'>(<tt>String</tt>)</span>
1449
+
1450
+
1451
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1452
+
1453
+
1454
+ &mdash;
1455
+ <div class='inline'>
1456
+ <p>exception message.</p>
1457
+ </div>
1458
+
1459
+ </li>
1460
+
1461
+ </ul>
1462
+
1463
+ <p class="tag_title">Returns:</p>
1464
+ <ul class="return">
1465
+
1466
+ <li>
1467
+
1468
+
1469
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
1470
+
1471
+
1472
+
1473
+ &mdash;
1474
+ <div class='inline'>
1475
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
1476
+ methods to be chained.</p>
1477
+ </div>
1478
+
1479
+ </li>
1480
+
1481
+ </ul>
1482
+
1483
+ <p class="tag_title">See Also:</p>
1484
+ <ul class="see">
1485
+
1486
+ <li>Kernel#raise</li>
1487
+
1488
+ <li><span class='object_link'><a href="#then-instance_method" title="Mocha::Expectation#then (method)">#then</a></span></li>
1489
+
1490
+ </ul>
1491
+
1492
+ </div><table class="source_code">
1493
+ <tr>
1494
+ <td>
1495
+ <pre class="lines">
1496
+
1497
+
1498
+ 364
1499
+ 365
1500
+ 366
1501
+ 367</pre>
1502
+ </td>
1503
+ <td>
1504
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 364</span>
1505
+
1506
+ <span class='kw'>def</span> <span class='id identifier rubyid_raises'>raises</span><span class='lparen'>(</span><span class='id identifier rubyid_exception'>exception</span> <span class='op'>=</span> <span class='const'>RuntimeError</span><span class='comma'>,</span> <span class='id identifier rubyid_message'>message</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
1507
+ <span class='ivar'>@return_values</span> <span class='op'>+=</span> <span class='const'>ReturnValues</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>ExceptionRaiser</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_exception'>exception</span><span class='comma'>,</span> <span class='id identifier rubyid_message'>message</span><span class='rparen'>)</span><span class='rparen'>)</span>
1508
+ <span class='kw'>self</span>
1509
+ <span class='kw'>end</span></pre>
1510
+ </td>
1511
+ </tr>
1512
+ </table>
1513
+ </div>
1514
+
1515
+ <div class="method_details ">
1516
+ <h3 class="signature " id="returns-instance_method">
1517
+
1518
+
1519
+ <span class="overload">#<strong>returns</strong>(value) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt> </span>
1520
+
1521
+ <span class="overload">#<strong>returns</strong>(*values) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt> </span>
1522
+
1523
+
1524
+
1525
+
1526
+
1527
+
1528
+ </h3><div class="docstring">
1529
+ <div class="discussion">
1530
+
1531
+ <p>Modifies expectation so that when the expected method is called, it returns
1532
+ the specified <code>value</code>.</p>
1533
+
1534
+
1535
+ </div>
1536
+ </div>
1537
+ <div class="tags">
1538
+
1539
+ <div class="examples">
1540
+ <p class="tag_title">Examples:</p>
1541
+
1542
+
1543
+ <p class="example_title"><div class='inline'>
1544
+ <p>Return the same value on every invocation.</p>
1545
+ </div></p>
1546
+
1547
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
1548
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:stubbed_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_returns'>returns</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>result</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
1549
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubbed_method'>stubbed_method</span> <span class='comment'># =&gt; &#39;result&#39;
1550
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubbed_method'>stubbed_method</span> <span class='comment'># =&gt; &#39;result&#39;</span></code></pre>
1551
+
1552
+
1553
+ <p class="example_title"><div class='inline'>
1554
+ <p>Return a different value on consecutive invocations.</p>
1555
+ </div></p>
1556
+
1557
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
1558
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:stubbed_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_returns'>returns</span><span class='lparen'>(</span><span class='int'>1</span><span class='comma'>,</span> <span class='int'>2</span><span class='rparen'>)</span>
1559
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubbed_method'>stubbed_method</span> <span class='comment'># =&gt; 1
1560
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubbed_method'>stubbed_method</span> <span class='comment'># =&gt; 2</span></code></pre>
1561
+
1562
+
1563
+ <p class="example_title"><div class='inline'>
1564
+ <p>Alternative way to return a different value on consecutive invocations.</p>
1565
+ </div></p>
1566
+
1567
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
1568
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_returns'>returns</span><span class='lparen'>(</span><span class='int'>1</span><span class='comma'>,</span> <span class='int'>2</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span><span class='period'>.</span><span class='id identifier rubyid_returns'>returns</span><span class='lparen'>(</span><span class='int'>3</span><span class='rparen'>)</span>
1569
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; 1
1570
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; 2
1571
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; 3</span></code></pre>
1572
+
1573
+
1574
+ <p class="example_title"><div class='inline'>
1575
+ <p>May be called in conjunction with <span class='object_link'><a href="#raises-instance_method" title="Mocha::Expectation#raises (method)">#raises</a></span> on the same expectation.</p>
1576
+ </div></p>
1577
+
1578
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
1579
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_returns'>returns</span><span class='lparen'>(</span><span class='int'>1</span><span class='comma'>,</span> <span class='int'>2</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span><span class='period'>.</span><span class='id identifier rubyid_raises'>raises</span><span class='lparen'>(</span><span class='const'>Exception</span><span class='rparen'>)</span>
1580
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; 1
1581
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; 2
1582
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; raises exception of class Exception1</span></code></pre>
1583
+
1584
+
1585
+ <p class="example_title"><div class='inline'>
1586
+ <p>Note that in Ruby a method returning multiple values is exactly equivalent
1587
+ to a method returning an <code>Array</code> of those values.</p>
1588
+ </div></p>
1589
+
1590
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
1591
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_returns'>returns</span><span class='lparen'>(</span><span class='lbracket'>[</span><span class='int'>1</span><span class='comma'>,</span> <span class='int'>2</span><span class='rbracket'>]</span><span class='rparen'>)</span>
1592
+ <span class='id identifier rubyid_x'>x</span><span class='comma'>,</span> <span class='id identifier rubyid_y'>y</span> <span class='op'>=</span> <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span>
1593
+ <span class='id identifier rubyid_x'>x</span> <span class='comment'># =&gt; 1
1594
+ </span><span class='id identifier rubyid_y'>y</span> <span class='comment'># =&gt; 2</span></code></pre>
1595
+
1596
+ </div>
1597
+
1598
+ <p class="tag_title">Overloads:</p>
1599
+ <ul class="overload">
1600
+
1601
+
1602
+ <li class="overload_item">
1603
+ <span class="signature">#<strong>returns</strong>(value) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt> </span>
1604
+ <div class="docstring">
1605
+ <div class="discussion">
1606
+
1607
+
1608
+ </div>
1609
+ </div>
1610
+ <div class="tags">
1611
+ <p class="tag_title">Parameters:</p>
1612
+ <ul class="param">
1613
+
1614
+ <li>
1615
+
1616
+ <span class='name'>value</span>
1617
+
1618
+
1619
+ <span class='type'>(<tt><span class='object_link'>Object</span></tt>)</span>
1620
+
1621
+
1622
+
1623
+ &mdash;
1624
+ <div class='inline'>
1625
+ <p>value to return on invocation of expected method.</p>
1626
+ </div>
1627
+
1628
+ </li>
1629
+
1630
+ </ul>
1631
+
1632
+
1633
+ </div>
1634
+ </li>
1635
+
1636
+
1637
+ <li class="overload_item">
1638
+ <span class="signature">#<strong>returns</strong>(*values) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt> </span>
1639
+ <div class="docstring">
1640
+ <div class="discussion">
1641
+
1642
+
1643
+ </div>
1644
+ </div>
1645
+ <div class="tags">
1646
+ <p class="tag_title">Parameters:</p>
1647
+ <ul class="param">
1648
+
1649
+ <li>
1650
+
1651
+ <span class='name'>values</span>
1652
+
1653
+
1654
+ <span class='type'>(<tt>*Array</tt>)</span>
1655
+
1656
+
1657
+
1658
+ &mdash;
1659
+ <div class='inline'>
1660
+ <p>values to return on consecutive invocations of expected method.</p>
1661
+ </div>
1662
+
1663
+ </li>
1664
+
1665
+ </ul>
1666
+
1667
+
1668
+ </div>
1669
+ </li>
1670
+
1671
+ </ul>
1672
+
1673
+ <p class="tag_title">Returns:</p>
1674
+ <ul class="return">
1675
+
1676
+ <li>
1677
+
1678
+
1679
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
1680
+
1681
+
1682
+
1683
+ &mdash;
1684
+ <div class='inline'>
1685
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
1686
+ methods to be chained.</p>
1687
+ </div>
1688
+
1689
+ </li>
1690
+
1691
+ </ul>
1692
+
1693
+ <p class="tag_title">See Also:</p>
1694
+ <ul class="see">
1695
+
1696
+ <li><span class='object_link'><a href="#then-instance_method" title="Mocha::Expectation#then (method)">#then</a></span></li>
1697
+
1698
+ </ul>
1699
+
1700
+ </div><table class="source_code">
1701
+ <tr>
1702
+ <td>
1703
+ <pre class="lines">
1704
+
1705
+
1706
+ 324
1707
+ 325
1708
+ 326
1709
+ 327</pre>
1710
+ </td>
1711
+ <td>
1712
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 324</span>
1713
+
1714
+ <span class='kw'>def</span> <span class='id identifier rubyid_returns'>returns</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_values'>values</span><span class='rparen'>)</span>
1715
+ <span class='ivar'>@return_values</span> <span class='op'>+=</span> <span class='const'>ReturnValues</span><span class='period'>.</span><span class='id identifier rubyid_build'>build</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_values'>values</span><span class='rparen'>)</span>
1716
+ <span class='kw'>self</span>
1717
+ <span class='kw'>end</span></pre>
1718
+ </td>
1719
+ </tr>
1720
+ </table>
1721
+ </div>
1722
+
1723
+ <div class="method_details ">
1724
+ <h3 class="signature " id="then-instance_method">
1725
+
1726
+
1727
+ <span class="overload">#<strong>then</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt> </span>
1728
+
1729
+ <span class="overload">#<strong>then</strong>(state_machine.is(state_name)) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt> </span>
1730
+
1731
+
1732
+
1733
+
1734
+
1735
+
1736
+ </h3><div class="docstring">
1737
+ <div class="discussion">
1738
+
1739
+ <p>Returns the same expectation, thereby allowing invocations of other
1740
+ <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span> methods to be chained.</p>
1741
+
1742
+
1743
+ </div>
1744
+ </div>
1745
+ <div class="tags">
1746
+
1747
+ <div class="examples">
1748
+ <p class="tag_title">Examples:</p>
1749
+
1750
+
1751
+ <p class="example_title"><div class='inline'>
1752
+ <p>Using <span class='object_link'><a href="#then-instance_method" title="Mocha::Expectation#then (method)">#then</a></span> as syntactic sugar when specifying values to be returned and
1753
+ exceptions to be raised on consecutive invocations of the expected method.</p>
1754
+ </div></p>
1755
+
1756
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
1757
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_returns'>returns</span><span class='lparen'>(</span><span class='int'>1</span><span class='comma'>,</span> <span class='int'>2</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span><span class='period'>.</span><span class='id identifier rubyid_raises'>raises</span><span class='lparen'>(</span><span class='const'>Exception</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span><span class='period'>.</span><span class='id identifier rubyid_returns'>returns</span><span class='lparen'>(</span><span class='int'>4</span><span class='rparen'>)</span>
1758
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; 1
1759
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; 2
1760
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; raises exception of class Exception
1761
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; 4</span></code></pre>
1762
+
1763
+
1764
+ <p class="example_title"><div class='inline'>
1765
+ <p>Using <span class='object_link'><a href="#then-instance_method" title="Mocha::Expectation#then (method)">#then</a></span> to change the <code>state</code> of a
1766
+ <code>state_machine</code> on the invocation of an expected method.</p>
1767
+ </div></p>
1768
+
1769
+ <pre class="example code"><code><span class='id identifier rubyid_power'>power</span> <span class='op'>=</span> <span class='id identifier rubyid_states'>states</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>power</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_starts_as'>starts_as</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>off</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
1770
+
1771
+ <span class='id identifier rubyid_radio'>radio</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>radio</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
1772
+ <span class='id identifier rubyid_radio'>radio</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:switch_on</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span><span class='lparen'>(</span><span class='id identifier rubyid_power'>power</span><span class='period'>.</span><span class='id identifier rubyid_is'>is</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>on</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
1773
+ <span class='id identifier rubyid_radio'>radio</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:select_channel</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BBC Radio 4</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_when'>when</span><span class='lparen'>(</span><span class='id identifier rubyid_power'>power</span><span class='period'>.</span><span class='id identifier rubyid_is'>is</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>on</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
1774
+ <span class='id identifier rubyid_radio'>radio</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:adjust_volume</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='int'>+5</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_when'>when</span><span class='lparen'>(</span><span class='id identifier rubyid_power'>power</span><span class='period'>.</span><span class='id identifier rubyid_is'>is</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>on</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
1775
+ <span class='id identifier rubyid_radio'>radio</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:select_channel</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BBC World Service</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_when'>when</span><span class='lparen'>(</span><span class='id identifier rubyid_power'>power</span><span class='period'>.</span><span class='id identifier rubyid_is'>is</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>on</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
1776
+ <span class='id identifier rubyid_radio'>radio</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:adjust_volume</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='op'>-</span><span class='int'>5</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_when'>when</span><span class='lparen'>(</span><span class='id identifier rubyid_power'>power</span><span class='period'>.</span><span class='id identifier rubyid_is'>is</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>on</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
1777
+ <span class='id identifier rubyid_radio'>radio</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:switch_off</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span><span class='lparen'>(</span><span class='id identifier rubyid_power'>power</span><span class='period'>.</span><span class='id identifier rubyid_is'>is</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>off</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='rparen'>)</span></code></pre>
1778
+
1779
+ </div>
1780
+
1781
+ <p class="tag_title">Overloads:</p>
1782
+ <ul class="overload">
1783
+
1784
+
1785
+ <li class="overload_item">
1786
+ <span class="signature">#<strong>then</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt> </span>
1787
+ <div class="docstring">
1788
+ <div class="discussion">
1789
+
1790
+ <p>Used as syntactic sugar to improve readability. It has no effect on state
1791
+ of the expectation.</p>
1792
+
1793
+
1794
+ </div>
1795
+ </div>
1796
+ <div class="tags">
1797
+
1798
+
1799
+ </div>
1800
+ </li>
1801
+
1802
+
1803
+ <li class="overload_item">
1804
+ <span class="signature">#<strong>then</strong>(state_machine.is(state_name)) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt> </span>
1805
+ <div class="docstring">
1806
+ <div class="discussion">
1807
+
1808
+ <p>Used to change the <code>state_machine</code> to the state specified by
1809
+ <code>state_name</code> when the expected invocation occurs.</p>
1810
+
1811
+
1812
+ </div>
1813
+ </div>
1814
+ <div class="tags">
1815
+ <p class="tag_title">Parameters:</p>
1816
+ <ul class="param">
1817
+
1818
+ <li>
1819
+
1820
+ <span class='name'>state_machine.is(state_name)</span>
1821
+
1822
+
1823
+ <span class='type'>(<tt><span class='object_link'><a href="StateMachine/State.html" title="Mocha::StateMachine::State (class)">StateMachine::State</a></span></tt>)</span>
1824
+
1825
+
1826
+
1827
+ &mdash;
1828
+ <div class='inline'>
1829
+ <p>provides a mechanism to change the <code>state_machine</code> into the
1830
+ state specified by <code>state_name</code> when the expected method is
1831
+ invoked.</p>
1832
+ </div>
1833
+
1834
+ </li>
1835
+
1836
+ </ul>
1837
+
1838
+
1839
+ <p class="tag_title">See Also:</p>
1840
+ <ul class="see">
1841
+
1842
+ <li><span class='object_link'><a href="API.html#states-instance_method" title="Mocha::API#states (method)">API#states</a></span></li>
1843
+
1844
+ <li><span class='object_link'><a href="StateMachine.html" title="Mocha::StateMachine (class)">StateMachine</a></span></li>
1845
+
1846
+ <li><span class='object_link'><a href="#when-instance_method" title="Mocha::Expectation#when (method)">#when</a></span></li>
1847
+
1848
+ </ul>
1849
+
1850
+ </div>
1851
+ </li>
1852
+
1853
+ </ul>
1854
+
1855
+ <p class="tag_title">Returns:</p>
1856
+ <ul class="return">
1857
+
1858
+ <li>
1859
+
1860
+
1861
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
1862
+
1863
+
1864
+
1865
+ &mdash;
1866
+ <div class='inline'>
1867
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
1868
+ methods to be chained.</p>
1869
+ </div>
1870
+
1871
+ </li>
1872
+
1873
+ </ul>
1874
+
1875
+ </div><table class="source_code">
1876
+ <tr>
1877
+ <td>
1878
+ <pre class="lines">
1879
+
1880
+
1881
+ 438
1882
+ 439
1883
+ 440
1884
+ 441
1885
+ 442
1886
+ 443
1887
+ 444</pre>
1888
+ </td>
1889
+ <td>
1890
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 438</span>
1891
+
1892
+ <span class='kw'>def</span> <span class='kw'>then</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_parameters'>parameters</span><span class='rparen'>)</span>
1893
+ <span class='kw'>if</span> <span class='id identifier rubyid_parameters'>parameters</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span> <span class='op'>==</span> <span class='int'>1</span>
1894
+ <span class='id identifier rubyid_state'>state</span> <span class='op'>=</span> <span class='id identifier rubyid_parameters'>parameters</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
1895
+ <span class='id identifier rubyid_add_side_effect'>add_side_effect</span><span class='lparen'>(</span><span class='const'>ChangeStateSideEffect</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_state'>state</span><span class='rparen'>)</span><span class='rparen'>)</span>
1896
+ <span class='kw'>end</span>
1897
+ <span class='kw'>self</span>
1898
+ <span class='kw'>end</span></pre>
1899
+ </td>
1900
+ </tr>
1901
+ </table>
1902
+ </div>
1903
+
1904
+ <div class="method_details ">
1905
+ <h3 class="signature " id="throws-instance_method">
1906
+
1907
+
1908
+ <span class="overload">#<strong>throw</strong>(tag) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt> </span>
1909
+
1910
+ <span class="overload">#<strong>throw</strong>(tag, object) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt> </span>
1911
+
1912
+
1913
+
1914
+
1915
+
1916
+
1917
+ </h3><div class="docstring">
1918
+ <div class="discussion">
1919
+
1920
+ <p>Modifies expectation so that when the expected method is called, it throws
1921
+ the specified <code>tag</code> with the specific return value
1922
+ <code>object</code> i.e. calls <tt>Kernel#throw(tag, object)</tt>.</p>
1923
+
1924
+
1925
+ </div>
1926
+ </div>
1927
+ <div class="tags">
1928
+
1929
+ <div class="examples">
1930
+ <p class="tag_title">Examples:</p>
1931
+
1932
+
1933
+ <p class="example_title"><div class='inline'>
1934
+ <p>Throw tag when expected method is invoked.</p>
1935
+ </div></p>
1936
+
1937
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_stub'>stub</span><span class='lparen'>(</span><span class='rparen'>)</span>
1938
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_throws'>throws</span><span class='lparen'>(</span><span class='symbol'>:done</span><span class='rparen'>)</span>
1939
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; throws tag :done</span></code></pre>
1940
+
1941
+
1942
+ <p class="example_title"><div class='inline'>
1943
+ <p>Throw tag with return value <code>object</code> c.f. <tt>Kernel#throw</tt>.</p>
1944
+ </div></p>
1945
+
1946
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_stub'>stub</span><span class='lparen'>(</span><span class='rparen'>)</span>
1947
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_throws'>throws</span><span class='lparen'>(</span><span class='symbol'>:done</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>result</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
1948
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; throws tag :done and causes catch block to return &#39;result&#39;</span></code></pre>
1949
+
1950
+
1951
+ <p class="example_title"><div class='inline'>
1952
+ <p>Throw different tags on consecutive invocations of the expected method.</p>
1953
+ </div></p>
1954
+
1955
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_stub'>stub</span><span class='lparen'>(</span><span class='rparen'>)</span>
1956
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_throws'>throws</span><span class='lparen'>(</span><span class='symbol'>:done</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span><span class='period'>.</span><span class='id identifier rubyid_throws'>throws</span><span class='lparen'>(</span><span class='symbol'>:continue</span><span class='rparen'>)</span>
1957
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; throws :done
1958
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; throws :continue</span></code></pre>
1959
+
1960
+
1961
+ <p class="example_title"><div class='inline'>
1962
+ <p>Throw tag on first invocation of expected method and then return values for
1963
+ subsequent invocations.</p>
1964
+ </div></p>
1965
+
1966
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_stub'>stub</span><span class='lparen'>(</span><span class='rparen'>)</span>
1967
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_throws'>throws</span><span class='lparen'>(</span><span class='symbol'>:done</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span><span class='period'>.</span><span class='id identifier rubyid_returns'>returns</span><span class='lparen'>(</span><span class='int'>2</span><span class='comma'>,</span> <span class='int'>3</span><span class='rparen'>)</span>
1968
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; throws :done
1969
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; 2
1970
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; 3</span></code></pre>
1971
+
1972
+ </div>
1973
+ <p class="tag_title">Parameters:</p>
1974
+ <ul class="param">
1975
+
1976
+ <li>
1977
+
1978
+ <span class='name'>tag</span>
1979
+
1980
+
1981
+ <span class='type'>(<tt>Symbol</tt>, <tt>String</tt>)</span>
1982
+
1983
+
1984
+
1985
+ &mdash;
1986
+ <div class='inline'>
1987
+ <p>tag to throw to transfer control to the active catch block.</p>
1988
+ </div>
1989
+
1990
+ </li>
1991
+
1992
+ <li>
1993
+
1994
+ <span class='name'>object</span>
1995
+
1996
+
1997
+ <span class='type'>(<tt><span class='object_link'>Object</span></tt>)</span>
1998
+
1999
+
2000
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2001
+
2002
+
2003
+ &mdash;
2004
+ <div class='inline'>
2005
+ <p>return value for the catch block.</p>
2006
+ </div>
2007
+
2008
+ </li>
2009
+
2010
+ </ul>
2011
+
2012
+ <p class="tag_title">Returns:</p>
2013
+ <ul class="return">
2014
+
2015
+ <li>
2016
+
2017
+
2018
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
2019
+
2020
+
2021
+
2022
+ &mdash;
2023
+ <div class='inline'>
2024
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
2025
+ methods to be chained.</p>
2026
+ </div>
2027
+
2028
+ </li>
2029
+
2030
+ </ul>
2031
+
2032
+ <p class="tag_title">See Also:</p>
2033
+ <ul class="see">
2034
+
2035
+ <li>Kernel#throw</li>
2036
+
2037
+ <li><span class='object_link'><a href="#then-instance_method" title="Mocha::Expectation#then (method)">#then</a></span></li>
2038
+
2039
+ </ul>
2040
+
2041
+ </div><table class="source_code">
2042
+ <tr>
2043
+ <td>
2044
+ <pre class="lines">
2045
+
2046
+
2047
+ 403
2048
+ 404
2049
+ 405
2050
+ 406</pre>
2051
+ </td>
2052
+ <td>
2053
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 403</span>
2054
+
2055
+ <span class='kw'>def</span> <span class='id identifier rubyid_throws'>throws</span><span class='lparen'>(</span><span class='id identifier rubyid_tag'>tag</span><span class='comma'>,</span> <span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
2056
+ <span class='ivar'>@return_values</span> <span class='op'>+=</span> <span class='const'>ReturnValues</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>Thrower</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_tag'>tag</span><span class='comma'>,</span> <span class='id identifier rubyid_object'>object</span><span class='rparen'>)</span><span class='rparen'>)</span>
2057
+ <span class='kw'>self</span>
2058
+ <span class='kw'>end</span></pre>
2059
+ </td>
2060
+ </tr>
2061
+ </table>
2062
+ </div>
2063
+
2064
+ <div class="method_details ">
2065
+ <h3 class="signature " id="times-instance_method">
2066
+
2067
+ #<strong>times</strong>(range) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>
2068
+
2069
+
2070
+
2071
+
2072
+
2073
+ </h3><div class="docstring">
2074
+ <div class="discussion">
2075
+
2076
+ <p>Modifies expectation so that the number of calls to the expected method
2077
+ must be within a specific <code>range</code>.</p>
2078
+
2079
+
2080
+ </div>
2081
+ </div>
2082
+ <div class="tags">
2083
+
2084
+ <div class="examples">
2085
+ <p class="tag_title">Examples:</p>
2086
+
2087
+
2088
+ <p class="example_title"><div class='inline'>
2089
+ <p>Specifying a specific number of expected invocations.</p>
2090
+ </div></p>
2091
+
2092
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
2093
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_times'>times</span><span class='lparen'>(</span><span class='int'>3</span><span class='rparen'>)</span>
2094
+ <span class='int'>3</span><span class='period'>.</span><span class='id identifier rubyid_times'>times</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='rbrace'>}</span>
2095
+ <span class='comment'># =&gt; verify succeeds
2096
+ </span>
2097
+ <span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
2098
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_times'>times</span><span class='lparen'>(</span><span class='int'>3</span><span class='rparen'>)</span>
2099
+ <span class='int'>2</span><span class='period'>.</span><span class='id identifier rubyid_times'>times</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='rbrace'>}</span>
2100
+ <span class='comment'># =&gt; verify fails</span></code></pre>
2101
+
2102
+
2103
+ <p class="example_title"><div class='inline'>
2104
+ <p>Specifying a range in the number of expected invocations.</p>
2105
+ </div></p>
2106
+
2107
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
2108
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_times'>times</span><span class='lparen'>(</span><span class='int'>2</span><span class='op'>..</span><span class='int'>4</span><span class='rparen'>)</span>
2109
+ <span class='int'>3</span><span class='period'>.</span><span class='id identifier rubyid_times'>times</span> <span class='lbrace'>{</span> <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='rbrace'>}</span>
2110
+ <span class='comment'># =&gt; verify succeeds
2111
+ </span>
2112
+ <span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
2113
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_times'>times</span><span class='lparen'>(</span><span class='int'>2</span><span class='op'>..</span><span class='int'>4</span><span class='rparen'>)</span>
2114
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span>
2115
+ <span class='comment'># =&gt; verify fails</span></code></pre>
2116
+
2117
+ </div>
2118
+ <p class="tag_title">Parameters:</p>
2119
+ <ul class="param">
2120
+
2121
+ <li>
2122
+
2123
+ <span class='name'>range</span>
2124
+
2125
+
2126
+ <span class='type'>(<tt>Range</tt>, <tt>Integer</tt>)</span>
2127
+
2128
+
2129
+
2130
+ &mdash;
2131
+ <div class='inline'>
2132
+ <p>specifies the allowable range in the number of expected invocations.</p>
2133
+ </div>
2134
+
2135
+ </li>
2136
+
2137
+ </ul>
2138
+
2139
+ <p class="tag_title">Returns:</p>
2140
+ <ul class="return">
2141
+
2142
+ <li>
2143
+
2144
+
2145
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
2146
+
2147
+
2148
+
2149
+ &mdash;
2150
+ <div class='inline'>
2151
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
2152
+ methods to be chained.</p>
2153
+ </div>
2154
+
2155
+ </li>
2156
+
2157
+ </ul>
2158
+
2159
+ </div><table class="source_code">
2160
+ <tr>
2161
+ <td>
2162
+ <pre class="lines">
2163
+
2164
+
2165
+ 42
2166
+ 43
2167
+ 44
2168
+ 45</pre>
2169
+ </td>
2170
+ <td>
2171
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 42</span>
2172
+
2173
+ <span class='kw'>def</span> <span class='id identifier rubyid_times'>times</span><span class='lparen'>(</span><span class='id identifier rubyid_range'>range</span><span class='rparen'>)</span>
2174
+ <span class='ivar'>@cardinality</span> <span class='op'>=</span> <span class='const'>Cardinality</span><span class='period'>.</span><span class='id identifier rubyid_times'>times</span><span class='lparen'>(</span><span class='id identifier rubyid_range'>range</span><span class='rparen'>)</span>
2175
+ <span class='kw'>self</span>
2176
+ <span class='kw'>end</span></pre>
2177
+ </td>
2178
+ </tr>
2179
+ </table>
2180
+ </div>
2181
+
2182
+ <div class="method_details ">
2183
+ <h3 class="signature " id="twice-instance_method">
2184
+
2185
+ #<strong>twice</strong> &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>
2186
+
2187
+
2188
+
2189
+
2190
+
2191
+ </h3><div class="docstring">
2192
+ <div class="discussion">
2193
+
2194
+ <p>Modifies expectation so that the expected method must be called exactly
2195
+ twice.</p>
2196
+
2197
+
2198
+ </div>
2199
+ </div>
2200
+ <div class="tags">
2201
+
2202
+ <div class="examples">
2203
+ <p class="tag_title">Examples:</p>
2204
+
2205
+
2206
+ <p class="example_title"><div class='inline'>
2207
+ <p>Expected method must be invoked exactly twice.</p>
2208
+ </div></p>
2209
+
2210
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
2211
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_twice'>twice</span>
2212
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span>
2213
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span>
2214
+ <span class='comment'># =&gt; verify succeeds
2215
+ </span>
2216
+ <span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
2217
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_twice'>twice</span>
2218
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span>
2219
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span>
2220
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='comment'># =&gt; unexpected invocation
2221
+ </span>
2222
+ <span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
2223
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_twice'>twice</span>
2224
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span>
2225
+ <span class='comment'># =&gt; verify fails</span></code></pre>
2226
+
2227
+ </div>
2228
+
2229
+ <p class="tag_title">Returns:</p>
2230
+ <ul class="return">
2231
+
2232
+ <li>
2233
+
2234
+
2235
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
2236
+
2237
+
2238
+
2239
+ &mdash;
2240
+ <div class='inline'>
2241
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
2242
+ methods to be chained.</p>
2243
+ </div>
2244
+
2245
+ </li>
2246
+
2247
+ </ul>
2248
+
2249
+ </div><table class="source_code">
2250
+ <tr>
2251
+ <td>
2252
+ <pre class="lines">
2253
+
2254
+
2255
+ 68
2256
+ 69
2257
+ 70
2258
+ 71</pre>
2259
+ </td>
2260
+ <td>
2261
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 68</span>
2262
+
2263
+ <span class='kw'>def</span> <span class='id identifier rubyid_twice'>twice</span>
2264
+ <span class='ivar'>@cardinality</span> <span class='op'>=</span> <span class='const'>Cardinality</span><span class='period'>.</span><span class='id identifier rubyid_exactly'>exactly</span><span class='lparen'>(</span><span class='int'>2</span><span class='rparen'>)</span>
2265
+ <span class='kw'>self</span>
2266
+ <span class='kw'>end</span></pre>
2267
+ </td>
2268
+ </tr>
2269
+ </table>
2270
+ </div>
2271
+
2272
+ <div class="method_details ">
2273
+ <h3 class="signature " id="when-instance_method">
2274
+
2275
+ #<strong>when</strong>(state_predicate) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>
2276
+
2277
+
2278
+
2279
+
2280
+
2281
+ </h3><div class="docstring">
2282
+ <div class="discussion">
2283
+
2284
+ <p>Constrains the expectation to occur only when the
2285
+ <code>state_machine</code> is in the state specified by
2286
+ <code>state_name</code>.</p>
2287
+
2288
+
2289
+ </div>
2290
+ </div>
2291
+ <div class="tags">
2292
+
2293
+ <div class="examples">
2294
+ <p class="tag_title">Examples:</p>
2295
+
2296
+
2297
+ <p class="example_title"><div class='inline'>
2298
+ <p>Using <span class='object_link'><a href="#when-instance_method" title="Mocha::Expectation#when (method)">#when</a></span> to only allow invocation of methods when “power” state
2299
+ machine is in the “on” state.</p>
2300
+ </div></p>
2301
+
2302
+ <pre class="example code"><code><span class='id identifier rubyid_power'>power</span> <span class='op'>=</span> <span class='id identifier rubyid_states'>states</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>power</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_starts_as'>starts_as</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>off</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
2303
+
2304
+ <span class='id identifier rubyid_radio'>radio</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>radio</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
2305
+ <span class='id identifier rubyid_radio'>radio</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:switch_on</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span><span class='lparen'>(</span><span class='id identifier rubyid_power'>power</span><span class='period'>.</span><span class='id identifier rubyid_is'>is</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>on</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
2306
+ <span class='id identifier rubyid_radio'>radio</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:select_channel</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BBC Radio 4</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_when'>when</span><span class='lparen'>(</span><span class='id identifier rubyid_power'>power</span><span class='period'>.</span><span class='id identifier rubyid_is'>is</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>on</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
2307
+ <span class='id identifier rubyid_radio'>radio</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:adjust_volume</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='int'>+5</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_when'>when</span><span class='lparen'>(</span><span class='id identifier rubyid_power'>power</span><span class='period'>.</span><span class='id identifier rubyid_is'>is</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>on</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
2308
+ <span class='id identifier rubyid_radio'>radio</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:select_channel</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>BBC World Service</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_when'>when</span><span class='lparen'>(</span><span class='id identifier rubyid_power'>power</span><span class='period'>.</span><span class='id identifier rubyid_is'>is</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>on</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
2309
+ <span class='id identifier rubyid_radio'>radio</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:adjust_volume</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='op'>-</span><span class='int'>5</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_when'>when</span><span class='lparen'>(</span><span class='id identifier rubyid_power'>power</span><span class='period'>.</span><span class='id identifier rubyid_is'>is</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>on</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
2310
+ <span class='id identifier rubyid_radio'>radio</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:switch_off</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span><span class='lparen'>(</span><span class='id identifier rubyid_power'>power</span><span class='period'>.</span><span class='id identifier rubyid_is'>is</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>off</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='rparen'>)</span></code></pre>
2311
+
2312
+ </div>
2313
+ <p class="tag_title">Parameters:</p>
2314
+ <ul class="param">
2315
+
2316
+ <li>
2317
+
2318
+ <span class='name'>state_machine.is(state_name)</span>
2319
+
2320
+
2321
+ <span class='type'>(<tt><span class='object_link'><a href="StateMachine/StatePredicate.html" title="Mocha::StateMachine::StatePredicate (class)">StateMachine::StatePredicate</a></span></tt>)</span>
2322
+
2323
+
2324
+
2325
+ &mdash;
2326
+ <div class='inline'>
2327
+ <p>provides a mechanism to determine whether the <code>state_machine</code> is
2328
+ in the state specified by <code>state_name</code> when the expected method
2329
+ is invoked.</p>
2330
+ </div>
2331
+
2332
+ </li>
2333
+
2334
+ </ul>
2335
+
2336
+ <p class="tag_title">Returns:</p>
2337
+ <ul class="return">
2338
+
2339
+ <li>
2340
+
2341
+
2342
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
2343
+
2344
+
2345
+
2346
+ &mdash;
2347
+ <div class='inline'>
2348
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
2349
+ methods to be chained.</p>
2350
+ </div>
2351
+
2352
+ </li>
2353
+
2354
+ </ul>
2355
+
2356
+ <p class="tag_title">See Also:</p>
2357
+ <ul class="see">
2358
+
2359
+ <li><span class='object_link'><a href="API.html#states-instance_method" title="Mocha::API#states (method)">API#states</a></span></li>
2360
+
2361
+ <li><span class='object_link'><a href="StateMachine.html" title="Mocha::StateMachine (class)">StateMachine</a></span></li>
2362
+
2363
+ <li><span class='object_link'><a href="#then-instance_method" title="Mocha::Expectation#then (method)">#then</a></span></li>
2364
+
2365
+ </ul>
2366
+
2367
+ </div><table class="source_code">
2368
+ <tr>
2369
+ <td>
2370
+ <pre class="lines">
2371
+
2372
+
2373
+ 465
2374
+ 466
2375
+ 467
2376
+ 468</pre>
2377
+ </td>
2378
+ <td>
2379
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 465</span>
2380
+
2381
+ <span class='kw'>def</span> <span class='kw'>when</span><span class='lparen'>(</span><span class='id identifier rubyid_state_predicate'>state_predicate</span><span class='rparen'>)</span>
2382
+ <span class='id identifier rubyid_add_ordering_constraint'>add_ordering_constraint</span><span class='lparen'>(</span><span class='const'>InStateOrderingConstraint</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_state_predicate'>state_predicate</span><span class='rparen'>)</span><span class='rparen'>)</span>
2383
+ <span class='kw'>self</span>
2384
+ <span class='kw'>end</span></pre>
2385
+ </td>
2386
+ </tr>
2387
+ </table>
2388
+ </div>
2389
+
2390
+ <div class="method_details ">
2391
+ <h3 class="signature " id="with-instance_method">
2392
+
2393
+ #<strong>with</strong>(*expected_parameters) {|actual_parameters| ... } &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>
2394
+
2395
+
2396
+
2397
+
2398
+
2399
+ </h3><div class="docstring">
2400
+ <div class="discussion">
2401
+
2402
+ <p>Modifies expectation so that the expected method must be called with
2403
+ <code>expected_parameters</code>.</p>
2404
+
2405
+ <p>May be used with parameter matchers in <span class='object_link'><a href="ParameterMatchers.html" title="Mocha::ParameterMatchers (module)">ParameterMatchers</a></span>.</p>
2406
+
2407
+
2408
+ </div>
2409
+ </div>
2410
+ <div class="tags">
2411
+
2412
+ <div class="examples">
2413
+ <p class="tag_title">Examples:</p>
2414
+
2415
+
2416
+ <p class="example_title"><div class='inline'>
2417
+ <p>Expected method must be called with expected parameters.</p>
2418
+ </div></p>
2419
+
2420
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
2421
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='symbol'>:param1</span><span class='comma'>,</span> <span class='symbol'>:param2</span><span class='rparen'>)</span>
2422
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span><span class='lparen'>(</span><span class='symbol'>:param1</span><span class='comma'>,</span> <span class='symbol'>:param2</span><span class='rparen'>)</span>
2423
+ <span class='comment'># =&gt; verify succeeds
2424
+ </span>
2425
+ <span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
2426
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='symbol'>:param1</span><span class='comma'>,</span> <span class='symbol'>:param2</span><span class='rparen'>)</span>
2427
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span><span class='lparen'>(</span><span class='symbol'>:param3</span><span class='rparen'>)</span>
2428
+ <span class='comment'># =&gt; verify fails</span></code></pre>
2429
+
2430
+
2431
+ <p class="example_title"><div class='inline'>
2432
+ <p>Expected method must be called with a value divisible by 4.</p>
2433
+ </div></p>
2434
+
2435
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
2436
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_value'>value</span><span class='op'>|</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>%</span> <span class='int'>4</span> <span class='op'>==</span> <span class='int'>0</span> <span class='rbrace'>}</span>
2437
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span><span class='lparen'>(</span><span class='int'>16</span><span class='rparen'>)</span>
2438
+ <span class='comment'># =&gt; verify succeeds
2439
+ </span>
2440
+ <span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
2441
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_value'>value</span><span class='op'>|</span> <span class='id identifier rubyid_value'>value</span> <span class='op'>%</span> <span class='int'>4</span> <span class='op'>==</span> <span class='int'>0</span> <span class='rbrace'>}</span>
2442
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span><span class='lparen'>(</span><span class='int'>17</span><span class='rparen'>)</span>
2443
+ <span class='comment'># =&gt; verify fails</span></code></pre>
2444
+
2445
+ </div>
2446
+ <p class="tag_title">Parameters:</p>
2447
+ <ul class="param">
2448
+
2449
+ <li>
2450
+
2451
+ <span class='name'>expected_parameters</span>
2452
+
2453
+
2454
+ <span class='type'>(<tt>*Array</tt>)</span>
2455
+
2456
+
2457
+
2458
+ &mdash;
2459
+ <div class='inline'>
2460
+ <p>parameters expected.</p>
2461
+ </div>
2462
+
2463
+ </li>
2464
+
2465
+ </ul>
2466
+
2467
+ <p class="tag_title">Yields:</p>
2468
+ <ul class="yield">
2469
+
2470
+ <li>
2471
+
2472
+
2473
+ <span class='type'></span>
2474
+
2475
+
2476
+
2477
+
2478
+ <div class='inline'>
2479
+ <p>optional block specifying custom matching.</p>
2480
+ </div>
2481
+
2482
+ </li>
2483
+
2484
+ </ul>
2485
+ <p class="tag_title">Yield Parameters:</p>
2486
+ <ul class="yieldparam">
2487
+
2488
+ <li>
2489
+
2490
+ <span class='name'>actual_parameters</span>
2491
+
2492
+
2493
+ <span class='type'>(<tt>*Array</tt>)</span>
2494
+
2495
+
2496
+
2497
+ &mdash;
2498
+ <div class='inline'>
2499
+ <p>parameters with which expected method was invoked.</p>
2500
+ </div>
2501
+
2502
+ </li>
2503
+
2504
+ </ul>
2505
+ <p class="tag_title">Yield Returns:</p>
2506
+ <ul class="yieldreturn">
2507
+
2508
+ <li>
2509
+
2510
+
2511
+ <span class='type'>(<tt>Boolean</tt>)</span>
2512
+
2513
+
2514
+
2515
+ &mdash;
2516
+ <div class='inline'>
2517
+ <p><code>true</code> if <code>actual_parameters</code> are acceptable.</p>
2518
+ </div>
2519
+
2520
+ </li>
2521
+
2522
+ </ul>
2523
+ <p class="tag_title">Returns:</p>
2524
+ <ul class="return">
2525
+
2526
+ <li>
2527
+
2528
+
2529
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
2530
+
2531
+
2532
+
2533
+ &mdash;
2534
+ <div class='inline'>
2535
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
2536
+ methods to be chained.</p>
2537
+ </div>
2538
+
2539
+ </li>
2540
+
2541
+ </ul>
2542
+
2543
+ </div><table class="source_code">
2544
+ <tr>
2545
+ <td>
2546
+ <pre class="lines">
2547
+
2548
+
2549
+ 221
2550
+ 222
2551
+ 223
2552
+ 224</pre>
2553
+ </td>
2554
+ <td>
2555
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 221</span>
2556
+
2557
+ <span class='kw'>def</span> <span class='id identifier rubyid_with'>with</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_expected_parameters'>expected_parameters</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_matching_block'>matching_block</span><span class='rparen'>)</span>
2558
+ <span class='ivar'>@parameters_matcher</span> <span class='op'>=</span> <span class='const'>ParametersMatcher</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_expected_parameters'>expected_parameters</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_matching_block'>matching_block</span><span class='rparen'>)</span>
2559
+ <span class='kw'>self</span>
2560
+ <span class='kw'>end</span></pre>
2561
+ </td>
2562
+ </tr>
2563
+ </table>
2564
+ </div>
2565
+
2566
+ <div class="method_details ">
2567
+ <h3 class="signature " id="yields-instance_method">
2568
+
2569
+ #<strong>yields</strong>(*parameters) &#x21d2; <tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>
2570
+
2571
+
2572
+
2573
+
2574
+
2575
+ </h3><div class="docstring">
2576
+ <div class="discussion">
2577
+
2578
+ <p>Modifies expectation so that when the expected method is called, it yields
2579
+ with the specified <code>parameters</code>.</p>
2580
+
2581
+ <p>May be called multiple times on the same expectation for consecutive
2582
+ invocations.</p>
2583
+
2584
+
2585
+ </div>
2586
+ </div>
2587
+ <div class="tags">
2588
+
2589
+ <div class="examples">
2590
+ <p class="tag_title">Examples:</p>
2591
+
2592
+
2593
+ <p class="example_title"><div class='inline'>
2594
+ <p>Yield parameters when expected method is invoked.</p>
2595
+ </div></p>
2596
+
2597
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
2598
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expects'>expects</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_yields'>yields</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>result</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span>
2599
+ <span class='id identifier rubyid_yielded_value'>yielded_value</span> <span class='op'>=</span> <span class='kw'>nil</span>
2600
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_value'>value</span><span class='op'>|</span> <span class='id identifier rubyid_yielded_value'>yielded_value</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span> <span class='rbrace'>}</span>
2601
+ <span class='id identifier rubyid_yielded_value'>yielded_value</span> <span class='comment'># =&gt; &#39;result&#39;</span></code></pre>
2602
+
2603
+
2604
+ <p class="example_title"><div class='inline'>
2605
+ <p>Yield different parameters on different invocations of the expected method.</p>
2606
+ </div></p>
2607
+
2608
+ <pre class="example code"><code><span class='id identifier rubyid_object'>object</span> <span class='op'>=</span> <span class='id identifier rubyid_mock'>mock</span><span class='lparen'>(</span><span class='rparen'>)</span>
2609
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_stubs'>stubs</span><span class='lparen'>(</span><span class='symbol'>:expected_method</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_yields'>yields</span><span class='lparen'>(</span><span class='int'>1</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_then'>then</span><span class='period'>.</span><span class='id identifier rubyid_yields'>yields</span><span class='lparen'>(</span><span class='int'>2</span><span class='rparen'>)</span>
2610
+ <span class='id identifier rubyid_yielded_values_from_first_invocation'>yielded_values_from_first_invocation</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
2611
+ <span class='id identifier rubyid_yielded_values_from_second_invocation'>yielded_values_from_second_invocation</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
2612
+ <span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_value'>value</span><span class='op'>|</span> <span class='id identifier rubyid_yielded_values_from_first_invocation'>yielded_values_from_first_invocation</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_value'>value</span> <span class='rbrace'>}</span> <span class='comment'># first invocation
2613
+ </span><span class='id identifier rubyid_object'>object</span><span class='period'>.</span><span class='id identifier rubyid_expected_method'>expected_method</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_value'>value</span><span class='op'>|</span> <span class='id identifier rubyid_yielded_values_from_second_invocation'>yielded_values_from_second_invocation</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_value'>value</span> <span class='rbrace'>}</span> <span class='comment'># second invocation
2614
+ </span><span class='id identifier rubyid_yielded_values_from_first_invocation'>yielded_values_from_first_invocation</span> <span class='comment'># =&gt; [1]
2615
+ </span><span class='id identifier rubyid_yielded_values_from_second_invocation'>yielded_values_from_second_invocation</span> <span class='comment'># =&gt; [2]</span></code></pre>
2616
+
2617
+ </div>
2618
+ <p class="tag_title">Parameters:</p>
2619
+ <ul class="param">
2620
+
2621
+ <li>
2622
+
2623
+ <span class='name'>parameters</span>
2624
+
2625
+
2626
+ <span class='type'>(<tt>*Array</tt>)</span>
2627
+
2628
+
2629
+
2630
+ &mdash;
2631
+ <div class='inline'>
2632
+ <p>parameters to be yielded.</p>
2633
+ </div>
2634
+
2635
+ </li>
2636
+
2637
+ </ul>
2638
+
2639
+ <p class="tag_title">Returns:</p>
2640
+ <ul class="return">
2641
+
2642
+ <li>
2643
+
2644
+
2645
+ <span class='type'>(<tt><span class='object_link'><a href="" title="Mocha::Expectation (class)">Expectation</a></span></tt>)</span>
2646
+
2647
+
2648
+
2649
+ &mdash;
2650
+ <div class='inline'>
2651
+ <p>the same expectation, thereby allowing invocations of other <span class='object_link'><a href="" title="Mocha::Expectation (class)">Mocha::Expectation</a></span>
2652
+ methods to be chained.</p>
2653
+ </div>
2654
+
2655
+ </li>
2656
+
2657
+ </ul>
2658
+
2659
+ <p class="tag_title">See Also:</p>
2660
+ <ul class="see">
2661
+
2662
+ <li><span class='object_link'><a href="#then-instance_method" title="Mocha::Expectation#then (method)">#then</a></span></li>
2663
+
2664
+ </ul>
2665
+
2666
+ </div><table class="source_code">
2667
+ <tr>
2668
+ <td>
2669
+ <pre class="lines">
2670
+
2671
+
2672
+ 250
2673
+ 251
2674
+ 252
2675
+ 253</pre>
2676
+ </td>
2677
+ <td>
2678
+ <pre class="code"><span class="info file"># File 'lib/mocha/expectation.rb', line 250</span>
2679
+
2680
+ <span class='kw'>def</span> <span class='id identifier rubyid_yields'>yields</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_parameters'>parameters</span><span class='rparen'>)</span>
2681
+ <span class='ivar'>@yield_parameters</span><span class='period'>.</span><span class='id identifier rubyid_add'>add</span><span class='lparen'>(</span><span class='op'>*</span><span class='id identifier rubyid_parameters'>parameters</span><span class='rparen'>)</span>
2682
+ <span class='kw'>self</span>
2683
+ <span class='kw'>end</span></pre>
2684
+ </td>
2685
+ </tr>
2686
+ </table>
2687
+ </div>
2688
+
2689
+ </div>
2690
+
2691
+ <script async src="https://www.googletagmanager.com/gtag/js?id=UA-625523-7"></script>
2692
+ <script>
2693
+ window.dataLayer = window.dataLayer || [];
2694
+ function gtag(){dataLayer.push(arguments);}
2695
+ gtag('js', new Date());
2696
+
2697
+ gtag('config', 'UA-625523-7');
2698
+ </script>
2699
+ </div>
2700
+
2701
+ <div id="footer">
2702
+ Generated on Tue Jan 15 17:13:06 2019 by
2703
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2704
+ 0.9.16 (ruby-2.5.3).
2705
+ </div>
2706
+
2707
+ </div>
2708
+ </body>
2709
+ </html>