ric 0.12.0 → 0.12.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1206) hide show
  1. checksums.yaml +7 -0
  2. checksums.yaml.gz.sig +1 -0
  3. data.tar.gz.sig +2 -0
  4. data/Gemfile +0 -1
  5. data/HISTORY.yml +2 -0
  6. data/LICENSE +1 -1
  7. data/Makefile +12 -2
  8. data/Manifest +1189 -4
  9. data/Rakefile +16 -9
  10. data/VERSION +1 -1
  11. data/ric.gemspec +31 -27
  12. data/vendor/bundle/ruby/2.5.0/bin/allison +27 -0
  13. data/vendor/bundle/ruby/2.5.0/bin/rake +27 -0
  14. data/vendor/bundle/ruby/2.5.0/bin/rdoc +27 -0
  15. data/vendor/bundle/ruby/2.5.0/bin/ri +27 -0
  16. data/vendor/bundle/ruby/2.5.0/bin/rubyforge +27 -0
  17. data/vendor/bundle/ruby/2.5.0/cache/activemodel-5.2.3.gem +0 -0
  18. data/vendor/bundle/ruby/2.5.0/cache/activemodel-serializers-xml-1.0.2.gem +0 -0
  19. data/vendor/bundle/ruby/2.5.0/cache/activeresource-5.1.0.gem +0 -0
  20. data/vendor/bundle/ruby/2.5.0/cache/activesupport-5.2.3.gem +0 -0
  21. data/vendor/bundle/ruby/2.5.0/cache/allison-2.0.3.gem +0 -0
  22. data/vendor/bundle/ruby/2.5.0/cache/builder-3.2.3.gem +0 -0
  23. data/vendor/bundle/ruby/2.5.0/cache/concurrent-ruby-1.1.5.gem +0 -0
  24. data/vendor/bundle/ruby/2.5.0/cache/echoe-4.6.6.gem +0 -0
  25. data/vendor/bundle/ruby/2.5.0/cache/i18n-1.6.0.gem +0 -0
  26. data/vendor/bundle/ruby/2.5.0/cache/json_pure-2.2.0.gem +0 -0
  27. data/vendor/bundle/ruby/2.5.0/cache/minitest-5.11.3.gem +0 -0
  28. data/vendor/bundle/ruby/2.5.0/cache/rake-12.3.2.gem +0 -0
  29. data/vendor/bundle/ruby/2.5.0/cache/rdoc-6.1.1.gem +0 -0
  30. data/vendor/bundle/ruby/2.5.0/cache/rubyforge-2.0.4.gem +0 -0
  31. data/vendor/bundle/ruby/2.5.0/cache/thread_safe-0.3.6.gem +0 -0
  32. data/vendor/bundle/ruby/2.5.0/cache/tzinfo-1.2.5.gem +0 -0
  33. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/CHANGELOG.md +114 -0
  34. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/MIT-LICENSE +21 -0
  35. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/README.rdoc +264 -0
  36. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model.rb +77 -0
  37. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute.rb +248 -0
  38. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute/user_provided_default.rb +52 -0
  39. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute_assignment.rb +57 -0
  40. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute_methods.rb +478 -0
  41. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute_mutation_tracker.rb +124 -0
  42. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute_set.rb +114 -0
  43. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute_set/builder.rb +126 -0
  44. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attribute_set/yaml_encoder.rb +41 -0
  45. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/attributes.rb +111 -0
  46. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/callbacks.rb +153 -0
  47. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/conversion.rb +111 -0
  48. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/dirty.rb +343 -0
  49. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/errors.rb +517 -0
  50. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/forbidden_attributes_protection.rb +31 -0
  51. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/gem_version.rb +17 -0
  52. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/lint.rb +118 -0
  53. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/locale/en.yml +36 -0
  54. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/model.rb +99 -0
  55. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/naming.rb +318 -0
  56. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/railtie.rb +14 -0
  57. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/secure_password.rb +129 -0
  58. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/serialization.rb +192 -0
  59. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/serializers/json.rb +146 -0
  60. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/translation.rb +70 -0
  61. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type.rb +53 -0
  62. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/big_integer.rb +15 -0
  63. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/binary.rb +52 -0
  64. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/boolean.rb +38 -0
  65. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/date.rb +57 -0
  66. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/date_time.rb +51 -0
  67. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/decimal.rb +70 -0
  68. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/float.rb +36 -0
  69. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/helpers.rb +7 -0
  70. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/helpers/accepts_multiparameter_time.rb +41 -0
  71. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/helpers/mutable.rb +20 -0
  72. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/helpers/numeric.rb +37 -0
  73. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/helpers/time_value.rb +68 -0
  74. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/helpers/timezone.rb +19 -0
  75. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/immutable_string.rb +32 -0
  76. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/integer.rb +70 -0
  77. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/registry.rb +70 -0
  78. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/string.rb +26 -0
  79. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/time.rb +51 -0
  80. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/type/value.rb +126 -0
  81. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations.rb +439 -0
  82. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/absence.rb +33 -0
  83. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/acceptance.rb +106 -0
  84. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/callbacks.rb +122 -0
  85. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/clusivity.rb +54 -0
  86. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/confirmation.rb +80 -0
  87. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/exclusion.rb +49 -0
  88. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/format.rb +114 -0
  89. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/helper_methods.rb +15 -0
  90. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/inclusion.rb +47 -0
  91. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/length.rb +129 -0
  92. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/numericality.rb +189 -0
  93. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/presence.rb +39 -0
  94. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/validates.rb +174 -0
  95. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validations/with.rb +147 -0
  96. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/validator.rb +183 -0
  97. data/vendor/bundle/ruby/2.5.0/gems/activemodel-5.2.3/lib/active_model/version.rb +10 -0
  98. data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/CONTRIBUTING.md +99 -0
  99. data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/Gemfile +4 -0
  100. data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/MIT-LICENSE +21 -0
  101. data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/README.md +89 -0
  102. data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/Rakefile +10 -0
  103. data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/activemodel-serializers-xml.gemspec +25 -0
  104. data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers.rb +23 -0
  105. data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers/version.rb +5 -0
  106. data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/lib/active_model/serializers/xml.rb +238 -0
  107. data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/lib/active_record/serializers/xml_serializer.rb +194 -0
  108. data/vendor/bundle/ruby/2.5.0/gems/activemodel-serializers-xml-1.0.2/lib/activemodel-serializers-xml.rb +1 -0
  109. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/MIT-LICENSE +20 -0
  110. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/README.rdoc +285 -0
  111. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource.rb +46 -0
  112. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/active_job_serializer.rb +26 -0
  113. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/associations.rb +175 -0
  114. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/associations/builder/association.rb +33 -0
  115. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/associations/builder/belongs_to.rb +16 -0
  116. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/associations/builder/has_many.rb +14 -0
  117. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/associations/builder/has_one.rb +14 -0
  118. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/base.rb +1695 -0
  119. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/callbacks.rb +22 -0
  120. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/collection.rb +94 -0
  121. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/connection.rb +294 -0
  122. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/custom_methods.rb +129 -0
  123. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/exceptions.rb +84 -0
  124. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/formats.rb +24 -0
  125. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/formats/json_format.rb +28 -0
  126. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/formats/xml_format.rb +27 -0
  127. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/http_mock.rb +373 -0
  128. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/log_subscriber.rb +26 -0
  129. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/observing.rb +0 -0
  130. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/railtie.rb +25 -0
  131. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/reflection.rb +78 -0
  132. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/schema.rb +59 -0
  133. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/singleton.rb +113 -0
  134. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/threadsafe_attributes.rb +66 -0
  135. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/validations.rb +176 -0
  136. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/active_resource/version.rb +12 -0
  137. data/vendor/bundle/ruby/2.5.0/gems/activeresource-5.1.0/lib/activeresource.rb +3 -0
  138. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/CHANGELOG.md +602 -0
  139. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/MIT-LICENSE +20 -0
  140. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/README.rdoc +39 -0
  141. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support.rb +95 -0
  142. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/all.rb +5 -0
  143. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/array_inquirer.rb +48 -0
  144. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/backtrace_cleaner.rb +105 -0
  145. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/benchmarkable.rb +51 -0
  146. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/builder.rb +8 -0
  147. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache.rb +808 -0
  148. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache/file_store.rb +196 -0
  149. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache/mem_cache_store.rb +207 -0
  150. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache/memory_store.rb +169 -0
  151. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache/null_store.rb +43 -0
  152. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache/redis_cache_store.rb +461 -0
  153. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache/strategy/local_cache.rb +194 -0
  154. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/cache/strategy/local_cache_middleware.rb +45 -0
  155. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/callbacks.rb +845 -0
  156. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/concern.rb +148 -0
  157. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/concurrency/load_interlock_aware_monitor.rb +17 -0
  158. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/concurrency/share_lock.rb +227 -0
  159. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/configurable.rb +150 -0
  160. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext.rb +5 -0
  161. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array.rb +9 -0
  162. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/access.rb +92 -0
  163. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/conversions.rb +213 -0
  164. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/extract_options.rb +31 -0
  165. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/grouping.rb +109 -0
  166. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/inquiry.rb +19 -0
  167. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/prepend_and_append.rb +9 -0
  168. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/array/wrap.rb +48 -0
  169. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/benchmark.rb +16 -0
  170. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/big_decimal.rb +3 -0
  171. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/big_decimal/conversions.rb +14 -0
  172. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/class.rb +4 -0
  173. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/class/attribute.rb +146 -0
  174. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/class/attribute_accessors.rb +6 -0
  175. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/class/subclasses.rb +54 -0
  176. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date.rb +7 -0
  177. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date/acts_like.rb +10 -0
  178. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date/blank.rb +14 -0
  179. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date/calculations.rb +145 -0
  180. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date/conversions.rb +96 -0
  181. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date/zones.rb +8 -0
  182. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_and_time/calculations.rb +374 -0
  183. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_and_time/compatibility.rb +16 -0
  184. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_and_time/zones.rb +41 -0
  185. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_time.rb +7 -0
  186. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_time/acts_like.rb +16 -0
  187. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_time/blank.rb +14 -0
  188. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_time/calculations.rb +211 -0
  189. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_time/compatibility.rb +18 -0
  190. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/date_time/conversions.rb +107 -0
  191. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/digest/uuid.rb +53 -0
  192. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/enumerable.rb +164 -0
  193. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/file.rb +3 -0
  194. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/file/atomic.rb +70 -0
  195. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash.rb +11 -0
  196. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/compact.rb +29 -0
  197. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/conversions.rb +263 -0
  198. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/deep_merge.rb +34 -0
  199. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/except.rb +24 -0
  200. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/indifferent_access.rb +24 -0
  201. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/keys.rb +172 -0
  202. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/reverse_merge.rb +25 -0
  203. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/slice.rb +48 -0
  204. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/hash/transform_values.rb +32 -0
  205. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/integer.rb +5 -0
  206. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/integer/inflections.rb +31 -0
  207. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/integer/multiple.rb +12 -0
  208. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/integer/time.rb +22 -0
  209. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/kernel.rb +6 -0
  210. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/kernel/agnostics.rb +13 -0
  211. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/kernel/concern.rb +14 -0
  212. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/kernel/reporting.rb +45 -0
  213. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/kernel/singleton_class.rb +8 -0
  214. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/load_error.rb +9 -0
  215. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/marshal.rb +24 -0
  216. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module.rb +14 -0
  217. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/aliasing.rb +31 -0
  218. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/anonymous.rb +30 -0
  219. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/attr_internal.rb +38 -0
  220. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/attribute_accessors.rb +215 -0
  221. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +150 -0
  222. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/concerning.rb +134 -0
  223. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/delegation.rb +287 -0
  224. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/deprecation.rb +25 -0
  225. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/introspection.rb +62 -0
  226. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/reachable.rb +11 -0
  227. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/redefine_method.rb +49 -0
  228. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/module/remove_method.rb +17 -0
  229. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/name_error.rb +38 -0
  230. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/numeric.rb +6 -0
  231. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/numeric/bytes.rb +66 -0
  232. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/numeric/conversions.rb +140 -0
  233. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/numeric/inquiry.rb +28 -0
  234. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/numeric/time.rb +66 -0
  235. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object.rb +16 -0
  236. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/acts_like.rb +21 -0
  237. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/blank.rb +156 -0
  238. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/conversions.rb +6 -0
  239. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/deep_dup.rb +55 -0
  240. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/duplicable.rb +156 -0
  241. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/inclusion.rb +29 -0
  242. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/instance_variables.rb +30 -0
  243. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/json.rb +227 -0
  244. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/to_param.rb +3 -0
  245. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/to_query.rb +89 -0
  246. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/try.rb +148 -0
  247. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/object/with_options.rb +82 -0
  248. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/range.rb +7 -0
  249. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/range/compare_range.rb +61 -0
  250. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/range/conversions.rb +39 -0
  251. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/range/each.rb +25 -0
  252. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/range/include_range.rb +3 -0
  253. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/range/include_time_with_zone.rb +23 -0
  254. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/range/overlaps.rb +10 -0
  255. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/regexp.rb +11 -0
  256. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/securerandom.rb +25 -0
  257. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string.rb +15 -0
  258. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/access.rb +106 -0
  259. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/behavior.rb +8 -0
  260. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/conversions.rb +59 -0
  261. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/exclude.rb +13 -0
  262. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/filters.rb +104 -0
  263. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/indent.rb +45 -0
  264. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/inflections.rb +254 -0
  265. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/inquiry.rb +15 -0
  266. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/multibyte.rb +57 -0
  267. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/output_safety.rb +258 -0
  268. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/starts_ends_with.rb +6 -0
  269. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/strip.rb +25 -0
  270. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/string/zones.rb +16 -0
  271. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time.rb +7 -0
  272. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time/acts_like.rb +10 -0
  273. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time/calculations.rb +315 -0
  274. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time/compatibility.rb +16 -0
  275. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time/conversions.rb +72 -0
  276. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/time/zones.rb +113 -0
  277. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/uri.rb +24 -0
  278. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/current_attributes.rb +195 -0
  279. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies.rb +753 -0
  280. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies/autoload.rb +79 -0
  281. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/dependencies/interlock.rb +57 -0
  282. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/deprecation.rb +46 -0
  283. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/deprecation/behaviors.rb +109 -0
  284. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/deprecation/constant_accessor.rb +52 -0
  285. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/deprecation/instance_delegator.rb +39 -0
  286. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/deprecation/method_wrappers.rb +90 -0
  287. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/deprecation/proxy_wrappers.rb +154 -0
  288. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/deprecation/reporting.rb +114 -0
  289. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/descendants_tracker.rb +62 -0
  290. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/digest.rb +20 -0
  291. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/duration.rb +432 -0
  292. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/duration/iso8601_parser.rb +125 -0
  293. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/duration/iso8601_serializer.rb +55 -0
  294. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/encrypted_configuration.rb +49 -0
  295. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/encrypted_file.rb +99 -0
  296. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/evented_file_update_checker.rb +205 -0
  297. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/execution_wrapper.rb +128 -0
  298. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/executor.rb +8 -0
  299. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/file_update_checker.rb +163 -0
  300. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/gem_version.rb +17 -0
  301. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/gzip.rb +38 -0
  302. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/hash_with_indifferent_access.rb +395 -0
  303. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/i18n.rb +15 -0
  304. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/i18n_railtie.rb +118 -0
  305. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/inflections.rb +72 -0
  306. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/inflector.rb +9 -0
  307. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/inflector/inflections.rb +260 -0
  308. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/inflector/methods.rb +410 -0
  309. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/inflector/transliterate.rb +118 -0
  310. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/json.rb +4 -0
  311. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/json/decoding.rb +76 -0
  312. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/json/encoding.rb +130 -0
  313. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/key_generator.rb +73 -0
  314. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb +78 -0
  315. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/locale/en.yml +135 -0
  316. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/log_subscriber.rb +112 -0
  317. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/log_subscriber/test_helper.rb +106 -0
  318. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/logger.rb +108 -0
  319. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/logger_silence.rb +29 -0
  320. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/logger_thread_safe_level.rb +33 -0
  321. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/message_encryptor.rb +229 -0
  322. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/message_verifier.rb +205 -0
  323. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/messages/metadata.rb +71 -0
  324. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/messages/rotation_configuration.rb +22 -0
  325. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/messages/rotator.rb +56 -0
  326. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/multibyte.rb +23 -0
  327. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/multibyte/chars.rb +235 -0
  328. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/multibyte/unicode.rb +394 -0
  329. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/notifications.rb +216 -0
  330. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/notifications/fanout.rb +159 -0
  331. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/notifications/instrumenter.rb +93 -0
  332. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper.rb +371 -0
  333. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_converter.rb +184 -0
  334. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_to_currency_converter.rb +46 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_to_delimited_converter.rb +29 -0
  336. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_to_human_converter.rb +68 -0
  337. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_to_human_size_converter.rb +59 -0
  338. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_to_percentage_converter.rb +14 -0
  339. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_to_phone_converter.rb +58 -0
  340. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/number_to_rounded_converter.rb +54 -0
  341. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/number_helper/rounding_helper.rb +66 -0
  342. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/option_merger.rb +27 -0
  343. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/ordered_hash.rb +50 -0
  344. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/ordered_options.rb +85 -0
  345. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/per_thread_registry.rb +60 -0
  346. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/proxy_object.rb +15 -0
  347. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/rails.rb +35 -0
  348. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/railtie.rb +80 -0
  349. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/reloader.rb +131 -0
  350. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/rescuable.rb +174 -0
  351. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/security_utils.rb +31 -0
  352. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/string_inquirer.rb +34 -0
  353. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/subscriber.rb +130 -0
  354. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/tagged_logging.rb +79 -0
  355. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/test_case.rb +72 -0
  356. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/assertions.rb +214 -0
  357. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/autorun.rb +7 -0
  358. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/constant_lookup.rb +51 -0
  359. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/declarative.rb +28 -0
  360. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/deprecation.rb +39 -0
  361. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/file_fixtures.rb +36 -0
  362. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/isolation.rb +110 -0
  363. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/method_call_assertions.rb +43 -0
  364. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/setup_and_teardown.rb +55 -0
  365. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/stream.rb +44 -0
  366. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/tagged_logging.rb +27 -0
  367. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/testing/time_helpers.rb +200 -0
  368. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/time.rb +20 -0
  369. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/time_with_zone.rb +551 -0
  370. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/values/time_zone.rb +565 -0
  371. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/values/unicode_tables.dat +0 -0
  372. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/version.rb +10 -0
  373. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/xml_mini.rb +209 -0
  374. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/xml_mini/jdom.rb +183 -0
  375. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/xml_mini/libxml.rb +80 -0
  376. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/xml_mini/libxmlsax.rb +83 -0
  377. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/xml_mini/nokogiri.rb +83 -0
  378. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/xml_mini/nokogirisax.rb +86 -0
  379. data/vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/xml_mini/rexml.rb +130 -0
  380. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/CHANGELOG +18 -0
  381. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/LICENSE +184 -0
  382. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/Manifest +24 -0
  383. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/README +67 -0
  384. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/allison.gemspec +48 -0
  385. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/bin/allison +9 -0
  386. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/BODY +570 -0
  387. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/CLASS_INDEX +4 -0
  388. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/CLASS_PAGE +1 -0
  389. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/FILE_INDEX +4 -0
  390. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/FILE_PAGE +1 -0
  391. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/FONTS +1 -0
  392. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/FR_INDEX_BODY +1 -0
  393. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/INDEX +1 -0
  394. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/JAVASCRIPT +316 -0
  395. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/METHOD_INDEX +4 -0
  396. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/METHOD_LIST +1 -0
  397. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/SRC_PAGE +1 -0
  398. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/cache/STYLE +320 -0
  399. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/contrib/Rakefile +147 -0
  400. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/contrib/rdoc_patch.rb +252 -0
  401. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/contrib/rdoc_patch_test.rb +95 -0
  402. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/lib/allison.css +314 -0
  403. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/lib/allison.js +316 -0
  404. data/vendor/bundle/ruby/2.5.0/gems/allison-2.0.3/lib/allison.rb +276 -0
  405. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/CHANGES +107 -0
  406. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/MIT-LICENSE +20 -0
  407. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/README.md +258 -0
  408. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/Rakefile +195 -0
  409. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/doc/jamis.rb +591 -0
  410. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/doc/releases/builder-1.2.4.rdoc +31 -0
  411. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/doc/releases/builder-2.0.0.rdoc +46 -0
  412. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/doc/releases/builder-2.1.1.rdoc +58 -0
  413. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/blankslate.rb +137 -0
  414. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/builder.rb +13 -0
  415. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/builder/blankslate.rb +23 -0
  416. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/builder/version.rb +8 -0
  417. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/builder/xchar.rb +197 -0
  418. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/builder/xmlbase.rb +199 -0
  419. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/builder/xmlevents.rb +63 -0
  420. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/lib/builder/xmlmarkup.rb +339 -0
  421. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/rakelib/publish.rake +20 -0
  422. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/rakelib/tags.rake +62 -0
  423. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/rakelib/testing.rake +7 -0
  424. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/helper.rb +12 -0
  425. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/performance.rb +41 -0
  426. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/preload.rb +39 -0
  427. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/test_blankslate.rb +213 -0
  428. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/test_eventbuilder.rb +150 -0
  429. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/test_markupbuilder.rb +611 -0
  430. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/test_method_caching.rb +62 -0
  431. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/test_namecollision.rb +39 -0
  432. data/vendor/bundle/ruby/2.5.0/gems/builder-3.2.3/test/test_xchar.rb +78 -0
  433. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/CHANGELOG.md +478 -0
  434. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/Gemfile +41 -0
  435. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/LICENSE.md +23 -0
  436. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/README.md +381 -0
  437. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/Rakefile +327 -0
  438. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/ConcurrentRubyService.java +17 -0
  439. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +175 -0
  440. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +248 -0
  441. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +93 -0
  442. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +113 -0
  443. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +159 -0
  444. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +307 -0
  445. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java +31 -0
  446. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java +3863 -0
  447. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java +203 -0
  448. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java +342 -0
  449. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
  450. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java +204 -0
  451. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java +291 -0
  452. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java +199 -0
  453. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent-ruby.rb +1 -0
  454. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent.rb +134 -0
  455. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/agent.rb +587 -0
  456. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/array.rb +66 -0
  457. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/async.rb +459 -0
  458. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atom.rb +222 -0
  459. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/abstract_thread_local_var.rb +66 -0
  460. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_boolean.rb +126 -0
  461. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_fixnum.rb +143 -0
  462. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_markable_reference.rb +164 -0
  463. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/atomic_reference.rb +204 -0
  464. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/count_down_latch.rb +100 -0
  465. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/cyclic_barrier.rb +128 -0
  466. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/event.rb +109 -0
  467. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/java_count_down_latch.rb +42 -0
  468. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/java_thread_local_var.rb +37 -0
  469. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_atomic_boolean.rb +62 -0
  470. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_atomic_fixnum.rb +75 -0
  471. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_count_down_latch.rb +44 -0
  472. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/mutex_semaphore.rb +115 -0
  473. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/read_write_lock.rb +254 -0
  474. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/reentrant_read_write_lock.rb +379 -0
  475. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/ruby_thread_local_var.rb +161 -0
  476. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/semaphore.rb +145 -0
  477. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic/thread_local_var.rb +104 -0
  478. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic_reference/mutex_atomic.rb +56 -0
  479. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
  480. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/atomics.rb +10 -0
  481. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
  482. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/copy_on_write_observer_set.rb +111 -0
  483. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
  484. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/lock_free_stack.rb +158 -0
  485. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/atomic_reference_map_backend.rb +927 -0
  486. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/mri_map_backend.rb +66 -0
  487. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/non_concurrent_map_backend.rb +140 -0
  488. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/map/synchronized_map_backend.rb +82 -0
  489. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
  490. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/collection/ruby_non_concurrent_priority_queue.rb +150 -0
  491. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/deprecation.rb +34 -0
  492. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/dereferenceable.rb +73 -0
  493. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/logging.rb +32 -0
  494. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/obligation.rb +220 -0
  495. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concern/observable.rb +110 -0
  496. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/concurrent_ruby.jar +0 -0
  497. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/configuration.rb +184 -0
  498. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/constants.rb +8 -0
  499. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/dataflow.rb +81 -0
  500. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/delay.rb +199 -0
  501. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/errors.rb +69 -0
  502. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/exchanger.rb +352 -0
  503. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/abstract_executor_service.rb +134 -0
  504. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/cached_thread_pool.rb +62 -0
  505. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/executor_service.rb +185 -0
  506. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/fixed_thread_pool.rb +206 -0
  507. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/immediate_executor.rb +66 -0
  508. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/indirect_immediate_executor.rb +44 -0
  509. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/java_executor_service.rb +91 -0
  510. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/java_single_thread_executor.rb +29 -0
  511. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/java_thread_pool_executor.rb +123 -0
  512. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_executor_service.rb +78 -0
  513. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_single_thread_executor.rb +22 -0
  514. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/ruby_thread_pool_executor.rb +362 -0
  515. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/safe_task_executor.rb +35 -0
  516. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/serial_executor_service.rb +34 -0
  517. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/serialized_execution.rb +107 -0
  518. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/serialized_execution_delegator.rb +28 -0
  519. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/simple_executor_service.rb +100 -0
  520. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/single_thread_executor.rb +56 -0
  521. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/thread_pool_executor.rb +87 -0
  522. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executor/timer_set.rb +173 -0
  523. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/executors.rb +20 -0
  524. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/future.rb +141 -0
  525. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/hash.rb +59 -0
  526. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/immutable_struct.rb +93 -0
  527. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/ivar.rb +207 -0
  528. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/map.rb +337 -0
  529. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/maybe.rb +229 -0
  530. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/mutable_struct.rb +229 -0
  531. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/mvar.rb +242 -0
  532. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/options.rb +42 -0
  533. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/promise.rb +579 -0
  534. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/promises.rb +2167 -0
  535. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/re_include.rb +58 -0
  536. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/scheduled_task.rb +318 -0
  537. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/set.rb +66 -0
  538. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/settable_struct.rb +129 -0
  539. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization.rb +30 -0
  540. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/abstract_lockable_object.rb +98 -0
  541. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/abstract_object.rb +24 -0
  542. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/abstract_struct.rb +160 -0
  543. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/condition.rb +60 -0
  544. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/jruby_lockable_object.rb +13 -0
  545. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/jruby_object.rb +45 -0
  546. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/lock.rb +36 -0
  547. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/lockable_object.rb +74 -0
  548. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/mri_object.rb +44 -0
  549. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/mutex_lockable_object.rb +76 -0
  550. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/object.rb +183 -0
  551. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/rbx_lockable_object.rb +65 -0
  552. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/rbx_object.rb +49 -0
  553. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/truffleruby_object.rb +47 -0
  554. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/synchronization/volatile.rb +36 -0
  555. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/synchronized_delegator.rb +50 -0
  556. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util.rb +16 -0
  557. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/adder.rb +74 -0
  558. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/cheap_lockable.rb +118 -0
  559. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/data_structures.rb +63 -0
  560. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
  561. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/striped64.rb +246 -0
  562. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/volatile.rb +75 -0
  563. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
  564. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/timer_task.rb +334 -0
  565. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/tuple.rb +86 -0
  566. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/tvar.rb +258 -0
  567. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/at_exit.rb +97 -0
  568. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/engine.rb +56 -0
  569. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/monotonic_time.rb +58 -0
  570. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/native_extension_loader.rb +79 -0
  571. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/native_integer.rb +53 -0
  572. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/utility/processor_counter.rb +158 -0
  573. data/vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/version.rb +3 -0
  574. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/CHANGELOG +113 -0
  575. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/LICENSE +184 -0
  576. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/MIT-LICENSE +21 -0
  577. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/Manifest +19 -0
  578. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/README.rdoc +97 -0
  579. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/Rakefile +15 -0
  580. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/echoe.gemspec +45 -0
  581. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/echoe.pem +21 -0
  582. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/lib/echoe.rb +793 -0
  583. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/lib/echoe/extensions.rb +61 -0
  584. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/lib/echoe/platform.rb +37 -0
  585. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/lib/echoe/rubygems.rb +41 -0
  586. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/MIT-LICENSE +21 -0
  587. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/compositepublisher.rb +24 -0
  588. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/ftptools.rb +153 -0
  589. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/publisher.rb +75 -0
  590. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/rubyforgepublisher.rb +18 -0
  591. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/sshpublisher.rb +43 -0
  592. data/vendor/bundle/ruby/2.5.0/gems/echoe-4.6.6/vendor/rake/lib/rake/contrib/sys.rb +209 -0
  593. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/MIT-LICENSE +20 -0
  594. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/README.md +125 -0
  595. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n.rb +398 -0
  596. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend.rb +21 -0
  597. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/base.rb +284 -0
  598. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/cache.rb +113 -0
  599. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/cache_file.rb +36 -0
  600. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/cascade.rb +56 -0
  601. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/chain.rb +127 -0
  602. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/fallbacks.rb +84 -0
  603. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/flatten.rb +115 -0
  604. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/gettext.rb +85 -0
  605. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/interpolation_compiler.rb +123 -0
  606. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/key_value.rb +206 -0
  607. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/memoize.rb +54 -0
  608. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/metadata.rb +71 -0
  609. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/pluralization.rb +55 -0
  610. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/simple.rb +111 -0
  611. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/backend/transliterator.rb +108 -0
  612. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/config.rb +165 -0
  613. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/core_ext/hash.rb +47 -0
  614. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/exceptions.rb +111 -0
  615. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/gettext.rb +28 -0
  616. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/gettext/helpers.rb +75 -0
  617. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/gettext/po_parser.rb +329 -0
  618. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/interpolate/ruby.rb +39 -0
  619. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/locale.rb +8 -0
  620. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/locale/fallbacks.rb +96 -0
  621. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/locale/tag.rb +28 -0
  622. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/locale/tag/parents.rb +22 -0
  623. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/locale/tag/rfc4646.rb +74 -0
  624. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/locale/tag/simple.rb +39 -0
  625. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/middleware.rb +17 -0
  626. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests.rb +14 -0
  627. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/basics.rb +60 -0
  628. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/defaults.rb +52 -0
  629. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/interpolation.rb +159 -0
  630. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/link.rb +56 -0
  631. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/localization.rb +19 -0
  632. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/localization/date.rb +117 -0
  633. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/localization/date_time.rb +103 -0
  634. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/localization/procs.rb +116 -0
  635. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/localization/time.rb +103 -0
  636. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/lookup.rb +81 -0
  637. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/pluralization.rb +35 -0
  638. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/tests/procs.rb +55 -0
  639. data/vendor/bundle/ruby/2.5.0/gems/i18n-1.6.0/lib/i18n/version.rb +5 -0
  640. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/CHANGES.md +391 -0
  641. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/Gemfile +14 -0
  642. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/README-json-jruby.md +33 -0
  643. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/README.md +409 -0
  644. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/Rakefile +408 -0
  645. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/VERSION +1 -0
  646. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/fbuffer/fbuffer.h +187 -0
  647. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/generator/depend +1 -0
  648. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/generator/extconf.rb +4 -0
  649. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/generator/generator.c +1444 -0
  650. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/generator/generator.h +171 -0
  651. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/parser/depend +1 -0
  652. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/parser/extconf.rb +6 -0
  653. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/parser/parser.c +2131 -0
  654. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/parser/parser.h +91 -0
  655. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/ext/parser/parser.rl +891 -0
  656. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/ext/json/extconf.rb +2 -0
  657. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/install.rb +23 -0
  658. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/ByteListTranscoder.java +166 -0
  659. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/Generator.java +443 -0
  660. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/GeneratorMethods.java +231 -0
  661. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/GeneratorService.java +42 -0
  662. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/GeneratorState.java +490 -0
  663. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/OptionsReader.java +113 -0
  664. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/Parser.java +2362 -0
  665. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/Parser.rl +893 -0
  666. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/ParserService.java +34 -0
  667. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/RuntimeInfo.java +116 -0
  668. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/StringDecoder.java +166 -0
  669. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/StringEncoder.java +111 -0
  670. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/java/src/json/ext/Utils.java +88 -0
  671. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/json-java.gemspec +38 -0
  672. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/json.gemspec +0 -0
  673. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/json_pure.gemspec +38 -0
  674. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json.rb +63 -0
  675. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/bigdecimal.rb +29 -0
  676. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/complex.rb +29 -0
  677. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/core.rb +12 -0
  678. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/date.rb +34 -0
  679. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/date_time.rb +50 -0
  680. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/exception.rb +31 -0
  681. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/ostruct.rb +31 -0
  682. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/range.rb +29 -0
  683. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/rational.rb +28 -0
  684. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/regexp.rb +30 -0
  685. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/set.rb +29 -0
  686. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/struct.rb +30 -0
  687. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/symbol.rb +25 -0
  688. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/add/time.rb +38 -0
  689. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/common.rb +456 -0
  690. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/ext.rb +15 -0
  691. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/generic_object.rb +71 -0
  692. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/pure.rb +15 -0
  693. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/pure/generator.rb +458 -0
  694. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/pure/parser.rb +311 -0
  695. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/lib/json/version.rb +9 -0
  696. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/references/rfc7159.txt +899 -0
  697. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail10.json +1 -0
  698. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail11.json +1 -0
  699. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail12.json +1 -0
  700. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail13.json +1 -0
  701. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail14.json +1 -0
  702. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail18.json +1 -0
  703. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail19.json +1 -0
  704. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail2.json +1 -0
  705. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail20.json +1 -0
  706. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail21.json +1 -0
  707. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail22.json +1 -0
  708. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail23.json +1 -0
  709. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail24.json +1 -0
  710. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail25.json +1 -0
  711. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail27.json +2 -0
  712. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail28.json +2 -0
  713. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail3.json +1 -0
  714. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail4.json +1 -0
  715. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail5.json +1 -0
  716. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail6.json +1 -0
  717. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail7.json +1 -0
  718. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail8.json +1 -0
  719. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/fail9.json +1 -0
  720. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/obsolete_fail1.json +1 -0
  721. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/pass1.json +56 -0
  722. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/pass15.json +1 -0
  723. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/pass16.json +1 -0
  724. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/pass17.json +1 -0
  725. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/pass2.json +1 -0
  726. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/pass26.json +1 -0
  727. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/fixtures/pass3.json +6 -0
  728. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_addition_test.rb +203 -0
  729. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_common_interface_test.rb +126 -0
  730. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_encoding_test.rb +107 -0
  731. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_ext_parser_test.rb +15 -0
  732. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_fixtures_test.rb +32 -0
  733. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_generator_test.rb +377 -0
  734. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_generic_object_test.rb +82 -0
  735. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_parser_test.rb +472 -0
  736. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/json_string_matching_test.rb +38 -0
  737. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tests/test_helper.rb +17 -0
  738. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tools/diff.sh +18 -0
  739. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tools/fuzz.rb +131 -0
  740. data/vendor/bundle/ruby/2.5.0/gems/json_pure-2.2.0/tools/server.rb +62 -0
  741. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/History.rdoc +1310 -0
  742. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/Manifest.txt +26 -0
  743. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/README.rdoc +746 -0
  744. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/Rakefile +86 -0
  745. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/design_rationale.rb +52 -0
  746. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/hoe/minitest.rb +32 -0
  747. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest.rb +987 -0
  748. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/assertions.rb +693 -0
  749. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/autorun.rb +13 -0
  750. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/benchmark.rb +455 -0
  751. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/expectations.rb +284 -0
  752. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/hell.rb +11 -0
  753. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/mock.rb +240 -0
  754. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/parallel.rb +70 -0
  755. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/pride.rb +4 -0
  756. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/pride_plugin.rb +142 -0
  757. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/spec.rb +331 -0
  758. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/test.rb +220 -0
  759. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/lib/minitest/unit.rb +45 -0
  760. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/test/minitest/metametameta.rb +102 -0
  761. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/test/minitest/test_minitest_benchmark.rb +137 -0
  762. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/test/minitest/test_minitest_mock.rb +874 -0
  763. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/test/minitest/test_minitest_reporter.rb +299 -0
  764. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/test/minitest/test_minitest_spec.rb +987 -0
  765. data/vendor/bundle/ruby/2.5.0/gems/minitest-5.11.3/test/minitest/test_minitest_test.rb +2142 -0
  766. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/CONTRIBUTING.rdoc +43 -0
  767. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/Gemfile +3 -0
  768. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/History.rdoc +2333 -0
  769. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/MIT-LICENSE +21 -0
  770. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/README.rdoc +156 -0
  771. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/Rakefile +41 -0
  772. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/bin/bundle +105 -0
  773. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/bin/console +7 -0
  774. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/bin/rake +29 -0
  775. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/bin/rdoc +29 -0
  776. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/bin/rubocop +29 -0
  777. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/bin/setup +6 -0
  778. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/command_line_usage.rdoc +158 -0
  779. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/example/Rakefile1 +38 -0
  780. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/example/Rakefile2 +35 -0
  781. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/example/a.c +6 -0
  782. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/example/b.c +6 -0
  783. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/example/main.c +11 -0
  784. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/glossary.rdoc +42 -0
  785. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/jamis.rb +592 -0
  786. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/proto_rake.rdoc +127 -0
  787. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/rake.1 +156 -0
  788. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/rakefile.rdoc +622 -0
  789. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/doc/rational.rdoc +151 -0
  790. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/exe/rake +27 -0
  791. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake.rb +71 -0
  792. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/application.rb +824 -0
  793. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/backtrace.rb +24 -0
  794. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/clean.rb +78 -0
  795. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/cloneable.rb +17 -0
  796. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/cpu_counter.rb +107 -0
  797. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/default_loader.rb +15 -0
  798. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/dsl_definition.rb +195 -0
  799. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/early_time.rb +22 -0
  800. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/ext/core.rb +26 -0
  801. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/ext/string.rb +176 -0
  802. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/file_creation_task.rb +25 -0
  803. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/file_list.rb +435 -0
  804. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/file_task.rb +54 -0
  805. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/file_utils.rb +137 -0
  806. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/file_utils_ext.rb +145 -0
  807. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/invocation_chain.rb +57 -0
  808. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/invocation_exception_mixin.rb +17 -0
  809. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/late_time.rb +18 -0
  810. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/linked_list.rb +112 -0
  811. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/loaders/makefile.rb +54 -0
  812. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/multi_task.rb +14 -0
  813. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/name_space.rb +38 -0
  814. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/packagetask.rb +207 -0
  815. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/phony.rb +16 -0
  816. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/private_reader.rb +21 -0
  817. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/promise.rb +100 -0
  818. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/pseudo_status.rb +30 -0
  819. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/rake_module.rb +67 -0
  820. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/rake_test_loader.rb +27 -0
  821. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/rule_recursion_overflow_error.rb +20 -0
  822. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/scope.rb +43 -0
  823. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/task.rb +413 -0
  824. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/task_argument_error.rb +8 -0
  825. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/task_arguments.rb +109 -0
  826. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/task_manager.rb +323 -0
  827. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/tasklib.rb +12 -0
  828. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/testtask.rb +224 -0
  829. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/thread_history_display.rb +49 -0
  830. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/thread_pool.rb +163 -0
  831. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/trace_output.rb +23 -0
  832. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/version.rb +10 -0
  833. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/lib/rake/win32.rb +51 -0
  834. data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.2/rake.gemspec +42 -0
  835. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/CONTRIBUTING.rdoc +220 -0
  836. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/CVE-2013-0256.rdoc +49 -0
  837. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/ExampleMarkdown.md +37 -0
  838. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/ExampleRDoc.rdoc +208 -0
  839. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/Gemfile +3 -0
  840. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/History.rdoc +1666 -0
  841. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/LEGAL.rdoc +50 -0
  842. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/LICENSE.rdoc +57 -0
  843. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/README.rdoc +130 -0
  844. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/RI.rdoc +57 -0
  845. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/Rakefile +91 -0
  846. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/TODO.rdoc +59 -0
  847. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/appveyor.yml +36 -0
  848. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/bin/console +7 -0
  849. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/bin/setup +6 -0
  850. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/exe/rdoc +44 -0
  851. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/exe/ri +12 -0
  852. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc.rb +180 -0
  853. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/alias.rb +112 -0
  854. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/anon_class.rb +11 -0
  855. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/any_method.rb +316 -0
  856. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/attr.rb +176 -0
  857. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/class_module.rb +802 -0
  858. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/code_object.rb +421 -0
  859. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/code_objects.rb +6 -0
  860. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/comment.rb +239 -0
  861. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/constant.rb +187 -0
  862. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/context.rb +1258 -0
  863. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/context/section.rb +245 -0
  864. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/cross_reference.rb +202 -0
  865. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/encoding.rb +136 -0
  866. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/erb_partial.rb +19 -0
  867. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/erbio.rb +42 -0
  868. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/extend.rb +10 -0
  869. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator.rb +51 -0
  870. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/darkfish.rb +790 -0
  871. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/json_index.rb +300 -0
  872. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/markup.rb +160 -0
  873. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/pot.rb +98 -0
  874. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/pot/message_extractor.rb +68 -0
  875. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/pot/po.rb +84 -0
  876. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/pot/po_entry.rb +141 -0
  877. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/ri.rb +31 -0
  878. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
  879. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_head.rhtml +20 -0
  880. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_VCS_info.rhtml +19 -0
  881. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +9 -0
  882. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +15 -0
  883. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_in_files.rhtml +9 -0
  884. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +15 -0
  885. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +15 -0
  886. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +12 -0
  887. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +11 -0
  888. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +12 -0
  889. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +11 -0
  890. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_search.rhtml +14 -0
  891. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +11 -0
  892. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +18 -0
  893. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/class.rhtml +172 -0
  894. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/css/fonts.css +167 -0
  895. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/css/rdoc.css +590 -0
  896. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf +0 -0
  897. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf +0 -0
  898. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf +0 -0
  899. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf +0 -0
  900. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
  901. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
  902. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/add.png +0 -0
  903. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/arrow_up.png +0 -0
  904. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/brick.png +0 -0
  905. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
  906. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/bug.png +0 -0
  907. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
  908. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
  909. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
  910. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/date.png +0 -0
  911. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/delete.png +0 -0
  912. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/find.png +0 -0
  913. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
  914. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
  915. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/package.png +0 -0
  916. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/page_green.png +0 -0
  917. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
  918. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
  919. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/plugin.png +0 -0
  920. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/ruby.png +0 -0
  921. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
  922. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
  923. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/transparent.png +0 -0
  924. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/wrench.png +0 -0
  925. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
  926. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/images/zoom.png +0 -0
  927. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/index.rhtml +23 -0
  928. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/js/darkfish.js +161 -0
  929. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/js/jquery.js +4 -0
  930. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/js/search.js +109 -0
  931. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/page.rhtml +18 -0
  932. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/servlet_not_found.rhtml +18 -0
  933. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/servlet_root.rhtml +63 -0
  934. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/darkfish/table_of_contents.rhtml +58 -0
  935. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/json_index/js/navigation.js +141 -0
  936. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/generator/template/json_index/js/searcher.js +229 -0
  937. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/ghost_method.rb +7 -0
  938. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/i18n.rb +10 -0
  939. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/i18n/locale.rb +102 -0
  940. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/i18n/text.rb +126 -0
  941. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/include.rb +10 -0
  942. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/known_classes.rb +73 -0
  943. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markdown.kpeg +1219 -0
  944. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markdown/entities.rb +2132 -0
  945. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markdown/literals.kpeg +23 -0
  946. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup.rb +868 -0
  947. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/attr_changer.rb +23 -0
  948. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/attr_span.rb +30 -0
  949. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/attribute_manager.rb +344 -0
  950. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/attributes.rb +71 -0
  951. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/blank_line.rb +28 -0
  952. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/block_quote.rb +15 -0
  953. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/document.rb +165 -0
  954. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/formatter.rb +266 -0
  955. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/formatter_test_case.rb +764 -0
  956. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/hard_break.rb +32 -0
  957. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/heading.rb +79 -0
  958. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/include.rb +43 -0
  959. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/indented_paragraph.rb +48 -0
  960. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/list.rb +102 -0
  961. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/list_item.rb +100 -0
  962. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/paragraph.rb +29 -0
  963. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/parser.rb +559 -0
  964. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/pre_process.rb +296 -0
  965. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/raw.rb +70 -0
  966. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/regexp_handling.rb +41 -0
  967. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/rule.rb +21 -0
  968. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/text_formatter_test_case.rb +115 -0
  969. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_ansi.rb +94 -0
  970. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_bs.rb +77 -0
  971. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_html.rb +404 -0
  972. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_html_crossref.rb +164 -0
  973. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_html_snippet.rb +285 -0
  974. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_joined_paragraph.rb +46 -0
  975. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_label.rb +75 -0
  976. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_markdown.rb +192 -0
  977. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_rdoc.rb +334 -0
  978. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_table_of_contents.rb +88 -0
  979. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_test.rb +70 -0
  980. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/to_tt_only.rb +121 -0
  981. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/markup/verbatim.rb +84 -0
  982. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/meta_method.rb +7 -0
  983. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/method_attr.rb +419 -0
  984. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/mixin.rb +121 -0
  985. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/normal_class.rb +93 -0
  986. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/normal_module.rb +74 -0
  987. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/options.rb +1235 -0
  988. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser.rb +277 -0
  989. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/c.rb +1269 -0
  990. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/changelog.rb +204 -0
  991. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/markdown.rb +24 -0
  992. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/rd.rb +23 -0
  993. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/ripper_state_lex.rb +589 -0
  994. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/ruby.rb +2317 -0
  995. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/ruby_tools.rb +167 -0
  996. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/simple.rb +61 -0
  997. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/parser/text.rb +12 -0
  998. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/rd.rb +100 -0
  999. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/rd/block_parser.ry +639 -0
  1000. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/rd/inline.rb +72 -0
  1001. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/rd/inline_parser.ry +593 -0
  1002. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/rdoc.rb +566 -0
  1003. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/require.rb +52 -0
  1004. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/ri.rb +21 -0
  1005. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/ri/driver.rb +1568 -0
  1006. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/ri/formatter.rb +6 -0
  1007. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/ri/paths.rb +185 -0
  1008. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/ri/store.rb +7 -0
  1009. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/ri/task.rb +71 -0
  1010. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/rubygems_hook.rb +246 -0
  1011. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/servlet.rb +443 -0
  1012. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/single_class.rb +26 -0
  1013. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/stats.rb +462 -0
  1014. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/stats/normal.rb +58 -0
  1015. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/stats/quiet.rb +60 -0
  1016. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/stats/verbose.rb +46 -0
  1017. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/store.rb +987 -0
  1018. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/task.rb +329 -0
  1019. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/text.rb +298 -0
  1020. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/token_stream.rb +114 -0
  1021. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/tom_doc.rb +264 -0
  1022. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/top_level.rb +289 -0
  1023. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/lib/rdoc/version.rb +8 -0
  1024. data/vendor/bundle/ruby/2.5.0/gems/rdoc-6.1.1/rdoc.gemspec +62 -0
  1025. data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/History.txt +128 -0
  1026. data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/Manifest.txt +9 -0
  1027. data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/README.txt +55 -0
  1028. data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/Rakefile +40 -0
  1029. data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/bin/rubyforge +222 -0
  1030. data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/lib/rubyforge.rb +389 -0
  1031. data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/lib/rubyforge/client.rb +124 -0
  1032. data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/test/test_rubyforge.rb +329 -0
  1033. data/vendor/bundle/ruby/2.5.0/gems/rubyforge-2.0.4/test/test_rubyforge_client.rb +57 -0
  1034. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/Gemfile +20 -0
  1035. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/LICENSE +144 -0
  1036. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/README.md +60 -0
  1037. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/Rakefile +62 -0
  1038. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/examples/bench_cache.rb +35 -0
  1039. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/JRubyCacheBackendLibrary.java +245 -0
  1040. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMap.java +31 -0
  1041. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/ConcurrentHashMapV8.java +3863 -0
  1042. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/LongAdder.java +203 -0
  1043. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/Striped64.java +342 -0
  1044. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
  1045. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/LongAdder.java +204 -0
  1046. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166e/nounsafe/Striped64.java +291 -0
  1047. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/org/jruby/ext/thread_safe/jsr166y/ThreadLocalRandom.java +199 -0
  1048. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/ext/thread_safe/JrubyCacheBackendService.java +15 -0
  1049. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe.rb +65 -0
  1050. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/atomic_reference_cache_backend.rb +908 -0
  1051. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/cache.rb +161 -0
  1052. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/mri_cache_backend.rb +60 -0
  1053. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/non_concurrent_cache_backend.rb +135 -0
  1054. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_cache_backend.rb +77 -0
  1055. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/synchronized_delegator.rb +43 -0
  1056. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb +16 -0
  1057. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/adder.rb +62 -0
  1058. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/atomic_reference.rb +44 -0
  1059. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/cheap_lockable.rb +106 -0
  1060. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/power_of_two_tuple.rb +26 -0
  1061. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/striped64.rb +222 -0
  1062. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile.rb +64 -0
  1063. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/volatile_tuple.rb +46 -0
  1064. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/util/xor_shift_random.rb +41 -0
  1065. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/lib/thread_safe/version.rb +21 -0
  1066. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/spec_helper.rb +31 -0
  1067. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/src/thread_safe/SecurityManager.java +21 -0
  1068. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/support/threads.rb +1 -0
  1069. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/support/threadsafe_test.rb +75 -0
  1070. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/thread_safe/array_spec.rb +18 -0
  1071. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_loops_spec.rb +507 -0
  1072. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/thread_safe/cache_spec.rb +943 -0
  1073. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/thread_safe/hash_spec.rb +17 -0
  1074. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/thread_safe/no_unsafe_spec.rb +27 -0
  1075. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/spec/thread_safe/synchronized_delegator_spec.rb +85 -0
  1076. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/tasks/update_doc.rake +45 -0
  1077. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/thread_safe.gemspec +26 -0
  1078. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/yard-template/default/fulldoc/html/css/common.css +125 -0
  1079. data/vendor/bundle/ruby/2.5.0/gems/thread_safe-0.3.6/yard-template/default/layout/html/footer.erb +16 -0
  1080. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/CHANGES.md +786 -0
  1081. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/LICENSE +19 -0
  1082. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/README.md +151 -0
  1083. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/Rakefile +107 -0
  1084. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo.rb +40 -0
  1085. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/country.rb +196 -0
  1086. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/country_index_definition.rb +31 -0
  1087. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/country_info.rb +42 -0
  1088. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/country_timezone.rb +135 -0
  1089. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/data_source.rb +190 -0
  1090. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/data_timezone.rb +58 -0
  1091. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/data_timezone_info.rb +55 -0
  1092. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/info_timezone.rb +30 -0
  1093. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/linked_timezone.rb +63 -0
  1094. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/linked_timezone_info.rb +26 -0
  1095. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/offset_rationals.rb +77 -0
  1096. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/ruby_core_support.rb +146 -0
  1097. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/ruby_country_info.rb +74 -0
  1098. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/ruby_data_source.rb +136 -0
  1099. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/time_or_datetime.rb +340 -0
  1100. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone.rb +669 -0
  1101. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_definition.rb +36 -0
  1102. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_index_definition.rb +54 -0
  1103. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_info.rb +30 -0
  1104. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_offset.rb +101 -0
  1105. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_period.rb +245 -0
  1106. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_proxy.rb +105 -0
  1107. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_transition.rb +130 -0
  1108. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/timezone_transition_definition.rb +104 -0
  1109. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/transition_data_timezone_info.rb +274 -0
  1110. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_country_info.rb +37 -0
  1111. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_data_source.rb +488 -0
  1112. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/lib/tzinfo/zoneinfo_timezone_info.rb +296 -0
  1113. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_country.rb +234 -0
  1114. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_country_index_definition.rb +69 -0
  1115. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_country_info.rb +16 -0
  1116. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_country_timezone.rb +173 -0
  1117. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_data_source.rb +218 -0
  1118. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_data_timezone.rb +99 -0
  1119. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_data_timezone_info.rb +18 -0
  1120. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_info_timezone.rb +34 -0
  1121. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_linked_timezone.rb +155 -0
  1122. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_linked_timezone_info.rb +23 -0
  1123. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_offset_rationals.rb +23 -0
  1124. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_ruby_core_support.rb +168 -0
  1125. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_ruby_country_info.rb +110 -0
  1126. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_ruby_data_source.rb +143 -0
  1127. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_time_or_datetime.rb +654 -0
  1128. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone.rb +1350 -0
  1129. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_definition.rb +113 -0
  1130. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_index_definition.rb +73 -0
  1131. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_info.rb +11 -0
  1132. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_london.rb +143 -0
  1133. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_melbourne.rb +142 -0
  1134. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_new_york.rb +142 -0
  1135. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_offset.rb +126 -0
  1136. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_period.rb +555 -0
  1137. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_proxy.rb +136 -0
  1138. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_transition.rb +366 -0
  1139. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_transition_definition.rb +295 -0
  1140. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_timezone_utc.rb +27 -0
  1141. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_transition_data_timezone_info.rb +423 -0
  1142. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_zoneinfo_country_info.rb +78 -0
  1143. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_zoneinfo_data_source.rb +1195 -0
  1144. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tc_zoneinfo_timezone_info.rb +1232 -0
  1145. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/test_utils.rb +163 -0
  1146. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/ts_all.rb +7 -0
  1147. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/ts_all_ruby.rb +5 -0
  1148. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/ts_all_zoneinfo.rb +7 -0
  1149. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data.rb +8 -0
  1150. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/America/Argentina/Buenos_Aires.rb +89 -0
  1151. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/America/New_York.rb +315 -0
  1152. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Australia/Melbourne.rb +218 -0
  1153. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/EST.rb +19 -0
  1154. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__m__1.rb +21 -0
  1155. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/GMT__p__1.rb +21 -0
  1156. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Etc/UTC.rb +21 -0
  1157. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Amsterdam.rb +261 -0
  1158. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Andorra.rb +186 -0
  1159. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/London.rb +321 -0
  1160. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Paris.rb +265 -0
  1161. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/Europe/Prague.rb +220 -0
  1162. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/definitions/UTC.rb +16 -0
  1163. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/indexes/countries.rb +927 -0
  1164. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/indexes/timezones.rb +596 -0
  1165. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/tzinfo-data/tzinfo/data/version.rb +14 -0
  1166. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/America/Argentina/Buenos_Aires +0 -0
  1167. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/America/New_York +0 -0
  1168. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Australia/Melbourne +0 -0
  1169. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/EST +0 -0
  1170. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Etc/UTC +0 -0
  1171. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Amsterdam +0 -0
  1172. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Andorra +0 -0
  1173. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/London +0 -0
  1174. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Paris +0 -0
  1175. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Europe/Prague +0 -0
  1176. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/Factory +0 -0
  1177. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/iso3166.tab +275 -0
  1178. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/leapseconds +61 -0
  1179. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/posix/Europe/London +0 -0
  1180. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/posixrules +0 -0
  1181. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/right/Europe/London +0 -0
  1182. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/zone.tab +439 -0
  1183. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/test/zoneinfo/zone1970.tab +369 -0
  1184. data/vendor/bundle/ruby/2.5.0/gems/tzinfo-1.2.5/tzinfo.gemspec +21 -0
  1185. data/vendor/bundle/ruby/2.5.0/specifications/activemodel-5.2.3.gemspec +34 -0
  1186. data/vendor/bundle/ruby/2.5.0/specifications/activemodel-serializers-xml-1.0.2.gemspec +46 -0
  1187. data/vendor/bundle/ruby/2.5.0/specifications/activeresource-5.1.0.gemspec +48 -0
  1188. data/vendor/bundle/ruby/2.5.0/specifications/activesupport-5.2.3.gemspec +44 -0
  1189. data/vendor/bundle/ruby/2.5.0/specifications/allison-2.0.3.gemspec +23 -0
  1190. data/vendor/bundle/ruby/2.5.0/specifications/builder-3.2.3.gemspec +21 -0
  1191. data/vendor/bundle/ruby/2.5.0/specifications/concurrent-ruby-1.1.5.gemspec +24 -0
  1192. data/vendor/bundle/ruby/2.5.0/specifications/echoe-4.6.6.gemspec +46 -0
  1193. data/vendor/bundle/ruby/2.5.0/specifications/i18n-1.6.0.gemspec +35 -0
  1194. data/vendor/bundle/ruby/2.5.0/specifications/json_pure-2.2.0.gemspec +39 -0
  1195. data/vendor/bundle/ruby/2.5.0/specifications/minitest-5.11.3.gemspec +39 -0
  1196. data/vendor/bundle/ruby/2.5.0/specifications/rake-12.3.2.gemspec +49 -0
  1197. data/vendor/bundle/ruby/2.5.0/specifications/rdoc-6.1.1.gemspec +50 -0
  1198. data/vendor/bundle/ruby/2.5.0/specifications/rubyforge-2.0.4.gemspec +36 -0
  1199. data/vendor/bundle/ruby/2.5.0/specifications/thread_safe-0.3.6.gemspec +38 -0
  1200. data/vendor/bundle/ruby/2.5.0/specifications/tzinfo-1.2.5.gemspec +37 -0
  1201. metadata +1283 -91
  1202. metadata.gz.sig +2 -0
  1203. data/sbin/rake-deploy1.sh +0 -9
  1204. data/sbin/rake-deploy2.sh +0 -11
  1205. data/sbin/reboot.rb +0 -3
  1206. data/sbin/ric_reboot.rb +0 -3
@@ -0,0 +1,171 @@
1
+ #ifndef _GENERATOR_H_
2
+ #define _GENERATOR_H_
3
+
4
+ #include <math.h>
5
+ #include <ctype.h>
6
+
7
+ #include "ruby.h"
8
+
9
+ #ifdef HAVE_RUBY_RE_H
10
+ #include "ruby/re.h"
11
+ #else
12
+ #include "re.h"
13
+ #endif
14
+
15
+ #ifndef rb_intern_str
16
+ #define rb_intern_str(string) SYM2ID(rb_str_intern(string))
17
+ #endif
18
+
19
+ #ifndef rb_obj_instance_variables
20
+ #define rb_obj_instance_variables(object) rb_funcall(object, rb_intern("instance_variables"), 0)
21
+ #endif
22
+
23
+ #define option_given_p(opts, key) RTEST(rb_funcall(opts, i_key_p, 1, key))
24
+
25
+ /* unicode definitions */
26
+
27
+ #define UNI_STRICT_CONVERSION 1
28
+
29
+ typedef unsigned long UTF32; /* at least 32 bits */
30
+ typedef unsigned short UTF16; /* at least 16 bits */
31
+ typedef unsigned char UTF8; /* typically 8 bits */
32
+
33
+ #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD
34
+ #define UNI_MAX_BMP (UTF32)0x0000FFFF
35
+ #define UNI_MAX_UTF16 (UTF32)0x0010FFFF
36
+ #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF
37
+ #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF
38
+
39
+ #define UNI_SUR_HIGH_START (UTF32)0xD800
40
+ #define UNI_SUR_HIGH_END (UTF32)0xDBFF
41
+ #define UNI_SUR_LOW_START (UTF32)0xDC00
42
+ #define UNI_SUR_LOW_END (UTF32)0xDFFF
43
+
44
+ static const int halfShift = 10; /* used for shifting by 10 bits */
45
+
46
+ static const UTF32 halfBase = 0x0010000UL;
47
+ static const UTF32 halfMask = 0x3FFUL;
48
+
49
+ static unsigned char isLegalUTF8(const UTF8 *source, unsigned long length);
50
+ static void unicode_escape(char *buf, UTF16 character);
51
+ static void unicode_escape_to_buffer(FBuffer *buffer, char buf[6], UTF16 character);
52
+ static void convert_UTF8_to_JSON_ASCII(FBuffer *buffer, VALUE string);
53
+ static void convert_UTF8_to_JSON(FBuffer *buffer, VALUE string);
54
+ static char *fstrndup(const char *ptr, unsigned long len);
55
+
56
+ /* ruby api and some helpers */
57
+
58
+ typedef struct JSON_Generator_StateStruct {
59
+ char *indent;
60
+ long indent_len;
61
+ char *space;
62
+ long space_len;
63
+ char *space_before;
64
+ long space_before_len;
65
+ char *object_nl;
66
+ long object_nl_len;
67
+ char *array_nl;
68
+ long array_nl_len;
69
+ FBuffer *array_delim;
70
+ FBuffer *object_delim;
71
+ FBuffer *object_delim2;
72
+ long max_nesting;
73
+ char allow_nan;
74
+ char ascii_only;
75
+ long depth;
76
+ long buffer_initial_length;
77
+ } JSON_Generator_State;
78
+
79
+ #define GET_STATE_TO(self, state) \
80
+ TypedData_Get_Struct(self, JSON_Generator_State, &JSON_Generator_State_type, state)
81
+
82
+ #define GET_STATE(self) \
83
+ JSON_Generator_State *state; \
84
+ GET_STATE_TO(self, state)
85
+
86
+ #define GENERATE_JSON(type) \
87
+ FBuffer *buffer; \
88
+ VALUE Vstate; \
89
+ JSON_Generator_State *state; \
90
+ \
91
+ rb_scan_args(argc, argv, "01", &Vstate); \
92
+ Vstate = cState_from_state_s(cState, Vstate); \
93
+ TypedData_Get_Struct(Vstate, JSON_Generator_State, &JSON_Generator_State_type, state); \
94
+ buffer = cState_prepare_buffer(Vstate); \
95
+ generate_json_##type(buffer, Vstate, state, self); \
96
+ return fbuffer_to_s(buffer)
97
+
98
+ static VALUE mHash_to_json(int argc, VALUE *argv, VALUE self);
99
+ static VALUE mArray_to_json(int argc, VALUE *argv, VALUE self);
100
+ #ifdef RUBY_INTEGER_UNIFICATION
101
+ static VALUE mInteger_to_json(int argc, VALUE *argv, VALUE self);
102
+ #else
103
+ static VALUE mFixnum_to_json(int argc, VALUE *argv, VALUE self);
104
+ static VALUE mBignum_to_json(int argc, VALUE *argv, VALUE self);
105
+ #endif
106
+ static VALUE mFloat_to_json(int argc, VALUE *argv, VALUE self);
107
+ static VALUE mString_included_s(VALUE self, VALUE modul);
108
+ static VALUE mString_to_json(int argc, VALUE *argv, VALUE self);
109
+ static VALUE mString_to_json_raw_object(VALUE self);
110
+ static VALUE mString_to_json_raw(int argc, VALUE *argv, VALUE self);
111
+ static VALUE mString_Extend_json_create(VALUE self, VALUE o);
112
+ static VALUE mTrueClass_to_json(int argc, VALUE *argv, VALUE self);
113
+ static VALUE mFalseClass_to_json(int argc, VALUE *argv, VALUE self);
114
+ static VALUE mNilClass_to_json(int argc, VALUE *argv, VALUE self);
115
+ static VALUE mObject_to_json(int argc, VALUE *argv, VALUE self);
116
+ static void State_free(void *state);
117
+ static VALUE cState_s_allocate(VALUE klass);
118
+ static VALUE cState_configure(VALUE self, VALUE opts);
119
+ static VALUE cState_to_h(VALUE self);
120
+ static void generate_json(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj);
121
+ static void generate_json_object(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj);
122
+ static void generate_json_array(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj);
123
+ static void generate_json_string(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj);
124
+ static void generate_json_null(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj);
125
+ static void generate_json_false(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj);
126
+ static void generate_json_true(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj);
127
+ #ifdef RUBY_INTEGER_UNIFICATION
128
+ static void generate_json_integer(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj);
129
+ #endif
130
+ static void generate_json_fixnum(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj);
131
+ static void generate_json_bignum(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj);
132
+ static void generate_json_float(FBuffer *buffer, VALUE Vstate, JSON_Generator_State *state, VALUE obj);
133
+ static VALUE cState_partial_generate(VALUE self, VALUE obj);
134
+ static VALUE cState_generate(VALUE self, VALUE obj);
135
+ static VALUE cState_initialize(int argc, VALUE *argv, VALUE self);
136
+ static VALUE cState_from_state_s(VALUE self, VALUE opts);
137
+ static VALUE cState_indent(VALUE self);
138
+ static VALUE cState_indent_set(VALUE self, VALUE indent);
139
+ static VALUE cState_space(VALUE self);
140
+ static VALUE cState_space_set(VALUE self, VALUE space);
141
+ static VALUE cState_space_before(VALUE self);
142
+ static VALUE cState_space_before_set(VALUE self, VALUE space_before);
143
+ static VALUE cState_object_nl(VALUE self);
144
+ static VALUE cState_object_nl_set(VALUE self, VALUE object_nl);
145
+ static VALUE cState_array_nl(VALUE self);
146
+ static VALUE cState_array_nl_set(VALUE self, VALUE array_nl);
147
+ static VALUE cState_max_nesting(VALUE self);
148
+ static VALUE cState_max_nesting_set(VALUE self, VALUE depth);
149
+ static VALUE cState_allow_nan_p(VALUE self);
150
+ static VALUE cState_ascii_only_p(VALUE self);
151
+ static VALUE cState_depth(VALUE self);
152
+ static VALUE cState_depth_set(VALUE self, VALUE depth);
153
+ static FBuffer *cState_prepare_buffer(VALUE self);
154
+ #ifndef ZALLOC
155
+ #define ZALLOC(type) ((type *)ruby_zalloc(sizeof(type)))
156
+ static inline void *ruby_zalloc(size_t n)
157
+ {
158
+ void *p = ruby_xmalloc(n);
159
+ memset(p, 0, n);
160
+ return p;
161
+ }
162
+ #endif
163
+ #ifdef TypedData_Make_Struct
164
+ static const rb_data_type_t JSON_Generator_State_type;
165
+ #define NEW_TYPEDDATA_WRAPPER 1
166
+ #else
167
+ #define TypedData_Make_Struct(klass, type, ignore, json) Data_Make_Struct(klass, type, NULL, State_free, json)
168
+ #define TypedData_Get_Struct(self, JSON_Generator_State, ignore, json) Data_Get_Struct(self, JSON_Generator_State, json)
169
+ #endif
170
+
171
+ #endif
@@ -0,0 +1 @@
1
+ parser.o: parser.c parser.h $(srcdir)/../fbuffer/fbuffer.h
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: false
2
+ require 'mkmf'
3
+
4
+ have_func("rb_enc_raise", "ruby.h")
5
+
6
+ create_makefile 'json/ext/parser'
@@ -0,0 +1,2131 @@
1
+
2
+ #line 1 "parser.rl"
3
+ #include "../fbuffer/fbuffer.h"
4
+ #include "parser.h"
5
+
6
+ #if defined HAVE_RUBY_ENCODING_H
7
+ # define EXC_ENCODING rb_utf8_encoding(),
8
+ # ifndef HAVE_RB_ENC_RAISE
9
+ static void
10
+ enc_raise(rb_encoding *enc, VALUE exc, const char *fmt, ...)
11
+ {
12
+ va_list args;
13
+ VALUE mesg;
14
+
15
+ va_start(args, fmt);
16
+ mesg = rb_enc_vsprintf(enc, fmt, args);
17
+ va_end(args);
18
+
19
+ rb_exc_raise(rb_exc_new3(exc, mesg));
20
+ }
21
+ # define rb_enc_raise enc_raise
22
+ # endif
23
+ #else
24
+ # define EXC_ENCODING /* nothing */
25
+ # define rb_enc_raise rb_raise
26
+ #endif
27
+
28
+ /* unicode */
29
+
30
+ static const char digit_values[256] = {
31
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
32
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
33
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, -1,
34
+ -1, -1, -1, -1, -1, -1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1,
35
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
36
+ 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
37
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
38
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
39
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
40
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
41
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
42
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
43
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
44
+ -1, -1, -1, -1, -1, -1, -1
45
+ };
46
+
47
+ static UTF32 unescape_unicode(const unsigned char *p)
48
+ {
49
+ char b;
50
+ UTF32 result = 0;
51
+ b = digit_values[p[0]];
52
+ if (b < 0) return UNI_REPLACEMENT_CHAR;
53
+ result = (result << 4) | (unsigned char)b;
54
+ b = digit_values[p[1]];
55
+ if (b < 0) return UNI_REPLACEMENT_CHAR;
56
+ result = (result << 4) | (unsigned char)b;
57
+ b = digit_values[p[2]];
58
+ if (b < 0) return UNI_REPLACEMENT_CHAR;
59
+ result = (result << 4) | (unsigned char)b;
60
+ b = digit_values[p[3]];
61
+ if (b < 0) return UNI_REPLACEMENT_CHAR;
62
+ result = (result << 4) | (unsigned char)b;
63
+ return result;
64
+ }
65
+
66
+ static int convert_UTF32_to_UTF8(char *buf, UTF32 ch)
67
+ {
68
+ int len = 1;
69
+ if (ch <= 0x7F) {
70
+ buf[0] = (char) ch;
71
+ } else if (ch <= 0x07FF) {
72
+ buf[0] = (char) ((ch >> 6) | 0xC0);
73
+ buf[1] = (char) ((ch & 0x3F) | 0x80);
74
+ len++;
75
+ } else if (ch <= 0xFFFF) {
76
+ buf[0] = (char) ((ch >> 12) | 0xE0);
77
+ buf[1] = (char) (((ch >> 6) & 0x3F) | 0x80);
78
+ buf[2] = (char) ((ch & 0x3F) | 0x80);
79
+ len += 2;
80
+ } else if (ch <= 0x1fffff) {
81
+ buf[0] =(char) ((ch >> 18) | 0xF0);
82
+ buf[1] =(char) (((ch >> 12) & 0x3F) | 0x80);
83
+ buf[2] =(char) (((ch >> 6) & 0x3F) | 0x80);
84
+ buf[3] =(char) ((ch & 0x3F) | 0x80);
85
+ len += 3;
86
+ } else {
87
+ buf[0] = '?';
88
+ }
89
+ return len;
90
+ }
91
+
92
+ static VALUE mJSON, mExt, cParser, eParserError, eNestingError;
93
+ static VALUE CNaN, CInfinity, CMinusInfinity;
94
+ static VALUE cBigDecimal = Qundef;
95
+
96
+ static ID i_json_creatable_p, i_json_create, i_create_id, i_create_additions,
97
+ i_chr, i_max_nesting, i_allow_nan, i_symbolize_names,
98
+ i_object_class, i_array_class, i_decimal_class, i_key_p,
99
+ i_deep_const_get, i_match, i_match_string, i_aset, i_aref,
100
+ i_leftshift, i_new, i_BigDecimal;
101
+
102
+
103
+ #line 126 "parser.rl"
104
+
105
+
106
+
107
+ #line 108 "parser.c"
108
+ enum {JSON_object_start = 1};
109
+ enum {JSON_object_first_final = 27};
110
+ enum {JSON_object_error = 0};
111
+
112
+ enum {JSON_object_en_main = 1};
113
+
114
+
115
+ #line 167 "parser.rl"
116
+
117
+
118
+ static char *JSON_parse_object(JSON_Parser *json, char *p, char *pe, VALUE *result, int current_nesting)
119
+ {
120
+ int cs = EVIL;
121
+ VALUE last_name = Qnil;
122
+ VALUE object_class = json->object_class;
123
+
124
+ if (json->max_nesting && current_nesting > json->max_nesting) {
125
+ rb_raise(eNestingError, "nesting of %d is too deep", current_nesting);
126
+ }
127
+
128
+ *result = NIL_P(object_class) ? rb_hash_new() : rb_class_new_instance(0, 0, object_class);
129
+
130
+
131
+ #line 132 "parser.c"
132
+ {
133
+ cs = JSON_object_start;
134
+ }
135
+
136
+ #line 182 "parser.rl"
137
+
138
+ #line 139 "parser.c"
139
+ {
140
+ if ( p == pe )
141
+ goto _test_eof;
142
+ switch ( cs )
143
+ {
144
+ case 1:
145
+ if ( (*p) == 123 )
146
+ goto st2;
147
+ goto st0;
148
+ st0:
149
+ cs = 0;
150
+ goto _out;
151
+ st2:
152
+ if ( ++p == pe )
153
+ goto _test_eof2;
154
+ case 2:
155
+ switch( (*p) ) {
156
+ case 13: goto st2;
157
+ case 32: goto st2;
158
+ case 34: goto tr2;
159
+ case 47: goto st23;
160
+ case 125: goto tr4;
161
+ }
162
+ if ( 9 <= (*p) && (*p) <= 10 )
163
+ goto st2;
164
+ goto st0;
165
+ tr2:
166
+ #line 149 "parser.rl"
167
+ {
168
+ char *np;
169
+ json->parsing_name = 1;
170
+ np = JSON_parse_string(json, p, pe, &last_name);
171
+ json->parsing_name = 0;
172
+ if (np == NULL) { p--; {p++; cs = 3; goto _out;} } else {p = (( np))-1;}
173
+ }
174
+ goto st3;
175
+ st3:
176
+ if ( ++p == pe )
177
+ goto _test_eof3;
178
+ case 3:
179
+ #line 180 "parser.c"
180
+ switch( (*p) ) {
181
+ case 13: goto st3;
182
+ case 32: goto st3;
183
+ case 47: goto st4;
184
+ case 58: goto st8;
185
+ }
186
+ if ( 9 <= (*p) && (*p) <= 10 )
187
+ goto st3;
188
+ goto st0;
189
+ st4:
190
+ if ( ++p == pe )
191
+ goto _test_eof4;
192
+ case 4:
193
+ switch( (*p) ) {
194
+ case 42: goto st5;
195
+ case 47: goto st7;
196
+ }
197
+ goto st0;
198
+ st5:
199
+ if ( ++p == pe )
200
+ goto _test_eof5;
201
+ case 5:
202
+ if ( (*p) == 42 )
203
+ goto st6;
204
+ goto st5;
205
+ st6:
206
+ if ( ++p == pe )
207
+ goto _test_eof6;
208
+ case 6:
209
+ switch( (*p) ) {
210
+ case 42: goto st6;
211
+ case 47: goto st3;
212
+ }
213
+ goto st5;
214
+ st7:
215
+ if ( ++p == pe )
216
+ goto _test_eof7;
217
+ case 7:
218
+ if ( (*p) == 10 )
219
+ goto st3;
220
+ goto st7;
221
+ st8:
222
+ if ( ++p == pe )
223
+ goto _test_eof8;
224
+ case 8:
225
+ switch( (*p) ) {
226
+ case 13: goto st8;
227
+ case 32: goto st8;
228
+ case 34: goto tr11;
229
+ case 45: goto tr11;
230
+ case 47: goto st19;
231
+ case 73: goto tr11;
232
+ case 78: goto tr11;
233
+ case 91: goto tr11;
234
+ case 102: goto tr11;
235
+ case 110: goto tr11;
236
+ case 116: goto tr11;
237
+ case 123: goto tr11;
238
+ }
239
+ if ( (*p) > 10 ) {
240
+ if ( 48 <= (*p) && (*p) <= 57 )
241
+ goto tr11;
242
+ } else if ( (*p) >= 9 )
243
+ goto st8;
244
+ goto st0;
245
+ tr11:
246
+ #line 134 "parser.rl"
247
+ {
248
+ VALUE v = Qnil;
249
+ char *np = JSON_parse_value(json, p, pe, &v, current_nesting);
250
+ if (np == NULL) {
251
+ p--; {p++; cs = 9; goto _out;}
252
+ } else {
253
+ if (NIL_P(json->object_class)) {
254
+ rb_hash_aset(*result, last_name, v);
255
+ } else {
256
+ rb_funcall(*result, i_aset, 2, last_name, v);
257
+ }
258
+ {p = (( np))-1;}
259
+ }
260
+ }
261
+ goto st9;
262
+ st9:
263
+ if ( ++p == pe )
264
+ goto _test_eof9;
265
+ case 9:
266
+ #line 267 "parser.c"
267
+ switch( (*p) ) {
268
+ case 13: goto st9;
269
+ case 32: goto st9;
270
+ case 44: goto st10;
271
+ case 47: goto st15;
272
+ case 125: goto tr4;
273
+ }
274
+ if ( 9 <= (*p) && (*p) <= 10 )
275
+ goto st9;
276
+ goto st0;
277
+ st10:
278
+ if ( ++p == pe )
279
+ goto _test_eof10;
280
+ case 10:
281
+ switch( (*p) ) {
282
+ case 13: goto st10;
283
+ case 32: goto st10;
284
+ case 34: goto tr2;
285
+ case 47: goto st11;
286
+ }
287
+ if ( 9 <= (*p) && (*p) <= 10 )
288
+ goto st10;
289
+ goto st0;
290
+ st11:
291
+ if ( ++p == pe )
292
+ goto _test_eof11;
293
+ case 11:
294
+ switch( (*p) ) {
295
+ case 42: goto st12;
296
+ case 47: goto st14;
297
+ }
298
+ goto st0;
299
+ st12:
300
+ if ( ++p == pe )
301
+ goto _test_eof12;
302
+ case 12:
303
+ if ( (*p) == 42 )
304
+ goto st13;
305
+ goto st12;
306
+ st13:
307
+ if ( ++p == pe )
308
+ goto _test_eof13;
309
+ case 13:
310
+ switch( (*p) ) {
311
+ case 42: goto st13;
312
+ case 47: goto st10;
313
+ }
314
+ goto st12;
315
+ st14:
316
+ if ( ++p == pe )
317
+ goto _test_eof14;
318
+ case 14:
319
+ if ( (*p) == 10 )
320
+ goto st10;
321
+ goto st14;
322
+ st15:
323
+ if ( ++p == pe )
324
+ goto _test_eof15;
325
+ case 15:
326
+ switch( (*p) ) {
327
+ case 42: goto st16;
328
+ case 47: goto st18;
329
+ }
330
+ goto st0;
331
+ st16:
332
+ if ( ++p == pe )
333
+ goto _test_eof16;
334
+ case 16:
335
+ if ( (*p) == 42 )
336
+ goto st17;
337
+ goto st16;
338
+ st17:
339
+ if ( ++p == pe )
340
+ goto _test_eof17;
341
+ case 17:
342
+ switch( (*p) ) {
343
+ case 42: goto st17;
344
+ case 47: goto st9;
345
+ }
346
+ goto st16;
347
+ st18:
348
+ if ( ++p == pe )
349
+ goto _test_eof18;
350
+ case 18:
351
+ if ( (*p) == 10 )
352
+ goto st9;
353
+ goto st18;
354
+ tr4:
355
+ #line 157 "parser.rl"
356
+ { p--; {p++; cs = 27; goto _out;} }
357
+ goto st27;
358
+ st27:
359
+ if ( ++p == pe )
360
+ goto _test_eof27;
361
+ case 27:
362
+ #line 363 "parser.c"
363
+ goto st0;
364
+ st19:
365
+ if ( ++p == pe )
366
+ goto _test_eof19;
367
+ case 19:
368
+ switch( (*p) ) {
369
+ case 42: goto st20;
370
+ case 47: goto st22;
371
+ }
372
+ goto st0;
373
+ st20:
374
+ if ( ++p == pe )
375
+ goto _test_eof20;
376
+ case 20:
377
+ if ( (*p) == 42 )
378
+ goto st21;
379
+ goto st20;
380
+ st21:
381
+ if ( ++p == pe )
382
+ goto _test_eof21;
383
+ case 21:
384
+ switch( (*p) ) {
385
+ case 42: goto st21;
386
+ case 47: goto st8;
387
+ }
388
+ goto st20;
389
+ st22:
390
+ if ( ++p == pe )
391
+ goto _test_eof22;
392
+ case 22:
393
+ if ( (*p) == 10 )
394
+ goto st8;
395
+ goto st22;
396
+ st23:
397
+ if ( ++p == pe )
398
+ goto _test_eof23;
399
+ case 23:
400
+ switch( (*p) ) {
401
+ case 42: goto st24;
402
+ case 47: goto st26;
403
+ }
404
+ goto st0;
405
+ st24:
406
+ if ( ++p == pe )
407
+ goto _test_eof24;
408
+ case 24:
409
+ if ( (*p) == 42 )
410
+ goto st25;
411
+ goto st24;
412
+ st25:
413
+ if ( ++p == pe )
414
+ goto _test_eof25;
415
+ case 25:
416
+ switch( (*p) ) {
417
+ case 42: goto st25;
418
+ case 47: goto st2;
419
+ }
420
+ goto st24;
421
+ st26:
422
+ if ( ++p == pe )
423
+ goto _test_eof26;
424
+ case 26:
425
+ if ( (*p) == 10 )
426
+ goto st2;
427
+ goto st26;
428
+ }
429
+ _test_eof2: cs = 2; goto _test_eof;
430
+ _test_eof3: cs = 3; goto _test_eof;
431
+ _test_eof4: cs = 4; goto _test_eof;
432
+ _test_eof5: cs = 5; goto _test_eof;
433
+ _test_eof6: cs = 6; goto _test_eof;
434
+ _test_eof7: cs = 7; goto _test_eof;
435
+ _test_eof8: cs = 8; goto _test_eof;
436
+ _test_eof9: cs = 9; goto _test_eof;
437
+ _test_eof10: cs = 10; goto _test_eof;
438
+ _test_eof11: cs = 11; goto _test_eof;
439
+ _test_eof12: cs = 12; goto _test_eof;
440
+ _test_eof13: cs = 13; goto _test_eof;
441
+ _test_eof14: cs = 14; goto _test_eof;
442
+ _test_eof15: cs = 15; goto _test_eof;
443
+ _test_eof16: cs = 16; goto _test_eof;
444
+ _test_eof17: cs = 17; goto _test_eof;
445
+ _test_eof18: cs = 18; goto _test_eof;
446
+ _test_eof27: cs = 27; goto _test_eof;
447
+ _test_eof19: cs = 19; goto _test_eof;
448
+ _test_eof20: cs = 20; goto _test_eof;
449
+ _test_eof21: cs = 21; goto _test_eof;
450
+ _test_eof22: cs = 22; goto _test_eof;
451
+ _test_eof23: cs = 23; goto _test_eof;
452
+ _test_eof24: cs = 24; goto _test_eof;
453
+ _test_eof25: cs = 25; goto _test_eof;
454
+ _test_eof26: cs = 26; goto _test_eof;
455
+
456
+ _test_eof: {}
457
+ _out: {}
458
+ }
459
+
460
+ #line 183 "parser.rl"
461
+
462
+ if (cs >= JSON_object_first_final) {
463
+ if (json->create_additions) {
464
+ VALUE klassname;
465
+ if (NIL_P(json->object_class)) {
466
+ klassname = rb_hash_aref(*result, json->create_id);
467
+ } else {
468
+ klassname = rb_funcall(*result, i_aref, 1, json->create_id);
469
+ }
470
+ if (!NIL_P(klassname)) {
471
+ VALUE klass = rb_funcall(mJSON, i_deep_const_get, 1, klassname);
472
+ if (RTEST(rb_funcall(klass, i_json_creatable_p, 0))) {
473
+ *result = rb_funcall(klass, i_json_create, 1, *result);
474
+ }
475
+ }
476
+ }
477
+ return p + 1;
478
+ } else {
479
+ return NULL;
480
+ }
481
+ }
482
+
483
+
484
+
485
+ #line 486 "parser.c"
486
+ enum {JSON_value_start = 1};
487
+ enum {JSON_value_first_final = 29};
488
+ enum {JSON_value_error = 0};
489
+
490
+ enum {JSON_value_en_main = 1};
491
+
492
+
493
+ #line 283 "parser.rl"
494
+
495
+
496
+ static char *JSON_parse_value(JSON_Parser *json, char *p, char *pe, VALUE *result, int current_nesting)
497
+ {
498
+ int cs = EVIL;
499
+
500
+
501
+ #line 502 "parser.c"
502
+ {
503
+ cs = JSON_value_start;
504
+ }
505
+
506
+ #line 290 "parser.rl"
507
+
508
+ #line 509 "parser.c"
509
+ {
510
+ if ( p == pe )
511
+ goto _test_eof;
512
+ switch ( cs )
513
+ {
514
+ st1:
515
+ if ( ++p == pe )
516
+ goto _test_eof1;
517
+ case 1:
518
+ switch( (*p) ) {
519
+ case 13: goto st1;
520
+ case 32: goto st1;
521
+ case 34: goto tr2;
522
+ case 45: goto tr3;
523
+ case 47: goto st6;
524
+ case 73: goto st10;
525
+ case 78: goto st17;
526
+ case 91: goto tr7;
527
+ case 102: goto st19;
528
+ case 110: goto st23;
529
+ case 116: goto st26;
530
+ case 123: goto tr11;
531
+ }
532
+ if ( (*p) > 10 ) {
533
+ if ( 48 <= (*p) && (*p) <= 57 )
534
+ goto tr3;
535
+ } else if ( (*p) >= 9 )
536
+ goto st1;
537
+ goto st0;
538
+ st0:
539
+ cs = 0;
540
+ goto _out;
541
+ tr2:
542
+ #line 235 "parser.rl"
543
+ {
544
+ char *np = JSON_parse_string(json, p, pe, result);
545
+ if (np == NULL) { p--; {p++; cs = 29; goto _out;} } else {p = (( np))-1;}
546
+ }
547
+ goto st29;
548
+ tr3:
549
+ #line 240 "parser.rl"
550
+ {
551
+ char *np;
552
+ if(pe > p + 8 && !strncmp(MinusInfinity, p, 9)) {
553
+ if (json->allow_nan) {
554
+ *result = CMinusInfinity;
555
+ {p = (( p + 10))-1;}
556
+ p--; {p++; cs = 29; goto _out;}
557
+ } else {
558
+ rb_enc_raise(EXC_ENCODING eParserError, "%u: unexpected token at '%s'", __LINE__, p);
559
+ }
560
+ }
561
+ np = JSON_parse_float(json, p, pe, result);
562
+ if (np != NULL) {p = (( np))-1;}
563
+ np = JSON_parse_integer(json, p, pe, result);
564
+ if (np != NULL) {p = (( np))-1;}
565
+ p--; {p++; cs = 29; goto _out;}
566
+ }
567
+ goto st29;
568
+ tr7:
569
+ #line 258 "parser.rl"
570
+ {
571
+ char *np;
572
+ np = JSON_parse_array(json, p, pe, result, current_nesting + 1);
573
+ if (np == NULL) { p--; {p++; cs = 29; goto _out;} } else {p = (( np))-1;}
574
+ }
575
+ goto st29;
576
+ tr11:
577
+ #line 264 "parser.rl"
578
+ {
579
+ char *np;
580
+ np = JSON_parse_object(json, p, pe, result, current_nesting + 1);
581
+ if (np == NULL) { p--; {p++; cs = 29; goto _out;} } else {p = (( np))-1;}
582
+ }
583
+ goto st29;
584
+ tr25:
585
+ #line 228 "parser.rl"
586
+ {
587
+ if (json->allow_nan) {
588
+ *result = CInfinity;
589
+ } else {
590
+ rb_enc_raise(EXC_ENCODING eParserError, "%u: unexpected token at '%s'", __LINE__, p - 8);
591
+ }
592
+ }
593
+ goto st29;
594
+ tr27:
595
+ #line 221 "parser.rl"
596
+ {
597
+ if (json->allow_nan) {
598
+ *result = CNaN;
599
+ } else {
600
+ rb_enc_raise(EXC_ENCODING eParserError, "%u: unexpected token at '%s'", __LINE__, p - 2);
601
+ }
602
+ }
603
+ goto st29;
604
+ tr31:
605
+ #line 215 "parser.rl"
606
+ {
607
+ *result = Qfalse;
608
+ }
609
+ goto st29;
610
+ tr34:
611
+ #line 212 "parser.rl"
612
+ {
613
+ *result = Qnil;
614
+ }
615
+ goto st29;
616
+ tr37:
617
+ #line 218 "parser.rl"
618
+ {
619
+ *result = Qtrue;
620
+ }
621
+ goto st29;
622
+ st29:
623
+ if ( ++p == pe )
624
+ goto _test_eof29;
625
+ case 29:
626
+ #line 270 "parser.rl"
627
+ { p--; {p++; cs = 29; goto _out;} }
628
+ #line 629 "parser.c"
629
+ switch( (*p) ) {
630
+ case 13: goto st29;
631
+ case 32: goto st29;
632
+ case 47: goto st2;
633
+ }
634
+ if ( 9 <= (*p) && (*p) <= 10 )
635
+ goto st29;
636
+ goto st0;
637
+ st2:
638
+ if ( ++p == pe )
639
+ goto _test_eof2;
640
+ case 2:
641
+ switch( (*p) ) {
642
+ case 42: goto st3;
643
+ case 47: goto st5;
644
+ }
645
+ goto st0;
646
+ st3:
647
+ if ( ++p == pe )
648
+ goto _test_eof3;
649
+ case 3:
650
+ if ( (*p) == 42 )
651
+ goto st4;
652
+ goto st3;
653
+ st4:
654
+ if ( ++p == pe )
655
+ goto _test_eof4;
656
+ case 4:
657
+ switch( (*p) ) {
658
+ case 42: goto st4;
659
+ case 47: goto st29;
660
+ }
661
+ goto st3;
662
+ st5:
663
+ if ( ++p == pe )
664
+ goto _test_eof5;
665
+ case 5:
666
+ if ( (*p) == 10 )
667
+ goto st29;
668
+ goto st5;
669
+ st6:
670
+ if ( ++p == pe )
671
+ goto _test_eof6;
672
+ case 6:
673
+ switch( (*p) ) {
674
+ case 42: goto st7;
675
+ case 47: goto st9;
676
+ }
677
+ goto st0;
678
+ st7:
679
+ if ( ++p == pe )
680
+ goto _test_eof7;
681
+ case 7:
682
+ if ( (*p) == 42 )
683
+ goto st8;
684
+ goto st7;
685
+ st8:
686
+ if ( ++p == pe )
687
+ goto _test_eof8;
688
+ case 8:
689
+ switch( (*p) ) {
690
+ case 42: goto st8;
691
+ case 47: goto st1;
692
+ }
693
+ goto st7;
694
+ st9:
695
+ if ( ++p == pe )
696
+ goto _test_eof9;
697
+ case 9:
698
+ if ( (*p) == 10 )
699
+ goto st1;
700
+ goto st9;
701
+ st10:
702
+ if ( ++p == pe )
703
+ goto _test_eof10;
704
+ case 10:
705
+ if ( (*p) == 110 )
706
+ goto st11;
707
+ goto st0;
708
+ st11:
709
+ if ( ++p == pe )
710
+ goto _test_eof11;
711
+ case 11:
712
+ if ( (*p) == 102 )
713
+ goto st12;
714
+ goto st0;
715
+ st12:
716
+ if ( ++p == pe )
717
+ goto _test_eof12;
718
+ case 12:
719
+ if ( (*p) == 105 )
720
+ goto st13;
721
+ goto st0;
722
+ st13:
723
+ if ( ++p == pe )
724
+ goto _test_eof13;
725
+ case 13:
726
+ if ( (*p) == 110 )
727
+ goto st14;
728
+ goto st0;
729
+ st14:
730
+ if ( ++p == pe )
731
+ goto _test_eof14;
732
+ case 14:
733
+ if ( (*p) == 105 )
734
+ goto st15;
735
+ goto st0;
736
+ st15:
737
+ if ( ++p == pe )
738
+ goto _test_eof15;
739
+ case 15:
740
+ if ( (*p) == 116 )
741
+ goto st16;
742
+ goto st0;
743
+ st16:
744
+ if ( ++p == pe )
745
+ goto _test_eof16;
746
+ case 16:
747
+ if ( (*p) == 121 )
748
+ goto tr25;
749
+ goto st0;
750
+ st17:
751
+ if ( ++p == pe )
752
+ goto _test_eof17;
753
+ case 17:
754
+ if ( (*p) == 97 )
755
+ goto st18;
756
+ goto st0;
757
+ st18:
758
+ if ( ++p == pe )
759
+ goto _test_eof18;
760
+ case 18:
761
+ if ( (*p) == 78 )
762
+ goto tr27;
763
+ goto st0;
764
+ st19:
765
+ if ( ++p == pe )
766
+ goto _test_eof19;
767
+ case 19:
768
+ if ( (*p) == 97 )
769
+ goto st20;
770
+ goto st0;
771
+ st20:
772
+ if ( ++p == pe )
773
+ goto _test_eof20;
774
+ case 20:
775
+ if ( (*p) == 108 )
776
+ goto st21;
777
+ goto st0;
778
+ st21:
779
+ if ( ++p == pe )
780
+ goto _test_eof21;
781
+ case 21:
782
+ if ( (*p) == 115 )
783
+ goto st22;
784
+ goto st0;
785
+ st22:
786
+ if ( ++p == pe )
787
+ goto _test_eof22;
788
+ case 22:
789
+ if ( (*p) == 101 )
790
+ goto tr31;
791
+ goto st0;
792
+ st23:
793
+ if ( ++p == pe )
794
+ goto _test_eof23;
795
+ case 23:
796
+ if ( (*p) == 117 )
797
+ goto st24;
798
+ goto st0;
799
+ st24:
800
+ if ( ++p == pe )
801
+ goto _test_eof24;
802
+ case 24:
803
+ if ( (*p) == 108 )
804
+ goto st25;
805
+ goto st0;
806
+ st25:
807
+ if ( ++p == pe )
808
+ goto _test_eof25;
809
+ case 25:
810
+ if ( (*p) == 108 )
811
+ goto tr34;
812
+ goto st0;
813
+ st26:
814
+ if ( ++p == pe )
815
+ goto _test_eof26;
816
+ case 26:
817
+ if ( (*p) == 114 )
818
+ goto st27;
819
+ goto st0;
820
+ st27:
821
+ if ( ++p == pe )
822
+ goto _test_eof27;
823
+ case 27:
824
+ if ( (*p) == 117 )
825
+ goto st28;
826
+ goto st0;
827
+ st28:
828
+ if ( ++p == pe )
829
+ goto _test_eof28;
830
+ case 28:
831
+ if ( (*p) == 101 )
832
+ goto tr37;
833
+ goto st0;
834
+ }
835
+ _test_eof1: cs = 1; goto _test_eof;
836
+ _test_eof29: cs = 29; goto _test_eof;
837
+ _test_eof2: cs = 2; goto _test_eof;
838
+ _test_eof3: cs = 3; goto _test_eof;
839
+ _test_eof4: cs = 4; goto _test_eof;
840
+ _test_eof5: cs = 5; goto _test_eof;
841
+ _test_eof6: cs = 6; goto _test_eof;
842
+ _test_eof7: cs = 7; goto _test_eof;
843
+ _test_eof8: cs = 8; goto _test_eof;
844
+ _test_eof9: cs = 9; goto _test_eof;
845
+ _test_eof10: cs = 10; goto _test_eof;
846
+ _test_eof11: cs = 11; goto _test_eof;
847
+ _test_eof12: cs = 12; goto _test_eof;
848
+ _test_eof13: cs = 13; goto _test_eof;
849
+ _test_eof14: cs = 14; goto _test_eof;
850
+ _test_eof15: cs = 15; goto _test_eof;
851
+ _test_eof16: cs = 16; goto _test_eof;
852
+ _test_eof17: cs = 17; goto _test_eof;
853
+ _test_eof18: cs = 18; goto _test_eof;
854
+ _test_eof19: cs = 19; goto _test_eof;
855
+ _test_eof20: cs = 20; goto _test_eof;
856
+ _test_eof21: cs = 21; goto _test_eof;
857
+ _test_eof22: cs = 22; goto _test_eof;
858
+ _test_eof23: cs = 23; goto _test_eof;
859
+ _test_eof24: cs = 24; goto _test_eof;
860
+ _test_eof25: cs = 25; goto _test_eof;
861
+ _test_eof26: cs = 26; goto _test_eof;
862
+ _test_eof27: cs = 27; goto _test_eof;
863
+ _test_eof28: cs = 28; goto _test_eof;
864
+
865
+ _test_eof: {}
866
+ _out: {}
867
+ }
868
+
869
+ #line 291 "parser.rl"
870
+
871
+ if (cs >= JSON_value_first_final) {
872
+ return p;
873
+ } else {
874
+ return NULL;
875
+ }
876
+ }
877
+
878
+
879
+ #line 880 "parser.c"
880
+ enum {JSON_integer_start = 1};
881
+ enum {JSON_integer_first_final = 3};
882
+ enum {JSON_integer_error = 0};
883
+
884
+ enum {JSON_integer_en_main = 1};
885
+
886
+
887
+ #line 307 "parser.rl"
888
+
889
+
890
+ static char *JSON_parse_integer(JSON_Parser *json, char *p, char *pe, VALUE *result)
891
+ {
892
+ int cs = EVIL;
893
+
894
+
895
+ #line 896 "parser.c"
896
+ {
897
+ cs = JSON_integer_start;
898
+ }
899
+
900
+ #line 314 "parser.rl"
901
+ json->memo = p;
902
+
903
+ #line 904 "parser.c"
904
+ {
905
+ if ( p == pe )
906
+ goto _test_eof;
907
+ switch ( cs )
908
+ {
909
+ case 1:
910
+ switch( (*p) ) {
911
+ case 45: goto st2;
912
+ case 48: goto st3;
913
+ }
914
+ if ( 49 <= (*p) && (*p) <= 57 )
915
+ goto st5;
916
+ goto st0;
917
+ st0:
918
+ cs = 0;
919
+ goto _out;
920
+ st2:
921
+ if ( ++p == pe )
922
+ goto _test_eof2;
923
+ case 2:
924
+ if ( (*p) == 48 )
925
+ goto st3;
926
+ if ( 49 <= (*p) && (*p) <= 57 )
927
+ goto st5;
928
+ goto st0;
929
+ st3:
930
+ if ( ++p == pe )
931
+ goto _test_eof3;
932
+ case 3:
933
+ if ( 48 <= (*p) && (*p) <= 57 )
934
+ goto st0;
935
+ goto tr4;
936
+ tr4:
937
+ #line 304 "parser.rl"
938
+ { p--; {p++; cs = 4; goto _out;} }
939
+ goto st4;
940
+ st4:
941
+ if ( ++p == pe )
942
+ goto _test_eof4;
943
+ case 4:
944
+ #line 945 "parser.c"
945
+ goto st0;
946
+ st5:
947
+ if ( ++p == pe )
948
+ goto _test_eof5;
949
+ case 5:
950
+ if ( 48 <= (*p) && (*p) <= 57 )
951
+ goto st5;
952
+ goto tr4;
953
+ }
954
+ _test_eof2: cs = 2; goto _test_eof;
955
+ _test_eof3: cs = 3; goto _test_eof;
956
+ _test_eof4: cs = 4; goto _test_eof;
957
+ _test_eof5: cs = 5; goto _test_eof;
958
+
959
+ _test_eof: {}
960
+ _out: {}
961
+ }
962
+
963
+ #line 316 "parser.rl"
964
+
965
+ if (cs >= JSON_integer_first_final) {
966
+ long len = p - json->memo;
967
+ fbuffer_clear(json->fbuffer);
968
+ fbuffer_append(json->fbuffer, json->memo, len);
969
+ fbuffer_append_char(json->fbuffer, '\0');
970
+ *result = rb_cstr2inum(FBUFFER_PTR(json->fbuffer), 10);
971
+ return p + 1;
972
+ } else {
973
+ return NULL;
974
+ }
975
+ }
976
+
977
+
978
+ #line 979 "parser.c"
979
+ enum {JSON_float_start = 1};
980
+ enum {JSON_float_first_final = 8};
981
+ enum {JSON_float_error = 0};
982
+
983
+ enum {JSON_float_en_main = 1};
984
+
985
+
986
+ #line 341 "parser.rl"
987
+
988
+
989
+ static int is_bigdecimal_class(VALUE obj)
990
+ {
991
+ if (cBigDecimal == Qundef) {
992
+ if (rb_const_defined(rb_cObject, i_BigDecimal)) {
993
+ cBigDecimal = rb_const_get_at(rb_cObject, i_BigDecimal);
994
+ }
995
+ else {
996
+ return 0;
997
+ }
998
+ }
999
+ return obj == cBigDecimal;
1000
+ }
1001
+
1002
+ static char *JSON_parse_float(JSON_Parser *json, char *p, char *pe, VALUE *result)
1003
+ {
1004
+ int cs = EVIL;
1005
+
1006
+
1007
+ #line 1008 "parser.c"
1008
+ {
1009
+ cs = JSON_float_start;
1010
+ }
1011
+
1012
+ #line 361 "parser.rl"
1013
+ json->memo = p;
1014
+
1015
+ #line 1016 "parser.c"
1016
+ {
1017
+ if ( p == pe )
1018
+ goto _test_eof;
1019
+ switch ( cs )
1020
+ {
1021
+ case 1:
1022
+ switch( (*p) ) {
1023
+ case 45: goto st2;
1024
+ case 48: goto st3;
1025
+ }
1026
+ if ( 49 <= (*p) && (*p) <= 57 )
1027
+ goto st7;
1028
+ goto st0;
1029
+ st0:
1030
+ cs = 0;
1031
+ goto _out;
1032
+ st2:
1033
+ if ( ++p == pe )
1034
+ goto _test_eof2;
1035
+ case 2:
1036
+ if ( (*p) == 48 )
1037
+ goto st3;
1038
+ if ( 49 <= (*p) && (*p) <= 57 )
1039
+ goto st7;
1040
+ goto st0;
1041
+ st3:
1042
+ if ( ++p == pe )
1043
+ goto _test_eof3;
1044
+ case 3:
1045
+ switch( (*p) ) {
1046
+ case 46: goto st4;
1047
+ case 69: goto st5;
1048
+ case 101: goto st5;
1049
+ }
1050
+ goto st0;
1051
+ st4:
1052
+ if ( ++p == pe )
1053
+ goto _test_eof4;
1054
+ case 4:
1055
+ if ( 48 <= (*p) && (*p) <= 57 )
1056
+ goto st8;
1057
+ goto st0;
1058
+ st8:
1059
+ if ( ++p == pe )
1060
+ goto _test_eof8;
1061
+ case 8:
1062
+ switch( (*p) ) {
1063
+ case 69: goto st5;
1064
+ case 101: goto st5;
1065
+ }
1066
+ if ( (*p) > 46 ) {
1067
+ if ( 48 <= (*p) && (*p) <= 57 )
1068
+ goto st8;
1069
+ } else if ( (*p) >= 45 )
1070
+ goto st0;
1071
+ goto tr9;
1072
+ tr9:
1073
+ #line 335 "parser.rl"
1074
+ { p--; {p++; cs = 9; goto _out;} }
1075
+ goto st9;
1076
+ st9:
1077
+ if ( ++p == pe )
1078
+ goto _test_eof9;
1079
+ case 9:
1080
+ #line 1081 "parser.c"
1081
+ goto st0;
1082
+ st5:
1083
+ if ( ++p == pe )
1084
+ goto _test_eof5;
1085
+ case 5:
1086
+ switch( (*p) ) {
1087
+ case 43: goto st6;
1088
+ case 45: goto st6;
1089
+ }
1090
+ if ( 48 <= (*p) && (*p) <= 57 )
1091
+ goto st10;
1092
+ goto st0;
1093
+ st6:
1094
+ if ( ++p == pe )
1095
+ goto _test_eof6;
1096
+ case 6:
1097
+ if ( 48 <= (*p) && (*p) <= 57 )
1098
+ goto st10;
1099
+ goto st0;
1100
+ st10:
1101
+ if ( ++p == pe )
1102
+ goto _test_eof10;
1103
+ case 10:
1104
+ switch( (*p) ) {
1105
+ case 69: goto st0;
1106
+ case 101: goto st0;
1107
+ }
1108
+ if ( (*p) > 46 ) {
1109
+ if ( 48 <= (*p) && (*p) <= 57 )
1110
+ goto st10;
1111
+ } else if ( (*p) >= 45 )
1112
+ goto st0;
1113
+ goto tr9;
1114
+ st7:
1115
+ if ( ++p == pe )
1116
+ goto _test_eof7;
1117
+ case 7:
1118
+ switch( (*p) ) {
1119
+ case 46: goto st4;
1120
+ case 69: goto st5;
1121
+ case 101: goto st5;
1122
+ }
1123
+ if ( 48 <= (*p) && (*p) <= 57 )
1124
+ goto st7;
1125
+ goto st0;
1126
+ }
1127
+ _test_eof2: cs = 2; goto _test_eof;
1128
+ _test_eof3: cs = 3; goto _test_eof;
1129
+ _test_eof4: cs = 4; goto _test_eof;
1130
+ _test_eof8: cs = 8; goto _test_eof;
1131
+ _test_eof9: cs = 9; goto _test_eof;
1132
+ _test_eof5: cs = 5; goto _test_eof;
1133
+ _test_eof6: cs = 6; goto _test_eof;
1134
+ _test_eof10: cs = 10; goto _test_eof;
1135
+ _test_eof7: cs = 7; goto _test_eof;
1136
+
1137
+ _test_eof: {}
1138
+ _out: {}
1139
+ }
1140
+
1141
+ #line 363 "parser.rl"
1142
+
1143
+ if (cs >= JSON_float_first_final) {
1144
+ long len = p - json->memo;
1145
+ fbuffer_clear(json->fbuffer);
1146
+ fbuffer_append(json->fbuffer, json->memo, len);
1147
+ fbuffer_append_char(json->fbuffer, '\0');
1148
+ if (NIL_P(json->decimal_class)) {
1149
+ *result = rb_float_new(rb_cstr_to_dbl(FBUFFER_PTR(json->fbuffer), 1));
1150
+ } else {
1151
+ VALUE text;
1152
+ text = rb_str_new2(FBUFFER_PTR(json->fbuffer));
1153
+ if (is_bigdecimal_class(json->decimal_class)) {
1154
+ *result = rb_funcall(Qnil, i_BigDecimal, 1, text);
1155
+ } else {
1156
+ *result = rb_funcall(json->decimal_class, i_new, 1, text);
1157
+ }
1158
+ }
1159
+ return p + 1;
1160
+ } else {
1161
+ return NULL;
1162
+ }
1163
+ }
1164
+
1165
+
1166
+
1167
+ #line 1168 "parser.c"
1168
+ enum {JSON_array_start = 1};
1169
+ enum {JSON_array_first_final = 17};
1170
+ enum {JSON_array_error = 0};
1171
+
1172
+ enum {JSON_array_en_main = 1};
1173
+
1174
+
1175
+ #line 416 "parser.rl"
1176
+
1177
+
1178
+ static char *JSON_parse_array(JSON_Parser *json, char *p, char *pe, VALUE *result, int current_nesting)
1179
+ {
1180
+ int cs = EVIL;
1181
+ VALUE array_class = json->array_class;
1182
+
1183
+ if (json->max_nesting && current_nesting > json->max_nesting) {
1184
+ rb_raise(eNestingError, "nesting of %d is too deep", current_nesting);
1185
+ }
1186
+ *result = NIL_P(array_class) ? rb_ary_new() : rb_class_new_instance(0, 0, array_class);
1187
+
1188
+
1189
+ #line 1190 "parser.c"
1190
+ {
1191
+ cs = JSON_array_start;
1192
+ }
1193
+
1194
+ #line 429 "parser.rl"
1195
+
1196
+ #line 1197 "parser.c"
1197
+ {
1198
+ if ( p == pe )
1199
+ goto _test_eof;
1200
+ switch ( cs )
1201
+ {
1202
+ case 1:
1203
+ if ( (*p) == 91 )
1204
+ goto st2;
1205
+ goto st0;
1206
+ st0:
1207
+ cs = 0;
1208
+ goto _out;
1209
+ st2:
1210
+ if ( ++p == pe )
1211
+ goto _test_eof2;
1212
+ case 2:
1213
+ switch( (*p) ) {
1214
+ case 13: goto st2;
1215
+ case 32: goto st2;
1216
+ case 34: goto tr2;
1217
+ case 45: goto tr2;
1218
+ case 47: goto st13;
1219
+ case 73: goto tr2;
1220
+ case 78: goto tr2;
1221
+ case 91: goto tr2;
1222
+ case 93: goto tr4;
1223
+ case 102: goto tr2;
1224
+ case 110: goto tr2;
1225
+ case 116: goto tr2;
1226
+ case 123: goto tr2;
1227
+ }
1228
+ if ( (*p) > 10 ) {
1229
+ if ( 48 <= (*p) && (*p) <= 57 )
1230
+ goto tr2;
1231
+ } else if ( (*p) >= 9 )
1232
+ goto st2;
1233
+ goto st0;
1234
+ tr2:
1235
+ #line 393 "parser.rl"
1236
+ {
1237
+ VALUE v = Qnil;
1238
+ char *np = JSON_parse_value(json, p, pe, &v, current_nesting);
1239
+ if (np == NULL) {
1240
+ p--; {p++; cs = 3; goto _out;}
1241
+ } else {
1242
+ if (NIL_P(json->array_class)) {
1243
+ rb_ary_push(*result, v);
1244
+ } else {
1245
+ rb_funcall(*result, i_leftshift, 1, v);
1246
+ }
1247
+ {p = (( np))-1;}
1248
+ }
1249
+ }
1250
+ goto st3;
1251
+ st3:
1252
+ if ( ++p == pe )
1253
+ goto _test_eof3;
1254
+ case 3:
1255
+ #line 1256 "parser.c"
1256
+ switch( (*p) ) {
1257
+ case 13: goto st3;
1258
+ case 32: goto st3;
1259
+ case 44: goto st4;
1260
+ case 47: goto st9;
1261
+ case 93: goto tr4;
1262
+ }
1263
+ if ( 9 <= (*p) && (*p) <= 10 )
1264
+ goto st3;
1265
+ goto st0;
1266
+ st4:
1267
+ if ( ++p == pe )
1268
+ goto _test_eof4;
1269
+ case 4:
1270
+ switch( (*p) ) {
1271
+ case 13: goto st4;
1272
+ case 32: goto st4;
1273
+ case 34: goto tr2;
1274
+ case 45: goto tr2;
1275
+ case 47: goto st5;
1276
+ case 73: goto tr2;
1277
+ case 78: goto tr2;
1278
+ case 91: goto tr2;
1279
+ case 102: goto tr2;
1280
+ case 110: goto tr2;
1281
+ case 116: goto tr2;
1282
+ case 123: goto tr2;
1283
+ }
1284
+ if ( (*p) > 10 ) {
1285
+ if ( 48 <= (*p) && (*p) <= 57 )
1286
+ goto tr2;
1287
+ } else if ( (*p) >= 9 )
1288
+ goto st4;
1289
+ goto st0;
1290
+ st5:
1291
+ if ( ++p == pe )
1292
+ goto _test_eof5;
1293
+ case 5:
1294
+ switch( (*p) ) {
1295
+ case 42: goto st6;
1296
+ case 47: goto st8;
1297
+ }
1298
+ goto st0;
1299
+ st6:
1300
+ if ( ++p == pe )
1301
+ goto _test_eof6;
1302
+ case 6:
1303
+ if ( (*p) == 42 )
1304
+ goto st7;
1305
+ goto st6;
1306
+ st7:
1307
+ if ( ++p == pe )
1308
+ goto _test_eof7;
1309
+ case 7:
1310
+ switch( (*p) ) {
1311
+ case 42: goto st7;
1312
+ case 47: goto st4;
1313
+ }
1314
+ goto st6;
1315
+ st8:
1316
+ if ( ++p == pe )
1317
+ goto _test_eof8;
1318
+ case 8:
1319
+ if ( (*p) == 10 )
1320
+ goto st4;
1321
+ goto st8;
1322
+ st9:
1323
+ if ( ++p == pe )
1324
+ goto _test_eof9;
1325
+ case 9:
1326
+ switch( (*p) ) {
1327
+ case 42: goto st10;
1328
+ case 47: goto st12;
1329
+ }
1330
+ goto st0;
1331
+ st10:
1332
+ if ( ++p == pe )
1333
+ goto _test_eof10;
1334
+ case 10:
1335
+ if ( (*p) == 42 )
1336
+ goto st11;
1337
+ goto st10;
1338
+ st11:
1339
+ if ( ++p == pe )
1340
+ goto _test_eof11;
1341
+ case 11:
1342
+ switch( (*p) ) {
1343
+ case 42: goto st11;
1344
+ case 47: goto st3;
1345
+ }
1346
+ goto st10;
1347
+ st12:
1348
+ if ( ++p == pe )
1349
+ goto _test_eof12;
1350
+ case 12:
1351
+ if ( (*p) == 10 )
1352
+ goto st3;
1353
+ goto st12;
1354
+ tr4:
1355
+ #line 408 "parser.rl"
1356
+ { p--; {p++; cs = 17; goto _out;} }
1357
+ goto st17;
1358
+ st17:
1359
+ if ( ++p == pe )
1360
+ goto _test_eof17;
1361
+ case 17:
1362
+ #line 1363 "parser.c"
1363
+ goto st0;
1364
+ st13:
1365
+ if ( ++p == pe )
1366
+ goto _test_eof13;
1367
+ case 13:
1368
+ switch( (*p) ) {
1369
+ case 42: goto st14;
1370
+ case 47: goto st16;
1371
+ }
1372
+ goto st0;
1373
+ st14:
1374
+ if ( ++p == pe )
1375
+ goto _test_eof14;
1376
+ case 14:
1377
+ if ( (*p) == 42 )
1378
+ goto st15;
1379
+ goto st14;
1380
+ st15:
1381
+ if ( ++p == pe )
1382
+ goto _test_eof15;
1383
+ case 15:
1384
+ switch( (*p) ) {
1385
+ case 42: goto st15;
1386
+ case 47: goto st2;
1387
+ }
1388
+ goto st14;
1389
+ st16:
1390
+ if ( ++p == pe )
1391
+ goto _test_eof16;
1392
+ case 16:
1393
+ if ( (*p) == 10 )
1394
+ goto st2;
1395
+ goto st16;
1396
+ }
1397
+ _test_eof2: cs = 2; goto _test_eof;
1398
+ _test_eof3: cs = 3; goto _test_eof;
1399
+ _test_eof4: cs = 4; goto _test_eof;
1400
+ _test_eof5: cs = 5; goto _test_eof;
1401
+ _test_eof6: cs = 6; goto _test_eof;
1402
+ _test_eof7: cs = 7; goto _test_eof;
1403
+ _test_eof8: cs = 8; goto _test_eof;
1404
+ _test_eof9: cs = 9; goto _test_eof;
1405
+ _test_eof10: cs = 10; goto _test_eof;
1406
+ _test_eof11: cs = 11; goto _test_eof;
1407
+ _test_eof12: cs = 12; goto _test_eof;
1408
+ _test_eof17: cs = 17; goto _test_eof;
1409
+ _test_eof13: cs = 13; goto _test_eof;
1410
+ _test_eof14: cs = 14; goto _test_eof;
1411
+ _test_eof15: cs = 15; goto _test_eof;
1412
+ _test_eof16: cs = 16; goto _test_eof;
1413
+
1414
+ _test_eof: {}
1415
+ _out: {}
1416
+ }
1417
+
1418
+ #line 430 "parser.rl"
1419
+
1420
+ if(cs >= JSON_array_first_final) {
1421
+ return p + 1;
1422
+ } else {
1423
+ rb_enc_raise(EXC_ENCODING eParserError, "%u: unexpected token at '%s'", __LINE__, p);
1424
+ return NULL;
1425
+ }
1426
+ }
1427
+
1428
+ static VALUE json_string_unescape(VALUE result, char *string, char *stringEnd)
1429
+ {
1430
+ char *p = string, *pe = string, *unescape;
1431
+ int unescape_len;
1432
+ char buf[4];
1433
+
1434
+ while (pe < stringEnd) {
1435
+ if (*pe == '\\') {
1436
+ unescape = (char *) "?";
1437
+ unescape_len = 1;
1438
+ if (pe > p) rb_str_buf_cat(result, p, pe - p);
1439
+ switch (*++pe) {
1440
+ case 'n':
1441
+ unescape = (char *) "\n";
1442
+ break;
1443
+ case 'r':
1444
+ unescape = (char *) "\r";
1445
+ break;
1446
+ case 't':
1447
+ unescape = (char *) "\t";
1448
+ break;
1449
+ case '"':
1450
+ unescape = (char *) "\"";
1451
+ break;
1452
+ case '\\':
1453
+ unescape = (char *) "\\";
1454
+ break;
1455
+ case 'b':
1456
+ unescape = (char *) "\b";
1457
+ break;
1458
+ case 'f':
1459
+ unescape = (char *) "\f";
1460
+ break;
1461
+ case 'u':
1462
+ if (pe > stringEnd - 4) {
1463
+ rb_enc_raise(
1464
+ EXC_ENCODING eParserError,
1465
+ "%u: incomplete unicode character escape sequence at '%s'", __LINE__, p
1466
+ );
1467
+ } else {
1468
+ UTF32 ch = unescape_unicode((unsigned char *) ++pe);
1469
+ pe += 3;
1470
+ if (UNI_SUR_HIGH_START == (ch & 0xFC00)) {
1471
+ pe++;
1472
+ if (pe > stringEnd - 6) {
1473
+ rb_enc_raise(
1474
+ EXC_ENCODING eParserError,
1475
+ "%u: incomplete surrogate pair at '%s'", __LINE__, p
1476
+ );
1477
+ }
1478
+ if (pe[0] == '\\' && pe[1] == 'u') {
1479
+ UTF32 sur = unescape_unicode((unsigned char *) pe + 2);
1480
+ ch = (((ch & 0x3F) << 10) | ((((ch >> 6) & 0xF) + 1) << 16)
1481
+ | (sur & 0x3FF));
1482
+ pe += 5;
1483
+ } else {
1484
+ unescape = (char *) "?";
1485
+ break;
1486
+ }
1487
+ }
1488
+ unescape_len = convert_UTF32_to_UTF8(buf, ch);
1489
+ unescape = buf;
1490
+ }
1491
+ break;
1492
+ default:
1493
+ p = pe;
1494
+ continue;
1495
+ }
1496
+ rb_str_buf_cat(result, unescape, unescape_len);
1497
+ p = ++pe;
1498
+ } else {
1499
+ pe++;
1500
+ }
1501
+ }
1502
+ rb_str_buf_cat(result, p, pe - p);
1503
+ return result;
1504
+ }
1505
+
1506
+
1507
+ #line 1508 "parser.c"
1508
+ enum {JSON_string_start = 1};
1509
+ enum {JSON_string_first_final = 8};
1510
+ enum {JSON_string_error = 0};
1511
+
1512
+ enum {JSON_string_en_main = 1};
1513
+
1514
+
1515
+ #line 537 "parser.rl"
1516
+
1517
+
1518
+ static int
1519
+ match_i(VALUE regexp, VALUE klass, VALUE memo)
1520
+ {
1521
+ if (regexp == Qundef) return ST_STOP;
1522
+ if (RTEST(rb_funcall(klass, i_json_creatable_p, 0)) &&
1523
+ RTEST(rb_funcall(regexp, i_match, 1, rb_ary_entry(memo, 0)))) {
1524
+ rb_ary_push(memo, klass);
1525
+ return ST_STOP;
1526
+ }
1527
+ return ST_CONTINUE;
1528
+ }
1529
+
1530
+ static char *JSON_parse_string(JSON_Parser *json, char *p, char *pe, VALUE *result)
1531
+ {
1532
+ int cs = EVIL;
1533
+ VALUE match_string;
1534
+
1535
+ *result = rb_str_buf_new(0);
1536
+
1537
+ #line 1538 "parser.c"
1538
+ {
1539
+ cs = JSON_string_start;
1540
+ }
1541
+
1542
+ #line 558 "parser.rl"
1543
+ json->memo = p;
1544
+
1545
+ #line 1546 "parser.c"
1546
+ {
1547
+ if ( p == pe )
1548
+ goto _test_eof;
1549
+ switch ( cs )
1550
+ {
1551
+ case 1:
1552
+ if ( (*p) == 34 )
1553
+ goto st2;
1554
+ goto st0;
1555
+ st0:
1556
+ cs = 0;
1557
+ goto _out;
1558
+ st2:
1559
+ if ( ++p == pe )
1560
+ goto _test_eof2;
1561
+ case 2:
1562
+ switch( (*p) ) {
1563
+ case 34: goto tr2;
1564
+ case 92: goto st3;
1565
+ }
1566
+ if ( 0 <= (*p) && (*p) <= 31 )
1567
+ goto st0;
1568
+ goto st2;
1569
+ tr2:
1570
+ #line 523 "parser.rl"
1571
+ {
1572
+ *result = json_string_unescape(*result, json->memo + 1, p);
1573
+ if (NIL_P(*result)) {
1574
+ p--;
1575
+ {p++; cs = 8; goto _out;}
1576
+ } else {
1577
+ FORCE_UTF8(*result);
1578
+ {p = (( p + 1))-1;}
1579
+ }
1580
+ }
1581
+ #line 534 "parser.rl"
1582
+ { p--; {p++; cs = 8; goto _out;} }
1583
+ goto st8;
1584
+ st8:
1585
+ if ( ++p == pe )
1586
+ goto _test_eof8;
1587
+ case 8:
1588
+ #line 1589 "parser.c"
1589
+ goto st0;
1590
+ st3:
1591
+ if ( ++p == pe )
1592
+ goto _test_eof3;
1593
+ case 3:
1594
+ if ( (*p) == 117 )
1595
+ goto st4;
1596
+ if ( 0 <= (*p) && (*p) <= 31 )
1597
+ goto st0;
1598
+ goto st2;
1599
+ st4:
1600
+ if ( ++p == pe )
1601
+ goto _test_eof4;
1602
+ case 4:
1603
+ if ( (*p) < 65 ) {
1604
+ if ( 48 <= (*p) && (*p) <= 57 )
1605
+ goto st5;
1606
+ } else if ( (*p) > 70 ) {
1607
+ if ( 97 <= (*p) && (*p) <= 102 )
1608
+ goto st5;
1609
+ } else
1610
+ goto st5;
1611
+ goto st0;
1612
+ st5:
1613
+ if ( ++p == pe )
1614
+ goto _test_eof5;
1615
+ case 5:
1616
+ if ( (*p) < 65 ) {
1617
+ if ( 48 <= (*p) && (*p) <= 57 )
1618
+ goto st6;
1619
+ } else if ( (*p) > 70 ) {
1620
+ if ( 97 <= (*p) && (*p) <= 102 )
1621
+ goto st6;
1622
+ } else
1623
+ goto st6;
1624
+ goto st0;
1625
+ st6:
1626
+ if ( ++p == pe )
1627
+ goto _test_eof6;
1628
+ case 6:
1629
+ if ( (*p) < 65 ) {
1630
+ if ( 48 <= (*p) && (*p) <= 57 )
1631
+ goto st7;
1632
+ } else if ( (*p) > 70 ) {
1633
+ if ( 97 <= (*p) && (*p) <= 102 )
1634
+ goto st7;
1635
+ } else
1636
+ goto st7;
1637
+ goto st0;
1638
+ st7:
1639
+ if ( ++p == pe )
1640
+ goto _test_eof7;
1641
+ case 7:
1642
+ if ( (*p) < 65 ) {
1643
+ if ( 48 <= (*p) && (*p) <= 57 )
1644
+ goto st2;
1645
+ } else if ( (*p) > 70 ) {
1646
+ if ( 97 <= (*p) && (*p) <= 102 )
1647
+ goto st2;
1648
+ } else
1649
+ goto st2;
1650
+ goto st0;
1651
+ }
1652
+ _test_eof2: cs = 2; goto _test_eof;
1653
+ _test_eof8: cs = 8; goto _test_eof;
1654
+ _test_eof3: cs = 3; goto _test_eof;
1655
+ _test_eof4: cs = 4; goto _test_eof;
1656
+ _test_eof5: cs = 5; goto _test_eof;
1657
+ _test_eof6: cs = 6; goto _test_eof;
1658
+ _test_eof7: cs = 7; goto _test_eof;
1659
+
1660
+ _test_eof: {}
1661
+ _out: {}
1662
+ }
1663
+
1664
+ #line 560 "parser.rl"
1665
+
1666
+ if (json->create_additions && RTEST(match_string = json->match_string)) {
1667
+ VALUE klass;
1668
+ VALUE memo = rb_ary_new2(2);
1669
+ rb_ary_push(memo, *result);
1670
+ rb_hash_foreach(match_string, match_i, memo);
1671
+ klass = rb_ary_entry(memo, 1);
1672
+ if (RTEST(klass)) {
1673
+ *result = rb_funcall(klass, i_json_create, 1, *result);
1674
+ }
1675
+ }
1676
+
1677
+ if (json->symbolize_names && json->parsing_name) {
1678
+ *result = rb_str_intern(*result);
1679
+ } else {
1680
+ if (RB_TYPE_P(*result, T_STRING)) {
1681
+ rb_str_resize(*result, RSTRING_LEN(*result));
1682
+ }
1683
+ }
1684
+ if (cs >= JSON_string_first_final) {
1685
+ return p + 1;
1686
+ } else {
1687
+ return NULL;
1688
+ }
1689
+ }
1690
+
1691
+ /*
1692
+ * Document-class: JSON::Ext::Parser
1693
+ *
1694
+ * This is the JSON parser implemented as a C extension. It can be configured
1695
+ * to be used by setting
1696
+ *
1697
+ * JSON.parser = JSON::Ext::Parser
1698
+ *
1699
+ * with the method parser= in JSON.
1700
+ *
1701
+ */
1702
+
1703
+ static VALUE convert_encoding(VALUE source)
1704
+ {
1705
+ #ifdef HAVE_RUBY_ENCODING_H
1706
+ rb_encoding *enc = rb_enc_get(source);
1707
+ if (enc == rb_ascii8bit_encoding()) {
1708
+ if (OBJ_FROZEN(source)) {
1709
+ source = rb_str_dup(source);
1710
+ }
1711
+ FORCE_UTF8(source);
1712
+ } else {
1713
+ source = rb_str_conv_enc(source, rb_enc_get(source), rb_utf8_encoding());
1714
+ }
1715
+ #endif
1716
+ return source;
1717
+ }
1718
+
1719
+ /*
1720
+ * call-seq: new(source, opts => {})
1721
+ *
1722
+ * Creates a new JSON::Ext::Parser instance for the string _source_.
1723
+ *
1724
+ * Creates a new JSON::Ext::Parser instance for the string _source_.
1725
+ *
1726
+ * It will be configured by the _opts_ hash. _opts_ can have the following
1727
+ * keys:
1728
+ *
1729
+ * _opts_ can have the following keys:
1730
+ * * *max_nesting*: The maximum depth of nesting allowed in the parsed data
1731
+ * structures. Disable depth checking with :max_nesting => false|nil|0, it
1732
+ * defaults to 100.
1733
+ * * *allow_nan*: If set to true, allow NaN, Infinity and -Infinity in
1734
+ * defiance of RFC 4627 to be parsed by the Parser. This option defaults to
1735
+ * false.
1736
+ * * *symbolize_names*: If set to true, returns symbols for the names
1737
+ * (keys) in a JSON object. Otherwise strings are returned, which is
1738
+ * also the default. It's not possible to use this option in
1739
+ * conjunction with the *create_additions* option.
1740
+ * * *create_additions*: If set to false, the Parser doesn't create
1741
+ * additions even if a matching class and create_id was found. This option
1742
+ * defaults to false.
1743
+ * * *object_class*: Defaults to Hash
1744
+ * * *array_class*: Defaults to Array
1745
+ */
1746
+ static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self)
1747
+ {
1748
+ VALUE source, opts;
1749
+ GET_PARSER_INIT;
1750
+
1751
+ if (json->Vsource) {
1752
+ rb_raise(rb_eTypeError, "already initialized instance");
1753
+ }
1754
+ #ifdef HAVE_RB_SCAN_ARGS_OPTIONAL_HASH
1755
+ rb_scan_args(argc, argv, "1:", &source, &opts);
1756
+ #else
1757
+ rb_scan_args(argc, argv, "11", &source, &opts);
1758
+ #endif
1759
+ if (!NIL_P(opts)) {
1760
+ #ifndef HAVE_RB_SCAN_ARGS_OPTIONAL_HASH
1761
+ opts = rb_convert_type(opts, T_HASH, "Hash", "to_hash");
1762
+ if (NIL_P(opts)) {
1763
+ rb_raise(rb_eArgError, "opts needs to be like a hash");
1764
+ } else {
1765
+ #endif
1766
+ VALUE tmp = ID2SYM(i_max_nesting);
1767
+ if (option_given_p(opts, tmp)) {
1768
+ VALUE max_nesting = rb_hash_aref(opts, tmp);
1769
+ if (RTEST(max_nesting)) {
1770
+ Check_Type(max_nesting, T_FIXNUM);
1771
+ json->max_nesting = FIX2INT(max_nesting);
1772
+ } else {
1773
+ json->max_nesting = 0;
1774
+ }
1775
+ } else {
1776
+ json->max_nesting = 100;
1777
+ }
1778
+ tmp = ID2SYM(i_allow_nan);
1779
+ if (option_given_p(opts, tmp)) {
1780
+ json->allow_nan = RTEST(rb_hash_aref(opts, tmp)) ? 1 : 0;
1781
+ } else {
1782
+ json->allow_nan = 0;
1783
+ }
1784
+ tmp = ID2SYM(i_symbolize_names);
1785
+ if (option_given_p(opts, tmp)) {
1786
+ json->symbolize_names = RTEST(rb_hash_aref(opts, tmp)) ? 1 : 0;
1787
+ } else {
1788
+ json->symbolize_names = 0;
1789
+ }
1790
+ tmp = ID2SYM(i_create_additions);
1791
+ if (option_given_p(opts, tmp)) {
1792
+ json->create_additions = RTEST(rb_hash_aref(opts, tmp));
1793
+ } else {
1794
+ json->create_additions = 0;
1795
+ }
1796
+ if (json->symbolize_names && json->create_additions) {
1797
+ rb_raise(rb_eArgError,
1798
+ "options :symbolize_names and :create_additions cannot be "
1799
+ " used in conjunction");
1800
+ }
1801
+ tmp = ID2SYM(i_create_id);
1802
+ if (option_given_p(opts, tmp)) {
1803
+ json->create_id = rb_hash_aref(opts, tmp);
1804
+ } else {
1805
+ json->create_id = rb_funcall(mJSON, i_create_id, 0);
1806
+ }
1807
+ tmp = ID2SYM(i_object_class);
1808
+ if (option_given_p(opts, tmp)) {
1809
+ json->object_class = rb_hash_aref(opts, tmp);
1810
+ } else {
1811
+ json->object_class = Qnil;
1812
+ }
1813
+ tmp = ID2SYM(i_array_class);
1814
+ if (option_given_p(opts, tmp)) {
1815
+ json->array_class = rb_hash_aref(opts, tmp);
1816
+ } else {
1817
+ json->array_class = Qnil;
1818
+ }
1819
+ tmp = ID2SYM(i_decimal_class);
1820
+ if (option_given_p(opts, tmp)) {
1821
+ json->decimal_class = rb_hash_aref(opts, tmp);
1822
+ } else {
1823
+ json->decimal_class = Qnil;
1824
+ }
1825
+ tmp = ID2SYM(i_match_string);
1826
+ if (option_given_p(opts, tmp)) {
1827
+ VALUE match_string = rb_hash_aref(opts, tmp);
1828
+ json->match_string = RTEST(match_string) ? match_string : Qnil;
1829
+ } else {
1830
+ json->match_string = Qnil;
1831
+ }
1832
+ #ifndef HAVE_RB_SCAN_ARGS_OPTIONAL_HASH
1833
+ }
1834
+ #endif
1835
+ } else {
1836
+ json->max_nesting = 100;
1837
+ json->allow_nan = 0;
1838
+ json->create_additions = 1;
1839
+ json->create_id = rb_funcall(mJSON, i_create_id, 0);
1840
+ json->object_class = Qnil;
1841
+ json->array_class = Qnil;
1842
+ json->decimal_class = Qnil;
1843
+ }
1844
+ source = convert_encoding(StringValue(source));
1845
+ StringValue(source);
1846
+ json->len = RSTRING_LEN(source);
1847
+ json->source = RSTRING_PTR(source);;
1848
+ json->Vsource = source;
1849
+ return self;
1850
+ }
1851
+
1852
+
1853
+ #line 1854 "parser.c"
1854
+ enum {JSON_start = 1};
1855
+ enum {JSON_first_final = 10};
1856
+ enum {JSON_error = 0};
1857
+
1858
+ enum {JSON_en_main = 1};
1859
+
1860
+
1861
+ #line 762 "parser.rl"
1862
+
1863
+
1864
+ /*
1865
+ * call-seq: parse()
1866
+ *
1867
+ * Parses the current JSON text _source_ and returns the complete data
1868
+ * structure as a result.
1869
+ */
1870
+ static VALUE cParser_parse(VALUE self)
1871
+ {
1872
+ char *p, *pe;
1873
+ int cs = EVIL;
1874
+ VALUE result = Qnil;
1875
+ GET_PARSER;
1876
+
1877
+
1878
+ #line 1879 "parser.c"
1879
+ {
1880
+ cs = JSON_start;
1881
+ }
1882
+
1883
+ #line 778 "parser.rl"
1884
+ p = json->source;
1885
+ pe = p + json->len;
1886
+
1887
+ #line 1888 "parser.c"
1888
+ {
1889
+ if ( p == pe )
1890
+ goto _test_eof;
1891
+ switch ( cs )
1892
+ {
1893
+ st1:
1894
+ if ( ++p == pe )
1895
+ goto _test_eof1;
1896
+ case 1:
1897
+ switch( (*p) ) {
1898
+ case 13: goto st1;
1899
+ case 32: goto st1;
1900
+ case 34: goto tr2;
1901
+ case 45: goto tr2;
1902
+ case 47: goto st6;
1903
+ case 73: goto tr2;
1904
+ case 78: goto tr2;
1905
+ case 91: goto tr2;
1906
+ case 102: goto tr2;
1907
+ case 110: goto tr2;
1908
+ case 116: goto tr2;
1909
+ case 123: goto tr2;
1910
+ }
1911
+ if ( (*p) > 10 ) {
1912
+ if ( 48 <= (*p) && (*p) <= 57 )
1913
+ goto tr2;
1914
+ } else if ( (*p) >= 9 )
1915
+ goto st1;
1916
+ goto st0;
1917
+ st0:
1918
+ cs = 0;
1919
+ goto _out;
1920
+ tr2:
1921
+ #line 754 "parser.rl"
1922
+ {
1923
+ char *np = JSON_parse_value(json, p, pe, &result, 0);
1924
+ if (np == NULL) { p--; {p++; cs = 10; goto _out;} } else {p = (( np))-1;}
1925
+ }
1926
+ goto st10;
1927
+ st10:
1928
+ if ( ++p == pe )
1929
+ goto _test_eof10;
1930
+ case 10:
1931
+ #line 1932 "parser.c"
1932
+ switch( (*p) ) {
1933
+ case 13: goto st10;
1934
+ case 32: goto st10;
1935
+ case 47: goto st2;
1936
+ }
1937
+ if ( 9 <= (*p) && (*p) <= 10 )
1938
+ goto st10;
1939
+ goto st0;
1940
+ st2:
1941
+ if ( ++p == pe )
1942
+ goto _test_eof2;
1943
+ case 2:
1944
+ switch( (*p) ) {
1945
+ case 42: goto st3;
1946
+ case 47: goto st5;
1947
+ }
1948
+ goto st0;
1949
+ st3:
1950
+ if ( ++p == pe )
1951
+ goto _test_eof3;
1952
+ case 3:
1953
+ if ( (*p) == 42 )
1954
+ goto st4;
1955
+ goto st3;
1956
+ st4:
1957
+ if ( ++p == pe )
1958
+ goto _test_eof4;
1959
+ case 4:
1960
+ switch( (*p) ) {
1961
+ case 42: goto st4;
1962
+ case 47: goto st10;
1963
+ }
1964
+ goto st3;
1965
+ st5:
1966
+ if ( ++p == pe )
1967
+ goto _test_eof5;
1968
+ case 5:
1969
+ if ( (*p) == 10 )
1970
+ goto st10;
1971
+ goto st5;
1972
+ st6:
1973
+ if ( ++p == pe )
1974
+ goto _test_eof6;
1975
+ case 6:
1976
+ switch( (*p) ) {
1977
+ case 42: goto st7;
1978
+ case 47: goto st9;
1979
+ }
1980
+ goto st0;
1981
+ st7:
1982
+ if ( ++p == pe )
1983
+ goto _test_eof7;
1984
+ case 7:
1985
+ if ( (*p) == 42 )
1986
+ goto st8;
1987
+ goto st7;
1988
+ st8:
1989
+ if ( ++p == pe )
1990
+ goto _test_eof8;
1991
+ case 8:
1992
+ switch( (*p) ) {
1993
+ case 42: goto st8;
1994
+ case 47: goto st1;
1995
+ }
1996
+ goto st7;
1997
+ st9:
1998
+ if ( ++p == pe )
1999
+ goto _test_eof9;
2000
+ case 9:
2001
+ if ( (*p) == 10 )
2002
+ goto st1;
2003
+ goto st9;
2004
+ }
2005
+ _test_eof1: cs = 1; goto _test_eof;
2006
+ _test_eof10: cs = 10; goto _test_eof;
2007
+ _test_eof2: cs = 2; goto _test_eof;
2008
+ _test_eof3: cs = 3; goto _test_eof;
2009
+ _test_eof4: cs = 4; goto _test_eof;
2010
+ _test_eof5: cs = 5; goto _test_eof;
2011
+ _test_eof6: cs = 6; goto _test_eof;
2012
+ _test_eof7: cs = 7; goto _test_eof;
2013
+ _test_eof8: cs = 8; goto _test_eof;
2014
+ _test_eof9: cs = 9; goto _test_eof;
2015
+
2016
+ _test_eof: {}
2017
+ _out: {}
2018
+ }
2019
+
2020
+ #line 781 "parser.rl"
2021
+
2022
+ if (cs >= JSON_first_final && p == pe) {
2023
+ return result;
2024
+ } else {
2025
+ rb_enc_raise(EXC_ENCODING eParserError, "%u: unexpected token at '%s'", __LINE__, p);
2026
+ return Qnil;
2027
+ }
2028
+ }
2029
+
2030
+ static void JSON_mark(void *ptr)
2031
+ {
2032
+ JSON_Parser *json = ptr;
2033
+ rb_gc_mark_maybe(json->Vsource);
2034
+ rb_gc_mark_maybe(json->create_id);
2035
+ rb_gc_mark_maybe(json->object_class);
2036
+ rb_gc_mark_maybe(json->array_class);
2037
+ rb_gc_mark_maybe(json->decimal_class);
2038
+ rb_gc_mark_maybe(json->match_string);
2039
+ }
2040
+
2041
+ static void JSON_free(void *ptr)
2042
+ {
2043
+ JSON_Parser *json = ptr;
2044
+ fbuffer_free(json->fbuffer);
2045
+ ruby_xfree(json);
2046
+ }
2047
+
2048
+ static size_t JSON_memsize(const void *ptr)
2049
+ {
2050
+ const JSON_Parser *json = ptr;
2051
+ return sizeof(*json) + FBUFFER_CAPA(json->fbuffer);
2052
+ }
2053
+
2054
+ #ifdef NEW_TYPEDDATA_WRAPPER
2055
+ static const rb_data_type_t JSON_Parser_type = {
2056
+ "JSON/Parser",
2057
+ {JSON_mark, JSON_free, JSON_memsize,},
2058
+ #ifdef RUBY_TYPED_FREE_IMMEDIATELY
2059
+ 0, 0,
2060
+ RUBY_TYPED_FREE_IMMEDIATELY,
2061
+ #endif
2062
+ };
2063
+ #endif
2064
+
2065
+ static VALUE cJSON_parser_s_allocate(VALUE klass)
2066
+ {
2067
+ JSON_Parser *json;
2068
+ VALUE obj = TypedData_Make_Struct(klass, JSON_Parser, &JSON_Parser_type, json);
2069
+ json->fbuffer = fbuffer_alloc(0);
2070
+ return obj;
2071
+ }
2072
+
2073
+ /*
2074
+ * call-seq: source()
2075
+ *
2076
+ * Returns a copy of the current _source_ string, that was used to construct
2077
+ * this Parser.
2078
+ */
2079
+ static VALUE cParser_source(VALUE self)
2080
+ {
2081
+ GET_PARSER;
2082
+ return rb_str_dup(json->Vsource);
2083
+ }
2084
+
2085
+ void Init_parser(void)
2086
+ {
2087
+ #undef rb_intern
2088
+ rb_require("json/common");
2089
+ mJSON = rb_define_module("JSON");
2090
+ mExt = rb_define_module_under(mJSON, "Ext");
2091
+ cParser = rb_define_class_under(mExt, "Parser", rb_cObject);
2092
+ eParserError = rb_path2class("JSON::ParserError");
2093
+ eNestingError = rb_path2class("JSON::NestingError");
2094
+ rb_define_alloc_func(cParser, cJSON_parser_s_allocate);
2095
+ rb_define_method(cParser, "initialize", cParser_initialize, -1);
2096
+ rb_define_method(cParser, "parse", cParser_parse, 0);
2097
+ rb_define_method(cParser, "source", cParser_source, 0);
2098
+
2099
+ CNaN = rb_const_get(mJSON, rb_intern("NaN"));
2100
+ CInfinity = rb_const_get(mJSON, rb_intern("Infinity"));
2101
+ CMinusInfinity = rb_const_get(mJSON, rb_intern("MinusInfinity"));
2102
+
2103
+ i_json_creatable_p = rb_intern("json_creatable?");
2104
+ i_json_create = rb_intern("json_create");
2105
+ i_create_id = rb_intern("create_id");
2106
+ i_create_additions = rb_intern("create_additions");
2107
+ i_chr = rb_intern("chr");
2108
+ i_max_nesting = rb_intern("max_nesting");
2109
+ i_allow_nan = rb_intern("allow_nan");
2110
+ i_symbolize_names = rb_intern("symbolize_names");
2111
+ i_object_class = rb_intern("object_class");
2112
+ i_array_class = rb_intern("array_class");
2113
+ i_decimal_class = rb_intern("decimal_class");
2114
+ i_match = rb_intern("match");
2115
+ i_match_string = rb_intern("match_string");
2116
+ i_key_p = rb_intern("key?");
2117
+ i_deep_const_get = rb_intern("deep_const_get");
2118
+ i_aset = rb_intern("[]=");
2119
+ i_aref = rb_intern("[]");
2120
+ i_leftshift = rb_intern("<<");
2121
+ i_new = rb_intern("new");
2122
+ i_BigDecimal = rb_intern("BigDecimal");
2123
+ }
2124
+
2125
+ /*
2126
+ * Local variables:
2127
+ * mode: c
2128
+ * c-file-style: ruby
2129
+ * indent-tabs-mode: nil
2130
+ * End:
2131
+ */