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,2167 @@
1
+ require 'concurrent/synchronization'
2
+ require 'concurrent/atomic/atomic_boolean'
3
+ require 'concurrent/atomic/atomic_fixnum'
4
+ require 'concurrent/collection/lock_free_stack'
5
+ require 'concurrent/errors'
6
+ require 'concurrent/re_include'
7
+
8
+ module Concurrent
9
+
10
+ # {include:file:docs-source/promises-main.md}
11
+ module Promises
12
+
13
+ # @!macro promises.param.default_executor
14
+ # @param [Executor, :io, :fast] default_executor Instance of an executor or a name of the
15
+ # global executor. Default executor propagates to chained futures unless overridden with
16
+ # executor parameter or changed with {AbstractEventFuture#with_default_executor}.
17
+ #
18
+ # @!macro promises.param.executor
19
+ # @param [Executor, :io, :fast] executor Instance of an executor or a name of the
20
+ # global executor. The task is executed on it, default executor remains unchanged.
21
+ #
22
+ # @!macro promises.param.args
23
+ # @param [Object] args arguments which are passed to the task when it's executed.
24
+ # (It might be prepended with other arguments, see the @yeild section).
25
+ #
26
+ # @!macro promises.shortcut.on
27
+ # Shortcut of {#$0_on} with default `:io` executor supplied.
28
+ # @see #$0_on
29
+ #
30
+ # @!macro promises.shortcut.using
31
+ # Shortcut of {#$0_using} with default `:io` executor supplied.
32
+ # @see #$0_using
33
+ #
34
+ # @!macro promise.param.task-future
35
+ # @yieldreturn will become result of the returned Future.
36
+ # Its returned value becomes {Future#value} fulfilling it,
37
+ # raised exception becomes {Future#reason} rejecting it.
38
+ #
39
+ # @!macro promise.param.callback
40
+ # @yieldreturn is forgotten.
41
+
42
+ # Container of all {Future}, {Event} factory methods. They are never constructed directly with
43
+ # new.
44
+ module FactoryMethods
45
+ extend ReInclude
46
+ extend self
47
+
48
+ module Configuration
49
+ # @return [Executor, :io, :fast] the executor which is used when none is supplied
50
+ # to a factory method. The method can be overridden in the receivers of
51
+ # `include FactoryMethod`
52
+ def default_executor
53
+ :io
54
+ end
55
+ end
56
+
57
+ include Configuration
58
+
59
+ # @!macro promises.shortcut.on
60
+ # @return [ResolvableEvent]
61
+ def resolvable_event
62
+ resolvable_event_on default_executor
63
+ end
64
+
65
+ # Created resolvable event, user is responsible for resolving the event once by
66
+ # {Promises::ResolvableEvent#resolve}.
67
+ #
68
+ # @!macro promises.param.default_executor
69
+ # @return [ResolvableEvent]
70
+ def resolvable_event_on(default_executor = self.default_executor)
71
+ ResolvableEventPromise.new(default_executor).future
72
+ end
73
+
74
+ # @!macro promises.shortcut.on
75
+ # @return [ResolvableFuture]
76
+ def resolvable_future
77
+ resolvable_future_on default_executor
78
+ end
79
+
80
+ # Creates resolvable future, user is responsible for resolving the future once by
81
+ # {Promises::ResolvableFuture#resolve}, {Promises::ResolvableFuture#fulfill},
82
+ # or {Promises::ResolvableFuture#reject}
83
+ #
84
+ # @!macro promises.param.default_executor
85
+ # @return [ResolvableFuture]
86
+ def resolvable_future_on(default_executor = self.default_executor)
87
+ ResolvableFuturePromise.new(default_executor).future
88
+ end
89
+
90
+ # @!macro promises.shortcut.on
91
+ # @return [Future]
92
+ def future(*args, &task)
93
+ future_on(default_executor, *args, &task)
94
+ end
95
+
96
+ # Constructs new Future which will be resolved after block is evaluated on default executor.
97
+ # Evaluation begins immediately.
98
+ #
99
+ # @!macro promises.param.default_executor
100
+ # @!macro promises.param.args
101
+ # @yield [*args] to the task.
102
+ # @!macro promise.param.task-future
103
+ # @return [Future]
104
+ def future_on(default_executor, *args, &task)
105
+ ImmediateEventPromise.new(default_executor).future.then(*args, &task)
106
+ end
107
+
108
+ # Creates resolved future with will be either fulfilled with the given value or rejection with
109
+ # the given reason.
110
+ #
111
+ # @param [true, false] fulfilled
112
+ # @param [Object] value
113
+ # @param [Object] reason
114
+ # @!macro promises.param.default_executor
115
+ # @return [Future]
116
+ def resolved_future(fulfilled, value, reason, default_executor = self.default_executor)
117
+ ImmediateFuturePromise.new(default_executor, fulfilled, value, reason).future
118
+ end
119
+
120
+ # Creates resolved future with will be fulfilled with the given value.
121
+ #
122
+ # @!macro promises.param.default_executor
123
+ # @param [Object] value
124
+ # @return [Future]
125
+ def fulfilled_future(value, default_executor = self.default_executor)
126
+ resolved_future true, value, nil, default_executor
127
+ end
128
+
129
+ # Creates resolved future with will be rejected with the given reason.
130
+ #
131
+ # @!macro promises.param.default_executor
132
+ # @param [Object] reason
133
+ # @return [Future]
134
+ def rejected_future(reason, default_executor = self.default_executor)
135
+ resolved_future false, nil, reason, default_executor
136
+ end
137
+
138
+ # Creates resolved event.
139
+ #
140
+ # @!macro promises.param.default_executor
141
+ # @return [Event]
142
+ def resolved_event(default_executor = self.default_executor)
143
+ ImmediateEventPromise.new(default_executor).event
144
+ end
145
+
146
+ # General constructor. Behaves differently based on the argument's type. It's provided for convenience
147
+ # but it's better to be explicit.
148
+ #
149
+ # @see rejected_future, resolved_event, fulfilled_future
150
+ # @!macro promises.param.default_executor
151
+ # @return [Event, Future]
152
+ #
153
+ # @overload make_future(nil, default_executor = self.default_executor)
154
+ # @param [nil] nil
155
+ # @return [Event] resolved event.
156
+ #
157
+ # @overload make_future(a_future, default_executor = self.default_executor)
158
+ # @param [Future] a_future
159
+ # @return [Future] a future which will be resolved when a_future is.
160
+ #
161
+ # @overload make_future(an_event, default_executor = self.default_executor)
162
+ # @param [Event] an_event
163
+ # @return [Event] an event which will be resolved when an_event is.
164
+ #
165
+ # @overload make_future(exception, default_executor = self.default_executor)
166
+ # @param [Exception] exception
167
+ # @return [Future] a rejected future with the exception as its reason.
168
+ #
169
+ # @overload make_future(value, default_executor = self.default_executor)
170
+ # @param [Object] value when none of the above overloads fits
171
+ # @return [Future] a fulfilled future with the value.
172
+ def make_future(argument = nil, default_executor = self.default_executor)
173
+ case argument
174
+ when AbstractEventFuture
175
+ # returning wrapper would change nothing
176
+ argument
177
+ when Exception
178
+ rejected_future argument, default_executor
179
+ when nil
180
+ resolved_event default_executor
181
+ else
182
+ fulfilled_future argument, default_executor
183
+ end
184
+ end
185
+
186
+ # @!macro promises.shortcut.on
187
+ # @return [Future, Event]
188
+ def delay(*args, &task)
189
+ delay_on default_executor, *args, &task
190
+ end
191
+
192
+ # Creates new event or future which is resolved only after it is touched,
193
+ # see {Concurrent::AbstractEventFuture#touch}.
194
+ #
195
+ # @!macro promises.param.default_executor
196
+ # @overload delay_on(default_executor, *args, &task)
197
+ # If task is provided it returns a {Future} representing the result of the task.
198
+ # @!macro promises.param.args
199
+ # @yield [*args] to the task.
200
+ # @!macro promise.param.task-future
201
+ # @return [Future]
202
+ # @overload delay_on(default_executor)
203
+ # If no task is provided, it returns an {Event}
204
+ # @return [Event]
205
+ def delay_on(default_executor, *args, &task)
206
+ event = DelayPromise.new(default_executor).event
207
+ task ? event.chain(*args, &task) : event
208
+ end
209
+
210
+ # @!macro promises.shortcut.on
211
+ # @return [Future, Event]
212
+ def schedule(intended_time, *args, &task)
213
+ schedule_on default_executor, intended_time, *args, &task
214
+ end
215
+
216
+ # Creates new event or future which is resolved in intended_time.
217
+ #
218
+ # @!macro promises.param.default_executor
219
+ # @!macro promises.param.intended_time
220
+ # @param [Numeric, Time] intended_time `Numeric` means to run in `intended_time` seconds.
221
+ # `Time` means to run on `intended_time`.
222
+ # @overload schedule_on(default_executor, intended_time, *args, &task)
223
+ # If task is provided it returns a {Future} representing the result of the task.
224
+ # @!macro promises.param.args
225
+ # @yield [*args] to the task.
226
+ # @!macro promise.param.task-future
227
+ # @return [Future]
228
+ # @overload schedule_on(default_executor, intended_time)
229
+ # If no task is provided, it returns an {Event}
230
+ # @return [Event]
231
+ def schedule_on(default_executor, intended_time, *args, &task)
232
+ event = ScheduledPromise.new(default_executor, intended_time).event
233
+ task ? event.chain(*args, &task) : event
234
+ end
235
+
236
+ # @!macro promises.shortcut.on
237
+ # @return [Future]
238
+ def zip_futures(*futures_and_or_events)
239
+ zip_futures_on default_executor, *futures_and_or_events
240
+ end
241
+
242
+ # Creates new future which is resolved after all futures_and_or_events are resolved.
243
+ # Its value is array of zipped future values. Its reason is array of reasons for rejection.
244
+ # If there is an error it rejects.
245
+ # @!macro promises.event-conversion
246
+ # If event is supplied, which does not have value and can be only resolved, it's
247
+ # represented as `:fulfilled` with value `nil`.
248
+ #
249
+ # @!macro promises.param.default_executor
250
+ # @param [AbstractEventFuture] futures_and_or_events
251
+ # @return [Future]
252
+ def zip_futures_on(default_executor, *futures_and_or_events)
253
+ ZipFuturesPromise.new_blocked_by(futures_and_or_events, default_executor).future
254
+ end
255
+
256
+ alias_method :zip, :zip_futures
257
+
258
+ # @!macro promises.shortcut.on
259
+ # @return [Event]
260
+ def zip_events(*futures_and_or_events)
261
+ zip_events_on default_executor, *futures_and_or_events
262
+ end
263
+
264
+ # Creates new event which is resolved after all futures_and_or_events are resolved.
265
+ # (Future is resolved when fulfilled or rejected.)
266
+ #
267
+ # @!macro promises.param.default_executor
268
+ # @param [AbstractEventFuture] futures_and_or_events
269
+ # @return [Event]
270
+ def zip_events_on(default_executor, *futures_and_or_events)
271
+ ZipEventsPromise.new_blocked_by(futures_and_or_events, default_executor).event
272
+ end
273
+
274
+ # @!macro promises.shortcut.on
275
+ # @return [Future]
276
+ def any_resolved_future(*futures_and_or_events)
277
+ any_resolved_future_on default_executor, *futures_and_or_events
278
+ end
279
+
280
+ alias_method :any, :any_resolved_future
281
+
282
+ # Creates new future which is resolved after first futures_and_or_events is resolved.
283
+ # Its result equals result of the first resolved future.
284
+ # @!macro promises.any-touch
285
+ # If resolved it does not propagate {Concurrent::AbstractEventFuture#touch}, leaving delayed
286
+ # futures un-executed if they are not required any more.
287
+ # @!macro promises.event-conversion
288
+ #
289
+ # @!macro promises.param.default_executor
290
+ # @param [AbstractEventFuture] futures_and_or_events
291
+ # @return [Future]
292
+ def any_resolved_future_on(default_executor, *futures_and_or_events)
293
+ AnyResolvedFuturePromise.new_blocked_by(futures_and_or_events, default_executor).future
294
+ end
295
+
296
+ # @!macro promises.shortcut.on
297
+ # @return [Future]
298
+ def any_fulfilled_future(*futures_and_or_events)
299
+ any_fulfilled_future_on default_executor, *futures_and_or_events
300
+ end
301
+
302
+ # Creates new future which is resolved after first of futures_and_or_events is fulfilled.
303
+ # Its result equals result of the first resolved future or if all futures_and_or_events reject,
304
+ # it has reason of the last resolved future.
305
+ # @!macro promises.any-touch
306
+ # @!macro promises.event-conversion
307
+ #
308
+ # @!macro promises.param.default_executor
309
+ # @param [AbstractEventFuture] futures_and_or_events
310
+ # @return [Future]
311
+ def any_fulfilled_future_on(default_executor, *futures_and_or_events)
312
+ AnyFulfilledFuturePromise.new_blocked_by(futures_and_or_events, default_executor).future
313
+ end
314
+
315
+ # @!macro promises.shortcut.on
316
+ # @return [Future]
317
+ def any_event(*futures_and_or_events)
318
+ any_event_on default_executor, *futures_and_or_events
319
+ end
320
+
321
+ # Creates new event which becomes resolved after first of the futures_and_or_events resolves.
322
+ # @!macro promises.any-touch
323
+ #
324
+ # @!macro promises.param.default_executor
325
+ # @param [AbstractEventFuture] futures_and_or_events
326
+ # @return [Event]
327
+ def any_event_on(default_executor, *futures_and_or_events)
328
+ AnyResolvedEventPromise.new_blocked_by(futures_and_or_events, default_executor).event
329
+ end
330
+
331
+ # TODO consider adding first(count, *futures)
332
+ # TODO consider adding zip_by(slice, *futures) processing futures in slices
333
+ # TODO or rather a generic aggregator taking a function
334
+ end
335
+
336
+ module InternalStates
337
+ # @!visibility private
338
+ class State
339
+ def resolved?
340
+ raise NotImplementedError
341
+ end
342
+
343
+ def to_sym
344
+ raise NotImplementedError
345
+ end
346
+ end
347
+
348
+ # @!visibility private
349
+ class Pending < State
350
+ def resolved?
351
+ false
352
+ end
353
+
354
+ def to_sym
355
+ :pending
356
+ end
357
+ end
358
+
359
+ # @!visibility private
360
+ class Reserved < Pending
361
+ end
362
+
363
+ # @!visibility private
364
+ class ResolvedWithResult < State
365
+ def resolved?
366
+ true
367
+ end
368
+
369
+ def to_sym
370
+ :resolved
371
+ end
372
+
373
+ def result
374
+ [fulfilled?, value, reason]
375
+ end
376
+
377
+ def fulfilled?
378
+ raise NotImplementedError
379
+ end
380
+
381
+ def value
382
+ raise NotImplementedError
383
+ end
384
+
385
+ def reason
386
+ raise NotImplementedError
387
+ end
388
+
389
+ def apply
390
+ raise NotImplementedError
391
+ end
392
+ end
393
+
394
+ # @!visibility private
395
+ class Fulfilled < ResolvedWithResult
396
+
397
+ def initialize(value)
398
+ @Value = value
399
+ end
400
+
401
+ def fulfilled?
402
+ true
403
+ end
404
+
405
+ def apply(args, block)
406
+ block.call value, *args
407
+ end
408
+
409
+ def value
410
+ @Value
411
+ end
412
+
413
+ def reason
414
+ nil
415
+ end
416
+
417
+ def to_sym
418
+ :fulfilled
419
+ end
420
+ end
421
+
422
+ # @!visibility private
423
+ class FulfilledArray < Fulfilled
424
+ def apply(args, block)
425
+ block.call(*value, *args)
426
+ end
427
+ end
428
+
429
+ # @!visibility private
430
+ class Rejected < ResolvedWithResult
431
+ def initialize(reason)
432
+ @Reason = reason
433
+ end
434
+
435
+ def fulfilled?
436
+ false
437
+ end
438
+
439
+ def value
440
+ nil
441
+ end
442
+
443
+ def reason
444
+ @Reason
445
+ end
446
+
447
+ def to_sym
448
+ :rejected
449
+ end
450
+
451
+ def apply(args, block)
452
+ block.call reason, *args
453
+ end
454
+ end
455
+
456
+ # @!visibility private
457
+ class PartiallyRejected < ResolvedWithResult
458
+ def initialize(value, reason)
459
+ super()
460
+ @Value = value
461
+ @Reason = reason
462
+ end
463
+
464
+ def fulfilled?
465
+ false
466
+ end
467
+
468
+ def to_sym
469
+ :rejected
470
+ end
471
+
472
+ def value
473
+ @Value
474
+ end
475
+
476
+ def reason
477
+ @Reason
478
+ end
479
+
480
+ def apply(args, block)
481
+ block.call(*reason, *args)
482
+ end
483
+ end
484
+
485
+ # @!visibility private
486
+ PENDING = Pending.new
487
+ # @!visibility private
488
+ RESERVED = Reserved.new
489
+ # @!visibility private
490
+ RESOLVED = Fulfilled.new(nil)
491
+
492
+ def RESOLVED.to_sym
493
+ :resolved
494
+ end
495
+ end
496
+
497
+ private_constant :InternalStates
498
+
499
+ # @!macro promises.shortcut.event-future
500
+ # @see Event#$0
501
+ # @see Future#$0
502
+
503
+ # @!macro promises.param.timeout
504
+ # @param [Numeric] timeout the maximum time in second to wait.
505
+
506
+ # @!macro promises.warn.blocks
507
+ # @note This function potentially blocks current thread until the Future is resolved.
508
+ # Be careful it can deadlock. Try to chain instead.
509
+
510
+ # Common ancestor of {Event} and {Future} classes, many shared methods are defined here.
511
+ class AbstractEventFuture < Synchronization::Object
512
+ safe_initialization!
513
+ attr_atomic(:internal_state)
514
+ private :internal_state=, :swap_internal_state, :compare_and_set_internal_state, :update_internal_state
515
+ # @!method internal_state
516
+ # @!visibility private
517
+
518
+ include InternalStates
519
+
520
+ def initialize(promise, default_executor)
521
+ super()
522
+ @Lock = Mutex.new
523
+ @Condition = ConditionVariable.new
524
+ @Promise = promise
525
+ @DefaultExecutor = default_executor
526
+ @Callbacks = LockFreeStack.new
527
+ @Waiters = AtomicFixnum.new 0
528
+ self.internal_state = PENDING
529
+ end
530
+
531
+ private :initialize
532
+
533
+ # Returns its state.
534
+ # @return [Symbol]
535
+ #
536
+ # @overload an_event.state
537
+ # @return [:pending, :resolved]
538
+ # @overload a_future.state
539
+ # Both :fulfilled, :rejected implies :resolved.
540
+ # @return [:pending, :fulfilled, :rejected]
541
+ def state
542
+ internal_state.to_sym
543
+ end
544
+
545
+ # Is it in pending state?
546
+ # @return [Boolean]
547
+ def pending?
548
+ !internal_state.resolved?
549
+ end
550
+
551
+ # Is it in resolved state?
552
+ # @return [Boolean]
553
+ def resolved?
554
+ internal_state.resolved?
555
+ end
556
+
557
+ # Propagates touch. Requests all the delayed futures, which it depends on, to be
558
+ # executed. This method is called by any other method requiring resolved state, like {#wait}.
559
+ # @return [self]
560
+ def touch
561
+ @Promise.touch
562
+ self
563
+ end
564
+
565
+ # @!macro promises.touches
566
+ # Calls {Concurrent::AbstractEventFuture#touch}.
567
+
568
+ # @!macro promises.method.wait
569
+ # Wait (block the Thread) until receiver is {#resolved?}.
570
+ # @!macro promises.touches
571
+ #
572
+ # @!macro promises.warn.blocks
573
+ # @!macro promises.param.timeout
574
+ # @return [self, true, false] self implies timeout was not used, true implies timeout was used
575
+ # and it was resolved, false implies it was not resolved within timeout.
576
+ def wait(timeout = nil)
577
+ result = wait_until_resolved(timeout)
578
+ timeout ? result : self
579
+ end
580
+
581
+ # Returns default executor.
582
+ # @return [Executor] default executor
583
+ # @see #with_default_executor
584
+ # @see FactoryMethods#future_on
585
+ # @see FactoryMethods#resolvable_future
586
+ # @see FactoryMethods#any_fulfilled_future_on
587
+ # @see similar
588
+ def default_executor
589
+ @DefaultExecutor
590
+ end
591
+
592
+ # @!macro promises.shortcut.on
593
+ # @return [Future]
594
+ def chain(*args, &task)
595
+ chain_on @DefaultExecutor, *args, &task
596
+ end
597
+
598
+ # Chains the task to be executed asynchronously on executor after it is resolved.
599
+ #
600
+ # @!macro promises.param.executor
601
+ # @!macro promises.param.args
602
+ # @return [Future]
603
+ # @!macro promise.param.task-future
604
+ #
605
+ # @overload an_event.chain_on(executor, *args, &task)
606
+ # @yield [*args] to the task.
607
+ # @overload a_future.chain_on(executor, *args, &task)
608
+ # @yield [fulfilled, value, reason, *args] to the task.
609
+ # @yieldparam [true, false] fulfilled
610
+ # @yieldparam [Object] value
611
+ # @yieldparam [Object] reason
612
+ def chain_on(executor, *args, &task)
613
+ ChainPromise.new_blocked_by1(self, @DefaultExecutor, executor, args, &task).future
614
+ end
615
+
616
+ # @return [String] Short string representation.
617
+ def to_s
618
+ format '%s %s>', super[0..-2], state
619
+ end
620
+
621
+ alias_method :inspect, :to_s
622
+
623
+ # Resolves the resolvable when receiver is resolved.
624
+ #
625
+ # @param [Resolvable] resolvable
626
+ # @return [self]
627
+ def chain_resolvable(resolvable)
628
+ on_resolution! { resolvable.resolve_with internal_state }
629
+ end
630
+
631
+ alias_method :tangle, :chain_resolvable
632
+
633
+ # @!macro promises.shortcut.using
634
+ # @return [self]
635
+ def on_resolution(*args, &callback)
636
+ on_resolution_using @DefaultExecutor, *args, &callback
637
+ end
638
+
639
+ # Stores the callback to be executed synchronously on resolving thread after it is
640
+ # resolved.
641
+ #
642
+ # @!macro promises.param.args
643
+ # @!macro promise.param.callback
644
+ # @return [self]
645
+ #
646
+ # @overload an_event.on_resolution!(*args, &callback)
647
+ # @yield [*args] to the callback.
648
+ # @overload a_future.on_resolution!(*args, &callback)
649
+ # @yield [fulfilled, value, reason, *args] to the callback.
650
+ # @yieldparam [true, false] fulfilled
651
+ # @yieldparam [Object] value
652
+ # @yieldparam [Object] reason
653
+ def on_resolution!(*args, &callback)
654
+ add_callback :callback_on_resolution, args, callback
655
+ end
656
+
657
+ # Stores the callback to be executed asynchronously on executor after it is resolved.
658
+ #
659
+ # @!macro promises.param.executor
660
+ # @!macro promises.param.args
661
+ # @!macro promise.param.callback
662
+ # @return [self]
663
+ #
664
+ # @overload an_event.on_resolution_using(executor, *args, &callback)
665
+ # @yield [*args] to the callback.
666
+ # @overload a_future.on_resolution_using(executor, *args, &callback)
667
+ # @yield [fulfilled, value, reason, *args] to the callback.
668
+ # @yieldparam [true, false] fulfilled
669
+ # @yieldparam [Object] value
670
+ # @yieldparam [Object] reason
671
+ def on_resolution_using(executor, *args, &callback)
672
+ add_callback :async_callback_on_resolution, executor, args, callback
673
+ end
674
+
675
+ # @!macro promises.method.with_default_executor
676
+ # Crates new object with same class with the executor set as its new default executor.
677
+ # Any futures depending on it will use the new default executor.
678
+ # @!macro promises.shortcut.event-future
679
+ # @abstract
680
+ # @return [AbstractEventFuture]
681
+ def with_default_executor(executor)
682
+ raise NotImplementedError
683
+ end
684
+
685
+ # @!visibility private
686
+ def resolve_with(state, raise_on_reassign = true, reserved = false)
687
+ if compare_and_set_internal_state(reserved ? RESERVED : PENDING, state)
688
+ # go to synchronized block only if there were waiting threads
689
+ @Lock.synchronize { @Condition.broadcast } unless @Waiters.value == 0
690
+ call_callbacks state
691
+ else
692
+ return rejected_resolution(raise_on_reassign, state)
693
+ end
694
+ self
695
+ end
696
+
697
+ # For inspection.
698
+ # @!visibility private
699
+ # @return [Array<AbstractPromise>]
700
+ def blocks
701
+ @Callbacks.each_with_object([]) do |(method, args), promises|
702
+ promises.push(args[0]) if method == :callback_notify_blocked
703
+ end
704
+ end
705
+
706
+ # For inspection.
707
+ # @!visibility private
708
+ def callbacks
709
+ @Callbacks.each.to_a
710
+ end
711
+
712
+ # For inspection.
713
+ # @!visibility private
714
+ def promise
715
+ @Promise
716
+ end
717
+
718
+ # For inspection.
719
+ # @!visibility private
720
+ def touched?
721
+ promise.touched?
722
+ end
723
+
724
+ # For inspection.
725
+ # @!visibility private
726
+ def waiting_threads
727
+ @Waiters.each.to_a
728
+ end
729
+
730
+ # @!visibility private
731
+ def add_callback_notify_blocked(promise, index)
732
+ add_callback :callback_notify_blocked, promise, index
733
+ end
734
+
735
+ # @!visibility private
736
+ def add_callback_clear_delayed_node(node)
737
+ add_callback(:callback_clear_delayed_node, node)
738
+ end
739
+
740
+ # @!visibility private
741
+ def with_hidden_resolvable
742
+ # TODO (pitr-ch 10-Dec-2018): documentation, better name if in edge
743
+ self
744
+ end
745
+
746
+ private
747
+
748
+ def add_callback(method, *args)
749
+ state = internal_state
750
+ if state.resolved?
751
+ call_callback method, state, args
752
+ else
753
+ @Callbacks.push [method, args]
754
+ state = internal_state
755
+ # take back if it was resolved in the meanwhile
756
+ call_callbacks state if state.resolved?
757
+ end
758
+ self
759
+ end
760
+
761
+ def callback_clear_delayed_node(state, node)
762
+ node.value = nil
763
+ end
764
+
765
+ # @return [Boolean]
766
+ def wait_until_resolved(timeout)
767
+ return true if resolved?
768
+
769
+ touch
770
+
771
+ @Lock.synchronize do
772
+ @Waiters.increment
773
+ begin
774
+ unless resolved?
775
+ @Condition.wait @Lock, timeout
776
+ end
777
+ ensure
778
+ # JRuby may raise ConcurrencyError
779
+ @Waiters.decrement
780
+ end
781
+ end
782
+ resolved?
783
+ end
784
+
785
+ def call_callback(method, state, args)
786
+ self.send method, state, *args
787
+ end
788
+
789
+ def call_callbacks(state)
790
+ method, args = @Callbacks.pop
791
+ while method
792
+ call_callback method, state, args
793
+ method, args = @Callbacks.pop
794
+ end
795
+ end
796
+
797
+ def with_async(executor, *args, &block)
798
+ Concurrent.executor(executor).post(*args, &block)
799
+ end
800
+
801
+ def async_callback_on_resolution(state, executor, args, callback)
802
+ with_async(executor, state, args, callback) do |st, ar, cb|
803
+ callback_on_resolution st, ar, cb
804
+ end
805
+ end
806
+
807
+ def callback_notify_blocked(state, promise, index)
808
+ promise.on_blocker_resolution self, index
809
+ end
810
+ end
811
+
812
+ # Represents an event which will happen in future (will be resolved). The event is either
813
+ # pending or resolved. It should be always resolved. Use {Future} to communicate rejections and
814
+ # cancellation.
815
+ class Event < AbstractEventFuture
816
+
817
+ alias_method :then, :chain
818
+
819
+
820
+ # @!macro promises.method.zip
821
+ # Creates a new event or a future which will be resolved when receiver and other are.
822
+ # Returns an event if receiver and other are events, otherwise returns a future.
823
+ # If just one of the parties is Future then the result
824
+ # of the returned future is equal to the result of the supplied future. If both are futures
825
+ # then the result is as described in {FactoryMethods#zip_futures_on}.
826
+ #
827
+ # @return [Future, Event]
828
+ def zip(other)
829
+ if other.is_a?(Future)
830
+ ZipFutureEventPromise.new_blocked_by2(other, self, @DefaultExecutor).future
831
+ else
832
+ ZipEventEventPromise.new_blocked_by2(self, other, @DefaultExecutor).event
833
+ end
834
+ end
835
+
836
+ alias_method :&, :zip
837
+
838
+ # Creates a new event which will be resolved when the first of receiver, `event_or_future`
839
+ # resolves.
840
+ #
841
+ # @return [Event]
842
+ def any(event_or_future)
843
+ AnyResolvedEventPromise.new_blocked_by2(self, event_or_future, @DefaultExecutor).event
844
+ end
845
+
846
+ alias_method :|, :any
847
+
848
+ # Creates new event dependent on receiver which will not evaluate until touched, see {#touch}.
849
+ # In other words, it inserts delay into the chain of Futures making rest of it lazy evaluated.
850
+ #
851
+ # @return [Event]
852
+ def delay
853
+ event = DelayPromise.new(@DefaultExecutor).event
854
+ ZipEventEventPromise.new_blocked_by2(self, event, @DefaultExecutor).event
855
+ end
856
+
857
+ # @!macro promise.method.schedule
858
+ # Creates new event dependent on receiver scheduled to execute on/in intended_time.
859
+ # In time is interpreted from the moment the receiver is resolved, therefore it inserts
860
+ # delay into the chain.
861
+ #
862
+ # @!macro promises.param.intended_time
863
+ # @return [Event]
864
+ def schedule(intended_time)
865
+ chain do
866
+ event = ScheduledPromise.new(@DefaultExecutor, intended_time).event
867
+ ZipEventEventPromise.new_blocked_by2(self, event, @DefaultExecutor).event
868
+ end.flat_event
869
+ end
870
+
871
+ # Converts event to a future. The future is fulfilled when the event is resolved, the future may never fail.
872
+ #
873
+ # @return [Future]
874
+ def to_future
875
+ future = Promises.resolvable_future
876
+ ensure
877
+ chain_resolvable(future)
878
+ end
879
+
880
+ # Returns self, since this is event
881
+ # @return [Event]
882
+ def to_event
883
+ self
884
+ end
885
+
886
+ # @!macro promises.method.with_default_executor
887
+ # @return [Event]
888
+ def with_default_executor(executor)
889
+ EventWrapperPromise.new_blocked_by1(self, executor).event
890
+ end
891
+
892
+ private
893
+
894
+ def rejected_resolution(raise_on_reassign, state)
895
+ Concurrent::MultipleAssignmentError.new('Event can be resolved only once') if raise_on_reassign
896
+ return false
897
+ end
898
+
899
+ def callback_on_resolution(state, args, callback)
900
+ callback.call(*args)
901
+ end
902
+ end
903
+
904
+ # Represents a value which will become available in future. May reject with a reason instead,
905
+ # e.g. when the tasks raises an exception.
906
+ class Future < AbstractEventFuture
907
+
908
+ # Is it in fulfilled state?
909
+ # @return [Boolean]
910
+ def fulfilled?
911
+ state = internal_state
912
+ state.resolved? && state.fulfilled?
913
+ end
914
+
915
+ # Is it in rejected state?
916
+ # @return [Boolean]
917
+ def rejected?
918
+ state = internal_state
919
+ state.resolved? && !state.fulfilled?
920
+ end
921
+
922
+ # @!macro promises.warn.nil
923
+ # @note Make sure returned `nil` is not confused with timeout, no value when rejected,
924
+ # no reason when fulfilled, etc.
925
+ # Use more exact methods if needed, like {#wait}, {#value!}, {#result}, etc.
926
+
927
+ # @!macro promises.method.value
928
+ # Return value of the future.
929
+ # @!macro promises.touches
930
+ #
931
+ # @!macro promises.warn.blocks
932
+ # @!macro promises.warn.nil
933
+ # @!macro promises.param.timeout
934
+ # @!macro promises.param.timeout_value
935
+ # @param [Object] timeout_value a value returned by the method when it times out
936
+ # @return [Object, nil, timeout_value] the value of the Future when fulfilled,
937
+ # timeout_value on timeout,
938
+ # nil on rejection.
939
+ def value(timeout = nil, timeout_value = nil)
940
+ if wait_until_resolved timeout
941
+ internal_state.value
942
+ else
943
+ timeout_value
944
+ end
945
+ end
946
+
947
+ # Returns reason of future's rejection.
948
+ # @!macro promises.touches
949
+ #
950
+ # @!macro promises.warn.blocks
951
+ # @!macro promises.warn.nil
952
+ # @!macro promises.param.timeout
953
+ # @!macro promises.param.timeout_value
954
+ # @return [Object, timeout_value] the reason, or timeout_value on timeout, or nil on fulfillment.
955
+ def reason(timeout = nil, timeout_value = nil)
956
+ if wait_until_resolved timeout
957
+ internal_state.reason
958
+ else
959
+ timeout_value
960
+ end
961
+ end
962
+
963
+ # Returns triplet fulfilled?, value, reason.
964
+ # @!macro promises.touches
965
+ #
966
+ # @!macro promises.warn.blocks
967
+ # @!macro promises.param.timeout
968
+ # @return [Array(Boolean, Object, Object), nil] triplet of fulfilled?, value, reason, or nil
969
+ # on timeout.
970
+ def result(timeout = nil)
971
+ internal_state.result if wait_until_resolved timeout
972
+ end
973
+
974
+ # @!macro promises.method.wait
975
+ # @raise [Exception] {#reason} on rejection
976
+ def wait!(timeout = nil)
977
+ result = wait_until_resolved!(timeout)
978
+ timeout ? result : self
979
+ end
980
+
981
+ # @!macro promises.method.value
982
+ # @return [Object, nil, timeout_value] the value of the Future when fulfilled,
983
+ # or nil on rejection,
984
+ # or timeout_value on timeout.
985
+ # @raise [Exception] {#reason} on rejection
986
+ def value!(timeout = nil, timeout_value = nil)
987
+ if wait_until_resolved! timeout
988
+ internal_state.value
989
+ else
990
+ timeout_value
991
+ end
992
+ end
993
+
994
+ # Allows rejected Future to be risen with `raise` method.
995
+ # If the reason is not an exception `Runtime.new(reason)` is returned.
996
+ #
997
+ # @example
998
+ # raise Promises.rejected_future(StandardError.new("boom"))
999
+ # raise Promises.rejected_future("or just boom")
1000
+ # @raise [Concurrent::Error] when raising not rejected future
1001
+ # @return [Exception]
1002
+ def exception(*args)
1003
+ raise Concurrent::Error, 'it is not rejected' unless rejected?
1004
+ raise ArgumentError unless args.size <= 1
1005
+ reason = Array(internal_state.reason).flatten.compact
1006
+ if reason.size > 1
1007
+ ex = Concurrent::MultipleErrors.new reason
1008
+ ex.set_backtrace(caller)
1009
+ ex
1010
+ else
1011
+ ex = if reason[0].respond_to? :exception
1012
+ reason[0].exception(*args)
1013
+ else
1014
+ RuntimeError.new(reason[0]).exception(*args)
1015
+ end
1016
+ ex.set_backtrace Array(ex.backtrace) + caller
1017
+ ex
1018
+ end
1019
+ end
1020
+
1021
+ # @!macro promises.shortcut.on
1022
+ # @return [Future]
1023
+ def then(*args, &task)
1024
+ then_on @DefaultExecutor, *args, &task
1025
+ end
1026
+
1027
+ # Chains the task to be executed asynchronously on executor after it fulfills. Does not run
1028
+ # the task if it rejects. It will resolve though, triggering any dependent futures.
1029
+ #
1030
+ # @!macro promises.param.executor
1031
+ # @!macro promises.param.args
1032
+ # @!macro promise.param.task-future
1033
+ # @return [Future]
1034
+ # @yield [value, *args] to the task.
1035
+ def then_on(executor, *args, &task)
1036
+ ThenPromise.new_blocked_by1(self, @DefaultExecutor, executor, args, &task).future
1037
+ end
1038
+
1039
+ # @!macro promises.shortcut.on
1040
+ # @return [Future]
1041
+ def rescue(*args, &task)
1042
+ rescue_on @DefaultExecutor, *args, &task
1043
+ end
1044
+
1045
+ # Chains the task to be executed asynchronously on executor after it rejects. Does not run
1046
+ # the task if it fulfills. It will resolve though, triggering any dependent futures.
1047
+ #
1048
+ # @!macro promises.param.executor
1049
+ # @!macro promises.param.args
1050
+ # @!macro promise.param.task-future
1051
+ # @return [Future]
1052
+ # @yield [reason, *args] to the task.
1053
+ def rescue_on(executor, *args, &task)
1054
+ RescuePromise.new_blocked_by1(self, @DefaultExecutor, executor, args, &task).future
1055
+ end
1056
+
1057
+ # @!macro promises.method.zip
1058
+ # @return [Future]
1059
+ def zip(other)
1060
+ if other.is_a?(Future)
1061
+ ZipFuturesPromise.new_blocked_by2(self, other, @DefaultExecutor).future
1062
+ else
1063
+ ZipFutureEventPromise.new_blocked_by2(self, other, @DefaultExecutor).future
1064
+ end
1065
+ end
1066
+
1067
+ alias_method :&, :zip
1068
+
1069
+ # Creates a new event which will be resolved when the first of receiver, `event_or_future`
1070
+ # resolves. Returning future will have value nil if event_or_future is event and resolves
1071
+ # first.
1072
+ #
1073
+ # @return [Future]
1074
+ def any(event_or_future)
1075
+ AnyResolvedFuturePromise.new_blocked_by2(self, event_or_future, @DefaultExecutor).future
1076
+ end
1077
+
1078
+ alias_method :|, :any
1079
+
1080
+ # Creates new future dependent on receiver which will not evaluate until touched, see {#touch}.
1081
+ # In other words, it inserts delay into the chain of Futures making rest of it lazy evaluated.
1082
+ #
1083
+ # @return [Future]
1084
+ def delay
1085
+ event = DelayPromise.new(@DefaultExecutor).event
1086
+ ZipFutureEventPromise.new_blocked_by2(self, event, @DefaultExecutor).future
1087
+ end
1088
+
1089
+ # @!macro promise.method.schedule
1090
+ # @return [Future]
1091
+ def schedule(intended_time)
1092
+ chain do
1093
+ event = ScheduledPromise.new(@DefaultExecutor, intended_time).event
1094
+ ZipFutureEventPromise.new_blocked_by2(self, event, @DefaultExecutor).future
1095
+ end.flat
1096
+ end
1097
+
1098
+ # @!macro promises.method.with_default_executor
1099
+ # @return [Future]
1100
+ def with_default_executor(executor)
1101
+ FutureWrapperPromise.new_blocked_by1(self, executor).future
1102
+ end
1103
+
1104
+ # Creates new future which will have result of the future returned by receiver. If receiver
1105
+ # rejects it will have its rejection.
1106
+ #
1107
+ # @param [Integer] level how many levels of futures should flatten
1108
+ # @return [Future]
1109
+ def flat_future(level = 1)
1110
+ FlatFuturePromise.new_blocked_by1(self, level, @DefaultExecutor).future
1111
+ end
1112
+
1113
+ alias_method :flat, :flat_future
1114
+
1115
+ # Creates new event which will be resolved when the returned event by receiver is.
1116
+ # Be careful if the receiver rejects it will just resolve since Event does not hold reason.
1117
+ #
1118
+ # @return [Event]
1119
+ def flat_event
1120
+ FlatEventPromise.new_blocked_by1(self, @DefaultExecutor).event
1121
+ end
1122
+
1123
+ # @!macro promises.shortcut.using
1124
+ # @return [self]
1125
+ def on_fulfillment(*args, &callback)
1126
+ on_fulfillment_using @DefaultExecutor, *args, &callback
1127
+ end
1128
+
1129
+ # Stores the callback to be executed synchronously on resolving thread after it is
1130
+ # fulfilled. Does nothing on rejection.
1131
+ #
1132
+ # @!macro promises.param.args
1133
+ # @!macro promise.param.callback
1134
+ # @return [self]
1135
+ # @yield [value, *args] to the callback.
1136
+ def on_fulfillment!(*args, &callback)
1137
+ add_callback :callback_on_fulfillment, args, callback
1138
+ end
1139
+
1140
+ # Stores the callback to be executed asynchronously on executor after it is
1141
+ # fulfilled. Does nothing on rejection.
1142
+ #
1143
+ # @!macro promises.param.executor
1144
+ # @!macro promises.param.args
1145
+ # @!macro promise.param.callback
1146
+ # @return [self]
1147
+ # @yield [value, *args] to the callback.
1148
+ def on_fulfillment_using(executor, *args, &callback)
1149
+ add_callback :async_callback_on_fulfillment, executor, args, callback
1150
+ end
1151
+
1152
+ # @!macro promises.shortcut.using
1153
+ # @return [self]
1154
+ def on_rejection(*args, &callback)
1155
+ on_rejection_using @DefaultExecutor, *args, &callback
1156
+ end
1157
+
1158
+ # Stores the callback to be executed synchronously on resolving thread after it is
1159
+ # rejected. Does nothing on fulfillment.
1160
+ #
1161
+ # @!macro promises.param.args
1162
+ # @!macro promise.param.callback
1163
+ # @return [self]
1164
+ # @yield [reason, *args] to the callback.
1165
+ def on_rejection!(*args, &callback)
1166
+ add_callback :callback_on_rejection, args, callback
1167
+ end
1168
+
1169
+ # Stores the callback to be executed asynchronously on executor after it is
1170
+ # rejected. Does nothing on fulfillment.
1171
+ #
1172
+ # @!macro promises.param.executor
1173
+ # @!macro promises.param.args
1174
+ # @!macro promise.param.callback
1175
+ # @return [self]
1176
+ # @yield [reason, *args] to the callback.
1177
+ def on_rejection_using(executor, *args, &callback)
1178
+ add_callback :async_callback_on_rejection, executor, args, callback
1179
+ end
1180
+
1181
+ # Allows to use futures as green threads. The receiver has to evaluate to a future which
1182
+ # represents what should be done next. It basically flattens indefinitely until non Future
1183
+ # values is returned which becomes result of the returned future. Any encountered exception
1184
+ # will become reason of the returned future.
1185
+ #
1186
+ # @return [Future]
1187
+ # @param [#call(value)] run_test
1188
+ # an object which when called returns either Future to keep running with
1189
+ # or nil, then the run completes with the value.
1190
+ # The run_test can be used to extract the Future from deeper structure,
1191
+ # or to distinguish Future which is a resulting value from a future
1192
+ # which is suppose to continue running.
1193
+ # @example
1194
+ # body = lambda do |v|
1195
+ # v += 1
1196
+ # v < 5 ? Promises.future(v, &body) : v
1197
+ # end
1198
+ # Promises.future(0, &body).run.value! # => 5
1199
+ def run(run_test = method(:run_test))
1200
+ RunFuturePromise.new_blocked_by1(self, @DefaultExecutor, run_test).future
1201
+ end
1202
+
1203
+ # @!visibility private
1204
+ def apply(args, block)
1205
+ internal_state.apply args, block
1206
+ end
1207
+
1208
+ # Converts future to event which is resolved when future is resolved by fulfillment or rejection.
1209
+ #
1210
+ # @return [Event]
1211
+ def to_event
1212
+ event = Promises.resolvable_event
1213
+ ensure
1214
+ chain_resolvable(event)
1215
+ end
1216
+
1217
+ # Returns self, since this is a future
1218
+ # @return [Future]
1219
+ def to_future
1220
+ self
1221
+ end
1222
+
1223
+ # @return [String] Short string representation.
1224
+ def to_s
1225
+ if resolved?
1226
+ format '%s with %s>', super[0..-2], (fulfilled? ? value : reason).inspect
1227
+ else
1228
+ super
1229
+ end
1230
+ end
1231
+
1232
+ alias_method :inspect, :to_s
1233
+
1234
+ private
1235
+
1236
+ def run_test(v)
1237
+ v if v.is_a?(Future)
1238
+ end
1239
+
1240
+ def rejected_resolution(raise_on_reassign, state)
1241
+ if raise_on_reassign
1242
+ if internal_state == RESERVED
1243
+ raise Concurrent::MultipleAssignmentError.new(
1244
+ "Future can be resolved only once. It is already reserved.")
1245
+ else
1246
+ raise Concurrent::MultipleAssignmentError.new(
1247
+ "Future can be resolved only once. It's #{result}, trying to set #{state.result}.",
1248
+ current_result: result,
1249
+ new_result: state.result)
1250
+ end
1251
+ end
1252
+ return false
1253
+ end
1254
+
1255
+ def wait_until_resolved!(timeout = nil)
1256
+ result = wait_until_resolved(timeout)
1257
+ raise self if rejected?
1258
+ result
1259
+ end
1260
+
1261
+ def async_callback_on_fulfillment(state, executor, args, callback)
1262
+ with_async(executor, state, args, callback) do |st, ar, cb|
1263
+ callback_on_fulfillment st, ar, cb
1264
+ end
1265
+ end
1266
+
1267
+ def async_callback_on_rejection(state, executor, args, callback)
1268
+ with_async(executor, state, args, callback) do |st, ar, cb|
1269
+ callback_on_rejection st, ar, cb
1270
+ end
1271
+ end
1272
+
1273
+ def callback_on_fulfillment(state, args, callback)
1274
+ state.apply args, callback if state.fulfilled?
1275
+ end
1276
+
1277
+ def callback_on_rejection(state, args, callback)
1278
+ state.apply args, callback unless state.fulfilled?
1279
+ end
1280
+
1281
+ def callback_on_resolution(state, args, callback)
1282
+ callback.call(*state.result, *args)
1283
+ end
1284
+
1285
+ end
1286
+
1287
+ # Marker module of Future, Event resolved manually.
1288
+ module Resolvable
1289
+ include InternalStates
1290
+ end
1291
+
1292
+ # A Event which can be resolved by user.
1293
+ class ResolvableEvent < Event
1294
+ include Resolvable
1295
+
1296
+ # @!macro raise_on_reassign
1297
+ # @raise [MultipleAssignmentError] when already resolved and raise_on_reassign is true.
1298
+
1299
+ # @!macro promise.param.raise_on_reassign
1300
+ # @param [Boolean] raise_on_reassign should method raise exception if already resolved
1301
+ # @return [self, false] false is returner when raise_on_reassign is false and the receiver
1302
+ # is already resolved.
1303
+ #
1304
+
1305
+ # Makes the event resolved, which triggers all dependent futures.
1306
+ #
1307
+ # @!macro promise.param.raise_on_reassign
1308
+ # @!macro promise.param.reserved
1309
+ # @param [true, false] reserved
1310
+ # Set to true if the resolvable is {#reserve}d by you,
1311
+ # marks resolution of reserved resolvable events and futures explicitly.
1312
+ # Advanced feature, ignore unless you use {Resolvable#reserve} from edge.
1313
+ def resolve(raise_on_reassign = true, reserved = false)
1314
+ resolve_with RESOLVED, raise_on_reassign, reserved
1315
+ end
1316
+
1317
+ # Creates new event wrapping receiver, effectively hiding the resolve method.
1318
+ #
1319
+ # @return [Event]
1320
+ def with_hidden_resolvable
1321
+ @with_hidden_resolvable ||= EventWrapperPromise.new_blocked_by1(self, @DefaultExecutor).event
1322
+ end
1323
+
1324
+ # Behaves as {AbstractEventFuture#wait} but has one additional optional argument
1325
+ # resolve_on_timeout.
1326
+ #
1327
+ # @param [true, false] resolve_on_timeout
1328
+ # If it times out and the argument is true it will also resolve the event.
1329
+ # @return [self, true, false]
1330
+ # @see AbstractEventFuture#wait
1331
+ def wait(timeout = nil, resolve_on_timeout = false)
1332
+ super(timeout) or if resolve_on_timeout
1333
+ # if it fails to resolve it was resolved in the meantime
1334
+ # so return true as if there was no timeout
1335
+ !resolve(false)
1336
+ else
1337
+ false
1338
+ end
1339
+ end
1340
+ end
1341
+
1342
+ # A Future which can be resolved by user.
1343
+ class ResolvableFuture < Future
1344
+ include Resolvable
1345
+
1346
+ # Makes the future resolved with result of triplet `fulfilled?`, `value`, `reason`,
1347
+ # which triggers all dependent futures.
1348
+ #
1349
+ # @param [true, false] fulfilled
1350
+ # @param [Object] value
1351
+ # @param [Object] reason
1352
+ # @!macro promise.param.raise_on_reassign
1353
+ # @!macro promise.param.reserved
1354
+ def resolve(fulfilled = true, value = nil, reason = nil, raise_on_reassign = true, reserved = false)
1355
+ resolve_with(fulfilled ? Fulfilled.new(value) : Rejected.new(reason), raise_on_reassign, reserved)
1356
+ end
1357
+
1358
+ # Makes the future fulfilled with `value`,
1359
+ # which triggers all dependent futures.
1360
+ #
1361
+ # @param [Object] value
1362
+ # @!macro promise.param.raise_on_reassign
1363
+ # @!macro promise.param.reserved
1364
+ def fulfill(value, raise_on_reassign = true, reserved = false)
1365
+ resolve_with Fulfilled.new(value), raise_on_reassign, reserved
1366
+ end
1367
+
1368
+ # Makes the future rejected with `reason`,
1369
+ # which triggers all dependent futures.
1370
+ #
1371
+ # @param [Object] reason
1372
+ # @!macro promise.param.raise_on_reassign
1373
+ # @!macro promise.param.reserved
1374
+ def reject(reason, raise_on_reassign = true, reserved = false)
1375
+ resolve_with Rejected.new(reason), raise_on_reassign, reserved
1376
+ end
1377
+
1378
+ # Evaluates the block and sets its result as future's value fulfilling, if the block raises
1379
+ # an exception the future rejects with it.
1380
+ #
1381
+ # @yield [*args] to the block.
1382
+ # @yieldreturn [Object] value
1383
+ # @return [self]
1384
+ def evaluate_to(*args, &block)
1385
+ promise.evaluate_to(*args, block)
1386
+ end
1387
+
1388
+ # Evaluates the block and sets its result as future's value fulfilling, if the block raises
1389
+ # an exception the future rejects with it.
1390
+ #
1391
+ # @yield [*args] to the block.
1392
+ # @yieldreturn [Object] value
1393
+ # @return [self]
1394
+ # @raise [Exception] also raise reason on rejection.
1395
+ def evaluate_to!(*args, &block)
1396
+ promise.evaluate_to(*args, block).wait!
1397
+ end
1398
+
1399
+ # @!macro promises.resolvable.resolve_on_timeout
1400
+ # @param [::Array(true, Object, nil), ::Array(false, nil, Exception), nil] resolve_on_timeout
1401
+ # If it times out and the argument is not nil it will also resolve the future
1402
+ # to the provided resolution.
1403
+
1404
+ # Behaves as {AbstractEventFuture#wait} but has one additional optional argument
1405
+ # resolve_on_timeout.
1406
+ #
1407
+ # @!macro promises.resolvable.resolve_on_timeout
1408
+ # @return [self, true, false]
1409
+ # @see AbstractEventFuture#wait
1410
+ def wait(timeout = nil, resolve_on_timeout = nil)
1411
+ super(timeout) or if resolve_on_timeout
1412
+ # if it fails to resolve it was resolved in the meantime
1413
+ # so return true as if there was no timeout
1414
+ !resolve(*resolve_on_timeout, false)
1415
+ else
1416
+ false
1417
+ end
1418
+ end
1419
+
1420
+ # Behaves as {Future#wait!} but has one additional optional argument
1421
+ # resolve_on_timeout.
1422
+ #
1423
+ # @!macro promises.resolvable.resolve_on_timeout
1424
+ # @return [self, true, false]
1425
+ # @raise [Exception] {#reason} on rejection
1426
+ # @see Future#wait!
1427
+ def wait!(timeout = nil, resolve_on_timeout = nil)
1428
+ super(timeout) or if resolve_on_timeout
1429
+ if resolve(*resolve_on_timeout, false)
1430
+ false
1431
+ else
1432
+ # if it fails to resolve it was resolved in the meantime
1433
+ # so return true as if there was no timeout
1434
+ raise self if rejected?
1435
+ true
1436
+ end
1437
+ else
1438
+ false
1439
+ end
1440
+ end
1441
+
1442
+ # Behaves as {Future#value} but has one additional optional argument
1443
+ # resolve_on_timeout.
1444
+ #
1445
+ # @!macro promises.resolvable.resolve_on_timeout
1446
+ # @return [Object, timeout_value, nil]
1447
+ # @see Future#value
1448
+ def value(timeout = nil, timeout_value = nil, resolve_on_timeout = nil)
1449
+ if wait_until_resolved timeout
1450
+ internal_state.value
1451
+ else
1452
+ if resolve_on_timeout
1453
+ unless resolve(*resolve_on_timeout, false)
1454
+ # if it fails to resolve it was resolved in the meantime
1455
+ # so return value as if there was no timeout
1456
+ return internal_state.value
1457
+ end
1458
+ end
1459
+ timeout_value
1460
+ end
1461
+ end
1462
+
1463
+ # Behaves as {Future#value!} but has one additional optional argument
1464
+ # resolve_on_timeout.
1465
+ #
1466
+ # @!macro promises.resolvable.resolve_on_timeout
1467
+ # @return [Object, timeout_value, nil]
1468
+ # @raise [Exception] {#reason} on rejection
1469
+ # @see Future#value!
1470
+ def value!(timeout = nil, timeout_value = nil, resolve_on_timeout = nil)
1471
+ if wait_until_resolved! timeout
1472
+ internal_state.value
1473
+ else
1474
+ if resolve_on_timeout
1475
+ unless resolve(*resolve_on_timeout, false)
1476
+ # if it fails to resolve it was resolved in the meantime
1477
+ # so return value as if there was no timeout
1478
+ raise self if rejected?
1479
+ return internal_state.value
1480
+ end
1481
+ end
1482
+ timeout_value
1483
+ end
1484
+ end
1485
+
1486
+ # Behaves as {Future#reason} but has one additional optional argument
1487
+ # resolve_on_timeout.
1488
+ #
1489
+ # @!macro promises.resolvable.resolve_on_timeout
1490
+ # @return [Exception, timeout_value, nil]
1491
+ # @see Future#reason
1492
+ def reason(timeout = nil, timeout_value = nil, resolve_on_timeout = nil)
1493
+ if wait_until_resolved timeout
1494
+ internal_state.reason
1495
+ else
1496
+ if resolve_on_timeout
1497
+ unless resolve(*resolve_on_timeout, false)
1498
+ # if it fails to resolve it was resolved in the meantime
1499
+ # so return value as if there was no timeout
1500
+ return internal_state.reason
1501
+ end
1502
+ end
1503
+ timeout_value
1504
+ end
1505
+ end
1506
+
1507
+ # Behaves as {Future#result} but has one additional optional argument
1508
+ # resolve_on_timeout.
1509
+ #
1510
+ # @!macro promises.resolvable.resolve_on_timeout
1511
+ # @return [::Array(Boolean, Object, Exception), nil]
1512
+ # @see Future#result
1513
+ def result(timeout = nil, resolve_on_timeout = nil)
1514
+ if wait_until_resolved timeout
1515
+ internal_state.result
1516
+ else
1517
+ if resolve_on_timeout
1518
+ unless resolve(*resolve_on_timeout, false)
1519
+ # if it fails to resolve it was resolved in the meantime
1520
+ # so return value as if there was no timeout
1521
+ internal_state.result
1522
+ end
1523
+ end
1524
+ # otherwise returns nil
1525
+ end
1526
+ end
1527
+
1528
+ # Creates new future wrapping receiver, effectively hiding the resolve method and similar.
1529
+ #
1530
+ # @return [Future]
1531
+ def with_hidden_resolvable
1532
+ @with_hidden_resolvable ||= FutureWrapperPromise.new_blocked_by1(self, @DefaultExecutor).future
1533
+ end
1534
+ end
1535
+
1536
+ # @abstract
1537
+ # @private
1538
+ class AbstractPromise < Synchronization::Object
1539
+ safe_initialization!
1540
+ include InternalStates
1541
+
1542
+ def initialize(future)
1543
+ super()
1544
+ @Future = future
1545
+ end
1546
+
1547
+ def future
1548
+ @Future
1549
+ end
1550
+
1551
+ alias_method :event, :future
1552
+
1553
+ def default_executor
1554
+ future.default_executor
1555
+ end
1556
+
1557
+ def state
1558
+ future.state
1559
+ end
1560
+
1561
+ def touch
1562
+ end
1563
+
1564
+ def to_s
1565
+ format '%s %s>', super[0..-2], @Future
1566
+ end
1567
+
1568
+ alias_method :inspect, :to_s
1569
+
1570
+ def delayed_because
1571
+ nil
1572
+ end
1573
+
1574
+ private
1575
+
1576
+ def resolve_with(new_state, raise_on_reassign = true)
1577
+ @Future.resolve_with(new_state, raise_on_reassign)
1578
+ end
1579
+
1580
+ # @return [Future]
1581
+ def evaluate_to(*args, block)
1582
+ resolve_with Fulfilled.new(block.call(*args))
1583
+ rescue Exception => error
1584
+ resolve_with Rejected.new(error)
1585
+ raise error unless error.is_a?(StandardError)
1586
+ end
1587
+ end
1588
+
1589
+ class ResolvableEventPromise < AbstractPromise
1590
+ def initialize(default_executor)
1591
+ super ResolvableEvent.new(self, default_executor)
1592
+ end
1593
+ end
1594
+
1595
+ class ResolvableFuturePromise < AbstractPromise
1596
+ def initialize(default_executor)
1597
+ super ResolvableFuture.new(self, default_executor)
1598
+ end
1599
+
1600
+ public :evaluate_to
1601
+ end
1602
+
1603
+ # @abstract
1604
+ class InnerPromise < AbstractPromise
1605
+ end
1606
+
1607
+ # @abstract
1608
+ class BlockedPromise < InnerPromise
1609
+
1610
+ private_class_method :new
1611
+
1612
+ def self.new_blocked_by1(blocker, *args, &block)
1613
+ blocker_delayed = blocker.promise.delayed_because
1614
+ promise = new(blocker_delayed, 1, *args, &block)
1615
+ blocker.add_callback_notify_blocked promise, 0
1616
+ promise
1617
+ end
1618
+
1619
+ def self.new_blocked_by2(blocker1, blocker2, *args, &block)
1620
+ blocker_delayed1 = blocker1.promise.delayed_because
1621
+ blocker_delayed2 = blocker2.promise.delayed_because
1622
+ delayed = if blocker_delayed1 && blocker_delayed2
1623
+ # TODO (pitr-ch 23-Dec-2016): use arrays when we know it will not grow (only flat adds delay)
1624
+ LockFreeStack.of2(blocker_delayed1, blocker_delayed2)
1625
+ else
1626
+ blocker_delayed1 || blocker_delayed2
1627
+ end
1628
+ promise = new(delayed, 2, *args, &block)
1629
+ blocker1.add_callback_notify_blocked promise, 0
1630
+ blocker2.add_callback_notify_blocked promise, 1
1631
+ promise
1632
+ end
1633
+
1634
+ def self.new_blocked_by(blockers, *args, &block)
1635
+ delayed = blockers.reduce(nil) { |d, f| add_delayed d, f.promise.delayed_because }
1636
+ promise = new(delayed, blockers.size, *args, &block)
1637
+ blockers.each_with_index { |f, i| f.add_callback_notify_blocked promise, i }
1638
+ promise
1639
+ end
1640
+
1641
+ def self.add_delayed(delayed1, delayed2)
1642
+ if delayed1 && delayed2
1643
+ delayed1.push delayed2
1644
+ delayed1
1645
+ else
1646
+ delayed1 || delayed2
1647
+ end
1648
+ end
1649
+
1650
+ def initialize(delayed, blockers_count, future)
1651
+ super(future)
1652
+ @Delayed = delayed
1653
+ @Countdown = AtomicFixnum.new blockers_count
1654
+ end
1655
+
1656
+ def on_blocker_resolution(future, index)
1657
+ countdown = process_on_blocker_resolution(future, index)
1658
+ resolvable = resolvable?(countdown, future, index)
1659
+
1660
+ on_resolvable(future, index) if resolvable
1661
+ end
1662
+
1663
+ def delayed_because
1664
+ @Delayed
1665
+ end
1666
+
1667
+ def touch
1668
+ clear_and_propagate_touch
1669
+ end
1670
+
1671
+ # for inspection only
1672
+ def blocked_by
1673
+ blocked_by = []
1674
+ ObjectSpace.each_object(AbstractEventFuture) { |o| blocked_by.push o if o.blocks.include? self }
1675
+ blocked_by
1676
+ end
1677
+
1678
+ private
1679
+
1680
+ def clear_and_propagate_touch(stack_or_element = @Delayed)
1681
+ return if stack_or_element.nil?
1682
+
1683
+ if stack_or_element.is_a? LockFreeStack
1684
+ stack_or_element.clear_each { |element| clear_and_propagate_touch element }
1685
+ else
1686
+ stack_or_element.touch unless stack_or_element.nil? # if still present
1687
+ end
1688
+ end
1689
+
1690
+ # @return [true,false] if resolvable
1691
+ def resolvable?(countdown, future, index)
1692
+ countdown.zero?
1693
+ end
1694
+
1695
+ def process_on_blocker_resolution(future, index)
1696
+ @Countdown.decrement
1697
+ end
1698
+
1699
+ def on_resolvable(resolved_future, index)
1700
+ raise NotImplementedError
1701
+ end
1702
+ end
1703
+
1704
+ # @abstract
1705
+ class BlockedTaskPromise < BlockedPromise
1706
+ def initialize(delayed, blockers_count, default_executor, executor, args, &task)
1707
+ raise ArgumentError, 'no block given' unless block_given?
1708
+ super delayed, 1, Future.new(self, default_executor)
1709
+ @Executor = executor
1710
+ @Task = task
1711
+ @Args = args
1712
+ end
1713
+
1714
+ def executor
1715
+ @Executor
1716
+ end
1717
+ end
1718
+
1719
+ class ThenPromise < BlockedTaskPromise
1720
+ private
1721
+
1722
+ def initialize(delayed, blockers_count, default_executor, executor, args, &task)
1723
+ super delayed, blockers_count, default_executor, executor, args, &task
1724
+ end
1725
+
1726
+ def on_resolvable(resolved_future, index)
1727
+ if resolved_future.fulfilled?
1728
+ Concurrent.executor(@Executor).post(resolved_future, @Args, @Task) do |future, args, task|
1729
+ evaluate_to lambda { future.apply args, task }
1730
+ end
1731
+ else
1732
+ resolve_with resolved_future.internal_state
1733
+ end
1734
+ end
1735
+ end
1736
+
1737
+ class RescuePromise < BlockedTaskPromise
1738
+ private
1739
+
1740
+ def initialize(delayed, blockers_count, default_executor, executor, args, &task)
1741
+ super delayed, blockers_count, default_executor, executor, args, &task
1742
+ end
1743
+
1744
+ def on_resolvable(resolved_future, index)
1745
+ if resolved_future.rejected?
1746
+ Concurrent.executor(@Executor).post(resolved_future, @Args, @Task) do |future, args, task|
1747
+ evaluate_to lambda { future.apply args, task }
1748
+ end
1749
+ else
1750
+ resolve_with resolved_future.internal_state
1751
+ end
1752
+ end
1753
+ end
1754
+
1755
+ class ChainPromise < BlockedTaskPromise
1756
+ private
1757
+
1758
+ def on_resolvable(resolved_future, index)
1759
+ if Future === resolved_future
1760
+ Concurrent.executor(@Executor).post(resolved_future, @Args, @Task) do |future, args, task|
1761
+ evaluate_to(*future.result, *args, task)
1762
+ end
1763
+ else
1764
+ Concurrent.executor(@Executor).post(@Args, @Task) do |args, task|
1765
+ evaluate_to(*args, task)
1766
+ end
1767
+ end
1768
+ end
1769
+ end
1770
+
1771
+ # will be immediately resolved
1772
+ class ImmediateEventPromise < InnerPromise
1773
+ def initialize(default_executor)
1774
+ super Event.new(self, default_executor).resolve_with(RESOLVED)
1775
+ end
1776
+ end
1777
+
1778
+ class ImmediateFuturePromise < InnerPromise
1779
+ def initialize(default_executor, fulfilled, value, reason)
1780
+ super Future.new(self, default_executor).
1781
+ resolve_with(fulfilled ? Fulfilled.new(value) : Rejected.new(reason))
1782
+ end
1783
+ end
1784
+
1785
+ class AbstractFlatPromise < BlockedPromise
1786
+
1787
+ def initialize(delayed_because, blockers_count, event_or_future)
1788
+ delayed = LockFreeStack.of1(self)
1789
+ super(delayed, blockers_count, event_or_future)
1790
+ # noinspection RubyArgCount
1791
+ @Touched = AtomicBoolean.new false
1792
+ @DelayedBecause = delayed_because || LockFreeStack.new
1793
+
1794
+ event_or_future.add_callback_clear_delayed_node delayed.peek
1795
+ end
1796
+
1797
+ def touch
1798
+ if @Touched.make_true
1799
+ clear_and_propagate_touch @DelayedBecause
1800
+ end
1801
+ end
1802
+
1803
+ private
1804
+
1805
+ def touched?
1806
+ @Touched.value
1807
+ end
1808
+
1809
+ def on_resolvable(resolved_future, index)
1810
+ resolve_with resolved_future.internal_state
1811
+ end
1812
+
1813
+ def resolvable?(countdown, future, index)
1814
+ !@Future.internal_state.resolved? && super(countdown, future, index)
1815
+ end
1816
+
1817
+ def add_delayed_of(future)
1818
+ delayed = future.promise.delayed_because
1819
+ if touched?
1820
+ clear_and_propagate_touch delayed
1821
+ else
1822
+ BlockedPromise.add_delayed @DelayedBecause, delayed
1823
+ clear_and_propagate_touch @DelayedBecause if touched?
1824
+ end
1825
+ end
1826
+
1827
+ end
1828
+
1829
+ class FlatEventPromise < AbstractFlatPromise
1830
+
1831
+ private
1832
+
1833
+ def initialize(delayed, blockers_count, default_executor)
1834
+ super delayed, 2, Event.new(self, default_executor)
1835
+ end
1836
+
1837
+ def process_on_blocker_resolution(future, index)
1838
+ countdown = super(future, index)
1839
+ if countdown.nonzero?
1840
+ internal_state = future.internal_state
1841
+
1842
+ unless internal_state.fulfilled?
1843
+ resolve_with RESOLVED
1844
+ return countdown
1845
+ end
1846
+
1847
+ value = internal_state.value
1848
+ case value
1849
+ when AbstractEventFuture
1850
+ add_delayed_of value
1851
+ value.add_callback_notify_blocked self, nil
1852
+ countdown
1853
+ else
1854
+ resolve_with RESOLVED
1855
+ end
1856
+ end
1857
+ countdown
1858
+ end
1859
+
1860
+ end
1861
+
1862
+ class FlatFuturePromise < AbstractFlatPromise
1863
+
1864
+ private
1865
+
1866
+ def initialize(delayed, blockers_count, levels, default_executor)
1867
+ raise ArgumentError, 'levels has to be higher than 0' if levels < 1
1868
+ # flat promise may result to a future having delayed futures, therefore we have to have empty stack
1869
+ # to be able to add new delayed futures
1870
+ super delayed || LockFreeStack.new, 1 + levels, Future.new(self, default_executor)
1871
+ end
1872
+
1873
+ def process_on_blocker_resolution(future, index)
1874
+ countdown = super(future, index)
1875
+ if countdown.nonzero?
1876
+ internal_state = future.internal_state
1877
+
1878
+ unless internal_state.fulfilled?
1879
+ resolve_with internal_state
1880
+ return countdown
1881
+ end
1882
+
1883
+ value = internal_state.value
1884
+ case value
1885
+ when AbstractEventFuture
1886
+ add_delayed_of value
1887
+ value.add_callback_notify_blocked self, nil
1888
+ countdown
1889
+ else
1890
+ evaluate_to(lambda { raise TypeError, "returned value #{value.inspect} is not a Future" })
1891
+ end
1892
+ end
1893
+ countdown
1894
+ end
1895
+
1896
+ end
1897
+
1898
+ class RunFuturePromise < AbstractFlatPromise
1899
+
1900
+ private
1901
+
1902
+ def initialize(delayed, blockers_count, default_executor, run_test)
1903
+ super delayed, 1, Future.new(self, default_executor)
1904
+ @RunTest = run_test
1905
+ end
1906
+
1907
+ def process_on_blocker_resolution(future, index)
1908
+ internal_state = future.internal_state
1909
+
1910
+ unless internal_state.fulfilled?
1911
+ resolve_with internal_state
1912
+ return 0
1913
+ end
1914
+
1915
+ value = internal_state.value
1916
+ continuation_future = @RunTest.call value
1917
+
1918
+ if continuation_future
1919
+ add_delayed_of continuation_future
1920
+ continuation_future.add_callback_notify_blocked self, nil
1921
+ else
1922
+ resolve_with internal_state
1923
+ end
1924
+
1925
+ 1
1926
+ end
1927
+ end
1928
+
1929
+ class ZipEventEventPromise < BlockedPromise
1930
+ def initialize(delayed, blockers_count, default_executor)
1931
+ super delayed, 2, Event.new(self, default_executor)
1932
+ end
1933
+
1934
+ private
1935
+
1936
+ def on_resolvable(resolved_future, index)
1937
+ resolve_with RESOLVED
1938
+ end
1939
+ end
1940
+
1941
+ class ZipFutureEventPromise < BlockedPromise
1942
+ def initialize(delayed, blockers_count, default_executor)
1943
+ super delayed, 2, Future.new(self, default_executor)
1944
+ @result = nil
1945
+ end
1946
+
1947
+ private
1948
+
1949
+ def process_on_blocker_resolution(future, index)
1950
+ # first blocking is future, take its result
1951
+ @result = future.internal_state if index == 0
1952
+ # super has to be called after above to piggyback on volatile @Countdown
1953
+ super future, index
1954
+ end
1955
+
1956
+ def on_resolvable(resolved_future, index)
1957
+ resolve_with @result
1958
+ end
1959
+ end
1960
+
1961
+ class EventWrapperPromise < BlockedPromise
1962
+ def initialize(delayed, blockers_count, default_executor)
1963
+ super delayed, 1, Event.new(self, default_executor)
1964
+ end
1965
+
1966
+ private
1967
+
1968
+ def on_resolvable(resolved_future, index)
1969
+ resolve_with RESOLVED
1970
+ end
1971
+ end
1972
+
1973
+ class FutureWrapperPromise < BlockedPromise
1974
+ def initialize(delayed, blockers_count, default_executor)
1975
+ super delayed, 1, Future.new(self, default_executor)
1976
+ end
1977
+
1978
+ private
1979
+
1980
+ def on_resolvable(resolved_future, index)
1981
+ resolve_with resolved_future.internal_state
1982
+ end
1983
+ end
1984
+
1985
+ class ZipFuturesPromise < BlockedPromise
1986
+
1987
+ private
1988
+
1989
+ def initialize(delayed, blockers_count, default_executor)
1990
+ super(delayed, blockers_count, Future.new(self, default_executor))
1991
+ @Resolutions = ::Array.new(blockers_count, nil)
1992
+
1993
+ on_resolvable nil, nil if blockers_count == 0
1994
+ end
1995
+
1996
+ def process_on_blocker_resolution(future, index)
1997
+ # TODO (pitr-ch 18-Dec-2016): Can we assume that array will never break under parallel access when never re-sized?
1998
+ @Resolutions[index] = future.internal_state # has to be set before countdown in super
1999
+ super future, index
2000
+ end
2001
+
2002
+ def on_resolvable(resolved_future, index)
2003
+ all_fulfilled = true
2004
+ values = ::Array.new(@Resolutions.size)
2005
+ reasons = ::Array.new(@Resolutions.size)
2006
+
2007
+ @Resolutions.each_with_index do |internal_state, i|
2008
+ fulfilled, values[i], reasons[i] = internal_state.result
2009
+ all_fulfilled &&= fulfilled
2010
+ end
2011
+
2012
+ if all_fulfilled
2013
+ resolve_with FulfilledArray.new(values)
2014
+ else
2015
+ resolve_with PartiallyRejected.new(values, reasons)
2016
+ end
2017
+ end
2018
+ end
2019
+
2020
+ class ZipEventsPromise < BlockedPromise
2021
+
2022
+ private
2023
+
2024
+ def initialize(delayed, blockers_count, default_executor)
2025
+ super delayed, blockers_count, Event.new(self, default_executor)
2026
+
2027
+ on_resolvable nil, nil if blockers_count == 0
2028
+ end
2029
+
2030
+ def on_resolvable(resolved_future, index)
2031
+ resolve_with RESOLVED
2032
+ end
2033
+ end
2034
+
2035
+ # @abstract
2036
+ class AbstractAnyPromise < BlockedPromise
2037
+ end
2038
+
2039
+ class AnyResolvedEventPromise < AbstractAnyPromise
2040
+
2041
+ private
2042
+
2043
+ def initialize(delayed, blockers_count, default_executor)
2044
+ super delayed, blockers_count, Event.new(self, default_executor)
2045
+ end
2046
+
2047
+ def resolvable?(countdown, future, index)
2048
+ true
2049
+ end
2050
+
2051
+ def on_resolvable(resolved_future, index)
2052
+ resolve_with RESOLVED, false
2053
+ end
2054
+ end
2055
+
2056
+ class AnyResolvedFuturePromise < AbstractAnyPromise
2057
+
2058
+ private
2059
+
2060
+ def initialize(delayed, blockers_count, default_executor)
2061
+ super delayed, blockers_count, Future.new(self, default_executor)
2062
+ end
2063
+
2064
+ def resolvable?(countdown, future, index)
2065
+ true
2066
+ end
2067
+
2068
+ def on_resolvable(resolved_future, index)
2069
+ resolve_with resolved_future.internal_state, false
2070
+ end
2071
+ end
2072
+
2073
+ class AnyFulfilledFuturePromise < AnyResolvedFuturePromise
2074
+
2075
+ private
2076
+
2077
+ def resolvable?(countdown, future, index)
2078
+ future.fulfilled? ||
2079
+ # inlined super from BlockedPromise
2080
+ countdown.zero?
2081
+ end
2082
+ end
2083
+
2084
+ class DelayPromise < InnerPromise
2085
+
2086
+ def initialize(default_executor)
2087
+ event = Event.new(self, default_executor)
2088
+ @Delayed = LockFreeStack.of1(self)
2089
+ super event
2090
+ event.add_callback_clear_delayed_node @Delayed.peek
2091
+ end
2092
+
2093
+ def touch
2094
+ @Future.resolve_with RESOLVED
2095
+ end
2096
+
2097
+ def delayed_because
2098
+ @Delayed
2099
+ end
2100
+
2101
+ end
2102
+
2103
+ class ScheduledPromise < InnerPromise
2104
+ def intended_time
2105
+ @IntendedTime
2106
+ end
2107
+
2108
+ def inspect
2109
+ "#{to_s[0..-2]} intended_time: #{@IntendedTime}>"
2110
+ end
2111
+
2112
+ private
2113
+
2114
+ def initialize(default_executor, intended_time)
2115
+ super Event.new(self, default_executor)
2116
+
2117
+ @IntendedTime = intended_time
2118
+
2119
+ in_seconds = begin
2120
+ now = Time.now
2121
+ schedule_time = if @IntendedTime.is_a? Time
2122
+ @IntendedTime
2123
+ else
2124
+ now + @IntendedTime
2125
+ end
2126
+ [0, schedule_time.to_f - now.to_f].max
2127
+ end
2128
+
2129
+ Concurrent.global_timer_set.post(in_seconds) do
2130
+ @Future.resolve_with RESOLVED
2131
+ end
2132
+ end
2133
+ end
2134
+
2135
+ extend FactoryMethods
2136
+
2137
+ private_constant :AbstractPromise,
2138
+ :ResolvableEventPromise,
2139
+ :ResolvableFuturePromise,
2140
+ :InnerPromise,
2141
+ :BlockedPromise,
2142
+ :BlockedTaskPromise,
2143
+ :ThenPromise,
2144
+ :RescuePromise,
2145
+ :ChainPromise,
2146
+ :ImmediateEventPromise,
2147
+ :ImmediateFuturePromise,
2148
+ :AbstractFlatPromise,
2149
+ :FlatFuturePromise,
2150
+ :FlatEventPromise,
2151
+ :RunFuturePromise,
2152
+ :ZipEventEventPromise,
2153
+ :ZipFutureEventPromise,
2154
+ :EventWrapperPromise,
2155
+ :FutureWrapperPromise,
2156
+ :ZipFuturesPromise,
2157
+ :ZipEventsPromise,
2158
+ :AbstractAnyPromise,
2159
+ :AnyResolvedFuturePromise,
2160
+ :AnyFulfilledFuturePromise,
2161
+ :AnyResolvedEventPromise,
2162
+ :DelayPromise,
2163
+ :ScheduledPromise
2164
+
2165
+
2166
+ end
2167
+ end