hocon 1.3.1 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hocon/cli.rb +7 -7
  3. data/lib/hocon/config.rb +3 -3
  4. data/lib/hocon/config_error.rb +1 -1
  5. data/lib/hocon/config_factory.rb +5 -5
  6. data/lib/hocon/config_include_context.rb +2 -2
  7. data/lib/hocon/config_includer_file.rb +2 -2
  8. data/lib/hocon/config_list.rb +3 -3
  9. data/lib/hocon/config_mergeable.rb +2 -2
  10. data/lib/hocon/config_object.rb +2 -2
  11. data/lib/hocon/config_parse_options.rb +1 -1
  12. data/lib/hocon/config_parseable.rb +2 -2
  13. data/lib/hocon/config_render_options.rb +1 -1
  14. data/lib/hocon/config_resolve_options.rb +1 -1
  15. data/lib/hocon/config_syntax.rb +1 -1
  16. data/lib/hocon/config_util.rb +1 -1
  17. data/lib/hocon/config_value.rb +2 -2
  18. data/lib/hocon/config_value_factory.rb +2 -2
  19. data/lib/hocon/config_value_type.rb +2 -2
  20. data/lib/hocon/impl/abstract_config_node.rb +3 -3
  21. data/lib/hocon/impl/abstract_config_node_value.rb +2 -2
  22. data/lib/hocon/impl/abstract_config_object.rb +11 -11
  23. data/lib/hocon/impl/abstract_config_value.rb +10 -10
  24. data/lib/hocon/impl/array_iterator.rb +1 -1
  25. data/lib/hocon/impl/config_boolean.rb +2 -2
  26. data/lib/hocon/impl/config_concatenation.rb +9 -9
  27. data/lib/hocon/impl/config_delayed_merge.rb +6 -6
  28. data/lib/hocon/impl/config_delayed_merge_object.rb +3 -3
  29. data/lib/hocon/impl/config_document_parser.rb +11 -11
  30. data/lib/hocon/impl/config_double.rb +2 -2
  31. data/lib/hocon/impl/config_impl.rb +9 -9
  32. data/lib/hocon/impl/config_impl_util.rb +1 -1
  33. data/lib/hocon/impl/config_include_kind.rb +1 -1
  34. data/lib/hocon/impl/config_int.rb +3 -3
  35. data/lib/hocon/impl/config_node_array.rb +2 -2
  36. data/lib/hocon/impl/config_node_comment.rb +4 -4
  37. data/lib/hocon/impl/config_node_complex_value.rb +7 -7
  38. data/lib/hocon/impl/config_node_concatenation.rb +2 -2
  39. data/lib/hocon/impl/config_node_field.rb +8 -8
  40. data/lib/hocon/impl/config_node_include.rb +4 -4
  41. data/lib/hocon/impl/config_node_object.rb +6 -6
  42. data/lib/hocon/impl/config_node_path.rb +3 -3
  43. data/lib/hocon/impl/config_node_root.rb +4 -4
  44. data/lib/hocon/impl/config_node_simple_value.rb +9 -9
  45. data/lib/hocon/impl/config_node_single_token.rb +2 -2
  46. data/lib/hocon/impl/config_null.rb +2 -2
  47. data/lib/hocon/impl/config_number.rb +4 -4
  48. data/lib/hocon/impl/config_parser.rb +17 -17
  49. data/lib/hocon/impl/config_reference.rb +5 -5
  50. data/lib/hocon/impl/config_string.rb +4 -4
  51. data/lib/hocon/impl/container.rb +3 -3
  52. data/lib/hocon/impl/default_transformer.rb +4 -4
  53. data/lib/hocon/impl/from_map_mode.rb +2 -2
  54. data/lib/hocon/impl/full_includer.rb +1 -1
  55. data/lib/hocon/impl/memo_key.rb +2 -2
  56. data/lib/hocon/impl/mergeable_value.rb +2 -2
  57. data/lib/hocon/impl/origin_type.rb +1 -1
  58. data/lib/hocon/impl/parseable.rb +14 -14
  59. data/lib/hocon/impl/path.rb +3 -3
  60. data/lib/hocon/impl/path_builder.rb +3 -3
  61. data/lib/hocon/impl/path_parser.rb +7 -7
  62. data/lib/hocon/impl/replaceable_merge_stack.rb +3 -3
  63. data/lib/hocon/impl/resolve_context.rb +7 -7
  64. data/lib/hocon/impl/resolve_memos.rb +2 -2
  65. data/lib/hocon/impl/resolve_result.rb +2 -2
  66. data/lib/hocon/impl/resolve_source.rb +5 -5
  67. data/lib/hocon/impl/resolve_status.rb +1 -1
  68. data/lib/hocon/impl/simple_config.rb +8 -8
  69. data/lib/hocon/impl/simple_config_document.rb +4 -4
  70. data/lib/hocon/impl/simple_config_list.rb +9 -9
  71. data/lib/hocon/impl/simple_config_object.rb +7 -7
  72. data/lib/hocon/impl/simple_config_origin.rb +4 -4
  73. data/lib/hocon/impl/simple_include_context.rb +4 -4
  74. data/lib/hocon/impl/simple_includer.rb +11 -11
  75. data/lib/hocon/impl/substitution_expression.rb +1 -1
  76. data/lib/hocon/impl/token.rb +2 -2
  77. data/lib/hocon/impl/token_type.rb +1 -1
  78. data/lib/hocon/impl/tokenizer.rb +4 -4
  79. data/lib/hocon/impl/tokens.rb +10 -10
  80. data/lib/hocon/impl/unmergeable.rb +2 -2
  81. data/lib/hocon/impl/unsupported_operation_error.rb +1 -1
  82. data/lib/hocon/impl/url.rb +1 -1
  83. data/lib/hocon/impl.rb +1 -1
  84. data/lib/hocon/parser/config_document.rb +2 -2
  85. data/lib/hocon/parser/config_document_factory.rb +3 -3
  86. data/lib/hocon/parser/config_node.rb +2 -2
  87. data/lib/hocon/parser.rb +1 -1
  88. data/lib/hocon/version.rb +1 -1
  89. data/lib/hocon.rb +9 -9
  90. metadata +2 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40f5c20e48d381313eebc2880286cc7789ce1c5eb543f4c76878273db778d3bb
4
- data.tar.gz: 10322d2872f2a802762a7dc2ddda1c1bb77ab289b0c6b35df21b0afcde07af76
3
+ metadata.gz: c81c0a360256c0aa64ac756963ef62f9ff78e16498eae342444f7d36be81f749
4
+ data.tar.gz: d0a420ddce1e1da62aa59efe4262cc65244d7fbff83e12e17d4c036daaa7caf2
5
5
  SHA512:
6
- metadata.gz: ad222c73cd8ffd8b5fead526e7f8e802db8be8a882db4607d0889caf942c56bbf7d6febeed86b85f4a77b5cd423b4f938eae7944c1e4dac8e63c3b9c4c1ea788
7
- data.tar.gz: e2d9029ed095d01d799c7757b4d11480f3bfd0fda2863b89c6d5a4b39fdc31ee4180f473973d65af7e7968a9273ac47933d7a62a2954bca175476bff2fcb46a3
6
+ metadata.gz: e3b2451709034bb06432a53055c3bc1da64df060ab62e4652d82b8d28174690601636eae45d79abe25601bc896700279f373622b40d309fc19be469b2139ef02
7
+ data.tar.gz: 7bc38d8be5871e693edbf8ca8fe2041ae3b81214b302ff08fbe61ec9e5559284c9aa80aa6c000287a5adbe946d5bc72970e4b3888294813c42251d9798687960
data/lib/hocon/cli.rb CHANGED
@@ -1,11 +1,11 @@
1
1
  require 'optparse'
2
- require 'hocon'
3
- require 'hocon/version'
4
- require 'hocon/config_render_options'
5
- require 'hocon/config_factory'
6
- require 'hocon/config_value_factory'
7
- require 'hocon/parser/config_document_factory'
8
- require 'hocon/config_error'
2
+ require_relative '../hocon'
3
+ require_relative '../hocon/version'
4
+ require_relative '../hocon/config_render_options'
5
+ require_relative '../hocon/config_factory'
6
+ require_relative '../hocon/config_value_factory'
7
+ require_relative '../hocon/parser/config_document_factory'
8
+ require_relative '../hocon/config_error'
9
9
 
10
10
  module Hocon::CLI
11
11
  # Aliases
data/lib/hocon/config.rb CHANGED
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
4
- require 'hocon/config_mergeable'
5
- require 'hocon/config_error'
3
+ require_relative '../hocon'
4
+ require_relative '../hocon/config_mergeable'
5
+ require_relative '../hocon/config_error'
6
6
 
7
7
  #
8
8
  # An immutable map from config paths to config values. Paths are dot-separated
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
3
+ require_relative '../hocon'
4
4
 
5
5
  class Hocon::ConfigError < StandardError
6
6
  def initialize(origin, message, cause)
@@ -1,10 +1,10 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
4
- require 'hocon/impl/parseable'
5
- require 'hocon/config_parse_options'
6
- require 'hocon/impl/config_impl'
7
- require 'hocon/config_factory'
3
+ require_relative '../hocon'
4
+ require_relative '../hocon/impl/parseable'
5
+ require_relative '../hocon/config_parse_options'
6
+ require_relative '../hocon/impl/config_impl'
7
+ require_relative '../hocon/config_factory'
8
8
 
9
9
  ## Please note that the `parse` operations will simply create a ConfigValue
10
10
  ## and do nothing else, whereas the `load` operations will perform a higher-level
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
4
- require 'hocon/config_error'
3
+ require_relative '../hocon'
4
+ require_relative '../hocon/config_error'
5
5
 
6
6
  #
7
7
  # Context provided to a {@link ConfigIncluder}; this interface is only useful
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
4
- require 'hocon/config_error'
3
+ require_relative '../hocon'
4
+ require_relative '../hocon/config_error'
5
5
 
6
6
  #
7
7
  # Implement this <em>in addition to</em> {@link ConfigIncluder} if you want to
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
4
- require 'hocon/config_value'
5
- require 'hocon/config_error'
3
+ require_relative '../hocon'
4
+ require_relative '../hocon/config_value'
5
+ require_relative '../hocon/config_error'
6
6
 
7
7
  #
8
8
  # Subtype of {@link ConfigValue} representing a list value, as in JSON's
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
4
- require 'hocon/config_error'
3
+ require_relative '../hocon'
4
+ require_relative '../hocon/config_error'
5
5
 
6
6
  #
7
7
  # Marker for types whose instances can be merged, that is {@link Config} and
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
4
- require 'hocon/config_value'
3
+ require_relative '../hocon'
4
+ require_relative '../hocon/config_value'
5
5
 
6
6
  #
7
7
  # Subtype of {@link ConfigValue} representing an object (AKA dictionary or map)
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
3
+ require_relative '../hocon'
4
4
 
5
5
  class Hocon::ConfigParseOptions
6
6
  attr_accessor :syntax, :origin_description, :allow_missing, :includer
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
4
- require 'hocon/config_error'
3
+ require_relative '../hocon'
4
+ require_relative '../hocon/config_error'
5
5
 
6
6
  #
7
7
  # An opaque handle to something that can be parsed, obtained from
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
3
+ require_relative '../hocon'
4
4
 
5
5
  class Hocon::ConfigRenderOptions
6
6
  def initialize(origin_comments, comments, formatted, json, key_value_separator=:equals)
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
3
+ require_relative '../hocon'
4
4
 
5
5
  class Hocon::ConfigResolveOptions
6
6
  attr_reader :use_system_environment, :allow_unresolved
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
3
+ require_relative '../hocon'
4
4
 
5
5
  module Hocon::ConfigSyntax
6
6
  JSON = 0
@@ -1,4 +1,4 @@
1
- require 'hocon/impl/config_impl_util'
1
+ require_relative '../hocon/impl/config_impl_util'
2
2
 
3
3
 
4
4
  # Contains static utility methods
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
4
- require 'hocon/config_mergeable'
3
+ require_relative '../hocon'
4
+ require_relative '../hocon/config_mergeable'
5
5
 
6
6
  #
7
7
  # An immutable value, following the <a href="http://json.org">JSON</a> type
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
4
- require 'hocon/impl/config_impl'
3
+ require_relative '../hocon'
4
+ require_relative '../hocon/impl/config_impl'
5
5
 
6
6
  class Hocon::ConfigValueFactory
7
7
  ConfigImpl = Hocon::Impl::ConfigImpl
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon'
4
- require 'hocon/config_error'
3
+ require_relative '../hocon'
4
+ require_relative '../hocon/config_error'
5
5
 
6
6
  #
7
7
  # The type of a configuration value (following the <a
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/parser/config_node'
5
- require 'hocon/config_error'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/parser/config_node'
5
+ require_relative '../../hocon/config_error'
6
6
 
7
7
  module Hocon::Impl::AbstractConfigNode
8
8
  include Hocon::Parser::ConfigNode
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/impl/abstract_config_node'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/impl/abstract_config_node'
5
5
 
6
6
  # This essentially exists in the upstream so we can ensure only certain types of
7
7
  # config nodes can be passed into some methods. That's not a problem in Ruby, so this is
@@ -1,16 +1,16 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/impl/abstract_config_value'
5
- require 'hocon/impl/simple_config'
6
- require 'hocon/config_object'
7
- require 'hocon/config_value_type'
8
- require 'hocon/impl/resolve_status'
9
- require 'hocon/impl/simple_config_origin'
10
- require 'hocon/config_error'
11
- require 'hocon/impl/config_impl'
12
- require 'hocon/impl/unsupported_operation_error'
13
- require 'hocon/impl/container'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/impl/abstract_config_value'
5
+ require_relative '../../hocon/impl/simple_config'
6
+ require_relative '../../hocon/config_object'
7
+ require_relative '../../hocon/config_value_type'
8
+ require_relative '../../hocon/impl/resolve_status'
9
+ require_relative '../../hocon/impl/simple_config_origin'
10
+ require_relative '../../hocon/config_error'
11
+ require_relative '../../hocon/impl/config_impl'
12
+ require_relative '../../hocon/impl/unsupported_operation_error'
13
+ require_relative '../../hocon/impl/container'
14
14
 
15
15
  module Hocon::Impl::AbstractConfigObject
16
16
  include Hocon::ConfigObject
@@ -1,15 +1,15 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
3
+ require_relative '../../hocon/impl'
4
4
  require 'stringio'
5
- require 'hocon/config_render_options'
6
- require 'hocon/config_object'
7
- require 'hocon/impl/resolve_status'
8
- require 'hocon/impl/resolve_result'
9
- require 'hocon/impl/unmergeable'
10
- require 'hocon/impl/config_impl_util'
11
- require 'hocon/config_error'
12
- require 'hocon/config_value'
5
+ require_relative '../../hocon/config_render_options'
6
+ require_relative '../../hocon/config_object'
7
+ require_relative '../../hocon/impl/resolve_status'
8
+ require_relative '../../hocon/impl/resolve_result'
9
+ require_relative '../../hocon/impl/unmergeable'
10
+ require_relative '../../hocon/impl/config_impl_util'
11
+ require_relative '../../hocon/config_error'
12
+ require_relative '../../hocon/config_value'
13
13
 
14
14
  ##
15
15
  ## Trying very hard to avoid a parent reference in config values; when you have
@@ -161,7 +161,7 @@ module Hocon::Impl::AbstractConfigValue
161
161
  def construct_delayed_merge(origin, stack)
162
162
  # TODO: this might not work because ConfigDelayedMerge inherits
163
163
  # from this class, so we can't `require` it from this file
164
- require 'hocon/impl/config_delayed_merge'
164
+ require_relative '../../hocon/impl/config_delayed_merge'
165
165
  Hocon::Impl::ConfigDelayedMerge.new(origin, stack)
166
166
  end
167
167
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
3
+ require_relative '../../hocon/impl'
4
4
 
5
5
  class Hocon::Impl::ArrayIterator
6
6
  def initialize(a)
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/impl/abstract_config_value'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/impl/abstract_config_value'
5
5
 
6
6
  class Hocon::Impl::ConfigBoolean
7
7
  include Hocon::Impl::AbstractConfigValue
@@ -1,14 +1,14 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/impl/abstract_config_value'
5
- require 'hocon/impl/abstract_config_object'
6
- require 'hocon/impl/simple_config_list'
7
- require 'hocon/config_object'
8
- require 'hocon/impl/unmergeable'
9
- require 'hocon/impl/simple_config_origin'
10
- require 'hocon/impl/config_string'
11
- require 'hocon/impl/container'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/impl/abstract_config_value'
5
+ require_relative '../../hocon/impl/abstract_config_object'
6
+ require_relative '../../hocon/impl/simple_config_list'
7
+ require_relative '../../hocon/config_object'
8
+ require_relative '../../hocon/impl/unmergeable'
9
+ require_relative '../../hocon/impl/simple_config_origin'
10
+ require_relative '../../hocon/impl/config_string'
11
+ require_relative '../../hocon/impl/container'
12
12
 
13
13
  class Hocon::Impl::ConfigConcatenation
14
14
  include Hocon::Impl::Unmergeable
@@ -1,9 +1,9 @@
1
- require 'hocon/impl'
2
- require 'hocon/impl/replaceable_merge_stack'
3
- require 'hocon/impl/config_delayed_merge_object'
4
- require 'hocon/impl/config_impl'
5
- require 'hocon/impl/resolve_result'
6
- require 'hocon/impl/abstract_config_value'
1
+ require_relative '../../hocon/impl'
2
+ require_relative '../../hocon/impl/replaceable_merge_stack'
3
+ require_relative '../../hocon/impl/config_delayed_merge_object'
4
+ require_relative '../../hocon/impl/config_impl'
5
+ require_relative '../../hocon/impl/resolve_result'
6
+ require_relative '../../hocon/impl/abstract_config_value'
7
7
 
8
8
  #
9
9
  # The issue here is that we want to first merge our stack of config files, and
@@ -1,6 +1,6 @@
1
- require 'hocon/impl'
2
- require 'hocon/impl/unmergeable'
3
- require 'hocon/impl/replaceable_merge_stack'
1
+ require_relative '../../hocon/impl'
2
+ require_relative '../../hocon/impl/unmergeable'
3
+ require_relative '../../hocon/impl/replaceable_merge_stack'
4
4
 
5
5
  # This is just like ConfigDelayedMerge except we know statically
6
6
  # that it will turn out to be an object.
@@ -1,17 +1,17 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  require 'stringio'
4
- require 'hocon/impl'
5
- require 'hocon/config_error'
6
- require 'hocon/impl/tokens'
7
- require 'hocon/impl/config_node_single_token'
8
- require 'hocon/impl/config_node_comment'
9
- require 'hocon/impl/abstract_config_node_value'
10
- require 'hocon/impl/config_node_concatenation'
11
- require 'hocon/impl/config_include_kind'
12
- require 'hocon/impl/config_node_object'
13
- require 'hocon/impl/config_node_array'
14
- require 'hocon/impl/config_node_root'
4
+ require_relative '../../hocon/impl'
5
+ require_relative '../../hocon/config_error'
6
+ require_relative '../../hocon/impl/tokens'
7
+ require_relative '../../hocon/impl/config_node_single_token'
8
+ require_relative '../../hocon/impl/config_node_comment'
9
+ require_relative '../../hocon/impl/abstract_config_node_value'
10
+ require_relative '../../hocon/impl/config_node_concatenation'
11
+ require_relative '../../hocon/impl/config_include_kind'
12
+ require_relative '../../hocon/impl/config_node_object'
13
+ require_relative '../../hocon/impl/config_node_array'
14
+ require_relative '../../hocon/impl/config_node_root'
15
15
 
16
16
  class Hocon::Impl::ConfigDocumentParser
17
17
 
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/impl/config_number'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/impl/config_number'
5
5
 
6
6
  class Hocon::Impl::ConfigDouble < Hocon::Impl::ConfigNumber
7
7
  def initialize(origin, value, original_text)
@@ -1,14 +1,14 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/impl/simple_includer'
5
- require 'hocon/config_error'
6
- require 'hocon/impl/from_map_mode'
7
- require 'hocon/impl/simple_config_origin'
8
- require 'hocon/impl/simple_config_list'
9
- require 'hocon/impl/config_boolean'
10
- require 'hocon/impl/config_null'
11
- require 'hocon/impl/parseable'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/impl/simple_includer'
5
+ require_relative '../../hocon/config_error'
6
+ require_relative '../../hocon/impl/from_map_mode'
7
+ require_relative '../../hocon/impl/simple_config_origin'
8
+ require_relative '../../hocon/impl/simple_config_list'
9
+ require_relative '../../hocon/impl/config_boolean'
10
+ require_relative '../../hocon/impl/config_null'
11
+ require_relative '../../hocon/impl/parseable'
12
12
 
13
13
  class Hocon::Impl::ConfigImpl
14
14
  @default_includer = Hocon::Impl::SimpleIncluder.new(nil)
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
3
+ require_relative '../../hocon/impl'
4
4
  require 'stringio'
5
5
 
6
6
  class Hocon::Impl::ConfigImplUtil
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
3
+ require_relative '../../hocon/impl'
4
4
 
5
5
  module Hocon::Impl::ConfigIncludeKind
6
6
  URL = 0
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/impl/config_number'
5
- require 'hocon/config_value_type'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/impl/config_number'
5
+ require_relative '../../hocon/config_value_type'
6
6
 
7
7
  class Hocon::Impl::ConfigInt < Hocon::Impl::ConfigNumber
8
8
  def initialize(origin, value, original_text)
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/impl/config_node_complex_value'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/impl/config_node_complex_value'
5
5
 
6
6
  class Hocon::Impl::ConfigNodeArray
7
7
  include Hocon::Impl::ConfigNodeComplexValue
@@ -1,9 +1,9 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/config_error'
5
- require 'hocon/impl/config_node_single_token'
6
- require 'hocon/impl/tokens'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/config_error'
5
+ require_relative '../../hocon/impl/config_node_single_token'
6
+ require_relative '../../hocon/impl/tokens'
7
7
 
8
8
  class Hocon::Impl::ConfigNodeComment < Hocon::Impl::ConfigNodeSingleToken
9
9
  def initialize(comment)
@@ -1,12 +1,12 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/impl/abstract_config_node_value'
5
- require 'hocon/impl/config_node_field'
6
- require 'hocon/impl/config_node_include'
7
- require 'hocon/impl/config_node_single_token'
8
- require 'hocon/impl/tokens'
9
- require 'hocon/config_error'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/impl/abstract_config_node_value'
5
+ require_relative '../../hocon/impl/config_node_field'
6
+ require_relative '../../hocon/impl/config_node_include'
7
+ require_relative '../../hocon/impl/config_node_single_token'
8
+ require_relative '../../hocon/impl/tokens'
9
+ require_relative '../../hocon/config_error'
10
10
 
11
11
  module Hocon::Impl::ConfigNodeComplexValue
12
12
  include Hocon::Impl::AbstractConfigNodeValue
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/impl/config_node_complex_value'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/impl/config_node_complex_value'
5
5
 
6
6
  class Hocon::Impl::ConfigNodeConcatenation
7
7
  include Hocon::Impl::ConfigNodeComplexValue
@@ -1,13 +1,13 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/config_error'
5
- require 'hocon/impl/abstract_config_node'
6
- require 'hocon/impl/abstract_config_node_value'
7
- require 'hocon/impl/config_node_comment'
8
- require 'hocon/impl/config_node_path'
9
- require 'hocon/impl/config_node_single_token'
10
- require 'hocon/impl/tokens'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/config_error'
5
+ require_relative '../../hocon/impl/abstract_config_node'
6
+ require_relative '../../hocon/impl/abstract_config_node_value'
7
+ require_relative '../../hocon/impl/config_node_comment'
8
+ require_relative '../../hocon/impl/config_node_path'
9
+ require_relative '../../hocon/impl/config_node_single_token'
10
+ require_relative '../../hocon/impl/tokens'
11
11
 
12
12
  class Hocon::Impl::ConfigNodeField
13
13
  include Hocon::Impl::AbstractConfigNode
@@ -1,9 +1,9 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/config_error'
5
- require 'hocon/impl/abstract_config_node'
6
- require 'hocon/impl/config_node_simple_value'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/config_error'
5
+ require_relative '../../hocon/impl/abstract_config_node'
6
+ require_relative '../../hocon/impl/config_node_simple_value'
7
7
 
8
8
  class Hocon::Impl::ConfigNodeInclude
9
9
  include Hocon::Impl::AbstractConfigNode
@@ -1,11 +1,11 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/config_syntax'
4
- require 'hocon/impl'
5
- require 'hocon/impl/config_node_complex_value'
6
- require 'hocon/impl/config_node_field'
7
- require 'hocon/impl/config_node_single_token'
8
- require 'hocon/impl/tokens'
3
+ require_relative '../../hocon/config_syntax'
4
+ require_relative '../../hocon/impl'
5
+ require_relative '../../hocon/impl/config_node_complex_value'
6
+ require_relative '../../hocon/impl/config_node_field'
7
+ require_relative '../../hocon/impl/config_node_single_token'
8
+ require_relative '../../hocon/impl/tokens'
9
9
 
10
10
  class Hocon::Impl::ConfigNodeObject
11
11
  include Hocon::Impl::ConfigNodeComplexValue
@@ -1,8 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/impl/tokens'
5
- require 'hocon/impl/abstract_config_node'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/impl/tokens'
5
+ require_relative '../../hocon/impl/abstract_config_node'
6
6
 
7
7
  class Hocon::Impl::ConfigNodePath
8
8
  include Hocon::Impl::AbstractConfigNode
@@ -1,9 +1,9 @@
1
1
  # encoding: utf-8
2
2
 
3
- require 'hocon/impl'
4
- require 'hocon/impl/config_node_array'
5
- require 'hocon/impl/config_node_complex_value'
6
- require 'hocon/impl/config_node_object'
3
+ require_relative '../../hocon/impl'
4
+ require_relative '../../hocon/impl/config_node_array'
5
+ require_relative '../../hocon/impl/config_node_complex_value'
6
+ require_relative '../../hocon/impl/config_node_object'
7
7
 
8
8
  class Hocon::Impl::ConfigNodeRoot
9
9
  include Hocon::Impl::ConfigNodeComplexValue