baltix 0.1.1 → 0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +4 -2
- data/README.md +136 -10
- data/Rakefile +8 -3
- data/baltix.gemspec +47 -29
- data/bin/console +4 -3
- data/data/alt-licenses/README.md +26 -0
- data/data/alt-licenses/licenses.json +2991 -0
- data/data/alt-rpm/README.md +21 -0
- data/data/alt-rpm/architectures.json +613 -0
- data/data/spdx/README.md +22 -0
- data/data/spdx/licenses.json +9287 -0
- data/docs/action-flow.md +42 -0
- data/docs/actor-integration.md +71 -0
- data/docs/alt-architectures.md +27 -0
- data/docs/cleanup-actors.md +14 -0
- data/docs/dependency-actions.md +22 -0
- data/docs/installation-actors.md +35 -0
- data/docs/pkglist.md +56 -0
- data/docs/plans/revision-003.md +328 -0
- data/docs/plans/revision-004.md +416 -0
- data/docs/plans/revision-005.md +431 -0
- data/docs/plans/revision-006.md +439 -0
- data/docs/plans/revision-007.md +441 -0
- data/docs/plans/revision-008.md +445 -0
- data/docs/plans/revision-009.md +450 -0
- data/docs/plans/revision-010.md +486 -0
- data/docs/plans/revision-011.md +500 -0
- data/docs/plans/revision-012.md +501 -0
- data/docs/plans/revision-013.md +501 -0
- data/docs/plans/revision-014.md +501 -0
- data/docs/plans/revision-015.md +502 -0
- data/docs/plans/revision-016.md +503 -0
- data/docs/plans/revision-017.md +504 -0
- data/docs/plans/revision-018.md +505 -0
- data/docs/plans/revision-019.md +510 -0
- data/docs/plans/revision-020.md +524 -0
- data/docs/plans/revision-021.md +542 -0
- data/docs/plans/revision-022.md +542 -0
- data/docs/plans/revision-023.md +545 -0
- data/docs/plans/revision-024.md +567 -0
- data/docs/plans/revision-025.md +583 -0
- data/docs/plans/revision-026.md +241 -0
- data/docs/plans/revision-027.md +305 -0
- data/docs/plans/revision-028.md +298 -0
- data/docs/plans/revision-029.md +288 -0
- data/docs/rpm-action-macros.md +52 -0
- data/docs/rpm-parts.md +53 -0
- data/docs/ruby-dependencies.md +217 -0
- data/docs/ruby-policy-2.1.md +28 -0
- data/docs/ruby-versioning.md +61 -0
- data/docs/space-format.md +58 -0
- data/exe/baltix +1 -0
- data/lib/baltix/action_flow/files.rb +49 -0
- data/lib/baltix/action_flow/inputs.rb +60 -0
- data/lib/baltix/action_flow/journal.rb +60 -0
- data/lib/baltix/action_flow/options.rb +60 -0
- data/lib/baltix/action_flow.rb +65 -0
- data/lib/baltix/actor/build/collect.rb +72 -0
- data/lib/baltix/actor/build/compile.rb +25 -0
- data/lib/baltix/actor/build/extconf.rb +14 -0
- data/lib/baltix/actor/build/make.rb +18 -0
- data/lib/baltix/actor/build/postprocess.rb +14 -0
- data/lib/baltix/actor/build/rake.rb +18 -0
- data/lib/baltix/actor/build/ronn.rb +55 -0
- data/lib/baltix/actor/build.rb +87 -0
- data/lib/baltix/actor/clean/remove.rb +45 -0
- data/lib/baltix/actor/clean.rb +37 -0
- data/lib/baltix/actor/config.rb +12 -0
- data/lib/baltix/actor/copy.rb +22 -7
- data/lib/baltix/actor/distclean.rb +20 -0
- data/lib/baltix/actor/doc/collect.rb +39 -0
- data/lib/baltix/actor/doc/generate.rb +47 -0
- data/lib/baltix/actor/doc/inputs.rb +25 -0
- data/lib/baltix/actor/doc.rb +70 -0
- data/lib/baltix/actor/gen.rb +19 -0
- data/lib/baltix/actor/install/data.rb +18 -0
- data/lib/baltix/actor/install/documentation.rb +48 -0
- data/lib/baltix/actor/install/executable.rb +27 -0
- data/lib/baltix/actor/install/extension.rb +44 -0
- data/lib/baltix/actor/install/headers.rb +10 -0
- data/lib/baltix/actor/install/library.rb +13 -0
- data/lib/baltix/actor/install/metadata.rb +21 -0
- data/lib/baltix/actor/install/paths.rb +73 -0
- data/lib/baltix/actor/install/plugin.rb +25 -0
- data/lib/baltix/actor/install/record.rb +48 -0
- data/lib/baltix/actor/install/shebang.rb +29 -0
- data/lib/baltix/actor/install/transfer.rb +64 -0
- data/lib/baltix/actor/install/trees.rb +34 -0
- data/lib/baltix/actor/install.rb +71 -0
- data/lib/baltix/actor/link.rb +15 -6
- data/lib/baltix/actor/make.rb +14 -0
- data/lib/baltix/actor/predeps/write.rb +51 -0
- data/lib/baltix/actor/predeps.rb +41 -0
- data/lib/baltix/actor/provides.rb +12 -0
- data/lib/baltix/actor/requires.rb +12 -0
- data/lib/baltix/actor/show.rb +26 -0
- data/lib/baltix/actor/spec.rb +6 -3
- data/lib/baltix/actor/test/record.rb +8 -0
- data/lib/baltix/actor/test/run.rb +30 -0
- data/lib/baltix/actor/test/select.rb +16 -0
- data/lib/baltix/actor/test.rb +41 -0
- data/lib/baltix/actor/touch.rb +14 -5
- data/lib/baltix/actor.rb +43 -26
- data/lib/baltix/cli/dependency_options.rb +63 -0
- data/lib/baltix/cli/options/action.rb +32 -0
- data/lib/baltix/cli/options.rb +280 -0
- data/lib/baltix/cli/output_options.rb +56 -0
- data/lib/baltix/cli/rake_tasks.rb +59 -0
- data/lib/baltix/cli/source_options.rb +52 -0
- data/lib/baltix/cli.rb +130 -116
- data/lib/baltix/concerns/command.rb +52 -0
- data/lib/baltix/concerns/configuration.rb +39 -0
- data/lib/baltix/concerns/dependency_output.rb +21 -0
- data/lib/baltix/concerns/extension_metadata.rb +44 -0
- data/lib/baltix/concerns/file_destination.rb +14 -0
- data/lib/baltix/concerns/inspection.rb +27 -0
- data/lib/baltix/concerns/parts.rb +16 -0
- data/lib/baltix/concerns/target_paths.rb +57 -0
- data/lib/baltix/concerns.rb +11 -0
- data/lib/baltix/core_extensions/gem_dependency.rb +24 -0
- data/lib/baltix/core_extensions/gem_requirement.rb +45 -0
- data/lib/baltix/core_extensions/open_struct_merge.rb +62 -0
- data/lib/baltix/deps/executables.rb +30 -0
- data/lib/baltix/deps/packages.rb +32 -0
- data/lib/baltix/deps.rb +103 -194
- data/lib/baltix/dsl/dependency_groups.rb +77 -0
- data/lib/baltix/dsl/dependency_sources.rb +100 -0
- data/lib/baltix/dsl/filtering.rb +26 -0
- data/lib/baltix/dsl/loading.rb +72 -0
- data/lib/baltix/dsl/merging.rb +74 -0
- data/lib/baltix/dsl/rendering.rb +54 -0
- data/lib/baltix/dsl/requirements.rb +77 -0
- data/lib/baltix/dsl/temporary_files.rb +36 -0
- data/lib/baltix/dsl.rb +66 -273
- data/lib/baltix/executable_dependencies/features.rb +53 -0
- data/lib/baltix/executable_dependencies/library.rb +21 -0
- data/lib/baltix/executable_dependencies/library_features.rb +34 -0
- data/lib/baltix/executable_dependencies/syntax.rb +102 -0
- data/lib/baltix/executable_dependencies.rb +102 -0
- data/lib/baltix/extensions/bones.rb +173 -0
- data/lib/baltix/extensions/echoe.rb +143 -0
- data/lib/baltix/extensions/hoe/metadata.rb +89 -0
- data/lib/baltix/extensions/hoe/options.rb +84 -0
- data/lib/baltix/extensions/hoe/readme.rb +29 -0
- data/lib/baltix/extensions/hoe.rb +146 -0
- data/lib/baltix/extensions/jeweler.rb +95 -0
- data/lib/baltix/extensions/levitate.rb +74 -0
- data/lib/baltix/extensions/olddoc.rb +42 -0
- data/lib/baltix/extensions.rb +340 -419
- data/lib/baltix/i18n.rb +22 -19
- data/lib/baltix/license/catalog/capture.rb +58 -0
- data/lib/baltix/license/catalog.rb +75 -0
- data/lib/baltix/license.rb +76 -0
- data/lib/baltix/loader/capture.rb +91 -0
- data/lib/baltix/loader/cmake.rb +6 -3
- data/lib/baltix/loader/evaluation.rb +49 -0
- data/lib/baltix/loader/extconf.rb +27 -0
- data/lib/baltix/loader/feature_loading.rb +54 -0
- data/lib/baltix/loader/git-version-gen.rb +36 -21
- data/lib/baltix/loader/mast/properties.rb +58 -0
- data/lib/baltix/loader/mast.rb +97 -109
- data/lib/baltix/loader/object_capture.rb +27 -0
- data/lib/baltix/loader/olddoc.gemspec.erb +31 -0
- data/lib/baltix/loader/pom.rb +36 -16
- data/lib/baltix/loader/rookbook.rb +19 -14
- data/lib/baltix/loader/yaml.rb +9 -5
- data/lib/baltix/loader.rb +85 -132
- data/lib/baltix/log.rb +26 -27
- data/lib/baltix/rake/metadata_adapter.rb +30 -0
- data/lib/baltix/rake/task_context.rb +59 -0
- data/lib/baltix/rake/task_libraries.rb +73 -0
- data/lib/baltix/rake.rb +62 -12
- data/lib/baltix/source/base/dependencies.rb +81 -0
- data/lib/baltix/source/base/file_queries.rb +67 -0
- data/lib/baltix/source/base/file_tree.rb +70 -0
- data/lib/baltix/source/base/metadata.rb +140 -0
- data/lib/baltix/source/base/options.rb +71 -0
- data/lib/baltix/source/base/roots.rb +53 -0
- data/lib/baltix/source/base.rb +95 -377
- data/lib/baltix/source/fake.rb +89 -5
- data/lib/baltix/source/gem/delegation.rb +32 -0
- data/lib/baltix/source/gem/dependencies.rb +69 -0
- data/lib/baltix/source/gem/discovery.rb +72 -0
- data/lib/baltix/source/gem/file_trees.rb +114 -0
- data/lib/baltix/source/gem/forwarding.rb +12 -0
- data/lib/baltix/source/gem/metadata.rb +104 -0
- data/lib/baltix/source/gem/specification.rb +65 -0
- data/lib/baltix/source/gem.rb +65 -312
- data/lib/baltix/source/gemfile.rb +55 -5
- data/lib/baltix/source/rakefile.rb +12 -5
- data/lib/baltix/source.rb +36 -24
- data/lib/baltix/space/configuration.rb +54 -0
- data/lib/baltix/space/data/collections.rb +33 -0
- data/lib/baltix/space/data/gem_metadata.rb +79 -0
- data/lib/baltix/space/data/models.rb +20 -0
- data/lib/baltix/space/data/values.rb +72 -0
- data/lib/baltix/space/data.rb +53 -0
- data/lib/baltix/space/dependencies.rb +53 -0
- data/lib/baltix/space/filters.rb +96 -0
- data/lib/baltix/space/initialization.rb +124 -0
- data/lib/baltix/space/metadata.rb +130 -0
- data/lib/baltix/space/source_order.rb +43 -0
- data/lib/baltix/space/source_selection.rb +136 -0
- data/lib/baltix/space/source_status.rb +114 -0
- data/lib/baltix/space/spec.rb +3 -0
- data/lib/baltix/space.rb +87 -367
- data/lib/baltix/spec/rpm/aliases.rb +79 -0
- data/lib/baltix/spec/rpm/arch.rb +119 -0
- data/lib/baltix/spec/rpm/available_overrides.rb +106 -0
- data/lib/baltix/spec/rpm/build_dependencies.rb +132 -0
- data/lib/baltix/spec/rpm/build_queries.rb +61 -0
- data/lib/baltix/spec/rpm/changelog.rb +115 -0
- data/lib/baltix/spec/rpm/dependency_overrides.rb +83 -0
- data/lib/baltix/spec/rpm/dependency_policy.rb +69 -0
- data/lib/baltix/spec/rpm/deps.rb +113 -0
- data/lib/baltix/spec/rpm/env/requirements.rb +20 -0
- data/lib/baltix/spec/rpm/env.rb +76 -0
- data/lib/baltix/spec/rpm/executable_packages.rb +49 -0
- data/lib/baltix/spec/rpm/file_manifest.rb +72 -0
- data/lib/baltix/spec/rpm/guard_compilation.rb +95 -0
- data/lib/baltix/spec/rpm/imported_secondaries.rb +26 -0
- data/lib/baltix/spec/rpm/layout.rb +14 -0
- data/lib/baltix/spec/rpm/manpages.rb +71 -0
- data/lib/baltix/spec/rpm/metadata.rb +78 -0
- data/lib/baltix/spec/rpm/name/equality.rb +68 -0
- data/lib/baltix/spec/rpm/name/formatting.rb +33 -0
- data/lib/baltix/spec/rpm/name/parsing.rb +58 -0
- data/lib/baltix/spec/rpm/name.rb +77 -108
- data/lib/baltix/spec/rpm/packaged_versions.rb +107 -0
- data/lib/baltix/spec/rpm/parser/comments.rb +35 -0
- data/lib/baltix/spec/rpm/parser/context.rb +50 -0
- data/lib/baltix/spec/rpm/parser/dependencies.rb +91 -0
- data/lib/baltix/spec/rpm/parser/file_sections.rb +68 -0
- data/lib/baltix/spec/rpm/parser/flow.rb +84 -0
- data/lib/baltix/spec/rpm/parser/header_dependencies.rb +36 -0
- data/lib/baltix/spec/rpm/parser/macros.rb +43 -0
- data/lib/baltix/spec/rpm/parser/metadata.rb +106 -0
- data/lib/baltix/spec/rpm/parser/sections.rb +88 -0
- data/lib/baltix/spec/rpm/parser/values.rb +85 -0
- data/lib/baltix/spec/rpm/parser.rb +124 -269
- data/lib/baltix/spec/rpm/part_files.rb +64 -0
- data/lib/baltix/spec/rpm/part_prelude.rb +43 -0
- data/lib/baltix/spec/rpm/part_scripts.rb +52 -0
- data/lib/baltix/spec/rpm/part_switches.rb +65 -0
- data/lib/baltix/spec/rpm/pkglist/header.rb +73 -0
- data/lib/baltix/spec/rpm/pkglist/provides.rb +57 -0
- data/lib/baltix/spec/rpm/pkglist.rb +116 -0
- data/lib/baltix/spec/rpm/preparation.rb +73 -0
- data/lib/baltix/spec/rpm/rendering.rb +66 -0
- data/lib/baltix/spec/rpm/repository_application.rb +33 -0
- data/lib/baltix/spec/rpm/revision.rb +58 -0
- data/lib/baltix/spec/rpm/root_source.rb +48 -0
- data/lib/baltix/spec/rpm/scripts.rb +85 -0
- data/lib/baltix/spec/rpm/secondaries.rb +82 -0
- data/lib/baltix/spec/rpm/secondary.rb +117 -64
- data/lib/baltix/spec/rpm/secondary_parts.rb +84 -0
- data/lib/baltix/spec/rpm/section_document.rb +84 -0
- data/lib/baltix/spec/rpm/section_guards.rb +116 -0
- data/lib/baltix/spec/rpm/source_selection.rb +82 -0
- data/lib/baltix/spec/rpm/spec_core/architecture.rb +28 -0
- data/lib/baltix/spec/rpm/spec_core/attributes.rb +89 -0
- data/lib/baltix/spec/rpm/spec_core/availability.rb +60 -0
- data/lib/baltix/spec/rpm/spec_core/dependency_rendering.rb +83 -0
- data/lib/baltix/spec/rpm/spec_core/descriptions.rb +77 -0
- data/lib/baltix/spec/rpm/spec_core/documentation.rb +48 -0
- data/lib/baltix/spec/rpm/spec_core/executable_names.rb +37 -0
- data/lib/baltix/spec/rpm/spec_core/host_names.rb +60 -0
- data/lib/baltix/spec/rpm/spec_core/interpreters.rb +103 -0
- data/lib/baltix/spec/rpm/spec_core/names.rb +80 -0
- data/lib/baltix/spec/rpm/spec_core/obsoletes.rb +38 -0
- data/lib/baltix/spec/rpm/spec_core/package_dependencies.rb +74 -0
- data/lib/baltix/spec/rpm/spec_core/plain_dependencies.rb +60 -0
- data/lib/baltix/spec/rpm/spec_core/pre_name.rb +23 -0
- data/lib/baltix/spec/rpm/spec_core/provides.rb +104 -0
- data/lib/baltix/spec/rpm/spec_core/readme.rb +78 -0
- data/lib/baltix/spec/rpm/spec_core/registration.rb +18 -0
- data/lib/baltix/spec/rpm/spec_core/runtime_dependencies.rb +81 -0
- data/lib/baltix/spec/rpm/spec_core/summaries.rb +64 -0
- data/lib/baltix/spec/rpm/spec_core/text_wrapping.rb +36 -0
- data/lib/baltix/spec/rpm/spec_core/versioning.rb +75 -0
- data/lib/baltix/spec/rpm/spec_core/versions.rb +94 -0
- data/lib/baltix/spec/rpm/spec_core.rb +75 -527
- data/lib/baltix/spec/{rpm.erb → rpm/template.erb} +131 -31
- data/lib/baltix/spec/rpm.rb +253 -644
- data/lib/baltix/spec.rb +16 -14
- data/lib/baltix/target/gem.rb +61 -0
- data/lib/baltix/target/site.rb +40 -0
- data/lib/baltix/target.rb +16 -0
- data/lib/baltix/version.rb +3 -1
- data/lib/baltix.rb +77 -5
- data/locale/en_US.UTF-8.yaml +4 -1
- data/locale/ru_RU.UTF-8.yaml +7 -1
- data/rpm/baltix.env +4 -0
- data/rpm/baltix.prov +8 -0
- data/rpm/baltix.prov.files +6 -0
- data/rpm/baltix.req +8 -0
- data/rpm/baltix.req.files +6 -0
- data/rpm/macros.baltix +24 -0
- data/utils/rubocop/compact_block_braces.rb +39 -0
- data/utils/rubocop/spacing.rb +96 -0
- data/utils/update_alt_architectures.rb +57 -0
- data/utils/update_alt_licenses.rb +19 -0
- data/utils/update_spdx_licenses.rb +21 -0
- metadata +526 -17
- data/.github/workflows/ci.yml +0 -44
- data/.gitignore +0 -10
- data/TODO +0 -84
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Bones based gemspec detection module
|
|
4
|
+
# Sample gems are: bones, loquacious, little-plugger
|
|
5
|
+
#
|
|
6
|
+
module Bones
|
|
7
|
+
# Captures Bones configuration without running its packaging tasks.
|
|
8
|
+
class Config
|
|
9
|
+
# Exposes the captured gem specification and version.
|
|
10
|
+
class Gem
|
|
11
|
+
def _spec
|
|
12
|
+
@_spec ||= ::Gem::Specification.new(nil, version)
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def version
|
|
16
|
+
File.read('version.txt').strip
|
|
17
|
+
rescue Errno::ENOENT
|
|
18
|
+
nil # An absent optional metadata value is allowed.
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def gem
|
|
23
|
+
@gem ||= Gem.new
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
attr_writer :name
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
# Accepts announcement metadata without publishing it.
|
|
30
|
+
class Ann
|
|
31
|
+
def paragraphs _; end
|
|
32
|
+
|
|
33
|
+
def text _; end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
# Stores extra gem metadata used by Bones projects.
|
|
37
|
+
class Gem
|
|
38
|
+
def extras
|
|
39
|
+
@extras ||= {}
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Accepts release-note exclusions without generating notes.
|
|
44
|
+
class Notes
|
|
45
|
+
def exclude _; end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# Exposes documentation options from the captured specification.
|
|
49
|
+
class Spec
|
|
50
|
+
def opts
|
|
51
|
+
Bones.config.gem._spec.rdoc_options
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
# Implements the Bones metadata DSL used by imported Rakefiles.
|
|
56
|
+
module Methods
|
|
57
|
+
def name value = nil
|
|
58
|
+
Bones.config.gem._spec.name = value if value
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
def authors value
|
|
62
|
+
Bones.config.gem._spec.authors << value
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
def email value
|
|
66
|
+
Bones.config.gem._spec.email = value
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
def url value
|
|
70
|
+
Bones.config.gem._spec.homepage = value
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
def license value
|
|
74
|
+
Bones.config.gem._spec.license = value
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
def version value
|
|
78
|
+
Bones.config.gem._spec.version = value
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
def readme_file value
|
|
82
|
+
readme = File.read(value)
|
|
83
|
+
|
|
84
|
+
/(?<=== DESCRIPTION:\n)(?<desc>.*?)(?>=== )/m =~ readme
|
|
85
|
+
|
|
86
|
+
specification = Bones.config.gem._spec
|
|
87
|
+
|
|
88
|
+
specification.files << value
|
|
89
|
+
specification.extra_rdoc_files << value
|
|
90
|
+
|
|
91
|
+
specification.summary = desc.strip.split("\n").first
|
|
92
|
+
specification.description = desc.strip
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
def use_gmail; end
|
|
96
|
+
|
|
97
|
+
def ensure_in_path *_args
|
|
98
|
+
true
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
def depend_on name, version = nil, options = {}
|
|
102
|
+
if options[:development]
|
|
103
|
+
Bones.config.gem._spec.add_development_dependency(name, version)
|
|
104
|
+
else
|
|
105
|
+
Bones.config.gem._spec.add_dependency(name, version)
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
def spec
|
|
110
|
+
@spec ||= Spec.new
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
def notes
|
|
114
|
+
@notes ||= Notes.new
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
def gem arg = nil, arg1 = nil
|
|
118
|
+
if arg
|
|
119
|
+
super
|
|
120
|
+
else
|
|
121
|
+
@gem ||= Gem.new
|
|
122
|
+
end
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
def ann
|
|
126
|
+
@ann ||= Ann.new
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
def respond_to_missing? name, include_private = false
|
|
130
|
+
super
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
def method_missing *args
|
|
134
|
+
Kernel.puts(args.inspect)
|
|
135
|
+
|
|
136
|
+
super
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
class << self
|
|
141
|
+
def config
|
|
142
|
+
@config ||= Bones::Config.new
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
def spec
|
|
146
|
+
@config.gem._spec
|
|
147
|
+
end
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# Accepts optional Bones task declarations during metadata loading.
|
|
151
|
+
module Main
|
|
152
|
+
def respond_to_missing? method_name, include_private = false
|
|
153
|
+
Bones.respond_to?(method_name, include_private) || super
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
def method_missing method_name, *args
|
|
157
|
+
if Bones.respond_to?(method_name)
|
|
158
|
+
Bones.send(method_name, *args)
|
|
159
|
+
else
|
|
160
|
+
super
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# Makes the Bones project DSL available to imported build files.
|
|
167
|
+
module Kernel
|
|
168
|
+
def Bones _name = nil
|
|
169
|
+
extend(Bones::Methods)
|
|
170
|
+
|
|
171
|
+
yield
|
|
172
|
+
end
|
|
173
|
+
end
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Echoe based gemspec detection module
|
|
4
|
+
# Sample gems are: echoe
|
|
5
|
+
#
|
|
6
|
+
require 'English'
|
|
7
|
+
# Captures Echoe metadata without executing release tasks.
|
|
8
|
+
class Echoe
|
|
9
|
+
def project= _; end
|
|
10
|
+
|
|
11
|
+
def author= value
|
|
12
|
+
spec.authors << value
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def url= url
|
|
16
|
+
spec.homepage = url
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
def summary= value
|
|
20
|
+
spec.summary = value
|
|
21
|
+
spec.description ||= value
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def dependencies= value
|
|
25
|
+
value.each do |dep|
|
|
26
|
+
spec.add_dependency(*dep.split(/\s+/))
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
def runtime_dependencies= value
|
|
31
|
+
value.each do |dep|
|
|
32
|
+
spec.add_runtime_dependency(*dep.split(/\s+/))
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def development_dependencies= value
|
|
37
|
+
value.each do |dep|
|
|
38
|
+
spec.add_development_dependency(*dep.split(/\s+/))
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def licenses= value
|
|
43
|
+
spec.licenses |= value
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
def rubygems_version= value
|
|
47
|
+
return unless spec.respond_to?(:required_rubygems_version=)
|
|
48
|
+
|
|
49
|
+
spec.required_rubygems_version = Gem::Requirement.new(value)
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
def spec
|
|
53
|
+
@spec ||= ::Gem::Specification.new
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
def rubyforge_name= _name; end
|
|
57
|
+
|
|
58
|
+
def description= desc
|
|
59
|
+
spec.description = desc
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
def docs_host= url
|
|
63
|
+
spec.metadata[:docs_host] = url
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
def rdoc_pattern= pattern
|
|
67
|
+
spec.extra_rdoc_files.concat(Dir['*/**/*'].grep(/#{pattern}/))
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
def test_pattern= pattern
|
|
71
|
+
spec.test_files.concat(Dir['*/**/*'].grep(/#{pattern}/))
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
def certificate_chain= chain
|
|
75
|
+
spec.cert_chain = chain
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
def clean_pattern= pattern
|
|
79
|
+
Dir['*/**/*'].grep(pattern).each {|f| FileUtils.rm_f(f) }
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
def clean_pattern
|
|
83
|
+
@clean_pattern ||= []
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
def has_rdoc= _; end
|
|
87
|
+
|
|
88
|
+
def require_signed= _; end
|
|
89
|
+
|
|
90
|
+
def retain_gemspec= _; end
|
|
91
|
+
|
|
92
|
+
def need_tar_gz= _; end
|
|
93
|
+
|
|
94
|
+
def need_tgz= _; end
|
|
95
|
+
|
|
96
|
+
def extensions= _; end
|
|
97
|
+
|
|
98
|
+
def eval= _; end
|
|
99
|
+
|
|
100
|
+
def rdoc_template= _; end
|
|
101
|
+
|
|
102
|
+
def platform= value
|
|
103
|
+
spec.platform = value
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
def require_signed; end
|
|
107
|
+
|
|
108
|
+
protected
|
|
109
|
+
|
|
110
|
+
DOC_FILTER = /CHANGELOG|LICENSE|README|\.rb$/i
|
|
111
|
+
|
|
112
|
+
def import_manifest
|
|
113
|
+
spec.files = File.read('Manifest').split("\n")
|
|
114
|
+
spec.extra_rdoc_files = spec.files.grep(DOC_FILTER)
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
def initialize name
|
|
118
|
+
spec.name = name
|
|
119
|
+
|
|
120
|
+
import_manifest
|
|
121
|
+
|
|
122
|
+
spec.version = changelog_version
|
|
123
|
+
|
|
124
|
+
import_executables
|
|
125
|
+
yield(self)
|
|
126
|
+
rescue StandardError
|
|
127
|
+
warn("[#{$ERROR_INFO.class}] #{$ERROR_INFO.message}")
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
def changelog_version
|
|
131
|
+
vline = File.read('CHANGELOG').split("\n").find {|line| /^\s*v/ =~ line }
|
|
132
|
+
|
|
133
|
+
/v(?<version>[^ ]+)\. / =~ vline
|
|
134
|
+
|
|
135
|
+
version || '0.0'
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
def import_executables
|
|
139
|
+
return unless File.directory?('bin')
|
|
140
|
+
|
|
141
|
+
Dir.chdir('bin') { spec.executables = Dir['*'] }
|
|
142
|
+
end
|
|
143
|
+
end
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Imports Hoe manifest, README and project plugin metadata.
|
|
4
|
+
class Hoe
|
|
5
|
+
# autoload hoe modules folder and assign plugins
|
|
6
|
+
def self.init _name
|
|
7
|
+
import_manifest
|
|
8
|
+
|
|
9
|
+
@spec.spec.version = detected_version
|
|
10
|
+
|
|
11
|
+
readme = File.read(readme_file)
|
|
12
|
+
|
|
13
|
+
import_description(readme)
|
|
14
|
+
import_urls(readme)
|
|
15
|
+
dependency('rdoc', '>= 4.0', :development) if @spec.spec.files.grep(/.rdoc$/).any? || readme.include?('rdoc ::')
|
|
16
|
+
load_project_plugins
|
|
17
|
+
rescue StandardError, ScriptError, SystemExit
|
|
18
|
+
# Incomplete optional metadata does not prevent importing other sources.
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
def self.import_manifest
|
|
22
|
+
specification = @spec.spec
|
|
23
|
+
specification.files = File.read('Manifest.txt').split("\n")
|
|
24
|
+
specification.extra_rdoc_files = specification.files.grep(DOC_FILTER)
|
|
25
|
+
specification.executables = specification.files.grep(%r{^bin/}) {|file| File.basename(file) }
|
|
26
|
+
specification.bindir = 'bin'
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
def self.detected_version
|
|
30
|
+
if history_file
|
|
31
|
+
File.read(history_file).split("\n").reduce(nil) do |res, line|
|
|
32
|
+
res || /(?:=+|#+) v?(?<version>[0-9.]+)/ =~ line && version
|
|
33
|
+
end
|
|
34
|
+
else
|
|
35
|
+
instance_eval(`grep VERSION . -r|sed s,.*:,,`.strip)
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
def self.load_project_plugins
|
|
40
|
+
Dir.glob("#{Dir.pwd}/lib/hoe/*.rb").each do |file|
|
|
41
|
+
require_relative(file)
|
|
42
|
+
rescue StandardError, ScriptError, SystemExit
|
|
43
|
+
nil
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
extend_project_modules
|
|
47
|
+
|
|
48
|
+
send("initialize_#{@spec.spec.name}") if respond_to?("initialize_#{@spec.spec.name}")
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
def self.extend_project_modules
|
|
52
|
+
modules = constants.map {|constant| const_get(constant) }
|
|
53
|
+
|
|
54
|
+
modules.select! {|value| value.is_a?(Module) }
|
|
55
|
+
|
|
56
|
+
modules.each {|value| extend(value) }
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
def self.post_init
|
|
60
|
+
apply_spec_extras
|
|
61
|
+
apply_extra_dependencies
|
|
62
|
+
@spec.spec.extra_rdoc_files.concat(extra_rdoc_files)
|
|
63
|
+
|
|
64
|
+
remove_clean_globs
|
|
65
|
+
(@plugins & PLUGINS).each {|name| dependency(name, '>= 0', :development) }
|
|
66
|
+
|
|
67
|
+
@plugins.each {|name| try_require(name) }
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
def self.apply_extra_dependencies
|
|
71
|
+
@extra_dev_deps&.each {|name, dep| dependency(name, dep, :development) }
|
|
72
|
+
|
|
73
|
+
@extra_deps&.each {|name, dep| dependency(name, dep, :runtime) }
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
def self.remove_clean_globs
|
|
77
|
+
@clean_globs&.each {|glob| Dir[glob].each {|file| FileUtils.rm_rf(file) }}
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
def self.apply_spec_extras
|
|
81
|
+
@extras&.each do |key, value_in|
|
|
82
|
+
value = value_in.is_a?(Proc) ? value_in[key] : value_in
|
|
83
|
+
|
|
84
|
+
@spec.spec.send("#{key}=", value)
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
require 'baltix/extensions/hoe/readme'
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Stores upstream Hoe dependency, documentation and publishing settings.
|
|
4
|
+
class Hoe
|
|
5
|
+
# definitors
|
|
6
|
+
def self.developer value, email
|
|
7
|
+
@spec.spec.authors << value
|
|
8
|
+
|
|
9
|
+
@spec.spec.email = [@spec.spec.email, email].compact.tap(&:flatten!)
|
|
10
|
+
end
|
|
11
|
+
|
|
12
|
+
def self.license value
|
|
13
|
+
@spec.spec.licenses |= [value]
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
def self.require_ruby_version data
|
|
17
|
+
@spec.spec.required_ruby_version = data
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
def self.dependency name, dep, group_in = :runtime
|
|
21
|
+
group = GROUPS[group_in] || :runtime
|
|
22
|
+
|
|
23
|
+
@spec.spec.dependencies << Gem::Dependency.new(name, Gem::Requirement.new([dep]), group)
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def self.spec_extras
|
|
27
|
+
@spec_extras ||= {}
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# Stores additional gemspec attributes assigned by a Hoe Rakefile.
|
|
31
|
+
# @param attributes [Hash{Symbol => Object}] RubyGems attribute names and values
|
|
32
|
+
# @return [Hash{Symbol => Object}] attributes applied during post_init
|
|
33
|
+
def self.spec_extras= attributes
|
|
34
|
+
@extras = attributes
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
def self.extra_rdoc_files
|
|
38
|
+
@extra_rdoc_files ||= []
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def self.extra_rdoc_files= files
|
|
42
|
+
extra_rdoc_files.concat(files)
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
def self.extra_deps
|
|
46
|
+
@extra_deps ||= []
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
def self.extra_dev_deps
|
|
50
|
+
@extra_dev_deps ||= []
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def self.clean_globs
|
|
54
|
+
@clean_globs ||= []
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
def self.url= url
|
|
58
|
+
@url = url.include?('rubyforge') ? nil : url
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
def self.history_file
|
|
62
|
+
@history_file ||= Dir['{History,Changelog,HISTORY,CHANGELOG}*'].first
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
def self.readme_file
|
|
66
|
+
@readme_file ||= Dir['{README,Readme,readme}*'].first
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
def self.bad_plugins
|
|
70
|
+
[]
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
def self.rdoc_locations
|
|
74
|
+
[]
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
def self.perforce_ignore
|
|
78
|
+
[]
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
def self.racc_flags
|
|
82
|
+
[]
|
|
83
|
+
end
|
|
84
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Reads Hoe README descriptions and project addresses.
|
|
4
|
+
class Hoe
|
|
5
|
+
def self.import_description readme
|
|
6
|
+
description = readme.split(/(=+|#+)/).reduce(nil) do |res, part|
|
|
7
|
+
res || /^ Description:?(?<desc>.*)/im =~ part && desc
|
|
8
|
+
end&.strip
|
|
9
|
+
|
|
10
|
+
@spec.spec.description ||= description
|
|
11
|
+
@spec.spec.summary ||= description.to_s.split(/[.(!]/).first
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
def self.import_urls readme
|
|
15
|
+
/code ::(?<url>.*)|^\* (?<url>http.*)/ =~ readme
|
|
16
|
+
|
|
17
|
+
@spec.spec.metadata['source_code_uri'] = @url || url&.strip
|
|
18
|
+
|
|
19
|
+
return unless /home ::(?<url>.*)|^\* (?<url>http.*)/ =~ readme
|
|
20
|
+
|
|
21
|
+
import_homepage(url)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
def self.import_homepage url
|
|
25
|
+
@spec.spec.homepage = url.strip
|
|
26
|
+
@spec.spec.metadata['homepage_uri'] = @url || url.strip
|
|
27
|
+
@spec.spec.metadata['source_code_uri'] ||= /github.com|bitbucket.com/ =~ url && url.strip || nil
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Hoe based gemspec detection module
|
|
4
|
+
# Sample gems are: hoe, racc, nokogiri, ruby_parser, oedipus_lex
|
|
5
|
+
#
|
|
6
|
+
class Hoe
|
|
7
|
+
DOC_FILTER = /CHANGELOG|LICENSE|README|\.rb$/i
|
|
8
|
+
PLUGINS = %w[rdoc hoe].freeze
|
|
9
|
+
GROUPS = {
|
|
10
|
+
developer: :development,
|
|
11
|
+
development: :development,
|
|
12
|
+
runtime: :runtime
|
|
13
|
+
}.freeze
|
|
14
|
+
DEFAULT_CONFIG = {}.freeze
|
|
15
|
+
|
|
16
|
+
def initialize name
|
|
17
|
+
@spec = ::Gem::Specification.new
|
|
18
|
+
@spec.name = name
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
attr_reader :spec
|
|
22
|
+
|
|
23
|
+
class << self
|
|
24
|
+
# Clears project metadata before importing another Hoe Rakefile.
|
|
25
|
+
# Takes no parameters.
|
|
26
|
+
# @return [Class<Hoe>] this adapter with no cached specification or settings
|
|
27
|
+
def reset
|
|
28
|
+
instance_variables.each {|name| remove_instance_variable(name) }
|
|
29
|
+
|
|
30
|
+
self
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
def plugin plugin
|
|
34
|
+
@plugins = plugins | [plugin.to_s]
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
def plugins
|
|
38
|
+
@plugins ||= ['hoe']
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def add_include_dirs *args
|
|
42
|
+
args.each do |lib|
|
|
43
|
+
try_require(lib.split('/').find {|x| x =~ /[a-zA-Z]/ })
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# Loads an optional plugin without allowing real Hoe to reopen this adapter.
|
|
48
|
+
# @param lib [String] library or plugin name to require
|
|
49
|
+
# @return [Boolean, nil] Ruby's require result, or nil when loading fails
|
|
50
|
+
# If the Rake library manager is available, real plugin constants are isolated
|
|
51
|
+
# and metadata adapters are restored even on failure. Standalone adapters
|
|
52
|
+
# require the plugin directly. Optional plugin errors remain nonfatal.
|
|
53
|
+
def try_require lib
|
|
54
|
+
if defined?(Baltix::Rake)
|
|
55
|
+
Baltix::Rake.with_task_libraries { require(lib) }
|
|
56
|
+
else
|
|
57
|
+
require(lib)
|
|
58
|
+
end
|
|
59
|
+
rescue StandardError, ScriptError, SystemExit
|
|
60
|
+
nil
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
def plugin? name
|
|
64
|
+
@plugins.include?(name)
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
attr_writer :readme_file, :history_file
|
|
68
|
+
|
|
69
|
+
# Stores the legacy remote RDoc directory while importing a Hoe Rakefile.
|
|
70
|
+
# @param directory [String] publishing directory declared by the project
|
|
71
|
+
# @return [String] the supplied publishing directory
|
|
72
|
+
attr_writer :remote_rdoc_dir
|
|
73
|
+
|
|
74
|
+
# Stores the legacy RubyForge project name while importing a Hoe Rakefile.
|
|
75
|
+
# @param name [String] RubyForge project name declared by the project
|
|
76
|
+
# @return [String] the supplied project name
|
|
77
|
+
attr_writer :rubyforge_name
|
|
78
|
+
|
|
79
|
+
def test_globs= _globs; end
|
|
80
|
+
|
|
81
|
+
# spec
|
|
82
|
+
def spec name = nil, &block
|
|
83
|
+
main
|
|
84
|
+
|
|
85
|
+
return @spec.spec if @spec
|
|
86
|
+
|
|
87
|
+
plugin('hoe')
|
|
88
|
+
|
|
89
|
+
@spec ||= new(name)
|
|
90
|
+
|
|
91
|
+
init(name)
|
|
92
|
+
@spec.instance_eval(&block)
|
|
93
|
+
post_init
|
|
94
|
+
|
|
95
|
+
@spec
|
|
96
|
+
rescue StandardError, ScriptError, SystemExit => error
|
|
97
|
+
warn("[#{error.class}]: #{error.message}\n\t#{error.backtrace.join("\n\t")}")
|
|
98
|
+
|
|
99
|
+
nil
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
def name
|
|
103
|
+
@spec&.spec&.name
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
def main
|
|
107
|
+
@main = TOPLEVEL_BINDING.eval('self')
|
|
108
|
+
|
|
109
|
+
@main.extend(Main)
|
|
110
|
+
|
|
111
|
+
@main.include(Main)
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# Records optional Hoe task declarations during metadata loading.
|
|
116
|
+
module Main
|
|
117
|
+
# Dispatches legacy Hoe DSL calls to the adapter or its gem specification.
|
|
118
|
+
# @param method_name [Symbol] missing DSL method or gemspec attribute writer
|
|
119
|
+
# @param args [Array<Object>] arguments forwarded to the selected method
|
|
120
|
+
# @param block [Proc, nil] optional block forwarded to the selected method
|
|
121
|
+
# @return [Object] the result of the delegated method
|
|
122
|
+
# If Hoe implements the method, it takes priority. Otherwise, a Hoe instance
|
|
123
|
+
# delegates supported gemspec methods to its specification; other missing
|
|
124
|
+
# methods retain the superclass behavior.
|
|
125
|
+
def respond_to_missing? method_name, include_private = false
|
|
126
|
+
return super if equal?(Hoe)
|
|
127
|
+
|
|
128
|
+
Hoe.respond_to?(method_name, include_private) ||
|
|
129
|
+
(is_a?(Hoe) && spec.respond_to?(method_name, include_private)) || super
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
def method_missing(method_name, ...)
|
|
133
|
+
if Hoe.respond_to?(method_name)
|
|
134
|
+
Hoe.public_send(method_name, ...)
|
|
135
|
+
elsif is_a?(Hoe) && spec.respond_to?(method_name)
|
|
136
|
+
spec.public_send(method_name, ...)
|
|
137
|
+
else
|
|
138
|
+
super
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
end
|
|
143
|
+
|
|
144
|
+
require 'baltix/extensions/hoe/metadata'
|
|
145
|
+
|
|
146
|
+
require 'baltix/extensions/hoe/options'
|