pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/ruby-hocon devel/ruby-hocon: add version 1.2.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/948bae84bcbf
branches:  trunk
changeset: 326421:948bae84bcbf
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Dec 06 14:35:17 2018 +0000

description:
devel/ruby-hocon: add version 1.2.5

ruby-hocon
==========

This is a port of the [Typesafe Config](https://github.com/typesafehub/config)
library to Ruby.

The library provides Ruby support for the
[HOCON](https://github.com/typesafehub/config/blob/master/HOCON.md)
configuration file format.


At present, it supports parsing and modification of existing HOCON/JSON files
via the `ConfigFactory` class and the `ConfigValueFactory` class, and
rendering parsed config objects back to a String ([see examples
below](#basic-usage)).  It also supports the parsing and modification of
HOCON/JSON files via `ConfigDocumentFactory`.

**Note:** While the project is production ready, since not all features in the
Typesafe library are supported, you may still run into some issues. If you
find a problem, feel free to open a github issue.

The implementation is intended to be as close to a line-for-line port as the
two languages allow, in hopes of making it fairly easy to port over new
changesets from the Java code base over time.

diffstat:

 devel/ruby-hocon/ALTERNATIVES |    1 +
 devel/ruby-hocon/DESCR        |   24 +++++++
 devel/ruby-hocon/Makefile     |   16 ++++
 devel/ruby-hocon/PLIST        |  143 ++++++++++++++++++++++++++++++++++++++++++
 devel/ruby-hocon/distinfo     |    6 +
 5 files changed, 190 insertions(+), 0 deletions(-)

diffs (210 lines):

diff -r 738164fe16a1 -r 948bae84bcbf devel/ruby-hocon/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-hocon/ALTERNATIVES     Thu Dec 06 14:35:17 2018 +0000
@@ -0,0 +1,1 @@
+bin/hocon @PREFIX@/bin/hocon@RUBY_SUFFIX@
diff -r 738164fe16a1 -r 948bae84bcbf devel/ruby-hocon/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-hocon/DESCR    Thu Dec 06 14:35:17 2018 +0000
@@ -0,0 +1,24 @@
+ruby-hocon
+==========
+
+This is a port of the [Typesafe Config](https://github.com/typesafehub/config)
+library to Ruby.
+
+The library provides Ruby support for the
+[HOCON](https://github.com/typesafehub/config/blob/master/HOCON.md)
+configuration file format.
+
+
+At present, it supports parsing and modification of existing HOCON/JSON files
+via the `ConfigFactory` class and the `ConfigValueFactory` class, and
+rendering parsed config objects back to a String ([see examples
+below](#basic-usage)).  It also supports the parsing and modification of
+HOCON/JSON files via `ConfigDocumentFactory`.
+
+**Note:** While the project is production ready, since not all features in the
+Typesafe library are supported, you may still run into some issues. If you
+find a problem, feel free to open a github issue.
+
+The implementation is intended to be as close to a line-for-line port as the
+two languages allow, in hopes of making it fairly easy to port over new
+changesets from the Java code base over time.
diff -r 738164fe16a1 -r 948bae84bcbf devel/ruby-hocon/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-hocon/Makefile Thu Dec 06 14:35:17 2018 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2018/12/06 14:35:17 taca Exp $
+
+DISTNAME=      hocon-1.2.5
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/puppetlabs/ruby-hocon
+COMMENT=       Ruby port of the Typesafe Config library
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+
+RUBYGEM_OPTIONS+=      --format-executable
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 738164fe16a1 -r 948bae84bcbf devel/ruby-hocon/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-hocon/PLIST    Thu Dec 06 14:35:17 2018 +0000
@@ -0,0 +1,143 @@
+@comment $NetBSD: PLIST,v 1.1 2018/12/06 14:35:17 taca Exp $
+bin/hocon${RUBY_SUFFIX}
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/HISTORY.md
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/bin/hocon
+${GEM_LIBDIR}/lib/hocon.rb
+${GEM_LIBDIR}/lib/hocon/cli.rb
+${GEM_LIBDIR}/lib/hocon/config.rb
+${GEM_LIBDIR}/lib/hocon/config_error.rb
+${GEM_LIBDIR}/lib/hocon/config_factory.rb
+${GEM_LIBDIR}/lib/hocon/config_include_context.rb
+${GEM_LIBDIR}/lib/hocon/config_includer_file.rb
+${GEM_LIBDIR}/lib/hocon/config_list.rb
+${GEM_LIBDIR}/lib/hocon/config_mergeable.rb
+${GEM_LIBDIR}/lib/hocon/config_object.rb
+${GEM_LIBDIR}/lib/hocon/config_parse_options.rb
+${GEM_LIBDIR}/lib/hocon/config_parseable.rb
+${GEM_LIBDIR}/lib/hocon/config_render_options.rb
+${GEM_LIBDIR}/lib/hocon/config_resolve_options.rb
+${GEM_LIBDIR}/lib/hocon/config_syntax.rb
+${GEM_LIBDIR}/lib/hocon/config_util.rb
+${GEM_LIBDIR}/lib/hocon/config_value.rb
+${GEM_LIBDIR}/lib/hocon/config_value_factory.rb
+${GEM_LIBDIR}/lib/hocon/config_value_type.rb
+${GEM_LIBDIR}/lib/hocon/impl.rb
+${GEM_LIBDIR}/lib/hocon/impl/abstract_config_node.rb
+${GEM_LIBDIR}/lib/hocon/impl/abstract_config_node_value.rb
+${GEM_LIBDIR}/lib/hocon/impl/abstract_config_object.rb
+${GEM_LIBDIR}/lib/hocon/impl/abstract_config_value.rb
+${GEM_LIBDIR}/lib/hocon/impl/array_iterator.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_boolean.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_concatenation.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_delayed_merge.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_delayed_merge_object.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_document_parser.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_double.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_impl.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_impl_util.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_include_kind.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_int.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_node_array.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_node_comment.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_node_complex_value.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_node_concatenation.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_node_field.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_node_include.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_node_object.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_node_path.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_node_root.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_node_simple_value.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_node_single_token.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_null.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_number.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_parser.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_reference.rb
+${GEM_LIBDIR}/lib/hocon/impl/config_string.rb
+${GEM_LIBDIR}/lib/hocon/impl/container.rb
+${GEM_LIBDIR}/lib/hocon/impl/default_transformer.rb
+${GEM_LIBDIR}/lib/hocon/impl/from_map_mode.rb
+${GEM_LIBDIR}/lib/hocon/impl/full_includer.rb
+${GEM_LIBDIR}/lib/hocon/impl/memo_key.rb
+${GEM_LIBDIR}/lib/hocon/impl/mergeable_value.rb
+${GEM_LIBDIR}/lib/hocon/impl/origin_type.rb
+${GEM_LIBDIR}/lib/hocon/impl/parseable.rb
+${GEM_LIBDIR}/lib/hocon/impl/path.rb
+${GEM_LIBDIR}/lib/hocon/impl/path_builder.rb
+${GEM_LIBDIR}/lib/hocon/impl/path_parser.rb
+${GEM_LIBDIR}/lib/hocon/impl/replaceable_merge_stack.rb
+${GEM_LIBDIR}/lib/hocon/impl/resolve_context.rb
+${GEM_LIBDIR}/lib/hocon/impl/resolve_memos.rb
+${GEM_LIBDIR}/lib/hocon/impl/resolve_result.rb
+${GEM_LIBDIR}/lib/hocon/impl/resolve_source.rb
+${GEM_LIBDIR}/lib/hocon/impl/resolve_status.rb
+${GEM_LIBDIR}/lib/hocon/impl/simple_config.rb
+${GEM_LIBDIR}/lib/hocon/impl/simple_config_document.rb
+${GEM_LIBDIR}/lib/hocon/impl/simple_config_list.rb
+${GEM_LIBDIR}/lib/hocon/impl/simple_config_object.rb
+${GEM_LIBDIR}/lib/hocon/impl/simple_config_origin.rb
+${GEM_LIBDIR}/lib/hocon/impl/simple_include_context.rb
+${GEM_LIBDIR}/lib/hocon/impl/simple_includer.rb
+${GEM_LIBDIR}/lib/hocon/impl/substitution_expression.rb
+${GEM_LIBDIR}/lib/hocon/impl/token.rb
+${GEM_LIBDIR}/lib/hocon/impl/token_type.rb
+${GEM_LIBDIR}/lib/hocon/impl/tokenizer.rb
+${GEM_LIBDIR}/lib/hocon/impl/tokens.rb
+${GEM_LIBDIR}/lib/hocon/impl/unmergeable.rb
+${GEM_LIBDIR}/lib/hocon/impl/unsupported_operation_error.rb
+${GEM_LIBDIR}/lib/hocon/impl/url.rb
+${GEM_LIBDIR}/lib/hocon/parser.rb
+${GEM_LIBDIR}/lib/hocon/parser/config_document.rb
+${GEM_LIBDIR}/lib/hocon/parser/config_document_factory.rb
+${GEM_LIBDIR}/lib/hocon/parser/config_node.rb
+${GEM_LIBDIR}/lib/hocon/version.rb
+${GEM_LIBDIR}/spec/fixtures/hocon/by_extension/cat.conf
+${GEM_LIBDIR}/spec/fixtures/hocon/by_extension/cat.test
+${GEM_LIBDIR}/spec/fixtures/hocon/by_extension/cat.test-json
+${GEM_LIBDIR}/spec/fixtures/hocon/with_substitution/subst.conf
+${GEM_LIBDIR}/spec/fixtures/parse_render/example1/input.conf
+${GEM_LIBDIR}/spec/fixtures/parse_render/example1/output.conf
+${GEM_LIBDIR}/spec/fixtures/parse_render/example1/output_nocomments.conf
+${GEM_LIBDIR}/spec/fixtures/parse_render/example2/input.conf
+${GEM_LIBDIR}/spec/fixtures/parse_render/example2/output.conf
+${GEM_LIBDIR}/spec/fixtures/parse_render/example2/output_nocomments.conf
+${GEM_LIBDIR}/spec/fixtures/parse_render/example3/input.conf
+${GEM_LIBDIR}/spec/fixtures/parse_render/example3/output.conf
+${GEM_LIBDIR}/spec/fixtures/parse_render/example4/input.json
+${GEM_LIBDIR}/spec/fixtures/parse_render/example4/output.conf
+${GEM_LIBDIR}/spec/fixtures/test_utils/resources/bom.conf
+${GEM_LIBDIR}/spec/fixtures/test_utils/resources/cycle.conf
+${GEM_LIBDIR}/spec/fixtures/test_utils/resources/file-include.conf
+${GEM_LIBDIR}/spec/fixtures/test_utils/resources/include-from-list.conf
+${GEM_LIBDIR}/spec/fixtures/test_utils/resources/subdir/bar.conf
+${GEM_LIBDIR}/spec/fixtures/test_utils/resources/subdir/baz.conf
+${GEM_LIBDIR}/spec/fixtures/test_utils/resources/subdir/foo.conf
+${GEM_LIBDIR}/spec/fixtures/test_utils/resources/test01.conf
+${GEM_LIBDIR}/spec/fixtures/test_utils/resources/test01.json
+${GEM_LIBDIR}/spec/fixtures/test_utils/resources/test03.conf
+${GEM_LIBDIR}/spec/fixtures/test_utils/resources/utf16.conf
+${GEM_LIBDIR}/spec/fixtures/test_utils/resources/utf8.conf
+${GEM_LIBDIR}/spec/fixtures/test_utils/resources/á? á??á?».conf
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_LIBDIR}/spec/test_utils.rb
+${GEM_LIBDIR}/spec/unit/cli/cli_spec.rb
+${GEM_LIBDIR}/spec/unit/hocon/README.md
+${GEM_LIBDIR}/spec/unit/hocon/hocon_spec.rb
+${GEM_LIBDIR}/spec/unit/typesafe/config/README.md
+${GEM_LIBDIR}/spec/unit/typesafe/config/concatenation_spec.rb
+${GEM_LIBDIR}/spec/unit/typesafe/config/conf_parser_spec.rb
+${GEM_LIBDIR}/spec/unit/typesafe/config/config_document_parser_spec.rb
+${GEM_LIBDIR}/spec/unit/typesafe/config/config_document_spec.rb
+${GEM_LIBDIR}/spec/unit/typesafe/config/config_factory_spec.rb
+${GEM_LIBDIR}/spec/unit/typesafe/config/config_node_spec.rb
+${GEM_LIBDIR}/spec/unit/typesafe/config/config_value_factory_spec.rb
+${GEM_LIBDIR}/spec/unit/typesafe/config/config_value_spec.rb
+${GEM_LIBDIR}/spec/unit/typesafe/config/path_spec.rb
+${GEM_LIBDIR}/spec/unit/typesafe/config/public_api_spec.rb
+${GEM_LIBDIR}/spec/unit/typesafe/config/simple_config_spec.rb
+${GEM_LIBDIR}/spec/unit/typesafe/config/token_spec.rb
+${GEM_LIBDIR}/spec/unit/typesafe/config/tokenizer_spec.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r 738164fe16a1 -r 948bae84bcbf devel/ruby-hocon/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-hocon/distinfo Thu Dec 06 14:35:17 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/12/06 14:35:17 taca Exp $
+
+SHA1 (hocon-1.2.5.gem) = 5d234c73830576a438dd14992f3e801bbe05d656
+RMD160 (hocon-1.2.5.gem) = e03e5f8ebca6f6093ea5ec8ed02310e43676f6ee
+SHA512 (hocon-1.2.5.gem) = 7d2d86c28edd6ed6dd99358558093cd224b9922bcbcdd2e95e23134ef0e9a2bae6129e7273435032850b672094e77f8f5b6d8cfeec03762b39ed6b63fc5fb5dd
+Size (hocon-1.2.5.gem) = 147968 bytes



Home | Main Index | Thread Index | Old Index