pract6 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1558) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gem/credentials +2 -0
  4. data/.gem/ruby/2.3.0/bin/bundle +22 -0
  5. data/.gem/ruby/2.3.0/bin/bundler +22 -0
  6. data/.gem/ruby/2.3.0/bin/rackup +22 -0
  7. data/.gem/ruby/2.3.0/cache/activesupport-5.1.4.gem +0 -0
  8. data/.gem/ruby/2.3.0/cache/bundler-1.15.4.gem +0 -0
  9. data/.gem/ruby/2.3.0/cache/bundler-1.16.0.pre.3.gem +0 -0
  10. data/.gem/ruby/2.3.0/cache/coderay-1.1.2.gem +0 -0
  11. data/.gem/ruby/2.3.0/cache/concurrent-ruby-1.0.5.gem +0 -0
  12. data/.gem/ruby/2.3.0/cache/ffi-1.9.18.gem +0 -0
  13. data/.gem/ruby/2.3.0/cache/i18n-0.8.6.gem +0 -0
  14. data/.gem/ruby/2.3.0/cache/mini_portile2-2.3.0.gem +0 -0
  15. data/.gem/ruby/2.3.0/cache/nokogiri-1.8.1.gem +0 -0
  16. data/.gem/ruby/2.3.0/cache/rack-2.0.3.gem +0 -0
  17. data/.gem/ruby/2.3.0/cache/rack-test-0.7.0.gem +0 -0
  18. data/.gem/ruby/2.3.0/cache/rainbow-2.2.2.gem +0 -0
  19. data/.gem/ruby/2.3.0/cache/rdoc-5.1.0.gem +0 -0
  20. data/.gem/ruby/2.3.0/cache/rspec-support-3.7.0.gem +0 -0
  21. data/.gem/ruby/2.3.0/cache/thread_safe-0.3.6.gem +0 -0
  22. data/.gem/ruby/2.3.0/cache/tzinfo-1.2.3.gem +0 -0
  23. data/.gem/ruby/2.3.0/extensions/x86_64-linux/2.3.0/nokogiri-1.8.1/gem_make.out +5 -0
  24. data/.gem/ruby/2.3.0/extensions/x86_64-linux/2.3.0/rainbow-2.2.2/gem_make.out +8 -0
  25. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/CHANGELOG.md +749 -0
  26. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/MIT-LICENSE +20 -0
  27. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/README.rdoc +39 -0
  28. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support.rb +103 -0
  29. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/all.rb +3 -0
  30. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/array_inquirer.rb +46 -0
  31. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/backtrace_cleaner.rb +103 -0
  32. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/benchmarkable.rb +49 -0
  33. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/builder.rb +6 -0
  34. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache.rb +694 -0
  35. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache/file_store.rb +195 -0
  36. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache/mem_cache_store.rb +197 -0
  37. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache/memory_store.rb +167 -0
  38. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache/null_store.rb +41 -0
  39. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache/strategy/local_cache.rb +163 -0
  40. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/cache/strategy/local_cache_middleware.rb +43 -0
  41. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/callbacks.rb +856 -0
  42. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/concern.rb +142 -0
  43. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/concurrency/share_lock.rb +225 -0
  44. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/configurable.rb +148 -0
  45. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext.rb +3 -0
  46. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array.rb +7 -0
  47. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array/access.rb +90 -0
  48. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array/conversions.rb +211 -0
  49. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array/extract_options.rb +29 -0
  50. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array/grouping.rb +107 -0
  51. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array/inquiry.rb +17 -0
  52. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array/prepend_and_append.rb +7 -0
  53. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/array/wrap.rb +46 -0
  54. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/benchmark.rb +14 -0
  55. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/big_decimal.rb +1 -0
  56. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/big_decimal/conversions.rb +12 -0
  57. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/class.rb +2 -0
  58. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/class/attribute.rb +128 -0
  59. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/class/attribute_accessors.rb +4 -0
  60. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/class/subclasses.rb +55 -0
  61. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date.rb +5 -0
  62. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date/acts_like.rb +8 -0
  63. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date/blank.rb +12 -0
  64. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date/calculations.rb +143 -0
  65. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date/conversions.rb +95 -0
  66. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date/zones.rb +6 -0
  67. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_and_time/calculations.rb +340 -0
  68. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_and_time/compatibility.rb +14 -0
  69. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_and_time/zones.rb +39 -0
  70. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_time.rb +5 -0
  71. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_time/acts_like.rb +14 -0
  72. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_time/blank.rb +12 -0
  73. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_time/calculations.rb +209 -0
  74. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_time/compatibility.rb +16 -0
  75. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/date_time/conversions.rb +105 -0
  76. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/digest/uuid.rb +51 -0
  77. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/enumerable.rb +157 -0
  78. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/file.rb +1 -0
  79. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/file/atomic.rb +68 -0
  80. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash.rb +9 -0
  81. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/compact.rb +27 -0
  82. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/conversions.rb +261 -0
  83. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/deep_merge.rb +38 -0
  84. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/except.rb +22 -0
  85. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/indifferent_access.rb +22 -0
  86. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/keys.rb +170 -0
  87. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/reverse_merge.rb +22 -0
  88. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/slice.rb +48 -0
  89. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/hash/transform_values.rb +30 -0
  90. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/integer.rb +3 -0
  91. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/integer/inflections.rb +29 -0
  92. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/integer/multiple.rb +10 -0
  93. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/integer/time.rb +29 -0
  94. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/kernel.rb +4 -0
  95. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
  96. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/kernel/concern.rb +12 -0
  97. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/kernel/reporting.rb +43 -0
  98. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/kernel/singleton_class.rb +6 -0
  99. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/load_error.rb +14 -0
  100. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/marshal.rb +22 -0
  101. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module.rb +11 -0
  102. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/aliasing.rb +29 -0
  103. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/anonymous.rb +28 -0
  104. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/attr_internal.rb +36 -0
  105. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/attribute_accessors.rb +218 -0
  106. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +148 -0
  107. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/concerning.rb +135 -0
  108. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/delegation.rb +285 -0
  109. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/deprecation.rb +23 -0
  110. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/introspection.rb +60 -0
  111. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/reachable.rb +8 -0
  112. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/module/remove_method.rb +35 -0
  113. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/name_error.rb +31 -0
  114. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/numeric.rb +4 -0
  115. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/numeric/bytes.rb +64 -0
  116. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/numeric/conversions.rb +138 -0
  117. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/numeric/inquiry.rb +26 -0
  118. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/numeric/time.rb +74 -0
  119. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object.rb +14 -0
  120. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/acts_like.rb +10 -0
  121. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/blank.rb +145 -0
  122. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/conversions.rb +4 -0
  123. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/deep_dup.rb +53 -0
  124. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/duplicable.rb +154 -0
  125. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/inclusion.rb +27 -0
  126. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/instance_variables.rb +28 -0
  127. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/json.rb +219 -0
  128. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/to_param.rb +1 -0
  129. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/to_query.rb +84 -0
  130. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/try.rb +146 -0
  131. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/object/with_options.rb +80 -0
  132. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/range.rb +4 -0
  133. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/range/conversions.rb +31 -0
  134. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/range/each.rb +21 -0
  135. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/range/include_range.rb +23 -0
  136. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/range/overlaps.rb +8 -0
  137. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/regexp.rb +9 -0
  138. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/securerandom.rb +23 -0
  139. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string.rb +13 -0
  140. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/access.rb +104 -0
  141. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/behavior.rb +6 -0
  142. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/conversions.rb +57 -0
  143. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/exclude.rb +11 -0
  144. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/filters.rb +102 -0
  145. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/indent.rb +43 -0
  146. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/inflections.rb +240 -0
  147. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/inquiry.rb +13 -0
  148. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/multibyte.rb +53 -0
  149. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/output_safety.rb +259 -0
  150. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
  151. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/strip.rb +23 -0
  152. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/string/zones.rb +14 -0
  153. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/time.rb +5 -0
  154. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/time/acts_like.rb +8 -0
  155. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/time/calculations.rb +307 -0
  156. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/time/compatibility.rb +14 -0
  157. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/time/conversions.rb +70 -0
  158. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/time/zones.rb +111 -0
  159. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/core_ext/uri.rb +24 -0
  160. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies.rb +753 -0
  161. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/autoload.rb +77 -0
  162. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/dependencies/interlock.rb +55 -0
  163. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/deprecation.rb +44 -0
  164. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/deprecation/behaviors.rb +90 -0
  165. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/deprecation/constant_accessor.rb +50 -0
  166. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/deprecation/instance_delegator.rb +37 -0
  167. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/deprecation/method_wrappers.rb +70 -0
  168. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/deprecation/proxy_wrappers.rb +151 -0
  169. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/deprecation/reporting.rb +112 -0
  170. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/descendants_tracker.rb +60 -0
  171. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/duration.rb +420 -0
  172. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/duration/iso8601_parser.rb +123 -0
  173. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/duration/iso8601_serializer.rb +53 -0
  174. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/evented_file_update_checker.rb +203 -0
  175. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/execution_wrapper.rb +126 -0
  176. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/executor.rb +6 -0
  177. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/file_update_checker.rb +161 -0
  178. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/gem_version.rb +15 -0
  179. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/gzip.rb +36 -0
  180. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/hash_with_indifferent_access.rb +341 -0
  181. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/i18n.rb +13 -0
  182. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/i18n_railtie.rb +116 -0
  183. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/inflections.rb +70 -0
  184. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/inflector.rb +7 -0
  185. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/inflector/inflections.rb +244 -0
  186. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/inflector/methods.rb +391 -0
  187. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/inflector/transliterate.rb +109 -0
  188. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/json.rb +2 -0
  189. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/json/decoding.rb +74 -0
  190. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/json/encoding.rb +128 -0
  191. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/key_generator.rb +71 -0
  192. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/lazy_load_hooks.rb +76 -0
  193. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/locale/en.yml +135 -0
  194. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/log_subscriber.rb +111 -0
  195. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/log_subscriber/test_helper.rb +104 -0
  196. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/logger.rb +106 -0
  197. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/logger_silence.rb +28 -0
  198. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/logger_thread_safe_level.rb +31 -0
  199. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/message_encryptor.rb +156 -0
  200. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/message_verifier.rb +134 -0
  201. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/multibyte.rb +21 -0
  202. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/multibyte/chars.rb +233 -0
  203. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/multibyte/unicode.rb +392 -0
  204. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/notifications.rb +214 -0
  205. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/notifications/fanout.rb +157 -0
  206. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/notifications/instrumenter.rb +91 -0
  207. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper.rb +369 -0
  208. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_converter.rb +182 -0
  209. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_to_currency_converter.rb +44 -0
  210. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_to_delimited_converter.rb +27 -0
  211. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_to_human_converter.rb +66 -0
  212. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_to_human_size_converter.rb +57 -0
  213. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_to_percentage_converter.rb +12 -0
  214. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_to_phone_converter.rb +56 -0
  215. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/number_to_rounded_converter.rb +72 -0
  216. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/number_helper/rounding_helper.rb +64 -0
  217. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/option_merger.rb +25 -0
  218. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/ordered_hash.rb +48 -0
  219. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/ordered_options.rb +83 -0
  220. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/per_thread_registry.rb +58 -0
  221. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/proxy_object.rb +13 -0
  222. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/rails.rb +33 -0
  223. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/railtie.rb +51 -0
  224. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/reloader.rb +129 -0
  225. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/rescuable.rb +173 -0
  226. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/security_utils.rb +27 -0
  227. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/string_inquirer.rb +32 -0
  228. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/subscriber.rb +124 -0
  229. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/tagged_logging.rb +77 -0
  230. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/test_case.rb +71 -0
  231. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/assertions.rb +197 -0
  232. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/autorun.rb +5 -0
  233. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/constant_lookup.rb +49 -0
  234. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/declarative.rb +26 -0
  235. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/deprecation.rb +37 -0
  236. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/file_fixtures.rb +34 -0
  237. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/isolation.rb +106 -0
  238. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/method_call_assertions.rb +41 -0
  239. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/setup_and_teardown.rb +50 -0
  240. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/stream.rb +42 -0
  241. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/tagged_logging.rb +25 -0
  242. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/testing/time_helpers.rb +170 -0
  243. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/time.rb +18 -0
  244. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/time_with_zone.rb +513 -0
  245. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/values/time_zone.rb +550 -0
  246. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/values/unicode_tables.dat +0 -0
  247. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/version.rb +8 -0
  248. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/xml_mini.rb +207 -0
  249. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/xml_mini/jdom.rb +181 -0
  250. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/xml_mini/libxml.rb +78 -0
  251. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/xml_mini/libxmlsax.rb +81 -0
  252. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/xml_mini/nokogiri.rb +81 -0
  253. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/xml_mini/nokogirisax.rb +84 -0
  254. data/.gem/ruby/2.3.0/gems/activesupport-5.1.4/lib/active_support/xml_mini/rexml.rb +128 -0
  255. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/CHANGELOG.md +2833 -0
  256. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/LICENSE.md +23 -0
  257. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/README.md +59 -0
  258. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/exe/bundle +31 -0
  259. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/exe/bundle_ruby +60 -0
  260. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/exe/bundler +4 -0
  261. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler.rb +543 -0
  262. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/build_metadata.rb +38 -0
  263. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/capistrano.rb +22 -0
  264. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli.rb +746 -0
  265. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/add.rb +25 -0
  266. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/binstubs.rb +43 -0
  267. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/cache.rb +36 -0
  268. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/check.rb +38 -0
  269. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/clean.rb +25 -0
  270. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/common.rb +102 -0
  271. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/config.rb +119 -0
  272. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/console.rb +43 -0
  273. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/doctor.rb +94 -0
  274. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/exec.rb +105 -0
  275. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/gem.rb +249 -0
  276. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/info.rb +50 -0
  277. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/init.rb +46 -0
  278. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/inject.rb +60 -0
  279. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/install.rb +214 -0
  280. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/issue.rb +40 -0
  281. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/list.rb +22 -0
  282. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/lock.rb +63 -0
  283. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/open.rb +26 -0
  284. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/outdated.rb +260 -0
  285. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/package.rb +49 -0
  286. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/platform.rb +46 -0
  287. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/plugin.rb +24 -0
  288. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/pristine.rb +43 -0
  289. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/show.rb +75 -0
  290. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/update.rb +89 -0
  291. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/cli/viz.rb +31 -0
  292. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/compact_index_client.rb +109 -0
  293. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/compact_index_client/cache.rb +120 -0
  294. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/compact_index_client/updater.rb +107 -0
  295. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/compatibility_guard.rb +14 -0
  296. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/constants.rb +7 -0
  297. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/current_ruby.rb +86 -0
  298. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/definition.rb +985 -0
  299. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/dep_proxy.rb +48 -0
  300. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/dependency.rb +138 -0
  301. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/deployment.rb +69 -0
  302. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/deprecate.rb +33 -0
  303. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/dsl.rb +599 -0
  304. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/endpoint_specification.rb +141 -0
  305. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/env.rb +153 -0
  306. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/environment_preserver.rb +59 -0
  307. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/errors.rb +158 -0
  308. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/feature_flag.rb +67 -0
  309. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/fetcher.rb +312 -0
  310. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/fetcher/base.rb +52 -0
  311. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/fetcher/compact_index.rb +126 -0
  312. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/fetcher/dependency.rb +82 -0
  313. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/fetcher/downloader.rb +79 -0
  314. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/fetcher/index.rb +52 -0
  315. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/friendly_errors.rb +127 -0
  316. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/gem_helper.rb +202 -0
  317. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/gem_helpers.rb +101 -0
  318. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/gem_remote_fetcher.rb +43 -0
  319. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/gem_tasks.rb +7 -0
  320. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/gem_version_promoter.rb +176 -0
  321. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/gemdeps.rb +29 -0
  322. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/graph.rb +152 -0
  323. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/index.rb +213 -0
  324. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/injector.rb +94 -0
  325. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/inline.rb +74 -0
  326. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/installer.rb +281 -0
  327. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/installer/gem_installer.rb +78 -0
  328. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/installer/parallel_installer.rb +228 -0
  329. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/installer/standalone.rb +53 -0
  330. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/lazy_specification.rb +123 -0
  331. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/lockfile_generator.rb +95 -0
  332. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/lockfile_parser.rb +256 -0
  333. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/match_platform.rb +24 -0
  334. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/mirror.rb +223 -0
  335. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin.rb +285 -0
  336. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/api.rb +81 -0
  337. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/api/source.rb +307 -0
  338. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/dsl.rb +53 -0
  339. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/index.rb +157 -0
  340. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/installer.rb +96 -0
  341. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/installer/git.rb +38 -0
  342. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/installer/rubygems.rb +27 -0
  343. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/plugin/source_list.rb +27 -0
  344. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/process_lock.rb +24 -0
  345. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/psyched_yaml.rb +28 -0
  346. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/remote_specification.rb +114 -0
  347. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/resolver.rb +367 -0
  348. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/resolver/spec_group.rb +111 -0
  349. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/retry.rb +66 -0
  350. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ruby_dsl.rb +18 -0
  351. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ruby_version.rb +152 -0
  352. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/rubygems_ext.rb +210 -0
  353. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/rubygems_gem_installer.rb +99 -0
  354. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/rubygems_integration.rb +891 -0
  355. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/runtime.rb +318 -0
  356. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/settings.rb +442 -0
  357. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/settings/validator.rb +79 -0
  358. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/setup.rb +28 -0
  359. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/shared_helpers.rb +351 -0
  360. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/similarity_detector.rb +63 -0
  361. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source.rb +94 -0
  362. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/gemspec.rb +18 -0
  363. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/git.rb +329 -0
  364. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/git/git_proxy.rb +256 -0
  365. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/metadata.rb +63 -0
  366. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/path.rb +249 -0
  367. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/path/installer.rb +74 -0
  368. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/rubygems.rb +532 -0
  369. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source/rubygems/remote.rb +66 -0
  370. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/source_list.rb +186 -0
  371. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/spec_set.rb +189 -0
  372. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ssl_certs/.document +1 -0
  373. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ssl_certs/certificate_manager.rb +66 -0
  374. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem +21 -0
  375. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem +23 -0
  376. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem +25 -0
  377. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/stub_specification.rb +108 -0
  378. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/Executable +21 -0
  379. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/Executable.bundler +105 -0
  380. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/Executable.standalone +14 -0
  381. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/Gemfile +7 -0
  382. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/gems.rb +8 -0
  383. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/.travis.yml.tt +5 -0
  384. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +74 -0
  385. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/Gemfile.tt +6 -0
  386. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/LICENSE.txt.tt +21 -0
  387. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/README.md.tt +47 -0
  388. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/Rakefile.tt +29 -0
  389. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/bin/console.tt +14 -0
  390. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/bin/setup.tt +8 -0
  391. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/exe/newgem.tt +3 -0
  392. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/ext/newgem/extconf.rb.tt +3 -0
  393. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt +9 -0
  394. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/ext/newgem/newgem.h.tt +6 -0
  395. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/gitignore.tt +20 -0
  396. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/lib/newgem.rb.tt +12 -0
  397. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +7 -0
  398. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/newgem.gemspec.tt +49 -0
  399. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/rspec.tt +3 -0
  400. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +9 -0
  401. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +14 -0
  402. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/test/newgem_test.rb.tt +11 -0
  403. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/templates/newgem/test/test_helper.rb.tt +4 -0
  404. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ui.rb +9 -0
  405. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ui/rg_proxy.rb +19 -0
  406. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ui/shell.rb +144 -0
  407. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/ui/silent.rb +69 -0
  408. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/uri_credentials_filter.rb +37 -0
  409. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/fileutils/lib/fileutils.rb +1638 -0
  410. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo.rb +12 -0
  411. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb +26 -0
  412. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +57 -0
  413. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +81 -0
  414. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +223 -0
  415. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +36 -0
  416. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +66 -0
  417. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +62 -0
  418. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +63 -0
  419. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +61 -0
  420. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +126 -0
  421. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +46 -0
  422. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +36 -0
  423. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +126 -0
  424. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +138 -0
  425. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +6 -0
  426. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +101 -0
  427. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/modules/ui.rb +67 -0
  428. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +837 -0
  429. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +46 -0
  430. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/molinillo/lib/molinillo/state.rb +58 -0
  431. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/net-http-persistent/lib/net/http/faster.rb +27 -0
  432. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +1233 -0
  433. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/ssl_reuse.rb +129 -0
  434. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor.rb +509 -0
  435. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/actions.rb +321 -0
  436. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +104 -0
  437. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +60 -0
  438. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +118 -0
  439. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +143 -0
  440. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +364 -0
  441. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +109 -0
  442. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/base.rb +679 -0
  443. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/command.rb +135 -0
  444. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +97 -0
  445. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb +12 -0
  446. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/core_ext/ordered_hash.rb +129 -0
  447. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/error.rb +32 -0
  448. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/group.rb +281 -0
  449. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/invocation.rb +177 -0
  450. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/line_editor.rb +17 -0
  451. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +37 -0
  452. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb +88 -0
  453. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -0
  454. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/parser/argument.rb +70 -0
  455. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +175 -0
  456. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/parser/option.rb +146 -0
  457. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/parser/options.rb +221 -0
  458. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/rake_compat.rb +71 -0
  459. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/runner.rb +324 -0
  460. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/shell.rb +81 -0
  461. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +437 -0
  462. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/shell/color.rb +149 -0
  463. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/shell/html.rb +126 -0
  464. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/util.rb +268 -0
  465. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendor/thor/lib/thor/version.rb +3 -0
  466. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendored_fileutils.rb +9 -0
  467. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendored_molinillo.rb +4 -0
  468. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendored_persistent.rb +52 -0
  469. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vendored_thor.rb +8 -0
  470. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/version.rb +28 -0
  471. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/version_ranges.rb +76 -0
  472. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/vlad.rb +17 -0
  473. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/worker.rb +106 -0
  474. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/lib/bundler/yaml_serializer.rb +90 -0
  475. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-add.1 +43 -0
  476. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-add.1.txt +40 -0
  477. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-add.ronn +29 -0
  478. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-binstubs.1 +40 -0
  479. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-binstubs.1.txt +48 -0
  480. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-binstubs.ronn +43 -0
  481. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-check.1 +31 -0
  482. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-check.1.txt +32 -0
  483. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-check.ronn +26 -0
  484. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-clean.1 +24 -0
  485. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-clean.1.txt +26 -0
  486. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-clean.ronn +18 -0
  487. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-config.1 +455 -0
  488. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-config.1.txt +491 -0
  489. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-config.ronn +372 -0
  490. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-exec.1 +165 -0
  491. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-exec.1.txt +178 -0
  492. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-exec.ronn +152 -0
  493. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-gem.1 +80 -0
  494. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-gem.1.txt +91 -0
  495. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-gem.ronn +78 -0
  496. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-info.1 +20 -0
  497. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-info.1.txt +21 -0
  498. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-info.ronn +17 -0
  499. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-init.1 +20 -0
  500. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-init.1.txt +24 -0
  501. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-init.ronn +18 -0
  502. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-inject.1 +33 -0
  503. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-inject.1.txt +32 -0
  504. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-inject.ronn +22 -0
  505. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-install.1 +305 -0
  506. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-install.1.txt +385 -0
  507. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-install.ronn +369 -0
  508. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-list.1 +20 -0
  509. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-list.1.txt +21 -0
  510. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-list.ronn +15 -0
  511. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-lock.1 +84 -0
  512. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-lock.1.txt +93 -0
  513. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-lock.ronn +94 -0
  514. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-open.1 +32 -0
  515. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-open.1.txt +29 -0
  516. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-open.ronn +19 -0
  517. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-outdated.1 +151 -0
  518. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-outdated.1.txt +127 -0
  519. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-outdated.ronn +107 -0
  520. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-package.1 +55 -0
  521. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-package.1.txt +79 -0
  522. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-package.ronn +72 -0
  523. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-platform.1 +61 -0
  524. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-platform.1.txt +57 -0
  525. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-platform.ronn +42 -0
  526. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-pristine.1 +34 -0
  527. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-pristine.1.txt +44 -0
  528. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-pristine.ronn +34 -0
  529. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-show.1 +23 -0
  530. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-show.1.txt +25 -0
  531. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-show.ronn +20 -0
  532. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-update.1 +390 -0
  533. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-update.1.txt +386 -0
  534. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-update.ronn +346 -0
  535. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-viz.1 +39 -0
  536. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-viz.1.txt +38 -0
  537. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle-viz.ronn +30 -0
  538. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle.1 +132 -0
  539. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle.1.txt +113 -0
  540. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/bundle.ronn +108 -0
  541. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/gemfile.5 +679 -0
  542. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/gemfile.5.ronn +506 -0
  543. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/gemfile.5.txt +636 -0
  544. data/.gem/ruby/2.3.0/gems/bundler-1.16.0.pre.3/man/index.txt +23 -0
  545. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/CHANGELOG.md +387 -0
  546. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/LICENSE.txt +21 -0
  547. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/README.md +247 -0
  548. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent.rb +130 -0
  549. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/agent.rb +587 -0
  550. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/array.rb +39 -0
  551. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/async.rb +445 -0
  552. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atom.rb +222 -0
  553. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/abstract_thread_local_var.rb +66 -0
  554. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_boolean.rb +122 -0
  555. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_fixnum.rb +139 -0
  556. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/atomic_reference.rb +51 -0
  557. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/count_down_latch.rb +100 -0
  558. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/cyclic_barrier.rb +128 -0
  559. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/event.rb +109 -0
  560. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/java_count_down_latch.rb +39 -0
  561. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/java_thread_local_var.rb +37 -0
  562. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_atomic_boolean.rb +60 -0
  563. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
  564. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_count_down_latch.rb +43 -0
  565. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
  566. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/read_write_lock.rb +253 -0
  567. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/reentrant_read_write_lock.rb +377 -0
  568. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/ruby_thread_local_var.rb +161 -0
  569. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/semaphore.rb +145 -0
  570. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic/thread_local_var.rb +104 -0
  571. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/concurrent_update_error.rb +8 -0
  572. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/direct_update.rb +81 -0
  573. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/jruby+truffle.rb +2 -0
  574. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/jruby.rb +16 -0
  575. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/mutex_atomic.rb +61 -0
  576. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
  577. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/rbx.rb +22 -0
  578. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomic_reference/ruby.rb +32 -0
  579. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/atomics.rb +53 -0
  580. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
  581. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/copy_on_write_observer_set.rb +111 -0
  582. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
  583. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
  584. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/mri_map_backend.rb +66 -0
  585. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/non_concurrent_map_backend.rb +141 -0
  586. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/map/synchronized_map_backend.rb +82 -0
  587. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
  588. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
  589. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/deprecation.rb +34 -0
  590. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/dereferenceable.rb +73 -0
  591. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/logging.rb +27 -0
  592. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/obligation.rb +220 -0
  593. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/concern/observable.rb +110 -0
  594. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/configuration.rb +188 -0
  595. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/constants.rb +8 -0
  596. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/dataflow.rb +80 -0
  597. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/delay.rb +197 -0
  598. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/edge.rb +26 -0
  599. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/errors.rb +69 -0
  600. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/exchanger.rb +356 -0
  601. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/abstract_executor_service.rb +134 -0
  602. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/cached_thread_pool.rb +62 -0
  603. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/executor_service.rb +185 -0
  604. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
  605. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/immediate_executor.rb +66 -0
  606. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/indirect_immediate_executor.rb +44 -0
  607. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_executor_service.rb +100 -0
  608. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_single_thread_executor.rb +29 -0
  609. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/java_thread_pool_executor.rb +120 -0
  610. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_executor_service.rb +78 -0
  611. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_single_thread_executor.rb +22 -0
  612. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb +362 -0
  613. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/safe_task_executor.rb +35 -0
  614. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serial_executor_service.rb +34 -0
  615. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution.rb +107 -0
  616. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/serialized_execution_delegator.rb +28 -0
  617. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/simple_executor_service.rb +100 -0
  618. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/single_thread_executor.rb +56 -0
  619. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/thread_pool_executor.rb +87 -0
  620. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/timer_set.rb +175 -0
  621. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/executors.rb +20 -0
  622. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/future.rb +138 -0
  623. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/hash.rb +36 -0
  624. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/immutable_struct.rb +93 -0
  625. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/ivar.rb +208 -0
  626. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/lazy_register.rb +81 -0
  627. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/map.rb +240 -0
  628. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/maybe.rb +229 -0
  629. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/mutable_struct.rb +228 -0
  630. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/mvar.rb +242 -0
  631. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/options.rb +42 -0
  632. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/promise.rb +547 -0
  633. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/scheduled_task.rb +318 -0
  634. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/settable_struct.rb +128 -0
  635. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization.rb +31 -0
  636. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
  637. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_object.rb +24 -0
  638. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/abstract_struct.rb +157 -0
  639. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/condition.rb +58 -0
  640. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/jruby_lockable_object.rb +13 -0
  641. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/jruby_object.rb +44 -0
  642. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/lock.rb +34 -0
  643. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/lockable_object.rb +74 -0
  644. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_lockable_object.rb +71 -0
  645. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/mri_object.rb +43 -0
  646. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/object.rb +153 -0
  647. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/rbx_lockable_object.rb +65 -0
  648. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/rbx_object.rb +48 -0
  649. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/truffle_lockable_object.rb +9 -0
  650. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/truffle_object.rb +31 -0
  651. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/synchronization/volatile.rb +34 -0
  652. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/synchronized_delegator.rb +50 -0
  653. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util.rb +16 -0
  654. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/adder.rb +74 -0
  655. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/array_hash_rbx.rb +30 -0
  656. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
  657. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
  658. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/striped64.rb +241 -0
  659. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/volatile.rb +75 -0
  660. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
  661. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/timer_task.rb +331 -0
  662. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/tuple.rb +86 -0
  663. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/tvar.rb +258 -0
  664. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/at_exit.rb +97 -0
  665. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/engine.rb +56 -0
  666. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/monotonic_time.rb +58 -0
  667. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/native_extension_loader.rb +73 -0
  668. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/native_integer.rb +53 -0
  669. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/utility/processor_counter.rb +160 -0
  670. data/.gem/ruby/2.3.0/gems/concurrent-ruby-1.0.5/lib/concurrent/version.rb +4 -0
  671. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/MIT-LICENSE +20 -0
  672. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/README.md +84 -0
  673. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/gemfiles/Gemfile.rails-3.2.x +9 -0
  674. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/gemfiles/Gemfile.rails-4.0.x +9 -0
  675. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/gemfiles/Gemfile.rails-4.1.x +9 -0
  676. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/gemfiles/Gemfile.rails-4.2.x +9 -0
  677. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/gemfiles/Gemfile.rails-5.0.x +9 -0
  678. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/gemfiles/Gemfile.rails-master +9 -0
  679. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n.rb +343 -0
  680. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend.rb +18 -0
  681. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/base.rb +230 -0
  682. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/cache.rb +114 -0
  683. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/cascade.rb +54 -0
  684. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/chain.rb +97 -0
  685. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/fallbacks.rb +84 -0
  686. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/flatten.rb +113 -0
  687. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/gettext.rb +81 -0
  688. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/interpolation_compiler.rb +121 -0
  689. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/key_value.rb +100 -0
  690. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/memoize.rb +46 -0
  691. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/metadata.rb +69 -0
  692. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/pluralization.rb +53 -0
  693. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/simple.rb +87 -0
  694. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/backend/transliterator.rb +106 -0
  695. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/config.rb +142 -0
  696. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/core_ext/hash.rb +29 -0
  697. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/core_ext/kernel/suppress_warnings.rb +8 -0
  698. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/core_ext/string/interpolate.rb +9 -0
  699. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/exceptions.rb +104 -0
  700. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/gettext.rb +26 -0
  701. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/gettext/helpers.rb +73 -0
  702. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/gettext/po_parser.rb +329 -0
  703. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/interpolate/ruby.rb +37 -0
  704. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/locale.rb +6 -0
  705. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/locale/fallbacks.rb +96 -0
  706. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/locale/tag.rb +28 -0
  707. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/locale/tag/parents.rb +22 -0
  708. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/locale/tag/rfc4646.rb +74 -0
  709. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/locale/tag/simple.rb +39 -0
  710. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests.rb +12 -0
  711. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/basics.rb +60 -0
  712. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/defaults.rb +48 -0
  713. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/interpolation.rb +153 -0
  714. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/link.rb +56 -0
  715. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/localization.rb +19 -0
  716. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/localization/date.rb +95 -0
  717. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/localization/date_time.rb +82 -0
  718. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/localization/procs.rb +116 -0
  719. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/localization/time.rb +81 -0
  720. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/lookup.rb +81 -0
  721. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/pluralization.rb +35 -0
  722. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/tests/procs.rb +55 -0
  723. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/lib/i18n/version.rb +3 -0
  724. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/all_features_test.rb +58 -0
  725. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/cascade_test.rb +28 -0
  726. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/chain_test.rb +24 -0
  727. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/fallbacks_test.rb +30 -0
  728. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/key_value_test.rb +24 -0
  729. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/memoize_test.rb +56 -0
  730. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/override_test.rb +42 -0
  731. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/pluralization_test.rb +30 -0
  732. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/api/simple_test.rb +28 -0
  733. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/cache_test.rb +108 -0
  734. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/cascade_test.rb +86 -0
  735. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/chain_test.rb +91 -0
  736. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/exceptions_test.rb +36 -0
  737. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/fallbacks_test.rb +206 -0
  738. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/interpolation_compiler_test.rb +118 -0
  739. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/key_value_test.rb +43 -0
  740. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/memoize_test.rb +47 -0
  741. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/metadata_test.rb +48 -0
  742. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/pluralization_test.rb +45 -0
  743. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/simple_test.rb +84 -0
  744. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/backend/transliterator_test.rb +84 -0
  745. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/core_ext/hash_test.rb +42 -0
  746. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/gettext/api_test.rb +214 -0
  747. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/gettext/backend_test.rb +92 -0
  748. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/i18n/exceptions_test.rb +117 -0
  749. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/i18n/gettext_plural_keys_test.rb +20 -0
  750. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/i18n/interpolate_test.rb +91 -0
  751. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/i18n/load_path_test.rb +34 -0
  752. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/i18n_test.rb +446 -0
  753. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/locale/fallbacks_test.rb +133 -0
  754. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/locale/tag/rfc4646_test.rb +143 -0
  755. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/locale/tag/simple_test.rb +32 -0
  756. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/run_all.rb +20 -0
  757. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/test_data/locales/de.po +82 -0
  758. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/test_data/locales/en.rb +3 -0
  759. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/test_data/locales/en.yml +3 -0
  760. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/test_data/locales/invalid/empty.yml +0 -0
  761. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/test_data/locales/invalid/syntax.yml +4 -0
  762. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/test_data/locales/plurals.rb +113 -0
  763. data/.gem/ruby/2.3.0/gems/i18n-0.8.6/test/test_helper.rb +55 -0
  764. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/.concourse.yml +83 -0
  765. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/.gitignore +7 -0
  766. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/.travis.yml +15 -0
  767. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/CHANGELOG.md +202 -0
  768. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/Gemfile +4 -0
  769. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/LICENSE.txt +20 -0
  770. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/README.md +245 -0
  771. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/Rakefile +29 -0
  772. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/appveyor.yml +25 -0
  773. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/concourse/mini_portile.yml +160 -0
  774. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/concourse/tasks/rake-test/task.ps1 +13 -0
  775. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/concourse/tasks/rake-test/task.sh +13 -0
  776. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2.rb +3 -0
  777. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile.rb +551 -0
  778. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/mini_portile_cmake.rb +40 -0
  779. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/lib/mini_portile2/version.rb +3 -0
  780. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/mini_portile2.gemspec +42 -0
  781. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/git/config +4 -0
  782. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/gpg-fixtures/data +1 -0
  783. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/gpg-fixtures/data.asc +9 -0
  784. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/gpg-fixtures/data.invalid.asc +9 -0
  785. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/patch 1.diff +7 -0
  786. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/test mini portile-1.0.0/configure +11 -0
  787. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/test-cmake-1.0/CMakeLists.txt +7 -0
  788. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/test-cmake-1.0/hello.c +4 -0
  789. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/assets/test-download-archive.tar.gz +1 -0
  790. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/helper.rb +60 -0
  791. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/test_cmake.rb +64 -0
  792. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/test_cook.rb +115 -0
  793. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/test_digest.rb +215 -0
  794. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/test_download.rb +71 -0
  795. data/.gem/ruby/2.3.0/gems/mini_portile2-2.3.0/test/test_proxy.rb +121 -0
  796. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/.autotest +22 -0
  797. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/.cross_rubies +6 -0
  798. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/.editorconfig +17 -0
  799. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/.gemtest +0 -0
  800. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/.travis.yml +63 -0
  801. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/CHANGELOG.md +1280 -0
  802. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/CONTRIBUTING.md +42 -0
  803. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/C_CODING_STYLE.rdoc +33 -0
  804. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/Gemfile +23 -0
  805. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/Gemfile-libxml-ruby +3 -0
  806. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/LICENSE-DEPENDENCIES.md +1612 -0
  807. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/LICENSE.md +31 -0
  808. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/Manifest.txt +362 -0
  809. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/README.md +173 -0
  810. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ROADMAP.md +111 -0
  811. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/Rakefile +357 -0
  812. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/STANDARD_RESPONSES.md +47 -0
  813. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/Y_U_NO_GEMSPEC.md +155 -0
  814. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/appveyor.yml +24 -0
  815. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/bin/nokogiri +118 -0
  816. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/build_all +44 -0
  817. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/dependencies.yml +69 -0
  818. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/depend +358 -0
  819. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/extconf.rb +675 -0
  820. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_document.c +170 -0
  821. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_document.h +10 -0
  822. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_element_description.c +279 -0
  823. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_element_description.h +10 -0
  824. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_entity_lookup.c +32 -0
  825. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_entity_lookup.h +8 -0
  826. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_sax_parser_context.c +116 -0
  827. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_sax_parser_context.h +11 -0
  828. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_sax_push_parser.c +87 -0
  829. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/html_sax_push_parser.h +9 -0
  830. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/nokogiri.c +141 -0
  831. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/nokogiri.h +121 -0
  832. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_attr.c +98 -0
  833. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_attr.h +9 -0
  834. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_attribute_decl.c +70 -0
  835. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_attribute_decl.h +9 -0
  836. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_cdata.c +60 -0
  837. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_cdata.h +9 -0
  838. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_comment.c +69 -0
  839. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_comment.h +9 -0
  840. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_document.c +606 -0
  841. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_document.h +23 -0
  842. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_document_fragment.c +48 -0
  843. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_document_fragment.h +10 -0
  844. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_dtd.c +202 -0
  845. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_dtd.h +10 -0
  846. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_element_content.c +123 -0
  847. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_element_content.h +10 -0
  848. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_element_decl.c +69 -0
  849. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_element_decl.h +9 -0
  850. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_encoding_handler.c +79 -0
  851. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_encoding_handler.h +8 -0
  852. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_entity_decl.c +110 -0
  853. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_entity_decl.h +10 -0
  854. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_entity_reference.c +52 -0
  855. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_entity_reference.h +9 -0
  856. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_io.c +60 -0
  857. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_io.h +11 -0
  858. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_libxml2_hacks.c +112 -0
  859. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_libxml2_hacks.h +12 -0
  860. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_namespace.c +117 -0
  861. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_namespace.h +13 -0
  862. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_node.c +1682 -0
  863. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_node.h +13 -0
  864. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_node_set.c +485 -0
  865. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_node_set.h +13 -0
  866. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_processing_instruction.c +56 -0
  867. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_processing_instruction.h +9 -0
  868. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_reader.c +668 -0
  869. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_reader.h +10 -0
  870. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_relax_ng.c +161 -0
  871. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_relax_ng.h +9 -0
  872. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_sax_parser.c +310 -0
  873. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_sax_parser.h +39 -0
  874. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_sax_parser_context.c +262 -0
  875. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_sax_parser_context.h +10 -0
  876. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_sax_push_parser.c +159 -0
  877. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_sax_push_parser.h +9 -0
  878. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_schema.c +205 -0
  879. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_schema.h +9 -0
  880. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_syntax_error.c +64 -0
  881. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_syntax_error.h +13 -0
  882. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_text.c +52 -0
  883. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_text.h +9 -0
  884. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_xpath_context.c +298 -0
  885. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xml_xpath_context.h +10 -0
  886. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xslt_stylesheet.c +270 -0
  887. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ext/nokogiri/xslt_stylesheet.h +14 -0
  888. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri.rb +144 -0
  889. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css.rb +27 -0
  890. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/node.rb +52 -0
  891. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/parser.rb +732 -0
  892. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/parser.y +261 -0
  893. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/parser_extras.rb +91 -0
  894. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/syntax_error.rb +7 -0
  895. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/tokenizer.rb +152 -0
  896. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/tokenizer.rex +55 -0
  897. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/css/xpath_visitor.rb +223 -0
  898. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/decorators/slop.rb +42 -0
  899. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html.rb +37 -0
  900. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/builder.rb +35 -0
  901. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/document.rb +335 -0
  902. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/document_fragment.rb +39 -0
  903. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/element_description.rb +23 -0
  904. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/element_description_defaults.rb +671 -0
  905. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/entity_lookup.rb +13 -0
  906. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/sax/parser.rb +62 -0
  907. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/sax/parser_context.rb +16 -0
  908. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/html/sax/push_parser.rb +36 -0
  909. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/syntax_error.rb +4 -0
  910. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/version.rb +109 -0
  911. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml.rb +74 -0
  912. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/attr.rb +14 -0
  913. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/attribute_decl.rb +18 -0
  914. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/builder.rb +443 -0
  915. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/cdata.rb +11 -0
  916. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/character_data.rb +7 -0
  917. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/document.rb +285 -0
  918. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/document_fragment.rb +149 -0
  919. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/dtd.rb +32 -0
  920. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/element_content.rb +36 -0
  921. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/element_decl.rb +13 -0
  922. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/entity_decl.rb +19 -0
  923. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/namespace.rb +13 -0
  924. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/node.rb +834 -0
  925. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/node/save_options.rb +61 -0
  926. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/node_set.rb +327 -0
  927. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/notation.rb +6 -0
  928. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/parse_options.rb +120 -0
  929. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/pp.rb +2 -0
  930. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/pp/character_data.rb +18 -0
  931. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/pp/node.rb +56 -0
  932. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/processing_instruction.rb +8 -0
  933. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/reader.rb +112 -0
  934. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/relax_ng.rb +32 -0
  935. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/sax.rb +4 -0
  936. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/sax/document.rb +171 -0
  937. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/sax/parser.rb +122 -0
  938. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/sax/parser_context.rb +16 -0
  939. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/sax/push_parser.rb +60 -0
  940. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/schema.rb +63 -0
  941. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/searchable.rb +230 -0
  942. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/syntax_error.rb +70 -0
  943. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/text.rb +9 -0
  944. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/xpath.rb +10 -0
  945. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
  946. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xml/xpath_context.rb +16 -0
  947. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xslt.rb +56 -0
  948. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/nokogiri/xslt/stylesheet.rb +25 -0
  949. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/lib/xsd/xmlparser/nokogiri.rb +102 -0
  950. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/patches/sort-patches-by-date +25 -0
  951. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ports/archives/libxml2-2.9.5.tar.gz +0 -0
  952. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/ports/archives/libxslt-1.1.30.tar.gz +0 -0
  953. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/suppressions/README.txt +1 -0
  954. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/suppressions/nokogiri_ruby-2.supp +10 -0
  955. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/tasks/test.rb +100 -0
  956. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/css/test_nthiness.rb +226 -0
  957. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/css/test_parser.rb +369 -0
  958. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/css/test_tokenizer.rb +215 -0
  959. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/css/test_xpath_visitor.rb +96 -0
  960. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/decorators/test_slop.rb +23 -0
  961. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/2ch.html +108 -0
  962. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/GH_1042.html +18 -0
  963. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/address_book.rlx +12 -0
  964. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/address_book.xml +10 -0
  965. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/atom.xml +344 -0
  966. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/bar/bar.xsd +4 -0
  967. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/bogus.xml +0 -0
  968. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/dont_hurt_em_why.xml +422 -0
  969. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/encoding.html +82 -0
  970. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/encoding.xhtml +84 -0
  971. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/exslt.xml +8 -0
  972. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/exslt.xslt +35 -0
  973. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/foo/foo.xsd +4 -0
  974. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/metacharset.html +10 -0
  975. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/namespace_pressure_test.xml +1684 -0
  976. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/noencoding.html +47 -0
  977. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/po.xml +32 -0
  978. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/po.xsd +66 -0
  979. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/saml/saml20assertion_schema.xsd +283 -0
  980. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/saml/saml20protocol_schema.xsd +302 -0
  981. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/saml/xenc_schema.xsd +146 -0
  982. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/saml/xmldsig_schema.xsd +318 -0
  983. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/shift_jis.html +10 -0
  984. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/shift_jis.xml +5 -0
  985. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/shift_jis_no_charset.html +9 -0
  986. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/slow-xpath.xml +25509 -0
  987. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/snuggles.xml +3 -0
  988. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/staff.dtd +10 -0
  989. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/staff.xml +59 -0
  990. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/staff.xslt +32 -0
  991. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/test_document_url/bar.xml +2 -0
  992. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/test_document_url/document.dtd +4 -0
  993. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/test_document_url/document.xml +6 -0
  994. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/tlm.html +851 -0
  995. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/to_be_xincluded.xml +2 -0
  996. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/valid_bar.xml +2 -0
  997. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/files/xinclude.xml +4 -0
  998. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/helper.rb +191 -0
  999. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/sax/test_parser.rb +168 -0
  1000. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/sax/test_parser_context.rb +46 -0
  1001. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/sax/test_push_parser.rb +87 -0
  1002. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_builder.rb +164 -0
  1003. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_document.rb +712 -0
  1004. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_document_encoding.rb +143 -0
  1005. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_document_fragment.rb +304 -0
  1006. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_element_description.rb +105 -0
  1007. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_named_characters.rb +14 -0
  1008. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_node.rb +212 -0
  1009. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/html/test_node_encoding.rb +85 -0
  1010. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/namespaces/test_additional_namespaces_in_builder_doc.rb +14 -0
  1011. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/namespaces/test_namespaces_aliased_default.rb +24 -0
  1012. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/namespaces/test_namespaces_in_builder_doc.rb +75 -0
  1013. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/namespaces/test_namespaces_in_cloned_doc.rb +31 -0
  1014. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/namespaces/test_namespaces_in_created_doc.rb +75 -0
  1015. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/namespaces/test_namespaces_in_parsed_doc.rb +80 -0
  1016. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/namespaces/test_namespaces_preservation.rb +31 -0
  1017. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/test_convert_xpath.rb +135 -0
  1018. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/test_css_cache.rb +45 -0
  1019. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/test_encoding_handler.rb +48 -0
  1020. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/test_memory_leak.rb +156 -0
  1021. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/test_nokogiri.rb +138 -0
  1022. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/test_soap4r_sax.rb +52 -0
  1023. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/test_xslt_transforms.rb +314 -0
  1024. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/node/test_save_options.rb +28 -0
  1025. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/node/test_subclass.rb +44 -0
  1026. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/sax/test_parser.rb +394 -0
  1027. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/sax/test_parser_context.rb +115 -0
  1028. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/sax/test_push_parser.rb +205 -0
  1029. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_attr.rb +74 -0
  1030. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_attribute_decl.rb +86 -0
  1031. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_builder.rb +341 -0
  1032. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_c14n.rb +180 -0
  1033. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_cdata.rb +54 -0
  1034. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_comment.rb +40 -0
  1035. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_document.rb +982 -0
  1036. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_document_encoding.rb +31 -0
  1037. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_document_fragment.rb +298 -0
  1038. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_dtd.rb +187 -0
  1039. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_dtd_encoding.rb +31 -0
  1040. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_element_content.rb +56 -0
  1041. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_element_decl.rb +73 -0
  1042. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_entity_decl.rb +122 -0
  1043. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_entity_reference.rb +251 -0
  1044. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_namespace.rb +96 -0
  1045. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_node.rb +1242 -0
  1046. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_node_attributes.rb +115 -0
  1047. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_node_encoding.rb +69 -0
  1048. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_node_inheritance.rb +32 -0
  1049. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_node_reparenting.rb +563 -0
  1050. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_node_set.rb +782 -0
  1051. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_parse_options.rb +64 -0
  1052. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_processing_instruction.rb +30 -0
  1053. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_reader.rb +608 -0
  1054. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_reader_encoding.rb +134 -0
  1055. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_relax_ng.rb +60 -0
  1056. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_schema.rb +142 -0
  1057. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_syntax_error.rb +36 -0
  1058. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_text.rb +60 -0
  1059. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_unparented_node.rb +483 -0
  1060. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_xinclude.rb +83 -0
  1061. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xml/test_xpath.rb +462 -0
  1062. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xslt/test_custom_functions.rb +133 -0
  1063. data/.gem/ruby/2.3.0/gems/nokogiri-1.8.1/test/xslt/test_exception_handling.rb +37 -0
  1064. data/.gem/ruby/2.3.0/gems/rack-2.0.3/COPYING +18 -0
  1065. data/.gem/ruby/2.3.0/gems/rack-2.0.3/HISTORY.md +505 -0
  1066. data/.gem/ruby/2.3.0/gems/rack-2.0.3/README.rdoc +304 -0
  1067. data/.gem/ruby/2.3.0/gems/rack-2.0.3/Rakefile +116 -0
  1068. data/.gem/ruby/2.3.0/gems/rack-2.0.3/SPEC +263 -0
  1069. data/.gem/ruby/2.3.0/gems/rack-2.0.3/bin/rackup +4 -0
  1070. data/.gem/ruby/2.3.0/gems/rack-2.0.3/contrib/rack.png +0 -0
  1071. data/.gem/ruby/2.3.0/gems/rack-2.0.3/contrib/rack.svg +150 -0
  1072. data/.gem/ruby/2.3.0/gems/rack-2.0.3/contrib/rack_logo.svg +164 -0
  1073. data/.gem/ruby/2.3.0/gems/rack-2.0.3/contrib/rdoc.css +412 -0
  1074. data/.gem/ruby/2.3.0/gems/rack-2.0.3/example/lobster.ru +4 -0
  1075. data/.gem/ruby/2.3.0/gems/rack-2.0.3/example/protectedlobster.rb +14 -0
  1076. data/.gem/ruby/2.3.0/gems/rack-2.0.3/example/protectedlobster.ru +8 -0
  1077. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack.rb +147 -0
  1078. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/auth/abstract/handler.rb +37 -0
  1079. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/auth/abstract/request.rb +47 -0
  1080. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/auth/basic.rb +58 -0
  1081. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/auth/digest/md5.rb +129 -0
  1082. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/auth/digest/nonce.rb +51 -0
  1083. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/auth/digest/params.rb +52 -0
  1084. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/auth/digest/request.rb +41 -0
  1085. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/body_proxy.rb +44 -0
  1086. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/builder.rb +164 -0
  1087. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/cascade.rb +52 -0
  1088. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/chunked.rb +69 -0
  1089. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/common_logger.rb +72 -0
  1090. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/conditional_get.rb +79 -0
  1091. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/config.rb +20 -0
  1092. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/content_length.rb +37 -0
  1093. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/content_type.rb +29 -0
  1094. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/deflater.rb +119 -0
  1095. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/directory.rb +179 -0
  1096. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/etag.rb +74 -0
  1097. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/events.rb +154 -0
  1098. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/file.rb +176 -0
  1099. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/handler.rb +99 -0
  1100. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/handler/cgi.rb +60 -0
  1101. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/handler/fastcgi.rb +100 -0
  1102. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/handler/lsws.rb +61 -0
  1103. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/handler/scgi.rb +70 -0
  1104. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/handler/thin.rb +36 -0
  1105. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/handler/webrick.rb +120 -0
  1106. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/head.rb +25 -0
  1107. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/lint.rb +760 -0
  1108. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/lobster.rb +70 -0
  1109. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/lock.rb +22 -0
  1110. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/logger.rb +18 -0
  1111. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/media_type.rb +38 -0
  1112. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/method_override.rb +46 -0
  1113. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/mime.rb +677 -0
  1114. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/mock.rb +196 -0
  1115. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/multipart.rb +63 -0
  1116. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/multipart/generator.rb +93 -0
  1117. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/multipart/parser.rb +367 -0
  1118. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/multipart/uploaded_file.rb +33 -0
  1119. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/null_logger.rb +37 -0
  1120. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/query_parser.rb +192 -0
  1121. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/recursive.rb +62 -0
  1122. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/reloader.rb +110 -0
  1123. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/request.rb +487 -0
  1124. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/response.rb +235 -0
  1125. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/rewindable_input.rb +93 -0
  1126. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/runtime.rb +32 -0
  1127. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/sendfile.rb +158 -0
  1128. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/server.rb +395 -0
  1129. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/session/abstract/id.rb +445 -0
  1130. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/session/cookie.rb +195 -0
  1131. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/session/memcache.rb +93 -0
  1132. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/session/pool.rb +76 -0
  1133. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/show_exceptions.rb +386 -0
  1134. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/show_status.rb +113 -0
  1135. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/static.rb +175 -0
  1136. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/tempfile_reaper.rb +22 -0
  1137. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/urlmap.rb +91 -0
  1138. data/.gem/ruby/2.3.0/gems/rack-2.0.3/lib/rack/utils.rb +620 -0
  1139. data/.gem/ruby/2.3.0/gems/rack-2.0.3/rack.gemspec +35 -0
  1140. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/builder/an_underscore_app.rb +5 -0
  1141. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/builder/anything.rb +5 -0
  1142. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/builder/comment.ru +4 -0
  1143. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/builder/end.ru +5 -0
  1144. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/builder/line.ru +1 -0
  1145. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/builder/options.ru +2 -0
  1146. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/assets/folder/test.js +1 -0
  1147. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/assets/fonts/font.eot +1 -0
  1148. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/assets/images/image.png +1 -0
  1149. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/assets/index.html +1 -0
  1150. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/assets/javascripts/app.js +1 -0
  1151. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/assets/stylesheets/app.css +1 -0
  1152. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/lighttpd.conf +26 -0
  1153. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/rackup_stub.rb +6 -0
  1154. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/sample_rackup.ru +5 -0
  1155. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/test +9 -0
  1156. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/test+directory/test+file +1 -0
  1157. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/test.fcgi +9 -0
  1158. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/test.gz +0 -0
  1159. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/cgi/test.ru +5 -0
  1160. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/gemloader.rb +10 -0
  1161. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/helper.rb +34 -0
  1162. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/bad_robots +259 -0
  1163. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/binary +0 -0
  1164. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/content_type_and_no_filename +6 -0
  1165. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/empty +10 -0
  1166. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/fail_16384_nofile +814 -0
  1167. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/file1.txt +1 -0
  1168. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_and_modification_param +7 -0
  1169. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_and_no_name +6 -0
  1170. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_encoded_words +7 -0
  1171. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_escaped_quotes +6 -0
  1172. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_escaped_quotes_and_modification_param +7 -0
  1173. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_null_byte +7 -0
  1174. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_percent_escaped_quotes +6 -0
  1175. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_single_quote +7 -0
  1176. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_unescaped_percentages +6 -0
  1177. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_unescaped_percentages2 +6 -0
  1178. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_unescaped_percentages3 +6 -0
  1179. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/filename_with_unescaped_quotes +6 -0
  1180. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/ie +6 -0
  1181. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/invalid_character +6 -0
  1182. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/mixed_files +21 -0
  1183. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/nested +10 -0
  1184. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/none +9 -0
  1185. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/quoted +15 -0
  1186. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/rack-logo.png +0 -0
  1187. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/semicolon +6 -0
  1188. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/text +15 -0
  1189. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/three_files_three_fields +31 -0
  1190. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/unity3d_wwwform +11 -0
  1191. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/multipart/webkit +32 -0
  1192. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/rackup/config.ru +31 -0
  1193. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/registering_handler/rack/handler/registering_myself.rb +8 -0
  1194. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_auth_basic.rb +89 -0
  1195. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_auth_digest.rb +260 -0
  1196. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_body_proxy.rb +85 -0
  1197. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_builder.rb +233 -0
  1198. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_cascade.rb +63 -0
  1199. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_cgi.rb +84 -0
  1200. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_chunked.rb +103 -0
  1201. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_common_logger.rb +95 -0
  1202. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_conditional_get.rb +103 -0
  1203. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_config.rb +23 -0
  1204. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_content_length.rb +86 -0
  1205. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_content_type.rb +46 -0
  1206. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_deflater.rb +375 -0
  1207. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_directory.rb +148 -0
  1208. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_etag.rb +108 -0
  1209. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_events.rb +133 -0
  1210. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_fastcgi.rb +85 -0
  1211. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_file.rb +264 -0
  1212. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_handler.rb +57 -0
  1213. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_head.rb +46 -0
  1214. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_lint.rb +515 -0
  1215. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_lobster.rb +59 -0
  1216. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_lock.rb +194 -0
  1217. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_logger.rb +24 -0
  1218. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_media_type.rb +42 -0
  1219. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_method_override.rb +96 -0
  1220. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_mime.rb +51 -0
  1221. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_mock.rb +359 -0
  1222. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_multipart.rb +722 -0
  1223. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_null_logger.rb +21 -0
  1224. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_recursive.rb +75 -0
  1225. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_request.rb +1393 -0
  1226. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_response.rb +510 -0
  1227. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_rewindable_input.rb +128 -0
  1228. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_runtime.rb +50 -0
  1229. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_sendfile.rb +125 -0
  1230. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_server.rb +193 -0
  1231. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_session_abstract_id.rb +31 -0
  1232. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_session_abstract_session_hash.rb +45 -0
  1233. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_session_cookie.rb +442 -0
  1234. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_session_memcache.rb +320 -0
  1235. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_session_pool.rb +210 -0
  1236. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_show_exceptions.rb +80 -0
  1237. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_show_status.rb +104 -0
  1238. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_static.rb +184 -0
  1239. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_tempfile_reaper.rb +64 -0
  1240. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_thin.rb +96 -0
  1241. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_urlmap.rb +237 -0
  1242. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_utils.rb +742 -0
  1243. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_version.rb +11 -0
  1244. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/spec_webrick.rb +209 -0
  1245. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/static/another/index.html +1 -0
  1246. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/static/foo.html +1 -0
  1247. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/static/index.html +1 -0
  1248. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/testrequest.rb +78 -0
  1249. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/unregistered_handler/rack/handler/unregistered.rb +7 -0
  1250. data/.gem/ruby/2.3.0/gems/rack-2.0.3/test/unregistered_handler/rack/handler/unregistered_long_one.rb +7 -0
  1251. data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/History.md +191 -0
  1252. data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/MIT-LICENSE.txt +19 -0
  1253. data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/README.md +110 -0
  1254. data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/mock_session.rb +66 -0
  1255. data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/test.rb +323 -0
  1256. data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/test/cookie_jar.rb +198 -0
  1257. data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/test/methods.rb +83 -0
  1258. data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/test/mock_digest_request.rb +29 -0
  1259. data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/test/uploaded_file.rb +64 -0
  1260. data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/test/utils.rb +156 -0
  1261. data/.gem/ruby/2.3.0/gems/rack-test-0.7.0/lib/rack/test/version.rb +5 -0
  1262. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/.gitignore +17 -0
  1263. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/.rubocop.yml +14 -0
  1264. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/.travis.yml +22 -0
  1265. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/Changelog.md +87 -0
  1266. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/Gemfile +23 -0
  1267. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/Guardfile +9 -0
  1268. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/LICENSE +20 -0
  1269. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/README.markdown +217 -0
  1270. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/Rakefile +6 -0
  1271. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/ext/Rakefile +1 -0
  1272. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/ext/mkrf_conf.rb +22 -0
  1273. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow.rb +24 -0
  1274. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/color.rb +144 -0
  1275. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/ext/string.rb +56 -0
  1276. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/global.rb +21 -0
  1277. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/legacy.rb +15 -0
  1278. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/null_presenter.rb +41 -0
  1279. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/presenter.rb +135 -0
  1280. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/string_utils.rb +20 -0
  1281. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/version.rb +3 -0
  1282. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/wrapper.rb +22 -0
  1283. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/lib/rainbow/x11_color_names.rb +152 -0
  1284. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/rainbow.gemspec +26 -0
  1285. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/integration/instance_spec.rb +35 -0
  1286. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/integration/rainbow_spec.rb +160 -0
  1287. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/integration/string_spec.rb +84 -0
  1288. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/spec_helper.rb +6 -0
  1289. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/support/presenter_shared_examples.rb +9 -0
  1290. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/color_spec.rb +301 -0
  1291. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/namespace_spec.rb +31 -0
  1292. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/null_presenter_spec.rb +111 -0
  1293. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/presenter_spec.rb +201 -0
  1294. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/string_utils_spec.rb +62 -0
  1295. data/.gem/ruby/2.3.0/gems/rainbow-2.2.2/spec/unit/wrapper_spec.rb +34 -0
  1296. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/.rspec +2 -0
  1297. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/.travis.yml +46 -0
  1298. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/.yardopts +13 -0
  1299. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/Gemfile +20 -0
  1300. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/LICENSE +144 -0
  1301. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/README.md +60 -0
  1302. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/Rakefile +62 -0
  1303. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/examples/bench_cache.rb +35 -0
  1304. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
  1305. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
  1306. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
  1307. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
  1308. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
  1309. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
  1310. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
  1311. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
  1312. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
  1313. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java +15 -0
  1314. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe.rb +65 -0
  1315. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb +908 -0
  1316. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb +161 -0
  1317. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb +60 -0
  1318. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb +135 -0
  1319. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb +77 -0
  1320. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb +43 -0
  1321. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb +16 -0
  1322. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb +62 -0
  1323. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb +44 -0
  1324. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb +106 -0
  1325. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
  1326. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb +222 -0
  1327. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb +64 -0
  1328. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb +46 -0
  1329. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb +41 -0
  1330. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/lib/thread_safe/version.rb +21 -0
  1331. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/.gitignore +0 -0
  1332. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/spec_helper.rb +31 -0
  1333. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/src/thread_safe/SecurityManager.java +21 -0
  1334. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/support/.gitignore +0 -0
  1335. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/support/threads.rb +1 -0
  1336. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/support/threadsafe_test.rb +75 -0
  1337. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/.gitignore +0 -0
  1338. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/array_spec.rb +18 -0
  1339. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_loops_spec.rb +507 -0
  1340. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb +943 -0
  1341. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/hash_spec.rb +17 -0
  1342. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/no_unsafe_spec.rb +27 -0
  1343. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/spec/thread_safe/synchronized_delegator_spec.rb +85 -0
  1344. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/tasks/update_doc.rake +45 -0
  1345. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/thread_safe.gemspec +26 -0
  1346. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/yard-template/default/fulldoc/html/css/common.css +125 -0
  1347. data/.gem/ruby/2.3.0/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb +16 -0
  1348. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/.yardopts +6 -0
  1349. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/CHANGES.md +770 -0
  1350. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/LICENSE +19 -0
  1351. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/README.md +151 -0
  1352. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/Rakefile +107 -0
  1353. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo.rb +40 -0
  1354. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/country.rb +196 -0
  1355. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/country_index_definition.rb +31 -0
  1356. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/country_info.rb +42 -0
  1357. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/country_timezone.rb +123 -0
  1358. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/data_source.rb +190 -0
  1359. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/data_timezone.rb +58 -0
  1360. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/data_timezone_info.rb +55 -0
  1361. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/info_timezone.rb +30 -0
  1362. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/linked_timezone.rb +63 -0
  1363. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/linked_timezone_info.rb +26 -0
  1364. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/offset_rationals.rb +77 -0
  1365. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/ruby_core_support.rb +146 -0
  1366. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/ruby_country_info.rb +70 -0
  1367. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/ruby_data_source.rb +136 -0
  1368. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/time_or_datetime.rb +333 -0
  1369. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone.rb +669 -0
  1370. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_definition.rb +36 -0
  1371. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_index_definition.rb +54 -0
  1372. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_info.rb +30 -0
  1373. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_offset.rb +78 -0
  1374. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_period.rb +221 -0
  1375. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_proxy.rb +99 -0
  1376. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_transition.rb +120 -0
  1377. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/timezone_transition_definition.rb +101 -0
  1378. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/transition_data_timezone_info.rb +274 -0
  1379. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/zoneinfo_country_info.rb +35 -0
  1380. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/zoneinfo_data_source.rb +487 -0
  1381. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/lib/tzinfo/zoneinfo_timezone_info.rb +294 -0
  1382. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_country.rb +236 -0
  1383. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_country_index_definition.rb +69 -0
  1384. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_country_info.rb +16 -0
  1385. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_country_timezone.rb +161 -0
  1386. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_data_source.rb +218 -0
  1387. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_data_timezone.rb +99 -0
  1388. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_data_timezone_info.rb +18 -0
  1389. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_info_timezone.rb +34 -0
  1390. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_linked_timezone.rb +155 -0
  1391. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_linked_timezone_info.rb +23 -0
  1392. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_offset_rationals.rb +23 -0
  1393. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_ruby_core_support.rb +168 -0
  1394. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_ruby_country_info.rb +80 -0
  1395. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_ruby_data_source.rb +143 -0
  1396. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_time_or_datetime.rb +639 -0
  1397. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone.rb +1350 -0
  1398. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_definition.rb +113 -0
  1399. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_index_definition.rb +73 -0
  1400. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_info.rb +11 -0
  1401. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_london.rb +143 -0
  1402. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_melbourne.rb +142 -0
  1403. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_new_york.rb +142 -0
  1404. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_offset.rb +126 -0
  1405. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_period.rb +548 -0
  1406. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_proxy.rb +127 -0
  1407. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_transition.rb +352 -0
  1408. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_transition_definition.rb +284 -0
  1409. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_timezone_utc.rb +27 -0
  1410. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_transition_data_timezone_info.rb +423 -0
  1411. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_zoneinfo_country_info.rb +64 -0
  1412. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_zoneinfo_data_source.rb +1193 -0
  1413. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tc_zoneinfo_timezone_info.rb +1128 -0
  1414. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/test_utils.rb +134 -0
  1415. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/ts_all.rb +7 -0
  1416. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/ts_all_ruby.rb +5 -0
  1417. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/ts_all_zoneinfo.rb +7 -0
  1418. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data.rb +8 -0
  1419. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
  1420. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +315 -0
  1421. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +218 -0
  1422. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
  1423. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
  1424. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
  1425. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
  1426. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +261 -0
  1427. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +186 -0
  1428. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +321 -0
  1429. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +265 -0
  1430. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +220 -0
  1431. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
  1432. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/indexes/countries.rb +927 -0
  1433. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +596 -0
  1434. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/tzinfo-data/tzinfo/data/version.rb +14 -0
  1435. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
  1436. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/America/New_York +0 -0
  1437. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Australia/Melbourne +0 -0
  1438. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/EST +0 -0
  1439. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Etc/UTC +0 -0
  1440. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Europe/Amsterdam +0 -0
  1441. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Europe/Andorra +0 -0
  1442. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Europe/London +0 -0
  1443. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Europe/Paris +0 -0
  1444. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Europe/Prague +0 -0
  1445. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/Factory +0 -0
  1446. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/iso3166.tab +275 -0
  1447. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/posix/Europe/London +0 -0
  1448. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/posixrules +0 -0
  1449. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/right/Europe/London +0 -0
  1450. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/zone.tab +439 -0
  1451. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/test/zoneinfo/zone1970.tab +369 -0
  1452. data/.gem/ruby/2.3.0/gems/tzinfo-1.2.3/tzinfo.gemspec +21 -0
  1453. data/.gem/ruby/2.3.0/specifications/activesupport-5.1.4.gemspec +43 -0
  1454. data/.gem/ruby/2.3.0/specifications/bundler-1.16.0.pre.3.gemspec +52 -0
  1455. data/.gem/ruby/2.3.0/specifications/concurrent-ruby-1.0.5.gemspec +23 -0
  1456. data/.gem/ruby/2.3.0/specifications/i18n-0.8.6.gemspec +22 -0
  1457. data/.gem/ruby/2.3.0/specifications/mini_portile2-2.3.0.gemspec +48 -0
  1458. data/.gem/ruby/2.3.0/specifications/rack-2.0.3.gemspec +45 -0
  1459. data/.gem/ruby/2.3.0/specifications/rack-test-0.7.0.gemspec +53 -0
  1460. data/.gem/ruby/2.3.0/specifications/thread_safe-0.3.6.gemspec +38 -0
  1461. data/.gem/ruby/2.3.0/specifications/tzinfo-1.2.3.gemspec +37 -0
  1462. data/.gem/specs/api.rubygems.org%443/latest_specs.4.8 +0 -0
  1463. data/.gem/specs/api.rubygems.org%443/prerelease_specs.4.8 +0 -0
  1464. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/activesupport-5.1.4.gemspec +0 -0
  1465. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/bundle-0.0.1.gemspec +0 -0
  1466. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/bundler-1.15.4.gemspec +0 -0
  1467. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/bundler-1.16.0.pre.3.gemspec +0 -0
  1468. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/coderay-1.1.2.gemspec +0 -0
  1469. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/concurrent-ruby-1.0.5.gemspec +0 -0
  1470. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/ffi-1.9.18.gemspec +0 -0
  1471. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/i18n-0.8.6.gemspec +0 -0
  1472. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/mini_portile2-2.3.0.gemspec +0 -0
  1473. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/nokogiri-1.8.1.gemspec +0 -0
  1474. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/pry-0.11.1.gemspec +0 -0
  1475. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rack-2.0.3.gemspec +0 -0
  1476. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rack-test-0.7.0.gemspec +0 -0
  1477. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rails-5.1.4.gemspec +0 -0
  1478. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rainbow-2.2.2.gemspec +0 -0
  1479. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rdoc-5.1.0.gemspec +0 -0
  1480. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rspec-3.7.0.gemspec +0 -0
  1481. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rspec-support-3.7.0.gemspec +0 -0
  1482. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/rubocop-0.50.0.gemspec +0 -0
  1483. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/thread_safe-0.3.6.gemspec +0 -0
  1484. data/.gem/specs/api.rubygems.org%443/quick/Marshal.4.8/tzinfo-1.2.3.gemspec +0 -0
  1485. data/.gem/specs/api.rubygems.org%443/specs.4.8 +0 -0
  1486. data/.gitignore +11 -0
  1487. data/.rspec +3 -0
  1488. data/.travis.yml +5 -0
  1489. data/Gemfile +6 -0
  1490. data/Gemfile.lock +111 -0
  1491. data/Guardfile +82 -0
  1492. data/README.md +33 -0
  1493. data/Rakefile +6 -0
  1494. data/bin/console +14 -0
  1495. data/bin/setup +8 -0
  1496. data/docs/Alimento.html +344 -0
  1497. data/docs/Bebidas.html +103 -0
  1498. data/docs/Carnes.html +103 -0
  1499. data/docs/Frutas.html +103 -0
  1500. data/docs/Grasos.html +103 -0
  1501. data/docs/Hiperglucemicos.html +103 -0
  1502. data/docs/Lacteos.html +103 -0
  1503. data/docs/List.html +377 -0
  1504. data/docs/Object.html +117 -0
  1505. data/docs/Pescados.html +103 -0
  1506. data/docs/Pract6.html +110 -0
  1507. data/docs/Verduras.html +103 -0
  1508. data/docs/created.rid +4 -0
  1509. data/docs/css/fonts.css +167 -0
  1510. data/docs/css/rdoc.css +590 -0
  1511. data/docs/fonts/Lato-Light.ttf +0 -0
  1512. data/docs/fonts/Lato-LightItalic.ttf +0 -0
  1513. data/docs/fonts/Lato-Regular.ttf +0 -0
  1514. data/docs/fonts/Lato-RegularItalic.ttf +0 -0
  1515. data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
  1516. data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
  1517. data/docs/images/add.png +0 -0
  1518. data/docs/images/arrow_up.png +0 -0
  1519. data/docs/images/brick.png +0 -0
  1520. data/docs/images/brick_link.png +0 -0
  1521. data/docs/images/bug.png +0 -0
  1522. data/docs/images/bullet_black.png +0 -0
  1523. data/docs/images/bullet_toggle_minus.png +0 -0
  1524. data/docs/images/bullet_toggle_plus.png +0 -0
  1525. data/docs/images/date.png +0 -0
  1526. data/docs/images/delete.png +0 -0
  1527. data/docs/images/find.png +0 -0
  1528. data/docs/images/loadingAnimation.gif +0 -0
  1529. data/docs/images/macFFBgHack.png +0 -0
  1530. data/docs/images/package.png +0 -0
  1531. data/docs/images/page_green.png +0 -0
  1532. data/docs/images/page_white_text.png +0 -0
  1533. data/docs/images/page_white_width.png +0 -0
  1534. data/docs/images/plugin.png +0 -0
  1535. data/docs/images/ruby.png +0 -0
  1536. data/docs/images/tag_blue.png +0 -0
  1537. data/docs/images/tag_green.png +0 -0
  1538. data/docs/images/transparent.png +0 -0
  1539. data/docs/images/wrench.png +0 -0
  1540. data/docs/images/wrench_orange.png +0 -0
  1541. data/docs/images/zoom.png +0 -0
  1542. data/docs/index.html +103 -0
  1543. data/docs/js/darkfish.js +161 -0
  1544. data/docs/js/jquery.js +4 -0
  1545. data/docs/js/navigation.js +142 -0
  1546. data/docs/js/navigation.js.gz +0 -0
  1547. data/docs/js/search.js +109 -0
  1548. data/docs/js/search_index.js +1 -0
  1549. data/docs/js/search_index.js.gz +0 -0
  1550. data/docs/js/searcher.js +229 -0
  1551. data/docs/js/searcher.js.gz +0 -0
  1552. data/docs/table_of_contents.html +131 -0
  1553. data/lib/pract6.rb +7 -0
  1554. data/lib/pract6/Alimento.rb +185 -0
  1555. data/lib/pract6/List.rb +143 -0
  1556. data/lib/pract6/version.rb +3 -0
  1557. data/pract6.gemspec +39 -0
  1558. metadata +1698 -0
@@ -0,0 +1,21 @@
1
+ require 'minitest/autorun'
2
+ require 'rack/lint'
3
+ require 'rack/mock'
4
+ require 'rack/null_logger'
5
+
6
+ describe Rack::NullLogger do
7
+ it "act as a noop logger" do
8
+ app = lambda { |env|
9
+ env['rack.logger'].warn "b00m"
10
+ [200, {'Content-Type' => 'text/plain'}, ["Hello, World!"]]
11
+ }
12
+
13
+ logger = Rack::Lint.new(Rack::NullLogger.new(app))
14
+
15
+ res = logger.call(Rack::MockRequest.env_for)
16
+ res[0..1].must_equal [
17
+ 200, {'Content-Type' => 'text/plain'}
18
+ ]
19
+ res[2].to_enum.to_a.must_equal ["Hello, World!"]
20
+ end
21
+ end
@@ -0,0 +1,75 @@
1
+ require 'minitest/autorun'
2
+ require 'rack/lint'
3
+ require 'rack/recursive'
4
+ require 'rack/mock'
5
+
6
+ describe Rack::Recursive do
7
+ before do
8
+ @app1 = lambda { |env|
9
+ res = Rack::Response.new
10
+ res["X-Path-Info"] = env["PATH_INFO"]
11
+ res["X-Query-String"] = env["QUERY_STRING"]
12
+ res.finish do |inner_res|
13
+ inner_res.write "App1"
14
+ end
15
+ }
16
+
17
+ @app2 = lambda { |env|
18
+ Rack::Response.new.finish do |res|
19
+ res.write "App2"
20
+ _, _, body = env['rack.recursive.include'].call(env, "/app1")
21
+ body.each { |b|
22
+ res.write b
23
+ }
24
+ end
25
+ }
26
+
27
+ @app3 = lambda { |env|
28
+ raise Rack::ForwardRequest.new("/app1")
29
+ }
30
+
31
+ @app4 = lambda { |env|
32
+ raise Rack::ForwardRequest.new("http://example.org/app1/quux?meh")
33
+ }
34
+ end
35
+
36
+ def recursive(map)
37
+ Rack::Lint.new Rack::Recursive.new(Rack::URLMap.new(map))
38
+ end
39
+
40
+ it "allow for subrequests" do
41
+ res = Rack::MockRequest.new(recursive("/app1" => @app1,
42
+ "/app2" => @app2)).
43
+ get("/app2")
44
+
45
+ res.must_be :ok?
46
+ res.body.must_equal "App2App1"
47
+ end
48
+
49
+ it "raise error on requests not below the app" do
50
+ app = Rack::URLMap.new("/app1" => @app1,
51
+ "/app" => recursive("/1" => @app1,
52
+ "/2" => @app2))
53
+
54
+ lambda {
55
+ Rack::MockRequest.new(app).get("/app/2")
56
+ }.must_raise(ArgumentError).
57
+ message.must_match(/can only include below/)
58
+ end
59
+
60
+ it "support forwarding" do
61
+ app = recursive("/app1" => @app1,
62
+ "/app3" => @app3,
63
+ "/app4" => @app4)
64
+
65
+ res = Rack::MockRequest.new(app).get("/app3")
66
+ res.must_be :ok?
67
+ res.body.must_equal "App1"
68
+
69
+ res = Rack::MockRequest.new(app).get("/app4")
70
+ res.must_be :ok?
71
+ res.body.must_equal "App1"
72
+ res["X-Path-Info"].must_equal "/quux"
73
+ res["X-Query-String"].must_equal "meh"
74
+ end
75
+ end
@@ -0,0 +1,1393 @@
1
+ require 'minitest/autorun'
2
+ require 'stringio'
3
+ require 'cgi'
4
+ require 'rack/request'
5
+ require 'rack/mock'
6
+ require 'rack/multipart'
7
+ require 'securerandom'
8
+
9
+ class RackRequestTest < Minitest::Spec
10
+ it "copies the env when duping" do
11
+ req = make_request(Rack::MockRequest.env_for("http://example.com:8080/"))
12
+ refute_same req.env, req.dup.env
13
+ end
14
+
15
+ it 'can check if something has been set' do
16
+ req = make_request(Rack::MockRequest.env_for("http://example.com:8080/"))
17
+ refute req.has_header?("FOO")
18
+ end
19
+
20
+ it "can get a key from the env" do
21
+ req = make_request(Rack::MockRequest.env_for("http://example.com:8080/"))
22
+ assert_equal "example.com", req.get_header("SERVER_NAME")
23
+ end
24
+
25
+ it 'can calculate the authority' do
26
+ req = make_request(Rack::MockRequest.env_for("http://example.com:8080/"))
27
+ assert_equal "example.com:8080", req.authority
28
+ end
29
+
30
+ it 'can calculate the authority without a port' do
31
+ req = make_request(Rack::MockRequest.env_for("http://example.com/"))
32
+ assert_equal "example.com:80", req.authority
33
+ end
34
+
35
+ it 'can calculate the authority without a port on ssl' do
36
+ req = make_request(Rack::MockRequest.env_for("https://example.com/"))
37
+ assert_equal "example.com:443", req.authority
38
+ end
39
+
40
+ it 'yields to the block if no value has been set' do
41
+ req = make_request(Rack::MockRequest.env_for("http://example.com:8080/"))
42
+ yielded = false
43
+ req.fetch_header("FOO") do
44
+ yielded = true
45
+ req.set_header "FOO", 'bar'
46
+ end
47
+
48
+ assert yielded
49
+ assert_equal "bar", req.get_header("FOO")
50
+ end
51
+
52
+ it 'can iterate over values' do
53
+ req = make_request(Rack::MockRequest.env_for("http://example.com:8080/"))
54
+ req.set_header 'foo', 'bar'
55
+ hash = {}
56
+ req.each_header do |k,v|
57
+ hash[k] = v
58
+ end
59
+ assert_equal 'bar', hash['foo']
60
+ end
61
+
62
+ it 'can set values in the env' do
63
+ req = make_request(Rack::MockRequest.env_for("http://example.com:8080/"))
64
+ req.set_header("FOO", "BAR")
65
+ assert_equal "BAR", req.get_header("FOO")
66
+ end
67
+
68
+ it 'can add to multivalued headers in the env' do
69
+ req = make_request(Rack::MockRequest.env_for('http://example.com:8080/'))
70
+
71
+ assert_equal '1', req.add_header('FOO', '1')
72
+ assert_equal '1', req.get_header('FOO')
73
+
74
+ assert_equal '1,2', req.add_header('FOO', '2')
75
+ assert_equal '1,2', req.get_header('FOO')
76
+
77
+ assert_equal '1,2', req.add_header('FOO', nil)
78
+ assert_equal '1,2', req.get_header('FOO')
79
+ end
80
+
81
+ it 'can delete env values' do
82
+ req = make_request(Rack::MockRequest.env_for("http://example.com:8080/"))
83
+ req.set_header 'foo', 'bar'
84
+ assert req.has_header? 'foo'
85
+ req.delete_header 'foo'
86
+ refute req.has_header? 'foo'
87
+ end
88
+
89
+ it "wrap the rack variables" do
90
+ req = make_request(Rack::MockRequest.env_for("http://example.com:8080/"))
91
+
92
+ req.body.must_respond_to :gets
93
+ req.scheme.must_equal "http"
94
+ req.request_method.must_equal "GET"
95
+
96
+ req.must_be :get?
97
+ req.wont_be :post?
98
+ req.wont_be :put?
99
+ req.wont_be :delete?
100
+ req.wont_be :head?
101
+ req.wont_be :patch?
102
+
103
+ req.script_name.must_equal ""
104
+ req.path_info.must_equal "/"
105
+ req.query_string.must_equal ""
106
+
107
+ req.host.must_equal "example.com"
108
+ req.port.must_equal 8080
109
+
110
+ req.content_length.must_equal "0"
111
+ req.content_type.must_be_nil
112
+ end
113
+
114
+ it "figure out the correct host" do
115
+ req = make_request \
116
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "www2.example.org")
117
+ req.host.must_equal "www2.example.org"
118
+
119
+ req = make_request \
120
+ Rack::MockRequest.env_for("/", "SERVER_NAME" => "example.org", "SERVER_PORT" => "9292")
121
+ req.host.must_equal "example.org"
122
+
123
+ req = make_request \
124
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org:9292")
125
+ req.host.must_equal "example.org"
126
+
127
+ env = Rack::MockRequest.env_for("/", "SERVER_ADDR" => "192.168.1.1", "SERVER_PORT" => "9292")
128
+ env.delete("SERVER_NAME")
129
+ req = make_request(env)
130
+ req.host.must_equal "192.168.1.1"
131
+
132
+ env = Rack::MockRequest.env_for("/")
133
+ env.delete("SERVER_NAME")
134
+ req = make_request(env)
135
+ req.host.must_equal ""
136
+ end
137
+
138
+ it "figure out the correct port" do
139
+ req = make_request \
140
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "www2.example.org")
141
+ req.port.must_equal 80
142
+
143
+ req = make_request \
144
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "www2.example.org:81")
145
+ req.port.must_equal 81
146
+
147
+ req = make_request \
148
+ Rack::MockRequest.env_for("/", "SERVER_NAME" => "example.org", "SERVER_PORT" => "9292")
149
+ req.port.must_equal 9292
150
+
151
+ req = make_request \
152
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org:9292")
153
+ req.port.must_equal 9292
154
+
155
+ req = make_request \
156
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org")
157
+ req.port.must_equal 80
158
+
159
+ req = make_request \
160
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org", "HTTP_X_FORWARDED_SSL" => "on")
161
+ req.port.must_equal 443
162
+
163
+ req = make_request \
164
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org", "HTTP_X_FORWARDED_PROTO" => "https")
165
+ req.port.must_equal 443
166
+
167
+ req = make_request \
168
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org", "HTTP_X_FORWARDED_PORT" => "9393")
169
+ req.port.must_equal 9393
170
+
171
+ req = make_request \
172
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org:9393", "SERVER_PORT" => "80")
173
+ req.port.must_equal 9393
174
+
175
+ req = make_request \
176
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org", "SERVER_PORT" => "9393")
177
+ req.port.must_equal 80
178
+
179
+ req = make_request \
180
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost", "HTTP_X_FORWARDED_PROTO" => "https", "SERVER_PORT" => "80")
181
+ req.port.must_equal 443
182
+
183
+ req = make_request \
184
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost", "HTTP_X_FORWARDED_PROTO" => "https,https", "SERVER_PORT" => "80")
185
+ req.port.must_equal 443
186
+ end
187
+
188
+ it "figure out the correct host with port" do
189
+ req = make_request \
190
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "www2.example.org")
191
+ req.host_with_port.must_equal "www2.example.org"
192
+
193
+ req = make_request \
194
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81")
195
+ req.host_with_port.must_equal "localhost:81"
196
+
197
+ req = make_request \
198
+ Rack::MockRequest.env_for("/", "SERVER_NAME" => "example.org", "SERVER_PORT" => "9292")
199
+ req.host_with_port.must_equal "example.org:9292"
200
+
201
+ req = make_request \
202
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org:9292")
203
+ req.host_with_port.must_equal "example.org:9292"
204
+
205
+ req = make_request \
206
+ Rack::MockRequest.env_for("/", "HTTP_HOST" => "localhost:81", "HTTP_X_FORWARDED_HOST" => "example.org", "SERVER_PORT" => "9393")
207
+ req.host_with_port.must_equal "example.org"
208
+ end
209
+
210
+ it "parse the query string" do
211
+ req = make_request(Rack::MockRequest.env_for("/?foo=bar&quux=bla"))
212
+ req.query_string.must_equal "foo=bar&quux=bla"
213
+ req.GET.must_equal "foo" => "bar", "quux" => "bla"
214
+ req.POST.must_be :empty?
215
+ req.params.must_equal "foo" => "bar", "quux" => "bla"
216
+ end
217
+
218
+ it "not truncate query strings containing semi-colons #543 only in POST" do
219
+ mr = Rack::MockRequest.env_for("/",
220
+ "REQUEST_METHOD" => 'POST',
221
+ :input => "foo=bar&quux=b;la")
222
+ req = make_request mr
223
+ req.query_string.must_equal ""
224
+ req.GET.must_be :empty?
225
+ req.POST.must_equal "foo" => "bar", "quux" => "b;la"
226
+ req.params.must_equal req.GET.merge(req.POST)
227
+ end
228
+
229
+ it "should use the query_parser for query parsing" do
230
+ c = Class.new(Rack::QueryParser::Params) do
231
+ def initialize(*)
232
+ super
233
+ @params = Hash.new{|h,k| h[k.to_s] if k.is_a?(Symbol)}
234
+ end
235
+ end
236
+ parser = Rack::QueryParser.new(c, 65536, 100)
237
+ c = Class.new(Rack::Request) do
238
+ define_method(:query_parser) do
239
+ parser
240
+ end
241
+ end
242
+ req = c.new(Rack::MockRequest.env_for("/?foo=bar&quux=bla"))
243
+ req.GET[:foo].must_equal "bar"
244
+ req.GET[:quux].must_equal "bla"
245
+ req.params[:foo].must_equal "bar"
246
+ req.params[:quux].must_equal "bla"
247
+ end
248
+
249
+ it "use semi-colons as separators for query strings in GET" do
250
+ req = make_request(Rack::MockRequest.env_for("/?foo=bar&quux=b;la;wun=duh"))
251
+ req.query_string.must_equal "foo=bar&quux=b;la;wun=duh"
252
+ req.GET.must_equal "foo" => "bar", "quux" => "b", "la" => nil, "wun" => "duh"
253
+ req.POST.must_be :empty?
254
+ req.params.must_equal "foo" => "bar", "quux" => "b", "la" => nil, "wun" => "duh"
255
+ end
256
+
257
+ it "limit the keys from the GET query string" do
258
+ env = Rack::MockRequest.env_for("/?foo=bar")
259
+
260
+ old, Rack::Utils.key_space_limit = Rack::Utils.key_space_limit, 1
261
+ begin
262
+ req = make_request(env)
263
+ lambda { req.GET }.must_raise RangeError
264
+ ensure
265
+ Rack::Utils.key_space_limit = old
266
+ end
267
+ end
268
+
269
+ it "limit the key size per nested params hash" do
270
+ nested_query = Rack::MockRequest.env_for("/?foo%5Bbar%5D%5Bbaz%5D%5Bqux%5D=1")
271
+ plain_query = Rack::MockRequest.env_for("/?foo_bar__baz__qux_=1")
272
+
273
+ old, Rack::Utils.key_space_limit = Rack::Utils.key_space_limit, 3
274
+ begin
275
+ exp = {"foo"=>{"bar"=>{"baz"=>{"qux"=>"1"}}}}
276
+ make_request(nested_query).GET.must_equal exp
277
+ lambda { make_request(plain_query).GET }.must_raise RangeError
278
+ ensure
279
+ Rack::Utils.key_space_limit = old
280
+ end
281
+ end
282
+
283
+ it "not unify GET and POST when calling params" do
284
+ mr = Rack::MockRequest.env_for("/?foo=quux",
285
+ "REQUEST_METHOD" => 'POST',
286
+ :input => "foo=bar&quux=bla"
287
+ )
288
+ req = make_request mr
289
+
290
+ req.params
291
+
292
+ req.GET.must_equal "foo" => "quux"
293
+ req.POST.must_equal "foo" => "bar", "quux" => "bla"
294
+ req.params.must_equal req.GET.merge(req.POST)
295
+ end
296
+
297
+ it "use the query_parser's params_class for multipart params" do
298
+ c = Class.new(Rack::QueryParser::Params) do
299
+ def initialize(*)
300
+ super
301
+ @params = Hash.new{|h,k| h[k.to_s] if k.is_a?(Symbol)}
302
+ end
303
+ end
304
+ parser = Rack::QueryParser.new(c, 65536, 100)
305
+ c = Class.new(Rack::Request) do
306
+ define_method(:query_parser) do
307
+ parser
308
+ end
309
+ end
310
+ mr = Rack::MockRequest.env_for("/?foo=quux",
311
+ "REQUEST_METHOD" => 'POST',
312
+ :input => "foo=bar&quux=bla"
313
+ )
314
+ req = c.new mr
315
+
316
+ req.params
317
+
318
+ req.GET[:foo].must_equal "quux"
319
+ req.POST[:foo].must_equal "bar"
320
+ req.POST[:quux].must_equal "bla"
321
+ req.params[:foo].must_equal "bar"
322
+ req.params[:quux].must_equal "bla"
323
+ end
324
+
325
+ it "raise if input params has invalid %-encoding" do
326
+ mr = Rack::MockRequest.env_for("/?foo=quux",
327
+ "REQUEST_METHOD" => 'POST',
328
+ :input => "a%=1"
329
+ )
330
+ req = make_request mr
331
+
332
+ lambda { req.POST }.must_raise(Rack::Utils::InvalidParameterError).
333
+ message.must_equal "invalid %-encoding (a%)"
334
+ end
335
+
336
+ it "raise if rack.input is missing" do
337
+ req = make_request({})
338
+ lambda { req.POST }.must_raise RuntimeError
339
+ end
340
+
341
+ it "parse POST data when method is POST and no Content-Type given" do
342
+ req = make_request \
343
+ Rack::MockRequest.env_for("/?foo=quux",
344
+ "REQUEST_METHOD" => 'POST',
345
+ :input => "foo=bar&quux=bla")
346
+ req.content_type.must_be_nil
347
+ req.media_type.must_be_nil
348
+ req.query_string.must_equal "foo=quux"
349
+ req.GET.must_equal "foo" => "quux"
350
+ req.POST.must_equal "foo" => "bar", "quux" => "bla"
351
+ req.params.must_equal "foo" => "bar", "quux" => "bla"
352
+ end
353
+
354
+ it "limit the keys from the POST form data" do
355
+ env = Rack::MockRequest.env_for("",
356
+ "REQUEST_METHOD" => 'POST',
357
+ :input => "foo=bar&quux=bla")
358
+
359
+ old, Rack::Utils.key_space_limit = Rack::Utils.key_space_limit, 1
360
+ begin
361
+ req = make_request(env)
362
+ lambda { req.POST }.must_raise RangeError
363
+ ensure
364
+ Rack::Utils.key_space_limit = old
365
+ end
366
+ end
367
+
368
+ it "parse POST data with explicit content type regardless of method" do
369
+ req = make_request \
370
+ Rack::MockRequest.env_for("/",
371
+ "CONTENT_TYPE" => 'application/x-www-form-urlencoded;foo=bar',
372
+ :input => "foo=bar&quux=bla")
373
+ req.content_type.must_equal 'application/x-www-form-urlencoded;foo=bar'
374
+ req.media_type.must_equal 'application/x-www-form-urlencoded'
375
+ req.media_type_params['foo'].must_equal 'bar'
376
+ req.POST.must_equal "foo" => "bar", "quux" => "bla"
377
+ req.params.must_equal "foo" => "bar", "quux" => "bla"
378
+ end
379
+
380
+ it "not parse POST data when media type is not form-data" do
381
+ req = make_request \
382
+ Rack::MockRequest.env_for("/?foo=quux",
383
+ "REQUEST_METHOD" => 'POST',
384
+ "CONTENT_TYPE" => 'text/plain;charset=utf-8',
385
+ :input => "foo=bar&quux=bla")
386
+ req.content_type.must_equal 'text/plain;charset=utf-8'
387
+ req.media_type.must_equal 'text/plain'
388
+ req.media_type_params['charset'].must_equal 'utf-8'
389
+ req.POST.must_be :empty?
390
+ req.params.must_equal "foo" => "quux"
391
+ req.body.read.must_equal "foo=bar&quux=bla"
392
+ end
393
+
394
+ it "parse POST data on PUT when media type is form-data" do
395
+ req = make_request \
396
+ Rack::MockRequest.env_for("/?foo=quux",
397
+ "REQUEST_METHOD" => 'PUT',
398
+ "CONTENT_TYPE" => 'application/x-www-form-urlencoded',
399
+ :input => "foo=bar&quux=bla")
400
+ req.POST.must_equal "foo" => "bar", "quux" => "bla"
401
+ req.body.read.must_equal "foo=bar&quux=bla"
402
+ end
403
+
404
+ it "rewind input after parsing POST data" do
405
+ input = StringIO.new("foo=bar&quux=bla")
406
+ req = make_request \
407
+ Rack::MockRequest.env_for("/",
408
+ "CONTENT_TYPE" => 'application/x-www-form-urlencoded;foo=bar',
409
+ :input => input)
410
+ req.params.must_equal "foo" => "bar", "quux" => "bla"
411
+ input.read.must_equal "foo=bar&quux=bla"
412
+ end
413
+
414
+ it "safely accepts POST requests with empty body" do
415
+ mr = Rack::MockRequest.env_for("/",
416
+ "REQUEST_METHOD" => "POST",
417
+ "CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
418
+ "CONTENT_LENGTH" => '0',
419
+ :input => nil)
420
+
421
+ req = make_request mr
422
+ req.query_string.must_equal ""
423
+ req.GET.must_be :empty?
424
+ req.POST.must_be :empty?
425
+ req.params.must_equal({})
426
+ end
427
+
428
+ it "clean up Safari's ajax POST body" do
429
+ req = make_request \
430
+ Rack::MockRequest.env_for("/",
431
+ 'REQUEST_METHOD' => 'POST', :input => "foo=bar&quux=bla\0")
432
+ req.POST.must_equal "foo" => "bar", "quux" => "bla"
433
+ end
434
+
435
+ it "get value by key from params with #[]" do
436
+ req = make_request \
437
+ Rack::MockRequest.env_for("?foo=quux")
438
+ req['foo'].must_equal 'quux'
439
+ req[:foo].must_equal 'quux'
440
+ end
441
+
442
+ it "set value to key on params with #[]=" do
443
+ req = make_request \
444
+ Rack::MockRequest.env_for("?foo=duh")
445
+ req['foo'].must_equal 'duh'
446
+ req[:foo].must_equal 'duh'
447
+ req.params.must_equal 'foo' => 'duh'
448
+
449
+ if req.delegate?
450
+ skip "delegate requests don't cache params, so mutations have no impact"
451
+ end
452
+
453
+ req['foo'] = 'bar'
454
+ req.params.must_equal 'foo' => 'bar'
455
+ req['foo'].must_equal 'bar'
456
+ req[:foo].must_equal 'bar'
457
+
458
+ req[:foo] = 'jaz'
459
+ req.params.must_equal 'foo' => 'jaz'
460
+ req['foo'].must_equal 'jaz'
461
+ req[:foo].must_equal 'jaz'
462
+ end
463
+
464
+ it "return values for the keys in the order given from values_at" do
465
+ req = make_request \
466
+ Rack::MockRequest.env_for("?foo=baz&wun=der&bar=ful")
467
+ req.values_at('foo').must_equal ['baz']
468
+ req.values_at('foo', 'wun').must_equal ['baz', 'der']
469
+ req.values_at('bar', 'foo', 'wun').must_equal ['ful', 'baz', 'der']
470
+ end
471
+
472
+ it "extract referrer correctly" do
473
+ req = make_request \
474
+ Rack::MockRequest.env_for("/", "HTTP_REFERER" => "/some/path")
475
+ req.referer.must_equal "/some/path"
476
+
477
+ req = make_request \
478
+ Rack::MockRequest.env_for("/")
479
+ req.referer.must_be_nil
480
+ end
481
+
482
+ it "extract user agent correctly" do
483
+ req = make_request \
484
+ Rack::MockRequest.env_for("/", "HTTP_USER_AGENT" => "Mozilla/4.0 (compatible)")
485
+ req.user_agent.must_equal "Mozilla/4.0 (compatible)"
486
+
487
+ req = make_request \
488
+ Rack::MockRequest.env_for("/")
489
+ req.user_agent.must_be_nil
490
+ end
491
+
492
+ it "treat missing content type as nil" do
493
+ req = make_request \
494
+ Rack::MockRequest.env_for("/")
495
+ req.content_type.must_be_nil
496
+ end
497
+
498
+ it "treat empty content type as nil" do
499
+ req = make_request \
500
+ Rack::MockRequest.env_for("/", "CONTENT_TYPE" => "")
501
+ req.content_type.must_be_nil
502
+ end
503
+
504
+ it "return nil media type for empty content type" do
505
+ req = make_request \
506
+ Rack::MockRequest.env_for("/", "CONTENT_TYPE" => "")
507
+ req.media_type.must_be_nil
508
+ end
509
+
510
+ it "cache, but invalidates the cache" do
511
+ req = make_request \
512
+ Rack::MockRequest.env_for("/?foo=quux",
513
+ "CONTENT_TYPE" => "application/x-www-form-urlencoded",
514
+ :input => "foo=bar&quux=bla")
515
+ req.GET.must_equal "foo" => "quux"
516
+ req.GET.must_equal "foo" => "quux"
517
+ req.set_header("QUERY_STRING", "bla=foo")
518
+ req.GET.must_equal "bla" => "foo"
519
+ req.GET.must_equal "bla" => "foo"
520
+
521
+ req.POST.must_equal "foo" => "bar", "quux" => "bla"
522
+ req.POST.must_equal "foo" => "bar", "quux" => "bla"
523
+ req.set_header("rack.input", StringIO.new("foo=bla&quux=bar"))
524
+ req.POST.must_equal "foo" => "bla", "quux" => "bar"
525
+ req.POST.must_equal "foo" => "bla", "quux" => "bar"
526
+ end
527
+
528
+ it "figure out if called via XHR" do
529
+ req = make_request(Rack::MockRequest.env_for(""))
530
+ req.wont_be :xhr?
531
+
532
+ req = make_request \
533
+ Rack::MockRequest.env_for("", "HTTP_X_REQUESTED_WITH" => "XMLHttpRequest")
534
+ req.must_be :xhr?
535
+ end
536
+
537
+ it "ssl detection" do
538
+ request = make_request(Rack::MockRequest.env_for("/"))
539
+ request.scheme.must_equal "http"
540
+ request.wont_be :ssl?
541
+
542
+ request = make_request(Rack::MockRequest.env_for("/", 'HTTPS' => 'on'))
543
+ request.scheme.must_equal "https"
544
+ request.must_be :ssl?
545
+
546
+ request = make_request(Rack::MockRequest.env_for("/", 'rack.url_scheme' => 'https'))
547
+ request.scheme.must_equal "https"
548
+ request.must_be :ssl?
549
+
550
+ request = make_request(Rack::MockRequest.env_for("/", 'HTTP_HOST' => 'www.example.org:8080'))
551
+ request.scheme.must_equal "http"
552
+ request.wont_be :ssl?
553
+
554
+ request = make_request(Rack::MockRequest.env_for("/", 'HTTP_HOST' => 'www.example.org:8443', 'HTTPS' => 'on'))
555
+ request.scheme.must_equal "https"
556
+ request.must_be :ssl?
557
+
558
+ request = make_request(Rack::MockRequest.env_for("/", 'HTTP_HOST' => 'www.example.org:8443', 'HTTP_X_FORWARDED_SSL' => 'on'))
559
+ request.scheme.must_equal "https"
560
+ request.must_be :ssl?
561
+
562
+ request = make_request(Rack::MockRequest.env_for("/", 'HTTP_X_FORWARDED_SCHEME' => 'https'))
563
+ request.scheme.must_equal "https"
564
+ request.must_be :ssl?
565
+
566
+ request = make_request(Rack::MockRequest.env_for("/", 'HTTP_X_FORWARDED_PROTO' => 'https'))
567
+ request.scheme.must_equal "https"
568
+ request.must_be :ssl?
569
+
570
+ request = make_request(Rack::MockRequest.env_for("/", 'HTTP_X_FORWARDED_PROTO' => 'https, http, http'))
571
+ request.scheme.must_equal "https"
572
+ request.must_be :ssl?
573
+ end
574
+
575
+ it "parse cookies" do
576
+ req = make_request \
577
+ Rack::MockRequest.env_for("", "HTTP_COOKIE" => "foo=bar;quux=h&m")
578
+ req.cookies.must_equal "foo" => "bar", "quux" => "h&m"
579
+ req.cookies.must_equal "foo" => "bar", "quux" => "h&m"
580
+ req.delete_header("HTTP_COOKIE")
581
+ req.cookies.must_equal({})
582
+ end
583
+
584
+ it "always return the same hash object" do
585
+ req = make_request \
586
+ Rack::MockRequest.env_for("", "HTTP_COOKIE" => "foo=bar;quux=h&m")
587
+ hash = req.cookies
588
+ req.env.delete("HTTP_COOKIE")
589
+ req.cookies.must_equal hash
590
+ req.env["HTTP_COOKIE"] = "zoo=m"
591
+ req.cookies.must_equal hash
592
+ end
593
+
594
+ it "modify the cookies hash in place" do
595
+ req = make_request(Rack::MockRequest.env_for(""))
596
+ req.cookies.must_equal({})
597
+ req.cookies['foo'] = 'bar'
598
+ req.cookies.must_equal 'foo' => 'bar'
599
+ end
600
+
601
+ it "not modify the params hash in place" do
602
+ e = Rack::MockRequest.env_for("")
603
+ req1 = make_request(e)
604
+ if req1.delegate?
605
+ skip "delegate requests don't cache params, so mutations have no impact"
606
+ end
607
+ req1.params.must_equal({})
608
+ req1.params['foo'] = 'bar'
609
+ req1.params.must_equal 'foo' => 'bar'
610
+ req2 = make_request(e)
611
+ req2.params.must_equal({})
612
+ end
613
+
614
+ it "modify params hash if param is in GET" do
615
+ e = Rack::MockRequest.env_for("?foo=duh")
616
+ req1 = make_request(e)
617
+ req1.params.must_equal 'foo' => 'duh'
618
+ req1.update_param 'foo', 'bar'
619
+ req1.params.must_equal 'foo' => 'bar'
620
+ req2 = make_request(e)
621
+ req2.params.must_equal 'foo' => 'bar'
622
+ end
623
+
624
+ it "modify params hash if param is in POST" do
625
+ e = Rack::MockRequest.env_for("", "REQUEST_METHOD" => 'POST', :input => 'foo=duh')
626
+ req1 = make_request(e)
627
+ req1.params.must_equal 'foo' => 'duh'
628
+ req1.update_param 'foo', 'bar'
629
+ req1.params.must_equal 'foo' => 'bar'
630
+ req2 = make_request(e)
631
+ req2.params.must_equal 'foo' => 'bar'
632
+ end
633
+
634
+ it "modify params hash, even if param didn't exist before" do
635
+ e = Rack::MockRequest.env_for("")
636
+ req1 = make_request(e)
637
+ req1.params.must_equal({})
638
+ req1.update_param 'foo', 'bar'
639
+ req1.params.must_equal 'foo' => 'bar'
640
+ req2 = make_request(e)
641
+ req2.params.must_equal 'foo' => 'bar'
642
+ end
643
+
644
+ it "modify params hash by changing only GET" do
645
+ e = Rack::MockRequest.env_for("?foo=duhget")
646
+ req = make_request(e)
647
+ req.GET.must_equal 'foo' => 'duhget'
648
+ req.POST.must_equal({})
649
+ req.update_param 'foo', 'bar'
650
+ req.GET.must_equal 'foo' => 'bar'
651
+ req.POST.must_equal({})
652
+ end
653
+
654
+ it "modify params hash by changing only POST" do
655
+ e = Rack::MockRequest.env_for("", "REQUEST_METHOD" => 'POST', :input => "foo=duhpost")
656
+ req = make_request(e)
657
+ req.GET.must_equal({})
658
+ req.POST.must_equal 'foo' => 'duhpost'
659
+ req.update_param 'foo', 'bar'
660
+ req.GET.must_equal({})
661
+ req.POST.must_equal 'foo' => 'bar'
662
+ end
663
+
664
+ it "modify params hash, even if param is defined in both POST and GET" do
665
+ e = Rack::MockRequest.env_for("?foo=duhget", "REQUEST_METHOD" => 'POST', :input => "foo=duhpost")
666
+ req1 = make_request(e)
667
+ req1.GET.must_equal 'foo' => 'duhget'
668
+ req1.POST.must_equal 'foo' => 'duhpost'
669
+ req1.params.must_equal 'foo' => 'duhpost'
670
+ req1.update_param 'foo', 'bar'
671
+ req1.GET.must_equal 'foo' => 'bar'
672
+ req1.POST.must_equal 'foo' => 'bar'
673
+ req1.params.must_equal 'foo' => 'bar'
674
+ req2 = make_request(e)
675
+ req2.GET.must_equal 'foo' => 'bar'
676
+ req2.POST.must_equal 'foo' => 'bar'
677
+ req2.params.must_equal 'foo' => 'bar'
678
+ req2.params.must_equal 'foo' => 'bar'
679
+ end
680
+
681
+ it "allow deleting from params hash if param is in GET" do
682
+ e = Rack::MockRequest.env_for("?foo=bar")
683
+ req1 = make_request(e)
684
+ req1.params.must_equal 'foo' => 'bar'
685
+ req1.delete_param('foo').must_equal 'bar'
686
+ req1.params.must_equal({})
687
+ req2 = make_request(e)
688
+ req2.params.must_equal({})
689
+ end
690
+
691
+ it "allow deleting from params hash if param is in POST" do
692
+ e = Rack::MockRequest.env_for("", "REQUEST_METHOD" => 'POST', :input => 'foo=bar')
693
+ req1 = make_request(e)
694
+ req1.params.must_equal 'foo' => 'bar'
695
+ req1.delete_param('foo').must_equal 'bar'
696
+ req1.params.must_equal({})
697
+ req2 = make_request(e)
698
+ req2.params.must_equal({})
699
+ end
700
+
701
+ it "pass through non-uri escaped cookies as-is" do
702
+ req = make_request Rack::MockRequest.env_for("", "HTTP_COOKIE" => "foo=%")
703
+ req.cookies["foo"].must_equal "%"
704
+ end
705
+
706
+ it "parse cookies according to RFC 2109" do
707
+ req = make_request \
708
+ Rack::MockRequest.env_for('', 'HTTP_COOKIE' => 'foo=bar;foo=car')
709
+ req.cookies.must_equal 'foo' => 'bar'
710
+ end
711
+
712
+ it 'parse cookies with quotes' do
713
+ req = make_request Rack::MockRequest.env_for('', {
714
+ 'HTTP_COOKIE' => '$Version="1"; Customer="WILE_E_COYOTE"; $Path="/acme"; Part_Number="Rocket_Launcher_0001"; $Path="/acme"'
715
+ })
716
+ req.cookies.must_equal({
717
+ '$Version' => '"1"',
718
+ 'Customer' => '"WILE_E_COYOTE"',
719
+ '$Path' => '"/acme"',
720
+ 'Part_Number' => '"Rocket_Launcher_0001"',
721
+ })
722
+ end
723
+
724
+ it "provide setters" do
725
+ req = make_request(e=Rack::MockRequest.env_for(""))
726
+ req.script_name.must_equal ""
727
+ req.script_name = "/foo"
728
+ req.script_name.must_equal "/foo"
729
+ e["SCRIPT_NAME"].must_equal "/foo"
730
+
731
+ req.path_info.must_equal "/"
732
+ req.path_info = "/foo"
733
+ req.path_info.must_equal "/foo"
734
+ e["PATH_INFO"].must_equal "/foo"
735
+ end
736
+
737
+ it "provide the original env" do
738
+ req = make_request(e = Rack::MockRequest.env_for(""))
739
+ req.env.must_equal e
740
+ end
741
+
742
+ it "restore the base URL" do
743
+ make_request(Rack::MockRequest.env_for("")).base_url.
744
+ must_equal "http://example.org"
745
+ make_request(Rack::MockRequest.env_for("", "SCRIPT_NAME" => "/foo")).base_url.
746
+ must_equal "http://example.org"
747
+ end
748
+
749
+ it "restore the URL" do
750
+ make_request(Rack::MockRequest.env_for("")).url.
751
+ must_equal "http://example.org/"
752
+ make_request(Rack::MockRequest.env_for("", "SCRIPT_NAME" => "/foo")).url.
753
+ must_equal "http://example.org/foo/"
754
+ make_request(Rack::MockRequest.env_for("/foo")).url.
755
+ must_equal "http://example.org/foo"
756
+ make_request(Rack::MockRequest.env_for("?foo")).url.
757
+ must_equal "http://example.org/?foo"
758
+ make_request(Rack::MockRequest.env_for("http://example.org:8080/")).url.
759
+ must_equal "http://example.org:8080/"
760
+ make_request(Rack::MockRequest.env_for("https://example.org/")).url.
761
+ must_equal "https://example.org/"
762
+ make_request(Rack::MockRequest.env_for("coffee://example.org/")).url.
763
+ must_equal "coffee://example.org/"
764
+ make_request(Rack::MockRequest.env_for("coffee://example.org:443/")).url.
765
+ must_equal "coffee://example.org:443/"
766
+ make_request(Rack::MockRequest.env_for("https://example.com:8080/foo?foo")).url.
767
+ must_equal "https://example.com:8080/foo?foo"
768
+ end
769
+
770
+ it "restore the full path" do
771
+ make_request(Rack::MockRequest.env_for("")).fullpath.
772
+ must_equal "/"
773
+ make_request(Rack::MockRequest.env_for("", "SCRIPT_NAME" => "/foo")).fullpath.
774
+ must_equal "/foo/"
775
+ make_request(Rack::MockRequest.env_for("/foo")).fullpath.
776
+ must_equal "/foo"
777
+ make_request(Rack::MockRequest.env_for("?foo")).fullpath.
778
+ must_equal "/?foo"
779
+ make_request(Rack::MockRequest.env_for("http://example.org:8080/")).fullpath.
780
+ must_equal "/"
781
+ make_request(Rack::MockRequest.env_for("https://example.org/")).fullpath.
782
+ must_equal "/"
783
+
784
+ make_request(Rack::MockRequest.env_for("https://example.com:8080/foo?foo")).fullpath.
785
+ must_equal "/foo?foo"
786
+ end
787
+
788
+ it "handle multiple media type parameters" do
789
+ req = make_request \
790
+ Rack::MockRequest.env_for("/",
791
+ "CONTENT_TYPE" => 'text/plain; foo=BAR,baz=bizzle dizzle;BLING=bam;blong="boo";zump="zoo\"o";weird=lol"')
792
+ req.wont_be :form_data?
793
+ req.media_type_params.must_include 'foo'
794
+ req.media_type_params['foo'].must_equal 'BAR'
795
+ req.media_type_params.must_include 'baz'
796
+ req.media_type_params['baz'].must_equal 'bizzle dizzle'
797
+ req.media_type_params.wont_include 'BLING'
798
+ req.media_type_params.must_include 'bling'
799
+ req.media_type_params['bling'].must_equal 'bam'
800
+ req.media_type_params['blong'].must_equal 'boo'
801
+ req.media_type_params['zump'].must_equal 'zoo\"o'
802
+ req.media_type_params['weird'].must_equal 'lol"'
803
+ end
804
+
805
+ it "parse with junk before boundary" do
806
+ # Adapted from RFC 1867.
807
+ input = <<EOF
808
+ blah blah\r
809
+ \r
810
+ --AaB03x\r
811
+ content-disposition: form-data; name="reply"\r
812
+ \r
813
+ yes\r
814
+ --AaB03x\r
815
+ content-disposition: form-data; name="fileupload"; filename="dj.jpg"\r
816
+ Content-Type: image/jpeg\r
817
+ Content-Transfer-Encoding: base64\r
818
+ \r
819
+ /9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg\r
820
+ --AaB03x--\r
821
+ EOF
822
+ req = make_request Rack::MockRequest.env_for("/",
823
+ "CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
824
+ "CONTENT_LENGTH" => input.size,
825
+ :input => input)
826
+
827
+ req.POST.must_include "fileupload"
828
+ req.POST.must_include "reply"
829
+
830
+ req.must_be :form_data?
831
+ req.content_length.must_equal input.size
832
+ req.media_type.must_equal 'multipart/form-data'
833
+ req.media_type_params.must_include 'boundary'
834
+ req.media_type_params['boundary'].must_equal 'AaB03x'
835
+
836
+ req.POST["reply"].must_equal "yes"
837
+
838
+ f = req.POST["fileupload"]
839
+ f.must_be_kind_of Hash
840
+ f[:type].must_equal "image/jpeg"
841
+ f[:filename].must_equal "dj.jpg"
842
+ f.must_include :tempfile
843
+ f[:tempfile].size.must_equal 76
844
+ end
845
+
846
+ it "not infinite loop with a malformed HTTP request" do
847
+ # Adapted from RFC 1867.
848
+ input = <<EOF
849
+ --AaB03x
850
+ content-disposition: form-data; name="reply"
851
+
852
+ yes
853
+ --AaB03x
854
+ content-disposition: form-data; name="fileupload"; filename="dj.jpg"
855
+ Content-Type: image/jpeg
856
+ Content-Transfer-Encoding: base64
857
+
858
+ /9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg
859
+ --AaB03x--
860
+ EOF
861
+ req = make_request Rack::MockRequest.env_for("/",
862
+ "CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
863
+ "CONTENT_LENGTH" => input.size,
864
+ :input => input)
865
+
866
+ lambda{req.POST}.must_raise EOFError
867
+ end
868
+
869
+
870
+ it "parse multipart form data" do
871
+ # Adapted from RFC 1867.
872
+ input = <<EOF
873
+ --AaB03x\r
874
+ content-disposition: form-data; name="reply"\r
875
+ \r
876
+ yes\r
877
+ --AaB03x\r
878
+ content-disposition: form-data; name="fileupload"; filename="dj.jpg"\r
879
+ Content-Type: image/jpeg\r
880
+ Content-Transfer-Encoding: base64\r
881
+ \r
882
+ /9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg\r
883
+ --AaB03x--\r
884
+ EOF
885
+ req = make_request Rack::MockRequest.env_for("/",
886
+ "CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
887
+ "CONTENT_LENGTH" => input.size,
888
+ :input => input)
889
+
890
+ req.POST.must_include "fileupload"
891
+ req.POST.must_include "reply"
892
+
893
+ req.must_be :form_data?
894
+ req.content_length.must_equal input.size
895
+ req.media_type.must_equal 'multipart/form-data'
896
+ req.media_type_params.must_include 'boundary'
897
+ req.media_type_params['boundary'].must_equal 'AaB03x'
898
+
899
+ req.POST["reply"].must_equal "yes"
900
+
901
+ f = req.POST["fileupload"]
902
+ f.must_be_kind_of Hash
903
+ f[:type].must_equal "image/jpeg"
904
+ f[:filename].must_equal "dj.jpg"
905
+ f.must_include :tempfile
906
+ f[:tempfile].size.must_equal 76
907
+ end
908
+
909
+ it "MultipartPartLimitError when request has too many multipart parts if limit set" do
910
+ begin
911
+ data = 10000.times.map { "--AaB03x\r\nContent-Type: text/plain\r\nContent-Disposition: attachment; name=#{SecureRandom.hex(10)}; filename=#{SecureRandom.hex(10)}\r\n\r\ncontents\r\n" }.join("\r\n")
912
+ data += "--AaB03x--\r"
913
+
914
+ options = {
915
+ "CONTENT_TYPE" => "multipart/form-data; boundary=AaB03x",
916
+ "CONTENT_LENGTH" => data.length.to_s,
917
+ :input => StringIO.new(data)
918
+ }
919
+
920
+ request = make_request Rack::MockRequest.env_for("/", options)
921
+ lambda { request.POST }.must_raise Rack::Multipart::MultipartPartLimitError
922
+ end
923
+ end
924
+
925
+ it 'closes tempfiles it created in the case of too many created' do
926
+ begin
927
+ data = 10000.times.map { "--AaB03x\r\nContent-Type: text/plain\r\nContent-Disposition: attachment; name=#{SecureRandom.hex(10)}; filename=#{SecureRandom.hex(10)}\r\n\r\ncontents\r\n" }.join("\r\n")
928
+ data += "--AaB03x--\r"
929
+
930
+ files = []
931
+ options = {
932
+ "CONTENT_TYPE" => "multipart/form-data; boundary=AaB03x",
933
+ "CONTENT_LENGTH" => data.length.to_s,
934
+ Rack::RACK_MULTIPART_TEMPFILE_FACTORY => lambda { |filename, content_type|
935
+ file = Tempfile.new(["RackMultipart", ::File.extname(filename)])
936
+ files << file
937
+ file
938
+ },
939
+ :input => StringIO.new(data)
940
+ }
941
+
942
+ request = make_request Rack::MockRequest.env_for("/", options)
943
+ assert_raises(Rack::Multipart::MultipartPartLimitError) do
944
+ request.POST
945
+ end
946
+ refute_predicate files, :empty?
947
+ files.each { |f| assert_predicate f, :closed? }
948
+ end
949
+ end
950
+
951
+ it "parse big multipart form data" do
952
+ input = <<EOF
953
+ --AaB03x\r
954
+ content-disposition: form-data; name="huge"; filename="huge"\r
955
+ \r
956
+ #{"x"*32768}\r
957
+ --AaB03x\r
958
+ content-disposition: form-data; name="mean"; filename="mean"\r
959
+ \r
960
+ --AaB03xha\r
961
+ --AaB03x--\r
962
+ EOF
963
+ req = make_request Rack::MockRequest.env_for("/",
964
+ "CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
965
+ "CONTENT_LENGTH" => input.size,
966
+ :input => input)
967
+
968
+ req.POST["huge"][:tempfile].size.must_equal 32768
969
+ req.POST["mean"][:tempfile].size.must_equal 10
970
+ req.POST["mean"][:tempfile].read.must_equal "--AaB03xha"
971
+ end
972
+
973
+ it "record tempfiles from multipart form data in env[rack.tempfiles]" do
974
+ input = <<EOF
975
+ --AaB03x\r
976
+ content-disposition: form-data; name="fileupload"; filename="foo.jpg"\r
977
+ Content-Type: image/jpeg\r
978
+ Content-Transfer-Encoding: base64\r
979
+ \r
980
+ /9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg\r
981
+ --AaB03x\r
982
+ content-disposition: form-data; name="fileupload"; filename="bar.jpg"\r
983
+ Content-Type: image/jpeg\r
984
+ Content-Transfer-Encoding: base64\r
985
+ \r
986
+ /9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg\r
987
+ --AaB03x--\r
988
+ EOF
989
+ env = Rack::MockRequest.env_for("/",
990
+ "CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
991
+ "CONTENT_LENGTH" => input.size,
992
+ :input => input)
993
+ req = make_request(env)
994
+ req.params
995
+ env['rack.tempfiles'].size.must_equal 2
996
+ end
997
+
998
+ it "detect invalid multipart form data" do
999
+ input = <<EOF
1000
+ --AaB03x\r
1001
+ content-disposition: form-data; name="huge"; filename="huge"\r
1002
+ EOF
1003
+ req = make_request Rack::MockRequest.env_for("/",
1004
+ "CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
1005
+ "CONTENT_LENGTH" => input.size,
1006
+ :input => input)
1007
+
1008
+ lambda { req.POST }.must_raise EOFError
1009
+
1010
+ input = <<EOF
1011
+ --AaB03x\r
1012
+ content-disposition: form-data; name="huge"; filename="huge"\r
1013
+ \r
1014
+ foo\r
1015
+ EOF
1016
+ req = make_request Rack::MockRequest.env_for("/",
1017
+ "CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
1018
+ "CONTENT_LENGTH" => input.size,
1019
+ :input => input)
1020
+
1021
+ lambda { req.POST }.must_raise EOFError
1022
+
1023
+ input = <<EOF
1024
+ --AaB03x\r
1025
+ content-disposition: form-data; name="huge"; filename="huge"\r
1026
+ \r
1027
+ foo\r
1028
+ EOF
1029
+ req = make_request Rack::MockRequest.env_for("/",
1030
+ "CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
1031
+ "CONTENT_LENGTH" => input.size,
1032
+ :input => input)
1033
+
1034
+ lambda { req.POST }.must_raise EOFError
1035
+ end
1036
+
1037
+ it "consistently raise EOFError on bad multipart form data" do
1038
+ input = <<EOF
1039
+ --AaB03x\r
1040
+ content-disposition: form-data; name="huge"; filename="huge"\r
1041
+ EOF
1042
+ req = make_request Rack::MockRequest.env_for("/",
1043
+ "CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
1044
+ "CONTENT_LENGTH" => input.size,
1045
+ :input => input)
1046
+
1047
+ lambda { req.POST }.must_raise EOFError
1048
+ lambda { req.POST }.must_raise EOFError
1049
+ end
1050
+
1051
+ it "correctly parse the part name from Content-Id header" do
1052
+ input = <<EOF
1053
+ --AaB03x\r
1054
+ Content-Type: text/xml; charset=utf-8\r
1055
+ Content-Id: <soap-start>\r
1056
+ Content-Transfer-Encoding: 7bit\r
1057
+ \r
1058
+ foo\r
1059
+ --AaB03x--\r
1060
+ EOF
1061
+ req = make_request Rack::MockRequest.env_for("/",
1062
+ "CONTENT_TYPE" => "multipart/related, boundary=AaB03x",
1063
+ "CONTENT_LENGTH" => input.size,
1064
+ :input => input)
1065
+
1066
+ req.params.keys.must_equal ["<soap-start>"]
1067
+ end
1068
+
1069
+ it "not try to interpret binary as utf8" do
1070
+ input = <<EOF
1071
+ --AaB03x\r
1072
+ content-disposition: form-data; name="fileupload"; filename="junk.a"\r
1073
+ content-type: application/octet-stream\r
1074
+ \r
1075
+ #{[0x36,0xCF,0x0A,0xF8].pack('c*')}\r
1076
+ --AaB03x--\r
1077
+ EOF
1078
+
1079
+ req = make_request Rack::MockRequest.env_for("/",
1080
+ "CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
1081
+ "CONTENT_LENGTH" => input.size,
1082
+ :input => input)
1083
+
1084
+ req.POST["fileupload"][:tempfile].size.must_equal 4
1085
+ end
1086
+
1087
+ it "use form_hash when form_input is a Tempfile" do
1088
+ input = "{foo: 'bar'}"
1089
+
1090
+ rack_input = Tempfile.new("rackspec")
1091
+ rack_input.write(input)
1092
+ rack_input.rewind
1093
+
1094
+ req = make_request Rack::MockRequest.env_for("/",
1095
+ "rack.request.form_hash" => {'foo' => 'bar'},
1096
+ "rack.request.form_input" => rack_input,
1097
+ :input => rack_input)
1098
+
1099
+ req.POST.must_equal req.env['rack.request.form_hash']
1100
+ end
1101
+
1102
+ it "conform to the Rack spec" do
1103
+ app = lambda { |env|
1104
+ content = make_request(env).POST["file"].inspect
1105
+ size = content.bytesize
1106
+ [200, {"Content-Type" => "text/html", "Content-Length" => size.to_s}, [content]]
1107
+ }
1108
+
1109
+ input = <<EOF
1110
+ --AaB03x\r
1111
+ content-disposition: form-data; name="reply"\r
1112
+ \r
1113
+ yes\r
1114
+ --AaB03x\r
1115
+ content-disposition: form-data; name="fileupload"; filename="dj.jpg"\r
1116
+ Content-Type: image/jpeg\r
1117
+ Content-Transfer-Encoding: base64\r
1118
+ \r
1119
+ /9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcg\r
1120
+ --AaB03x--\r
1121
+ EOF
1122
+ input.force_encoding(Encoding::ASCII_8BIT)
1123
+ res = Rack::MockRequest.new(Rack::Lint.new(app)).get "/",
1124
+ "CONTENT_TYPE" => "multipart/form-data, boundary=AaB03x",
1125
+ "CONTENT_LENGTH" => input.size.to_s, "rack.input" => StringIO.new(input)
1126
+
1127
+ res.must_be :ok?
1128
+ end
1129
+
1130
+ it "parse Accept-Encoding correctly" do
1131
+ parser = lambda do |x|
1132
+ make_request(Rack::MockRequest.env_for("", "HTTP_ACCEPT_ENCODING" => x)).accept_encoding
1133
+ end
1134
+
1135
+ parser.call(nil).must_equal []
1136
+
1137
+ parser.call("compress, gzip").must_equal [["compress", 1.0], ["gzip", 1.0]]
1138
+ parser.call("").must_equal []
1139
+ parser.call("*").must_equal [["*", 1.0]]
1140
+ parser.call("compress;q=0.5, gzip;q=1.0").must_equal [["compress", 0.5], ["gzip", 1.0]]
1141
+ parser.call("gzip;q=1.0, identity; q=0.5, *;q=0").must_equal [["gzip", 1.0], ["identity", 0.5], ["*", 0] ]
1142
+
1143
+ parser.call("gzip ; q=0.9").must_equal [["gzip", 0.9]]
1144
+ parser.call("gzip ; deflate").must_equal [["gzip", 1.0]]
1145
+ end
1146
+
1147
+ it "parse Accept-Language correctly" do
1148
+ parser = lambda do |x|
1149
+ make_request(Rack::MockRequest.env_for("", "HTTP_ACCEPT_LANGUAGE" => x)).accept_language
1150
+ end
1151
+
1152
+ parser.call(nil).must_equal []
1153
+
1154
+ parser.call("fr, en").must_equal [["fr", 1.0], ["en", 1.0]]
1155
+ parser.call("").must_equal []
1156
+ parser.call("*").must_equal [["*", 1.0]]
1157
+ parser.call("fr;q=0.5, en;q=1.0").must_equal [["fr", 0.5], ["en", 1.0]]
1158
+ parser.call("fr;q=1.0, en; q=0.5, *;q=0").must_equal [["fr", 1.0], ["en", 0.5], ["*", 0] ]
1159
+
1160
+ parser.call("fr ; q=0.9").must_equal [["fr", 0.9]]
1161
+ parser.call("fr").must_equal [["fr", 1.0]]
1162
+ end
1163
+
1164
+ def ip_app
1165
+ lambda { |env|
1166
+ request = make_request(env)
1167
+ response = Rack::Response.new
1168
+ response.write request.ip
1169
+ response.finish
1170
+ }
1171
+ end
1172
+
1173
+ it 'provide ip information' do
1174
+ mock = Rack::MockRequest.new(Rack::Lint.new(ip_app))
1175
+
1176
+ res = mock.get '/', 'REMOTE_ADDR' => '1.2.3.4'
1177
+ res.body.must_equal '1.2.3.4'
1178
+
1179
+ res = mock.get '/', 'REMOTE_ADDR' => 'fe80::202:b3ff:fe1e:8329'
1180
+ res.body.must_equal 'fe80::202:b3ff:fe1e:8329'
1181
+
1182
+ res = mock.get '/', 'REMOTE_ADDR' => '1.2.3.4,3.4.5.6'
1183
+ res.body.must_equal '1.2.3.4'
1184
+ end
1185
+
1186
+ it 'deals with proxies' do
1187
+ mock = Rack::MockRequest.new(Rack::Lint.new(ip_app))
1188
+
1189
+ res = mock.get '/',
1190
+ 'REMOTE_ADDR' => '1.2.3.4',
1191
+ 'HTTP_X_FORWARDED_FOR' => '3.4.5.6'
1192
+ res.body.must_equal '1.2.3.4'
1193
+
1194
+ res = mock.get '/',
1195
+ 'REMOTE_ADDR' => '1.2.3.4',
1196
+ 'HTTP_X_FORWARDED_FOR' => 'unknown'
1197
+ res.body.must_equal '1.2.3.4'
1198
+
1199
+ res = mock.get '/',
1200
+ 'REMOTE_ADDR' => '127.0.0.1',
1201
+ 'HTTP_X_FORWARDED_FOR' => '3.4.5.6'
1202
+ res.body.must_equal '3.4.5.6'
1203
+
1204
+ res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => 'unknown,3.4.5.6'
1205
+ res.body.must_equal '3.4.5.6'
1206
+
1207
+ res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '192.168.0.1,3.4.5.6'
1208
+ res.body.must_equal '3.4.5.6'
1209
+
1210
+ res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '10.0.0.1,3.4.5.6'
1211
+ res.body.must_equal '3.4.5.6'
1212
+
1213
+ res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '10.0.0.1, 10.0.0.1, 3.4.5.6'
1214
+ res.body.must_equal '3.4.5.6'
1215
+
1216
+ res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '127.0.0.1, 3.4.5.6'
1217
+ res.body.must_equal '3.4.5.6'
1218
+
1219
+ res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => 'unknown,192.168.0.1'
1220
+ res.body.must_equal 'unknown'
1221
+
1222
+ res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => 'other,unknown,192.168.0.1'
1223
+ res.body.must_equal 'unknown'
1224
+
1225
+ res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => 'unknown,localhost,192.168.0.1'
1226
+ res.body.must_equal 'unknown'
1227
+
1228
+ res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '9.9.9.9, 3.4.5.6, 10.0.0.1, 172.31.4.4'
1229
+ res.body.must_equal '3.4.5.6'
1230
+
1231
+ res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '::1,2620:0:1c00:0:812c:9583:754b:ca11'
1232
+ res.body.must_equal '2620:0:1c00:0:812c:9583:754b:ca11'
1233
+
1234
+ res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '2620:0:1c00:0:812c:9583:754b:ca11,::1'
1235
+ res.body.must_equal '2620:0:1c00:0:812c:9583:754b:ca11'
1236
+
1237
+ res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => 'fd5b:982e:9130:247f:0000:0000:0000:0000,2620:0:1c00:0:812c:9583:754b:ca11'
1238
+ res.body.must_equal '2620:0:1c00:0:812c:9583:754b:ca11'
1239
+
1240
+ res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '2620:0:1c00:0:812c:9583:754b:ca11,fd5b:982e:9130:247f:0000:0000:0000:0000'
1241
+ res.body.must_equal '2620:0:1c00:0:812c:9583:754b:ca11'
1242
+
1243
+ res = mock.get '/',
1244
+ 'HTTP_X_FORWARDED_FOR' => '1.1.1.1, 127.0.0.1',
1245
+ 'HTTP_CLIENT_IP' => '1.1.1.1'
1246
+ res.body.must_equal '1.1.1.1'
1247
+
1248
+ res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '8.8.8.8, 9.9.9.9'
1249
+ res.body.must_equal '9.9.9.9'
1250
+
1251
+ res = mock.get '/', 'HTTP_X_FORWARDED_FOR' => '8.8.8.8, fe80::202:b3ff:fe1e:8329'
1252
+ res.body.must_equal 'fe80::202:b3ff:fe1e:8329'
1253
+
1254
+ # Unix Sockets
1255
+ res = mock.get '/',
1256
+ 'REMOTE_ADDR' => 'unix',
1257
+ 'HTTP_X_FORWARDED_FOR' => '3.4.5.6'
1258
+ res.body.must_equal '3.4.5.6'
1259
+
1260
+ res = mock.get '/',
1261
+ 'REMOTE_ADDR' => 'unix:/tmp/foo',
1262
+ 'HTTP_X_FORWARDED_FOR' => '3.4.5.6'
1263
+ res.body.must_equal '3.4.5.6'
1264
+ end
1265
+
1266
+ it "not allow IP spoofing via Client-IP and X-Forwarded-For headers" do
1267
+ mock = Rack::MockRequest.new(Rack::Lint.new(ip_app))
1268
+
1269
+ # IP Spoofing attempt:
1270
+ # Client sends X-Forwarded-For: 6.6.6.6
1271
+ # Client-IP: 6.6.6.6
1272
+ # Load balancer adds X-Forwarded-For: 2.2.2.3, 192.168.0.7
1273
+ # App receives: X-Forwarded-For: 6.6.6.6
1274
+ # X-Forwarded-For: 2.2.2.3, 192.168.0.7
1275
+ # Client-IP: 6.6.6.6
1276
+ # Rack env: HTTP_X_FORWARDED_FOR: '6.6.6.6, 2.2.2.3, 192.168.0.7'
1277
+ # HTTP_CLIENT_IP: '6.6.6.6'
1278
+ res = mock.get '/',
1279
+ 'HTTP_X_FORWARDED_FOR' => '6.6.6.6, 2.2.2.3, 192.168.0.7',
1280
+ 'HTTP_CLIENT_IP' => '6.6.6.6'
1281
+ res.body.must_equal '2.2.2.3'
1282
+ end
1283
+
1284
+ it "regard local addresses as proxies" do
1285
+ req = make_request(Rack::MockRequest.env_for("/"))
1286
+ req.trusted_proxy?('127.0.0.1').must_equal 0
1287
+ req.trusted_proxy?('10.0.0.1').must_equal 0
1288
+ req.trusted_proxy?('172.16.0.1').must_equal 0
1289
+ req.trusted_proxy?('172.20.0.1').must_equal 0
1290
+ req.trusted_proxy?('172.30.0.1').must_equal 0
1291
+ req.trusted_proxy?('172.31.0.1').must_equal 0
1292
+ req.trusted_proxy?('192.168.0.1').must_equal 0
1293
+ req.trusted_proxy?('::1').must_equal 0
1294
+ req.trusted_proxy?('fd00::').must_equal 0
1295
+ req.trusted_proxy?('localhost').must_equal 0
1296
+ req.trusted_proxy?('unix').must_equal 0
1297
+ req.trusted_proxy?('unix:/tmp/sock').must_equal 0
1298
+
1299
+ req.trusted_proxy?("unix.example.org").must_be_nil
1300
+ req.trusted_proxy?("example.org\n127.0.0.1").must_be_nil
1301
+ req.trusted_proxy?("127.0.0.1\nexample.org").must_be_nil
1302
+ req.trusted_proxy?("11.0.0.1").must_be_nil
1303
+ req.trusted_proxy?("172.15.0.1").must_be_nil
1304
+ req.trusted_proxy?("172.32.0.1").must_be_nil
1305
+ req.trusted_proxy?("2001:470:1f0b:18f8::1").must_be_nil
1306
+ end
1307
+
1308
+ it "sets the default session to an empty hash" do
1309
+ req = make_request(Rack::MockRequest.env_for("http://example.com:8080/"))
1310
+ assert_equal Hash.new, req.session
1311
+ end
1312
+
1313
+ class MyRequest < Rack::Request
1314
+ def params
1315
+ {:foo => "bar"}
1316
+ end
1317
+ end
1318
+
1319
+ it "allow subclass request to be instantiated after parent request" do
1320
+ env = Rack::MockRequest.env_for("/?foo=bar")
1321
+
1322
+ req1 = make_request(env)
1323
+ req1.GET.must_equal "foo" => "bar"
1324
+ req1.params.must_equal "foo" => "bar"
1325
+
1326
+ req2 = MyRequest.new(env)
1327
+ req2.GET.must_equal "foo" => "bar"
1328
+ req2.params.must_equal :foo => "bar"
1329
+ end
1330
+
1331
+ it "allow parent request to be instantiated after subclass request" do
1332
+ env = Rack::MockRequest.env_for("/?foo=bar")
1333
+
1334
+ req1 = MyRequest.new(env)
1335
+ req1.GET.must_equal "foo" => "bar"
1336
+ req1.params.must_equal :foo => "bar"
1337
+
1338
+ req2 = make_request(env)
1339
+ req2.GET.must_equal "foo" => "bar"
1340
+ req2.params.must_equal "foo" => "bar"
1341
+ end
1342
+
1343
+ it "raise TypeError every time if request parameters are broken" do
1344
+ broken_query = Rack::MockRequest.env_for("/?foo%5B%5D=0&foo%5Bbar%5D=1")
1345
+ req = make_request(broken_query)
1346
+ lambda{req.GET}.must_raise TypeError
1347
+ lambda{req.params}.must_raise TypeError
1348
+ end
1349
+
1350
+ (0x20...0x7E).collect { |a|
1351
+ b = a.chr
1352
+ c = CGI.escape(b)
1353
+ it "not strip '#{a}' => '#{c}' => '#{b}' escaped character from parameters when accessed as string" do
1354
+ url = "/?foo=#{c}bar#{c}"
1355
+ env = Rack::MockRequest.env_for(url)
1356
+ req2 = make_request(env)
1357
+ req2.GET.must_equal "foo" => "#{b}bar#{b}"
1358
+ req2.params.must_equal "foo" => "#{b}bar#{b}"
1359
+ end
1360
+ }
1361
+
1362
+ class NonDelegate < Rack::Request
1363
+ def delegate?; false; end
1364
+ end
1365
+
1366
+ def make_request(env)
1367
+ NonDelegate.new env
1368
+ end
1369
+
1370
+ class TestProxyRequest < RackRequestTest
1371
+ class DelegateRequest
1372
+ include Rack::Request::Helpers
1373
+ extend Forwardable
1374
+
1375
+ def_delegators :@req, :has_header?, :get_header, :fetch_header,
1376
+ :each_header, :set_header, :add_header, :delete_header
1377
+
1378
+ def_delegators :@req, :[], :[]=, :values_at
1379
+
1380
+ def initialize(req)
1381
+ @req = req
1382
+ end
1383
+
1384
+ def delegate?; true; end
1385
+
1386
+ def env; @req.env.dup; end
1387
+ end
1388
+
1389
+ def make_request(env)
1390
+ DelegateRequest.new super(env)
1391
+ end
1392
+ end
1393
+ end