pangea-core 0.2.0 → 0.3.0
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/.github/workflows/auto-bump.yml +11 -0
- data/.github/workflows/ci.yml +7 -0
- data/.github/workflows/release.yml +22 -0
- data/.gitignore +1 -0
- data/AGENTS.md +3 -0
- data/CLAUDE.md +554 -0
- data/Gemfile.lock +3 -3
- data/README.md +40 -0
- data/docs/development-standards.md +287 -0
- data/docs/fleet-pangea-integration-plan.md +421 -0
- data/exe/pangea +7 -0
- data/flake.lock +1499 -190
- data/flake.nix +5 -1
- data/gemset.nix +1 -1
- data/lib/pangea/arch_dsl.rb +167 -0
- data/lib/pangea/architecture.rb +143 -0
- data/lib/pangea/backend.rb +172 -0
- data/lib/pangea/cli/cascade.rb +340 -0
- data/lib/pangea/cli/config.rb +169 -0
- data/lib/pangea/cli/operations.rb +206 -0
- data/lib/pangea/cli/orchestrate.rb +115 -0
- data/lib/pangea/cli/reactivity.rb +252 -0
- data/lib/pangea/cli/synthesizer.rb +121 -0
- data/lib/pangea/cli/theme.rb +216 -0
- data/lib/pangea/cli/tofu_events.rb +242 -0
- data/lib/pangea/cli.rb +209 -0
- data/lib/pangea/components/base.rb +23 -13
- data/lib/pangea/contracts/architecture_result.rb +106 -0
- data/lib/pangea/contracts/cluster_result.rb +94 -0
- data/lib/pangea/contracts/errors.rb +21 -0
- data/lib/pangea/contracts/iam_result.rb +73 -0
- data/lib/pangea/contracts/network_result.rb +140 -0
- data/lib/pangea/contracts/security_group_accessor.rb +28 -0
- data/lib/pangea/contracts.rb +26 -0
- data/lib/pangea/magma/chain.rb +199 -0
- data/lib/pangea/magma/distribution.rb +107 -0
- data/lib/pangea/magma/matchers.rb +176 -0
- data/lib/pangea/magma/migration.rb +195 -0
- data/lib/pangea/magma/optimization.rb +88 -0
- data/lib/pangea/magma/orchestrator.rb +96 -0
- data/lib/pangea/magma/runner.rb +99 -0
- data/lib/pangea/magma/stack.rb +159 -0
- data/lib/pangea/magma/test_support.rb +177 -0
- data/lib/pangea/magma/workspace.rb +127 -0
- data/lib/pangea/magma.rb +156 -0
- data/lib/pangea/outputs.rb +91 -0
- data/lib/pangea/presets.rb +67 -0
- data/lib/pangea/provider_contract.rb +61 -0
- data/lib/pangea/remote_state.rb +175 -0
- data/lib/pangea/resource_registry.rb +24 -15
- data/lib/pangea/resources/base_attributes.rb +13 -1
- data/lib/pangea/resources/reference.rb +9 -4
- data/lib/pangea/resources/reference_generator.rb +32 -0
- data/lib/pangea/resources/resource_builder.rb +103 -68
- data/lib/pangea/resources/resource_input.rb +149 -0
- data/lib/pangea/resources/types/coercions.rb +43 -0
- data/lib/pangea/resources/types/core.rb +23 -0
- data/lib/pangea/resources/types/index.rb +3 -0
- data/lib/pangea/resources/validators/common.rb +41 -0
- data/lib/pangea/resources/validators/network_validators.rb +9 -7
- data/lib/pangea/secrets.rb +136 -0
- data/lib/pangea/tagging/fingerprint.rb +116 -0
- data/lib/pangea/tagging/policy.rb +92 -0
- data/lib/pangea/tagging/tag_adapter.rb +84 -0
- data/lib/pangea/tagging/tag_set.rb +201 -0
- data/lib/pangea/tagging.rb +6 -0
- data/lib/pangea/testing/architecture_spec_generator.rb +237 -0
- data/lib/pangea/testing/assertions.rb +51 -0
- data/lib/pangea/testing/mock_terraform_synthesizer.rb +22 -4
- data/lib/pangea/testing/spec_generator.rb +176 -0
- data/lib/pangea/testing/spec_setup.rb +4 -0
- data/lib/pangea/testing/type_purity.rb +132 -0
- data/lib/pangea/testing.rb +3 -0
- data/lib/pangea/validation.rb +44 -8
- data/lib/pangea-core/version.rb +1 -1
- data/lib/pangea-core.rb +31 -0
- data/pangea-core.gemspec +3 -1
- data/vendor/bundle/ruby/3.3.0/bin/htmldiff +29 -0
- data/vendor/bundle/ruby/3.3.0/bin/ldiff +29 -0
- data/vendor/bundle/ruby/3.3.0/bin/pangea +29 -0
- data/vendor/bundle/ruby/3.3.0/bin/rake +29 -0
- data/vendor/bundle/ruby/3.3.0/bin/rspec +29 -0
- data/vendor/bundle/ruby/3.3.0/extensions/arm64-darwin-25/3.3.0/bigdecimal-4.0.1/bigdecimal.bundle +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/arm64-darwin-25/3.3.0/bigdecimal-4.0.1/gem.build_complete +0 -0
- data/vendor/bundle/ruby/3.3.0/extensions/arm64-darwin-25/3.3.0/bigdecimal-4.0.1/gem_make.out +33 -0
- data/vendor/bundle/ruby/3.3.0/extensions/arm64-darwin-25/3.3.0/bigdecimal-4.0.1/mkmf.log +453 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/.gitignore +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/.nix_shell_env.sh +2134 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/.rubocop.yml +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/CHANGELOG.md +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/CONTRIBUTING.md +114 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/Gemfile +2 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/Gemfile.lock +66 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/README.md +621 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/Rakefile +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/abstract-synthesizer.gemspec +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/docs/overview.md +69 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/docs/usage.md +468 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/examples/README.md +230 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/examples/api/rest_api_dsl.rb +269 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/examples/build_system/ci_cd_pipeline.rb +443 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/examples/configuration_management/app_config_dsl.rb +437 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/examples/infrastructure/kubernetes_deployment.rb +152 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/flake.lock +835 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/flake.nix +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/gemset.nix +239 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/lib/abstract-synthesizer/errors/invalid_synthesizer_key_error.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/lib/abstract-synthesizer/errors/too_many_field_values.rb +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/lib/abstract-synthesizer/primitives/bury.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/lib/abstract-synthesizer/version.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/abstract-synthesizer-0.0.15/lib/abstract-synthesizer.rb +121 -0
- data/vendor/bundle/ruby/3.3.0/gems/base64-0.3.0/BSDL +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/base64-0.3.0/COPYING +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/base64-0.3.0/LEGAL +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/base64-0.3.0/README.md +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/base64-0.3.0/lib/base64.rb +381 -0
- data/vendor/bundle/ruby/3.3.0/gems/base64-0.3.0/sig/base64.rbs +355 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/LICENSE +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/bigdecimal.gemspec +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal/.sitearchdir.time +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal/Makefile +271 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal/bigdecimal.bundle +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal/bigdecimal.c +6206 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal/bigdecimal.h +292 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal/bigdecimal.o +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal/bits.h +144 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal/extconf.rb +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal/feature.h +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal/missing/dtoa.c +3462 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal/missing.c +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal/missing.h +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal/missing.o +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/ext/bigdecimal/static_assert.h +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/lib/bigdecimal/jacobian.rb +92 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/lib/bigdecimal/ludcmp.rb +91 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/lib/bigdecimal/math.rb +948 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/lib/bigdecimal/newton.rb +82 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/lib/bigdecimal/util.rb +186 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/lib/bigdecimal.bundle +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/lib/bigdecimal.rb +360 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/sample/linear.rb +74 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/sample/nlsolve.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/bigdecimal-4.0.1/sample/pi.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/CHANGELOG.md +609 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/Gemfile +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/LICENSE.txt +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/README.md +409 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/Rakefile +344 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/ext/concurrent-ruby/ConcurrentRubyService.java +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/ext/concurrent-ruby/com/concurrent_ruby/ext/AtomicReferenceLibrary.java +175 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JRubyMapBackendLibrary.java +248 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicBooleanLibrary.java +93 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaAtomicFixnumLibrary.java +113 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/ext/concurrent-ruby/com/concurrent_ruby/ext/JavaSemaphoreLibrary.java +189 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/ext/concurrent-ruby/com/concurrent_ruby/ext/SynchronizationLibrary.java +292 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMap.java +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/ConcurrentHashMapV8.java +3863 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/LongAdder.java +203 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/Striped64.java +342 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/ConcurrentHashMapV8.java +3800 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/LongAdder.java +204 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166e/nounsafe/Striped64.java +291 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/ext/concurrent-ruby/com/concurrent_ruby/ext/jsr166y/ThreadLocalRandom.java +199 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/agent.rb +588 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/array.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/async.rb +449 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atom.rb +222 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb +127 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb +144 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb +167 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb +135 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb +100 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb +128 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/event.rb +109 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb +109 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/java_count_down_latch.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/locals.rb +189 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/lock_local_var.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb +131 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb +255 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb +379 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/semaphore.rb +163 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb +111 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic_reference/atomic_direct_update.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/atomics.rb +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb +111 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/collection/java_non_concurrent_priority_queue.rb +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb +160 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/collection/map/mri_map_backend.rb +66 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/collection/map/non_concurrent_map_backend.rb +148 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/collection/map/synchronized_map_backend.rb +85 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/collection/map/truffleruby_map_backend.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb +143 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb +160 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/collection/ruby_timeout_queue.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/collection/timeout_queue.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/concern/deprecation.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/concern/dereferenceable.rb +73 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/concern/logging.rb +121 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/concern/obligation.rb +220 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/concern/observable.rb +110 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/concurrent_ruby.jar +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/configuration.rb +105 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/constants.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/dataflow.rb +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/delay.rb +199 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/errors.rb +74 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/exchanger.rb +353 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb +131 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/executor_service.rb +185 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb +222 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/immediate_executor.rb +66 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/java_single_thread_executor.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb +147 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb +82 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb +396 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb +103 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executor/timer_set.rb +179 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/executors.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/future.rb +141 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/hash.rb +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/immutable_struct.rb +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/ivar.rb +208 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/map.rb +350 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/maybe.rb +229 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/mutable_struct.rb +239 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/mvar.rb +242 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/options.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/promise.rb +580 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/promises.rb +2178 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/re_include.rb +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/scheduled_task.rb +331 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/set.rb +64 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/settable_struct.rb +139 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/synchronization/abstract_lockable_object.rb +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/synchronization/abstract_object.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb +171 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/synchronization/condition.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/synchronization/full_memory_barrier.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/synchronization/jruby_lockable_object.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/synchronization/lock.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/synchronization/lockable_object.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/synchronization/mutex_lockable_object.rb +89 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/synchronization/object.rb +151 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/synchronization/safe_initialization.rb +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/synchronization/volatile.rb +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/synchronization.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/thread_safe/util/adder.rb +74 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/thread_safe/util/power_of_two_tuple.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/thread_safe/util/striped64.rb +246 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/thread_safe/util/volatile.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/thread_safe/util/xor_shift_random.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/thread_safe/util.rb +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/timer_task.rb +366 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/tuple.rb +82 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/tvar.rb +222 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/utility/engine.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/utility/monotonic_time.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb +77 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/utility/native_integer.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/utility/processor_counter.rb +220 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent/version.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent-ruby.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/concurrent-ruby-1.3.6/lib/concurrent-ruby/concurrent.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/.rspec +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/CHANGELOG.md +518 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/CODE_OF_CONDUCT.md +128 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/CONTRIBUTING.md +71 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/CONTRIBUTORS.md +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/LICENCE.md +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/Manifest.txt +115 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/README.md +92 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/Rakefile +115 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/SECURITY.md +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/bin/htmldiff +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/bin/ldiff +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/lib/diff/lcs/backports.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/lib/diff/lcs/callbacks.rb +327 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/lib/diff/lcs/change.rb +174 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/lib/diff/lcs/htmldiff.rb +160 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/lib/diff/lcs/hunk.rb +379 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/lib/diff/lcs/internals.rb +308 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/lib/diff/lcs/ldiff.rb +189 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/lib/diff/lcs/version.rb +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/lib/diff/lcs.rb +742 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/mise.toml +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/change_spec.rb +89 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/diff_spec.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/123_x +2 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/456_x +2 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/aX +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/bXaX +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/empty +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/file1.bin +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/file2.bin +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/four_lines +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/four_lines_with_missing_new_line +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line1-e +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line1-f +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line2-e +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/diff.missing_new_line2-f +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.chef-e +2 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.chef-f +2 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line1-e +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line1-f +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line2-e +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/error.diff.missing_new_line2-f +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-c +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-e +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-f +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff-u +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1 +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-c +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-e +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-f +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin1-u +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2 +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-c +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-e +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-f +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.bin2-u +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-c +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-e +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-f +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef-u +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2 +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-c +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-d +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-e +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-f +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.chef2-u +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-c +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-e +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-f +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.empty.vs.four_lines-u +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-c +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-e +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-f +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.four_lines.vs.empty-u +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-c +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-e +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-f +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.issue95_trailing_context-u +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1 +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-c +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-e +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-f +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line1-u +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2 +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-c +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-e +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-f +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/ldiff/output.diff.missing_new_line2-u +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/new-chef +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/new-chef2 +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/old-chef +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/fixtures/old-chef2 +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/hunk_spec.rb +83 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/issues_spec.rb +160 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/ldiff_spec.rb +100 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/patch_spec.rb +416 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/sdiff_spec.rb +216 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/spec_helper.rb +376 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/traverse_balanced_spec.rb +312 -0
- data/vendor/bundle/ruby/3.3.0/gems/diff-lcs-1.6.2/spec/traverse_sequences_spec.rb +137 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/.github/dependabot.yml +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/.github/workflows/main.yml +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/.gitignore +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/.rspec +2 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/.rubocop.yml +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/.yardopts +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/Gemfile +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/HISTORY.md +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/README.md +409 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/Rakefile +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/SECURITY.md +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/docile.gemspec +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/lib/docile/backtrace_filter.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/lib/docile/chaining_fallback_context_proxy.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/lib/docile/execution.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/lib/docile/fallback_context_proxy.rb +107 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/lib/docile/version.rb +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/docile-1.4.1/lib/docile.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/CHANGELOG.md +351 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/README.md +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/dry-core.gemspec +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/basic_object.rb +143 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/cache.rb +69 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/class_attributes.rb +103 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/class_builder.rb +103 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/constants.rb +115 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/container/config.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/container/configuration.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/container/item/callable.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/container/item/factory.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/container/item/memoizable.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/container/item.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/container/mixin.rb +311 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/container/namespace.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/container/namespace_dsl.rb +63 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/container/registry.rb +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/container/resolver.rb +90 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/container/stub.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/container.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/deprecations.rb +237 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/descendants_tracker.rb +78 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/equalizer.rb +156 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/errors.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/extensions.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/inflector.rb +143 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/memoizable.rb +235 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core/version.rb +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry/core.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-core-1.2.0/lib/dry-core.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-inflector-1.3.1/CHANGELOG.md +153 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-inflector-1.3.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-inflector-1.3.1/README.md +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-inflector-1.3.1/dry-inflector.gemspec +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-inflector-1.3.1/lib/dry/inflector/acronyms.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-inflector-1.3.1/lib/dry/inflector/inflections/defaults.rb +129 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-inflector-1.3.1/lib/dry/inflector/inflections.rb +259 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-inflector-1.3.1/lib/dry/inflector/rules.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-inflector-1.3.1/lib/dry/inflector/version.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-inflector-1.3.1/lib/dry/inflector.rb +343 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-inflector-1.3.1/lib/dry-inflector.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/CHANGELOG.md +375 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/README.md +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/dry-logic.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/appliable.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/builder.rb +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/evaluator.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/operations/abstract.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/operations/and.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/operations/attr.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/operations/binary.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/operations/check.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/operations/each.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/operations/implication.rb +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/operations/key.rb +64 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/operations/negation.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/operations/or.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/operations/set.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/operations/unary.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/operations/xor.rb +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/operators.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/predicates.rb +233 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/result.rb +96 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/rule/interface.rb +137 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/rule/predicate.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/rule.rb +98 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/rule_compiler.rb +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic/version.rb +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry/logic.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-logic-1.6.0/lib/dry-logic.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/CHANGELOG.md +482 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/README.md +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/dry-struct.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/lib/dry/struct/class_interface.rb +471 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/lib/dry/struct/compiler.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/lib/dry/struct/constructor.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/lib/dry/struct/errors.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/lib/dry/struct/extensions/pretty_print.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/lib/dry/struct/extensions/super_diff.rb +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/lib/dry/struct/extensions.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/lib/dry/struct/hashify.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/lib/dry/struct/printer.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/lib/dry/struct/struct_builder.rb +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/lib/dry/struct/sum.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/lib/dry/struct/value.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/lib/dry/struct/version.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/lib/dry/struct.rb +230 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-struct-1.8.0/lib/dry-struct.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/CHANGELOG.md +1145 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/README.md +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/dry-types.gemspec +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/any.rb +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/array/constructor.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/array/member.rb +118 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/array.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/builder.rb +221 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/builder_methods.rb +138 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/coercions/json.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/coercions/params.rb +168 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/coercions.rb +105 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/compat.rb +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/compiler.rb +138 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/composition.rb +138 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/constrained/coercible.rb +59 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/constrained.rb +146 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/constraints.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/constructor/function.rb +203 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/constructor/wrapper.rb +88 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/constructor.rb +195 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/container.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/core.rb +106 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/decorator.rb +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/default.rb +122 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/enum.rb +121 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/errors.rb +138 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/extensions/maybe.rb +128 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/extensions/monads.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/extensions.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/fn_container.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/hash/constructor.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/hash.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/implication.rb +64 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/inflector.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/intersection.rb +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/json.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/lax.rb +66 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/map.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/meta.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/module.rb +127 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/nominal.rb +201 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/options.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/params.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/predicate_inferrer.rb +235 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/predicate_registry.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/primitive_inferrer.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/printable.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/printer/composition.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/printer.rb +313 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/result.rb +72 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/schema/key.rb +138 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/schema.rb +408 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/spec/types.rb +164 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/sum.rb +105 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/type.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types/version.rb +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry/types.rb +259 -0
- data/vendor/bundle/ruby/3.3.0/gems/dry-types-1.9.1/lib/dry-types.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/.gitignore +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/.pelusa.yml +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/.rspec +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/.rubocop.yml +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/.ruby-gemset +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/.travis.yml +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/.yardopts +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/CONTRIBUTING.md +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/Gemfile +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/Gemfile.devtools +72 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/Guardfile +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/README.md +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/Rakefile +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/TODO +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/benchmarks/speed.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/config/devtools.yml +2 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/config/flay.yml +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/config/flog.yml +2 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/config/mutant.yml +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/config/reek.yml +105 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/config/roodi.yml +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/config/rubocop.yml +114 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/config/yardstick.yml +2 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/ice_nine.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/core_ext/object.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/array.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/false_class.rb +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/hash/state.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/hash.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/module.rb +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/nil_class.rb +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/no_freeze.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/numeric.rb +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/object.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/range.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/rubinius.rb +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/struct.rb +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/symbol.rb +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer/true_class.rb +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/freezer.rb +109 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/support/recursion_guard.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine/version.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/lib/ice_nine.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/integration/ice_nine/class_methods/deep_freeze_bang_spec.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/integration/ice_nine/class_methods/deep_freeze_spec.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/shared/array_deep_freeze.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/shared/hash_deep_freeze.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/shared/ice_nine_deep_freeze.rb +262 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/shared/no_freeze_deep_freeze.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/shared/object_deep_freeze.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/shared/range_deep_freeze.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/spec_helper.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/support/config_alias.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/class_methods/deep_freeze_bang_spec.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/class_methods/deep_freeze_spec.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/core_ext/object/deep_freeze_bang_spec.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/core_ext/object/deep_freeze_spec.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/array/class_methods/deep_freeze_spec.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/class_methods/element_reader_spec.rb +138 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/false_class/class_methods/deep_freeze_spec.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/hash/class_methods/deep_freeze_spec.rb +64 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/module/class_methods/deep_freeze_spec.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/nil_class/class_methods/deep_freeze_spec.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/no_freeze/class_methods/deep_freeze_spec.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/numeric/class_methods/deep_freeze_spec.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/object/class_methods/deep_freeze_spec.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/range/class_methods/deep_freeze_spec.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/struct/class_methods/deep_freeze_spec.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/symbol/class_methods/deep_freeze_spec.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/freezer/true_class/class_methods/deep_freeze_spec.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/recursion_guard/frozen/guard_spec.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/ice_nine/recursion_guard/object_set/guard_spec.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/ice_nine-0.11.2/spec/unit/object/deep_freeze_spec.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/logger-1.7.0/.document +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/logger-1.7.0/.rdoc_options +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/logger-1.7.0/BSDL +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/logger-1.7.0/COPYING +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/logger-1.7.0/README.md +104 -0
- data/vendor/bundle/ruby/3.3.0/gems/logger-1.7.0/lib/logger/errors.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/logger-1.7.0/lib/logger/formatter.rb +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/logger-1.7.0/lib/logger/log_device.rb +265 -0
- data/vendor/bundle/ruby/3.3.0/gems/logger-1.7.0/lib/logger/period.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/logger-1.7.0/lib/logger/severity.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/logger-1.7.0/lib/logger/version.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/logger-1.7.0/lib/logger.rb +789 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/History.rdoc +2454 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/README.rdoc +155 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/doc/command_line_usage.rdoc +171 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/exe/rake +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/application.rb +854 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/backtrace.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/cpu_counter.rb +122 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/dsl_definition.rb +196 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/file_task.rb +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/file_utils.rb +132 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/file_utils_ext.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/multi_task.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/packagetask.rb +222 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/rake_test_loader.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/task.rb +434 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/task_arguments.rb +113 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/task_manager.rb +331 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/testtask.rb +189 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/thread_pool.rb +157 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/lib/rake.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/rake-13.3.1/rake.gemspec +101 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.2/LICENSE.md +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.2/README.md +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.2/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-3.13.2/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/.document +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/.yardopts +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/Changelog.md +2447 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/LICENSE.md +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/README.md +389 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/exe/rspec +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/coordinator.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/example_minimizer.rb +173 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/fork_runner.rb +140 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/server.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/shell_command.rb +126 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/shell_runner.rb +73 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/bisect/utilities.rb +69 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/configuration.rb +2419 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/configuration_options.rb +240 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/did_you_mean.rb +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/drb.rb +120 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/example.rb +666 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/example_group.rb +912 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/base_bisect_formatter.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/bisect_drb_formatter.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/bisect_progress_formatter.rb +157 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/console_codes.rb +76 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/deprecation_formatter.rb +223 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/documentation_formatter.rb +102 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/exception_presenter.rb +553 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/failure_list_formatter.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/helpers.rb +118 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/html_printer.rb +412 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/html_snippet_extractor.rb +122 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/json_formatter.rb +103 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/formatters.rb +279 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/hooks.rb +646 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/invocations.rb +87 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/memoized_helpers.rb +580 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/metadata.rb +498 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/notifications.rb +523 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/option_parser.rb +325 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/ordering.rb +208 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/pending.rb +157 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/profiler.rb +34 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/project_initializer/.rspec +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/project_initializer/spec/spec_helper.rb +98 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/rake_task.rb +190 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/reporter.rb +266 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/runner.rb +216 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core/world.rb +287 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-core-3.13.6/lib/rspec/core.rb +212 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/.document +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/.yardopts +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/Changelog.md +1366 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/README.md +326 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/block_snippet_extractor.rb +255 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/configuration.rb +244 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/expectation_target.rb +163 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/failure_aggregator.rb +236 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/handler.rb +181 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/all.rb +86 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/base_matcher.rb +225 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be.rb +191 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_instance_of.rb +26 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_kind_of.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/change.rb +452 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/compound.rb +293 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/contain_exactly.rb +312 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/count_expectation.rb +171 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/eq.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/eql.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/has.rb +194 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/include.rb +218 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/match.rb +120 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/output.rb +207 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/raise_error.rb +275 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/respond_to.rb +200 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/satisfy.rb +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/throw_symbol.rb +138 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in/yield.rb +375 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/built_in.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/composable.rb +171 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/dsl.rb +546 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/english_phrasing.rb +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/generated_descriptions.rb +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/matcher_delegator.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/matcher_protocol.rb +105 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers/multi_matcher_diff.rb +82 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-expectations-3.13.5/lib/rspec/matchers.rb +1046 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/.document +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/.yardopts +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/Changelog.md +1343 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/LICENSE.md +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/README.md +465 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/chain.rb +111 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/proxy.rb +125 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/recorder.rb +299 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/argument_list_matcher.rb +117 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/argument_matchers.rb +366 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/error_generator.rb +390 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/matchers/have_received.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/matchers/receive.rb +134 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/message_expectation.rb +856 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/method_double.rb +316 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/method_reference.rb +214 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/proxy.rb +517 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/test_double.rb +174 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/verifying_double.rb +125 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/verifying_message_expectation.rb +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/verifying_proxy.rb +221 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-mocks-3.13.7/lib/rspec/mocks.rb +133 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/Changelog.md +444 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/LICENSE.md +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/README.md +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/caller_filter.rb +85 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/comparable_version.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/differ.rb +216 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/directory_maker.rb +65 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/encoded_string.rb +163 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/fuzzy_matcher.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/hunk_generator.rb +49 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/matcher_definition.rb +44 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/method_signature_verifier.rb +467 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/mutex.rb +75 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/object_formatter.rb +279 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/recursive_const_methods.rb +78 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/reentrant_mutex.rb +80 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/ruby_features.rb +221 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/source/location.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/source/node.rb +112 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/source/token.rb +96 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/source.rb +87 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/deprecation_helpers.rb +50 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/diff_helpers.rb +45 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/formatting_support.rb +11 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/in_sub_process.rb +73 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/library_wide_checks.rb +152 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/shell_out.rb +115 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/stderr_splitter.rb +77 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/string_matcher.rb +47 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/with_isolated_directory.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/spec/with_isolated_stderr.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/spec.rb +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/version.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/warnings.rb +41 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support/with_keywords_when_needed.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/rspec-support-3.13.7/lib/rspec/support.rb +163 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/CHANGELOG.md +191 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/README.md +974 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/doc/alternate-formatters.md +71 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/doc/commercial-services.md +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/doc/editor-integration.md +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/minitest/simplecov_plugin.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/combine/branches_combiner.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/combine/files_combiner.rb +24 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/combine/lines_combiner.rb +43 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/combine/results_combiner.rb +60 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/combine.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/command_guesser.rb +64 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/configuration.rb +500 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/coverage_statistics.rb +56 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/default_formatter.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/defaults.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/exit_codes/exit_code_handling.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/exit_codes/maximum_coverage_drop_check.rb +83 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/exit_codes/minimum_coverage_by_file_check.rb +54 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/exit_codes/minimum_overall_coverage_check.rb +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/exit_codes.rb +15 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/file_list.rb +120 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/filter.rb +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/formatter/multi_formatter.rb +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/formatter/simple_formatter.rb +25 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/formatter.rb +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/last_run.rb +28 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/lines_classifier.rb +48 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/load_global_config.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/no_defaults.rb +4 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/process.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/profiles/bundler_filter.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/profiles/hidden_filter.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/profiles/rails.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/profiles/root_filter.rb +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/profiles/test_frameworks.rb +8 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/profiles.rb +35 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/result.rb +94 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/result_adapter.rb +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/result_merger.rb +194 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/simulate_coverage.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/source_file/branch.rb +84 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/source_file/line.rb +72 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/source_file.rb +355 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/useless_results_remover.rb +18 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov/version.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-0.22.0/lib/simplecov.rb +470 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/.document +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/CHANGELOG.md +114 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/README.md +30 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/Rakefile +55 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/lib/simplecov-html/version.rb +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/lib/simplecov-html.rb +165 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/DataTables-1.10.20/images/sort_asc.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/DataTables-1.10.20/images/sort_both.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/DataTables-1.10.20/images/sort_desc.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/application.css +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/application.js +7 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/colorbox/border.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/colorbox/controls.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/colorbox/loading.gif +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/colorbox/loading_background.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/favicon_green.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/favicon_red.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/favicon_yellow.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/images/ui-icons_888888_256x240.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/loading.gif +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/public/magnify.png +0 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/views/covered_percent.erb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/views/file_list.erb +78 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/views/layout.erb +40 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov-html-0.13.2/views/source_file.erb +57 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/CHANGELOG.md +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/README.md +29 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/result_exporter.rb +27 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/result_hash_formatter.rb +52 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/source_file_formatter.rb +65 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter/version.rb +5 -0
- data/vendor/bundle/ruby/3.3.0/gems/simplecov_json_formatter-0.1.4/lib/simplecov_json_formatter.rb +36 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/.gitignore +9 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/.rubocop.yml +53 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/.ruby-gemset +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/.ruby-version +1 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/CHANGELOG.md +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/CONTRIBUTING.md +96 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/Gemfile +2 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/Gemfile.lock +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/LICENSE +201 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/README.md +777 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/Rakefile +10 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/examples/README.md +51 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/examples/basic_vpc.rb +172 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/examples/complete_web_app.rb +626 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/examples/kubernetes_microservices.rb +873 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/examples/multi_cloud_backup.rb +456 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/flake.lock +835 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/flake.nix +62 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/gemset.nix +250 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/lib/terraform-synthesizer/version.rb +3 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/lib/terraform-synthesizer.rb +21 -0
- data/vendor/bundle/ruby/3.3.0/gems/terraform-synthesizer-0.0.28/terraform-synthesizer.gemspec +32 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/README.md +1477 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/core_ext/kernel.rb +64 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/core_ext/module.rb +20 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/cref/map.rb +159 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/cref.rb +69 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/error.rb +23 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/gem_inflector.rb +17 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/gem_loader.rb +68 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/inflector.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/internal.rb +13 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/loader/callbacks.rb +96 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/loader/config.rb +357 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/loader/eager_load.rb +230 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/loader/file_system.rb +165 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/loader/helpers.rb +46 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/loader.rb +643 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/null_inflector.rb +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/real_mod_name.rb +19 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/registry/autoloads.rb +38 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/registry/explicit_namespaces.rb +61 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/registry/inceptions.rb +31 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/registry/loaders.rb +33 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/registry.rb +89 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk/version.rb +6 -0
- data/vendor/bundle/ruby/3.3.0/gems/zeitwerk-2.7.5/lib/zeitwerk.rb +29 -0
- data/vendor/bundle/ruby/3.3.0/specifications/abstract-synthesizer-0.0.15.gemspec +36 -0
- data/vendor/bundle/ruby/3.3.0/specifications/base64-0.3.0.gemspec +23 -0
- data/vendor/bundle/ruby/3.3.0/specifications/bigdecimal-4.0.1.gemspec +25 -0
- data/vendor/bundle/ruby/3.3.0/specifications/concurrent-ruby-1.3.6.gemspec +24 -0
- data/vendor/bundle/ruby/3.3.0/specifications/diff-lcs-1.6.2.gemspec +46 -0
- data/vendor/bundle/ruby/3.3.0/specifications/docile-1.4.1.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/dry-core-1.2.0.gemspec +44 -0
- data/vendor/bundle/ruby/3.3.0/specifications/dry-inflector-1.3.1.gemspec +38 -0
- data/vendor/bundle/ruby/3.3.0/specifications/dry-logic-1.6.0.gemspec +38 -0
- data/vendor/bundle/ruby/3.3.0/specifications/dry-struct-1.8.0.gemspec +38 -0
- data/vendor/bundle/ruby/3.3.0/specifications/dry-types-1.9.1.gemspec +53 -0
- data/vendor/bundle/ruby/3.3.0/specifications/ice_nine-0.11.2.gemspec +32 -0
- data/vendor/bundle/ruby/3.3.0/specifications/logger-1.7.0.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rake-13.3.1.gemspec +26 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-3.13.2.gemspec +39 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-core-3.13.6.gemspec +37 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-expectations-3.13.5.gemspec +36 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-mocks-3.13.7.gemspec +36 -0
- data/vendor/bundle/ruby/3.3.0/specifications/rspec-support-3.13.7.gemspec +36 -0
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-0.22.0.gemspec +36 -0
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov-html-0.13.2.gemspec +22 -0
- data/vendor/bundle/ruby/3.3.0/specifications/simplecov_json_formatter-0.1.4.gemspec +21 -0
- data/vendor/bundle/ruby/3.3.0/specifications/terraform-synthesizer-0.0.28.gemspec +38 -0
- data/vendor/bundle/ruby/3.3.0/specifications/zeitwerk-2.7.5.gemspec +22 -0
- metadata +1094 -10
|
@@ -0,0 +1,2134 @@
|
|
|
1
|
+
unset shellHook
|
|
2
|
+
PATH=${PATH:-}
|
|
3
|
+
nix_saved_PATH="$PATH"
|
|
4
|
+
XDG_DATA_DIRS=${XDG_DATA_DIRS:-}
|
|
5
|
+
nix_saved_XDG_DATA_DIRS="$XDG_DATA_DIRS"
|
|
6
|
+
AR='ar'
|
|
7
|
+
export AR
|
|
8
|
+
AS='as'
|
|
9
|
+
export AS
|
|
10
|
+
BASH='/nix/store/00zrahbb32nzawrmv9sjxn36h7qk9vrs-bash-5.2p37/bin/bash'
|
|
11
|
+
CC='gcc'
|
|
12
|
+
export CC
|
|
13
|
+
CONFIG_SHELL='/nix/store/00zrahbb32nzawrmv9sjxn36h7qk9vrs-bash-5.2p37/bin/bash'
|
|
14
|
+
export CONFIG_SHELL
|
|
15
|
+
CXX='g++'
|
|
16
|
+
export CXX
|
|
17
|
+
HOSTTYPE='x86_64'
|
|
18
|
+
HOST_PATH='/nix/store/2lvq4hvwz6agf1ynak8pjnlnv44fi940-abstract-synthesizer/bin:/nix/store/c1bq963y8v93fbbl6fyvas5j7wf8w3nz-abstract-synthesizer-ruby/bin:/nix/store/psy9v2asypgl9ylg8cnzkixc7fv0snj0-coreutils-9.7/bin:/nix/store/c14zwgl8hf1wm0izij2i16xvk8ak70cy-findutils-4.10.0/bin:/nix/store/ibx4jfwlhjg4g0s6rrxrpaxa3ka8ns4m-diffutils-3.12/bin:/nix/store/pr318zsl44jdwpk9wk0sdrn19b6in7ah-gnused-4.9/bin:/nix/store/bc6zxzjnkjp4r9nhz5imy3cypvdh6r4n-gnugrep-3.12/bin:/nix/store/nv3y7zb1cwz1h9qy7nwz0s54j8dl1kqj-gawk-5.3.2/bin:/nix/store/lp82dcnrzljyix6yigwzrlpr1smvpmb0-gnutar-1.35/bin:/nix/store/6ag5dhk7sma61p6vl0kazfmpbrq08nqh-gzip-1.14/bin:/nix/store/ykdv4id6893gmkqwdmbimq237c1xqvq7-bzip2-1.0.8-bin/bin:/nix/store/6bwp1y45zlyvpr4ja2sk1yi9v5mrs94x-gnumake-4.4.1/bin:/nix/store/00zrahbb32nzawrmv9sjxn36h7qk9vrs-bash-5.2p37/bin:/nix/store/c9xmgszbf6i4dfq9r953khk9d7fdqigw-patch-2.8/bin:/nix/store/ikfwx7kbwz9zr7fziiac7f57jgbh3bnv-xz-5.8.1-bin/bin:/nix/store/3pdmbqy86wsbjdazxv1n3vrmj60vn0ri-file-5.45/bin'
|
|
19
|
+
export HOST_PATH
|
|
20
|
+
IFS='
|
|
21
|
+
'
|
|
22
|
+
IN_NIX_SHELL='impure'
|
|
23
|
+
export IN_NIX_SHELL
|
|
24
|
+
LD='ld'
|
|
25
|
+
export LD
|
|
26
|
+
LINENO='76'
|
|
27
|
+
MACHTYPE='x86_64-pc-linux-gnu'
|
|
28
|
+
NIX_BINTOOLS='/nix/store/cadx5p7c0i06gf6h84iw9mrhx56imbv0-binutils-wrapper-2.44'
|
|
29
|
+
export NIX_BINTOOLS
|
|
30
|
+
NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu='1'
|
|
31
|
+
export NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu
|
|
32
|
+
NIX_BUILD_CORES='16'
|
|
33
|
+
export NIX_BUILD_CORES
|
|
34
|
+
NIX_CC='/nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0'
|
|
35
|
+
export NIX_CC
|
|
36
|
+
NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu='1'
|
|
37
|
+
export NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu
|
|
38
|
+
NIX_CFLAGS_COMPILE=' -frandom-seed=dykn08578l'
|
|
39
|
+
export NIX_CFLAGS_COMPILE
|
|
40
|
+
NIX_ENFORCE_NO_NATIVE='1'
|
|
41
|
+
export NIX_ENFORCE_NO_NATIVE
|
|
42
|
+
NIX_HARDENING_ENABLE='bindnow format fortify fortify3 pic relro stackclashprotection stackprotector strictoverflow zerocallusedregs'
|
|
43
|
+
export NIX_HARDENING_ENABLE
|
|
44
|
+
NIX_LDFLAGS='-rpath /home/luis/code/github/drzln/abstract-synthesizer/outputs/out/lib '
|
|
45
|
+
export NIX_LDFLAGS
|
|
46
|
+
NIX_NO_SELF_RPATH='1'
|
|
47
|
+
NIX_STORE='/nix/store'
|
|
48
|
+
export NIX_STORE
|
|
49
|
+
NM='nm'
|
|
50
|
+
export NM
|
|
51
|
+
OBJCOPY='objcopy'
|
|
52
|
+
export OBJCOPY
|
|
53
|
+
OBJDUMP='objdump'
|
|
54
|
+
export OBJDUMP
|
|
55
|
+
OLDPWD=''
|
|
56
|
+
export OLDPWD
|
|
57
|
+
OPTERR='1'
|
|
58
|
+
OSTYPE='linux-gnu'
|
|
59
|
+
PATH='/nix/store/1c8sm86wj45vwkb3ww2b870h9i9wna6r-patchelf-0.15.0/bin:/nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0/bin:/nix/store/sa7j7cddyblhcb3ch3ds10w7nw75yjj1-gcc-14.3.0/bin:/nix/store/mdmsnfcvxyk5ynz7nx8nhss1wig0gljx-glibc-2.40-66-bin/bin:/nix/store/psy9v2asypgl9ylg8cnzkixc7fv0snj0-coreutils-9.7/bin:/nix/store/cadx5p7c0i06gf6h84iw9mrhx56imbv0-binutils-wrapper-2.44/bin:/nix/store/z3za8hfc24wb117s50p8b10agjkgm039-binutils-2.44/bin:/nix/store/2lvq4hvwz6agf1ynak8pjnlnv44fi940-abstract-synthesizer/bin:/nix/store/c1bq963y8v93fbbl6fyvas5j7wf8w3nz-abstract-synthesizer-ruby/bin:/nix/store/psy9v2asypgl9ylg8cnzkixc7fv0snj0-coreutils-9.7/bin:/nix/store/c14zwgl8hf1wm0izij2i16xvk8ak70cy-findutils-4.10.0/bin:/nix/store/ibx4jfwlhjg4g0s6rrxrpaxa3ka8ns4m-diffutils-3.12/bin:/nix/store/pr318zsl44jdwpk9wk0sdrn19b6in7ah-gnused-4.9/bin:/nix/store/bc6zxzjnkjp4r9nhz5imy3cypvdh6r4n-gnugrep-3.12/bin:/nix/store/nv3y7zb1cwz1h9qy7nwz0s54j8dl1kqj-gawk-5.3.2/bin:/nix/store/lp82dcnrzljyix6yigwzrlpr1smvpmb0-gnutar-1.35/bin:/nix/store/6ag5dhk7sma61p6vl0kazfmpbrq08nqh-gzip-1.14/bin:/nix/store/ykdv4id6893gmkqwdmbimq237c1xqvq7-bzip2-1.0.8-bin/bin:/nix/store/6bwp1y45zlyvpr4ja2sk1yi9v5mrs94x-gnumake-4.4.1/bin:/nix/store/00zrahbb32nzawrmv9sjxn36h7qk9vrs-bash-5.2p37/bin:/nix/store/c9xmgszbf6i4dfq9r953khk9d7fdqigw-patch-2.8/bin:/nix/store/ikfwx7kbwz9zr7fziiac7f57jgbh3bnv-xz-5.8.1-bin/bin:/nix/store/3pdmbqy86wsbjdazxv1n3vrmj60vn0ri-file-5.45/bin'
|
|
60
|
+
export PATH
|
|
61
|
+
PS4='+ '
|
|
62
|
+
RANLIB='ranlib'
|
|
63
|
+
export RANLIB
|
|
64
|
+
READELF='readelf'
|
|
65
|
+
export READELF
|
|
66
|
+
SHELL='/nix/store/00zrahbb32nzawrmv9sjxn36h7qk9vrs-bash-5.2p37/bin/bash'
|
|
67
|
+
export SHELL
|
|
68
|
+
SIZE='size'
|
|
69
|
+
export SIZE
|
|
70
|
+
SOURCE_DATE_EPOCH='315532800'
|
|
71
|
+
export SOURCE_DATE_EPOCH
|
|
72
|
+
STRINGS='strings'
|
|
73
|
+
export STRINGS
|
|
74
|
+
STRIP='strip'
|
|
75
|
+
export STRIP
|
|
76
|
+
XDG_DATA_DIRS='/nix/store/1c8sm86wj45vwkb3ww2b870h9i9wna6r-patchelf-0.15.0/share'
|
|
77
|
+
export XDG_DATA_DIRS
|
|
78
|
+
__structuredAttrs=''
|
|
79
|
+
export __structuredAttrs
|
|
80
|
+
_substituteStream_has_warned_replace_deprecation='false'
|
|
81
|
+
buildInputs='/nix/store/2lvq4hvwz6agf1ynak8pjnlnv44fi940-abstract-synthesizer /nix/store/c1bq963y8v93fbbl6fyvas5j7wf8w3nz-abstract-synthesizer-ruby'
|
|
82
|
+
export buildInputs
|
|
83
|
+
buildPhase='{ echo "------------------------------------------------------------";
|
|
84
|
+
echo " WARNING: the existence of this path is not guaranteed.";
|
|
85
|
+
echo " It is an internal implementation detail for pkgs.mkShell.";
|
|
86
|
+
echo "------------------------------------------------------------";
|
|
87
|
+
echo;
|
|
88
|
+
# Record all build inputs as runtime dependencies
|
|
89
|
+
export;
|
|
90
|
+
} >> "$out"
|
|
91
|
+
'
|
|
92
|
+
export buildPhase
|
|
93
|
+
builder='/nix/store/00zrahbb32nzawrmv9sjxn36h7qk9vrs-bash-5.2p37/bin/bash'
|
|
94
|
+
export builder
|
|
95
|
+
cmakeFlags=''
|
|
96
|
+
export cmakeFlags
|
|
97
|
+
configureFlags=''
|
|
98
|
+
export configureFlags
|
|
99
|
+
defaultBuildInputs=''
|
|
100
|
+
defaultNativeBuildInputs='/nix/store/1c8sm86wj45vwkb3ww2b870h9i9wna6r-patchelf-0.15.0 /nix/store/063qqmawmq7bg75b56mgynw9s3rbx2ww-update-autotools-gnu-config-scripts-hook /nix/store/jjhw2phnaip4kg0qjas3x3fsaifi8y0w-no-broken-symlinks.sh /nix/store/cwvwai4ni9hmzaqvnvf1i5pvjh1hj36c-audit-tmpdir.sh /nix/store/4bawv6x85435v6s624sfk5cdpg9gr6yq-compress-man-pages.sh /nix/store/wgrbkkaldkrlrni33ccvm3b6vbxzb656-make-symlinks-relative.sh /nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh /nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh /nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh /nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh /nix/store/cmzya9irvxzlkh7lfy6i82gbp0saxqj3-multiple-outputs.sh /nix/store/cq0kx53m7qhq7dvk5s96fazjlqf1bg4j-parallel.sh /nix/store/hxv896faph0rqxjq2ycxpcrbnngc95sz-patch-shebangs.sh /nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh /nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh /nix/store/z7k98578dfzi6l3hsvbivzm7hfqlk0zc-set-source-date-epoch-to-latest.sh /nix/store/pilsssjjdxvdphlg2h19p0bfx5q0jzkn-strip.sh /nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0'
|
|
101
|
+
depsBuildBuild=''
|
|
102
|
+
export depsBuildBuild
|
|
103
|
+
depsBuildBuildPropagated=''
|
|
104
|
+
export depsBuildBuildPropagated
|
|
105
|
+
depsBuildTarget=''
|
|
106
|
+
export depsBuildTarget
|
|
107
|
+
depsBuildTargetPropagated=''
|
|
108
|
+
export depsBuildTargetPropagated
|
|
109
|
+
depsHostHost=''
|
|
110
|
+
export depsHostHost
|
|
111
|
+
depsHostHostPropagated=''
|
|
112
|
+
export depsHostHostPropagated
|
|
113
|
+
depsTargetTarget=''
|
|
114
|
+
export depsTargetTarget
|
|
115
|
+
depsTargetTargetPropagated=''
|
|
116
|
+
export depsTargetTargetPropagated
|
|
117
|
+
doCheck=''
|
|
118
|
+
export doCheck
|
|
119
|
+
doInstallCheck=''
|
|
120
|
+
export doInstallCheck
|
|
121
|
+
dontAddDisableDepTrack='1'
|
|
122
|
+
export dontAddDisableDepTrack
|
|
123
|
+
declare -a envBuildBuildHooks=()
|
|
124
|
+
declare -a envBuildHostHooks=()
|
|
125
|
+
declare -a envBuildTargetHooks=()
|
|
126
|
+
declare -a envHostHostHooks=('ccWrapper_addCVars' 'bintoolsWrapper_addLDVars' )
|
|
127
|
+
declare -a envHostTargetHooks=('ccWrapper_addCVars' 'bintoolsWrapper_addLDVars' )
|
|
128
|
+
declare -a envTargetTargetHooks=()
|
|
129
|
+
declare -a fixupOutputHooks=('if [ -z "${dontPatchELF-}" ]; then patchELF "$prefix"; fi' 'if [[ -z "${noAuditTmpdir-}" && -e "$prefix" ]]; then auditTmpdir "$prefix"; fi' 'if [ -z "${dontGzipMan-}" ]; then compressManPages "$prefix"; fi' '_moveLib64' '_moveSbin' '_moveSystemdUserUnits' 'patchShebangsAuto' '_pruneLibtoolFiles' '_doStrip' )
|
|
130
|
+
guess='16'
|
|
131
|
+
initialPath='/nix/store/psy9v2asypgl9ylg8cnzkixc7fv0snj0-coreutils-9.7 /nix/store/c14zwgl8hf1wm0izij2i16xvk8ak70cy-findutils-4.10.0 /nix/store/ibx4jfwlhjg4g0s6rrxrpaxa3ka8ns4m-diffutils-3.12 /nix/store/pr318zsl44jdwpk9wk0sdrn19b6in7ah-gnused-4.9 /nix/store/bc6zxzjnkjp4r9nhz5imy3cypvdh6r4n-gnugrep-3.12 /nix/store/nv3y7zb1cwz1h9qy7nwz0s54j8dl1kqj-gawk-5.3.2 /nix/store/lp82dcnrzljyix6yigwzrlpr1smvpmb0-gnutar-1.35 /nix/store/6ag5dhk7sma61p6vl0kazfmpbrq08nqh-gzip-1.14 /nix/store/ykdv4id6893gmkqwdmbimq237c1xqvq7-bzip2-1.0.8-bin /nix/store/6bwp1y45zlyvpr4ja2sk1yi9v5mrs94x-gnumake-4.4.1 /nix/store/00zrahbb32nzawrmv9sjxn36h7qk9vrs-bash-5.2p37 /nix/store/c9xmgszbf6i4dfq9r953khk9d7fdqigw-patch-2.8 /nix/store/ikfwx7kbwz9zr7fziiac7f57jgbh3bnv-xz-5.8.1-bin /nix/store/3pdmbqy86wsbjdazxv1n3vrmj60vn0ri-file-5.45'
|
|
132
|
+
mesonFlags=''
|
|
133
|
+
export mesonFlags
|
|
134
|
+
name='nix-shell-env'
|
|
135
|
+
export name
|
|
136
|
+
nativeBuildInputs=''
|
|
137
|
+
export nativeBuildInputs
|
|
138
|
+
out='/home/luis/code/github/drzln/abstract-synthesizer/outputs/out'
|
|
139
|
+
export out
|
|
140
|
+
outputBin='out'
|
|
141
|
+
outputDev='out'
|
|
142
|
+
outputDevdoc='REMOVE'
|
|
143
|
+
outputDevman='out'
|
|
144
|
+
outputDoc='out'
|
|
145
|
+
outputInclude='out'
|
|
146
|
+
outputInfo='out'
|
|
147
|
+
outputLib='out'
|
|
148
|
+
outputMan='out'
|
|
149
|
+
outputs='out'
|
|
150
|
+
export outputs
|
|
151
|
+
patches=''
|
|
152
|
+
export patches
|
|
153
|
+
phases='buildPhase'
|
|
154
|
+
export phases
|
|
155
|
+
pkg='/nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0'
|
|
156
|
+
declare -a pkgsBuildBuild=()
|
|
157
|
+
declare -a pkgsBuildHost=('/nix/store/1c8sm86wj45vwkb3ww2b870h9i9wna6r-patchelf-0.15.0' '/nix/store/063qqmawmq7bg75b56mgynw9s3rbx2ww-update-autotools-gnu-config-scripts-hook' '/nix/store/jjhw2phnaip4kg0qjas3x3fsaifi8y0w-no-broken-symlinks.sh' '/nix/store/cwvwai4ni9hmzaqvnvf1i5pvjh1hj36c-audit-tmpdir.sh' '/nix/store/4bawv6x85435v6s624sfk5cdpg9gr6yq-compress-man-pages.sh' '/nix/store/wgrbkkaldkrlrni33ccvm3b6vbxzb656-make-symlinks-relative.sh' '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh' '/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh' '/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh' '/nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh' '/nix/store/cmzya9irvxzlkh7lfy6i82gbp0saxqj3-multiple-outputs.sh' '/nix/store/cq0kx53m7qhq7dvk5s96fazjlqf1bg4j-parallel.sh' '/nix/store/hxv896faph0rqxjq2ycxpcrbnngc95sz-patch-shebangs.sh' '/nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh' '/nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh' '/nix/store/z7k98578dfzi6l3hsvbivzm7hfqlk0zc-set-source-date-epoch-to-latest.sh' '/nix/store/pilsssjjdxvdphlg2h19p0bfx5q0jzkn-strip.sh' '/nix/store/pbqah1qk4b5y14fqinr1h8zvhqy71v81-gcc-wrapper-14.3.0' '/nix/store/cadx5p7c0i06gf6h84iw9mrhx56imbv0-binutils-wrapper-2.44' )
|
|
158
|
+
declare -a pkgsBuildTarget=()
|
|
159
|
+
declare -a pkgsHostHost=()
|
|
160
|
+
declare -a pkgsHostTarget=('/nix/store/2lvq4hvwz6agf1ynak8pjnlnv44fi940-abstract-synthesizer' '/nix/store/c1bq963y8v93fbbl6fyvas5j7wf8w3nz-abstract-synthesizer-ruby' )
|
|
161
|
+
declare -a pkgsTargetTarget=()
|
|
162
|
+
declare -a postFixupHooks=('noBrokenSymlinksInAllOutputs' '_makeSymlinksRelativeInAllOutputs' '_multioutPropagateDev' )
|
|
163
|
+
declare -a postUnpackHooks=('_updateSourceDateEpochFromSourceRoot' )
|
|
164
|
+
declare -a preConfigureHooks=('_multioutConfig' )
|
|
165
|
+
preConfigurePhases=' updateAutotoolsGnuConfigScriptsPhase'
|
|
166
|
+
declare -a preFixupHooks=('_moveToShare' '_multioutDocs' '_multioutDevs' )
|
|
167
|
+
preferLocalBuild='1'
|
|
168
|
+
export preferLocalBuild
|
|
169
|
+
prefix='/home/luis/code/github/drzln/abstract-synthesizer/outputs/out'
|
|
170
|
+
declare -a propagatedBuildDepFiles=('propagated-build-build-deps' 'propagated-native-build-inputs' 'propagated-build-target-deps' )
|
|
171
|
+
propagatedBuildInputs=''
|
|
172
|
+
export propagatedBuildInputs
|
|
173
|
+
declare -a propagatedHostDepFiles=('propagated-host-host-deps' 'propagated-build-inputs' )
|
|
174
|
+
propagatedNativeBuildInputs=''
|
|
175
|
+
export propagatedNativeBuildInputs
|
|
176
|
+
declare -a propagatedTargetDepFiles=('propagated-target-target-deps' )
|
|
177
|
+
shell='/nix/store/00zrahbb32nzawrmv9sjxn36h7qk9vrs-bash-5.2p37/bin/bash'
|
|
178
|
+
export shell
|
|
179
|
+
shellHook=''
|
|
180
|
+
export shellHook
|
|
181
|
+
stdenv='/nix/store/nlqc1vm5psq2jjr5df6z25gkxkfqbvxx-stdenv-linux'
|
|
182
|
+
export stdenv
|
|
183
|
+
strictDeps=''
|
|
184
|
+
export strictDeps
|
|
185
|
+
system='x86_64-linux'
|
|
186
|
+
export system
|
|
187
|
+
declare -a unpackCmdHooks=('_defaultUnpack' )
|
|
188
|
+
_activatePkgs ()
|
|
189
|
+
{
|
|
190
|
+
|
|
191
|
+
local hostOffset targetOffset;
|
|
192
|
+
local pkg;
|
|
193
|
+
for hostOffset in "${allPlatOffsets[@]}";
|
|
194
|
+
do
|
|
195
|
+
local pkgsVar="${pkgAccumVarVars[hostOffset + 1]}";
|
|
196
|
+
for targetOffset in "${allPlatOffsets[@]}";
|
|
197
|
+
do
|
|
198
|
+
(( hostOffset <= targetOffset )) || continue;
|
|
199
|
+
local pkgsRef="${pkgsVar}[$targetOffset - $hostOffset]";
|
|
200
|
+
local pkgsSlice="${!pkgsRef}[@]";
|
|
201
|
+
for pkg in ${!pkgsSlice+"${!pkgsSlice}"};
|
|
202
|
+
do
|
|
203
|
+
activatePackage "$pkg" "$hostOffset" "$targetOffset";
|
|
204
|
+
done;
|
|
205
|
+
done;
|
|
206
|
+
done
|
|
207
|
+
}
|
|
208
|
+
_addRpathPrefix ()
|
|
209
|
+
{
|
|
210
|
+
|
|
211
|
+
if [ "${NIX_NO_SELF_RPATH:-0}" != 1 ]; then
|
|
212
|
+
export NIX_LDFLAGS="-rpath $1/lib ${NIX_LDFLAGS-}";
|
|
213
|
+
fi
|
|
214
|
+
}
|
|
215
|
+
_addToEnv ()
|
|
216
|
+
{
|
|
217
|
+
|
|
218
|
+
local depHostOffset depTargetOffset;
|
|
219
|
+
local pkg;
|
|
220
|
+
for depHostOffset in "${allPlatOffsets[@]}";
|
|
221
|
+
do
|
|
222
|
+
local hookVar="${pkgHookVarVars[depHostOffset + 1]}";
|
|
223
|
+
local pkgsVar="${pkgAccumVarVars[depHostOffset + 1]}";
|
|
224
|
+
for depTargetOffset in "${allPlatOffsets[@]}";
|
|
225
|
+
do
|
|
226
|
+
(( depHostOffset <= depTargetOffset )) || continue;
|
|
227
|
+
local hookRef="${hookVar}[$depTargetOffset - $depHostOffset]";
|
|
228
|
+
if [[ -z "${strictDeps-}" ]]; then
|
|
229
|
+
local visitedPkgs="";
|
|
230
|
+
for pkg in "${pkgsBuildBuild[@]}" "${pkgsBuildHost[@]}" "${pkgsBuildTarget[@]}" "${pkgsHostHost[@]}" "${pkgsHostTarget[@]}" "${pkgsTargetTarget[@]}";
|
|
231
|
+
do
|
|
232
|
+
if [[ "$visitedPkgs" = *"$pkg"* ]]; then
|
|
233
|
+
continue;
|
|
234
|
+
fi;
|
|
235
|
+
runHook "${!hookRef}" "$pkg";
|
|
236
|
+
visitedPkgs+=" $pkg";
|
|
237
|
+
done;
|
|
238
|
+
else
|
|
239
|
+
local pkgsRef="${pkgsVar}[$depTargetOffset - $depHostOffset]";
|
|
240
|
+
local pkgsSlice="${!pkgsRef}[@]";
|
|
241
|
+
for pkg in ${!pkgsSlice+"${!pkgsSlice}"};
|
|
242
|
+
do
|
|
243
|
+
runHook "${!hookRef}" "$pkg";
|
|
244
|
+
done;
|
|
245
|
+
fi;
|
|
246
|
+
done;
|
|
247
|
+
done
|
|
248
|
+
}
|
|
249
|
+
_allFlags ()
|
|
250
|
+
{
|
|
251
|
+
|
|
252
|
+
export system pname name version;
|
|
253
|
+
while IFS='' read -r varName; do
|
|
254
|
+
nixTalkativeLog "@${varName}@ -> ${!varName}";
|
|
255
|
+
args+=("--subst-var" "$varName");
|
|
256
|
+
done < <(awk 'BEGIN { for (v in ENVIRON) if (v ~ /^[a-z][a-zA-Z0-9_]*$/) print v }')
|
|
257
|
+
}
|
|
258
|
+
_assignFirst ()
|
|
259
|
+
{
|
|
260
|
+
|
|
261
|
+
local varName="$1";
|
|
262
|
+
local _var;
|
|
263
|
+
local REMOVE=REMOVE;
|
|
264
|
+
shift;
|
|
265
|
+
for _var in "$@";
|
|
266
|
+
do
|
|
267
|
+
if [ -n "${!_var-}" ]; then
|
|
268
|
+
eval "${varName}"="${_var}";
|
|
269
|
+
return;
|
|
270
|
+
fi;
|
|
271
|
+
done;
|
|
272
|
+
echo;
|
|
273
|
+
echo "error: _assignFirst: could not find a non-empty variable whose name to assign to ${varName}.";
|
|
274
|
+
echo " The following variables were all unset or empty:";
|
|
275
|
+
echo " $*";
|
|
276
|
+
if [ -z "${out:-}" ]; then
|
|
277
|
+
echo ' If you do not want an "out" output in your derivation, make sure to define';
|
|
278
|
+
echo ' the other specific required outputs. This can be achieved by picking one';
|
|
279
|
+
echo " of the above as an output.";
|
|
280
|
+
echo ' You do not have to remove "out" if you want to have a different default';
|
|
281
|
+
echo ' output, because the first output is taken as a default.';
|
|
282
|
+
echo;
|
|
283
|
+
fi;
|
|
284
|
+
return 1
|
|
285
|
+
}
|
|
286
|
+
_callImplicitHook ()
|
|
287
|
+
{
|
|
288
|
+
|
|
289
|
+
local def="$1";
|
|
290
|
+
local hookName="$2";
|
|
291
|
+
if declare -F "$hookName" > /dev/null; then
|
|
292
|
+
nixTalkativeLog "calling implicit '$hookName' function hook";
|
|
293
|
+
"$hookName";
|
|
294
|
+
else
|
|
295
|
+
if type -p "$hookName" > /dev/null; then
|
|
296
|
+
nixTalkativeLog "sourcing implicit '$hookName' script hook";
|
|
297
|
+
source "$hookName";
|
|
298
|
+
else
|
|
299
|
+
if [ -n "${!hookName:-}" ]; then
|
|
300
|
+
nixTalkativeLog "evaling implicit '$hookName' string hook";
|
|
301
|
+
eval "${!hookName}";
|
|
302
|
+
else
|
|
303
|
+
return "$def";
|
|
304
|
+
fi;
|
|
305
|
+
fi;
|
|
306
|
+
fi
|
|
307
|
+
}
|
|
308
|
+
_defaultUnpack ()
|
|
309
|
+
{
|
|
310
|
+
|
|
311
|
+
local fn="$1";
|
|
312
|
+
local destination;
|
|
313
|
+
if [ -d "$fn" ]; then
|
|
314
|
+
destination="$(stripHash "$fn")";
|
|
315
|
+
if [ -e "$destination" ]; then
|
|
316
|
+
echo "Cannot copy $fn to $destination: destination already exists!";
|
|
317
|
+
echo "Did you specify two \"srcs\" with the same \"name\"?";
|
|
318
|
+
return 1;
|
|
319
|
+
fi;
|
|
320
|
+
cp -r --preserve=timestamps --reflink=auto -- "$fn" "$destination";
|
|
321
|
+
else
|
|
322
|
+
case "$fn" in
|
|
323
|
+
*.tar.xz | *.tar.lzma | *.txz)
|
|
324
|
+
( XZ_OPT="--threads=$NIX_BUILD_CORES" xz -d < "$fn";
|
|
325
|
+
true ) | tar xf - --mode=+w --warning=no-timestamp
|
|
326
|
+
;;
|
|
327
|
+
*.tar | *.tar.* | *.tgz | *.tbz2 | *.tbz)
|
|
328
|
+
tar xf "$fn" --mode=+w --warning=no-timestamp
|
|
329
|
+
;;
|
|
330
|
+
*)
|
|
331
|
+
return 1
|
|
332
|
+
;;
|
|
333
|
+
esac;
|
|
334
|
+
fi
|
|
335
|
+
}
|
|
336
|
+
_doStrip ()
|
|
337
|
+
{
|
|
338
|
+
|
|
339
|
+
local -ra flags=(dontStripHost dontStripTarget);
|
|
340
|
+
local -ra debugDirs=(stripDebugList stripDebugListTarget);
|
|
341
|
+
local -ra allDirs=(stripAllList stripAllListTarget);
|
|
342
|
+
local -ra stripCmds=(STRIP STRIP_FOR_TARGET);
|
|
343
|
+
local -ra ranlibCmds=(RANLIB RANLIB_FOR_TARGET);
|
|
344
|
+
stripDebugList=${stripDebugList[*]:-lib lib32 lib64 libexec bin sbin Applications Library/Frameworks};
|
|
345
|
+
stripDebugListTarget=${stripDebugListTarget[*]:-};
|
|
346
|
+
stripAllList=${stripAllList[*]:-};
|
|
347
|
+
stripAllListTarget=${stripAllListTarget[*]:-};
|
|
348
|
+
local i;
|
|
349
|
+
for i in ${!stripCmds[@]};
|
|
350
|
+
do
|
|
351
|
+
local -n flag="${flags[$i]}";
|
|
352
|
+
local -n debugDirList="${debugDirs[$i]}";
|
|
353
|
+
local -n allDirList="${allDirs[$i]}";
|
|
354
|
+
local -n stripCmd="${stripCmds[$i]}";
|
|
355
|
+
local -n ranlibCmd="${ranlibCmds[$i]}";
|
|
356
|
+
if [[ -n "${dontStrip-}" || -n "${flag-}" ]] || ! type -f "${stripCmd-}" 2> /dev/null 1>&2; then
|
|
357
|
+
continue;
|
|
358
|
+
fi;
|
|
359
|
+
stripDirs "$stripCmd" "$ranlibCmd" "$debugDirList" "${stripDebugFlags[*]:--S -p}";
|
|
360
|
+
stripDirs "$stripCmd" "$ranlibCmd" "$allDirList" "${stripAllFlags[*]:--s -p}";
|
|
361
|
+
done
|
|
362
|
+
}
|
|
363
|
+
_eval ()
|
|
364
|
+
{
|
|
365
|
+
|
|
366
|
+
if declare -F "$1" > /dev/null 2>&1; then
|
|
367
|
+
"$@";
|
|
368
|
+
else
|
|
369
|
+
eval "$1";
|
|
370
|
+
fi
|
|
371
|
+
}
|
|
372
|
+
_logHook ()
|
|
373
|
+
{
|
|
374
|
+
|
|
375
|
+
if [[ -z ${NIX_LOG_FD-} ]]; then
|
|
376
|
+
return;
|
|
377
|
+
fi;
|
|
378
|
+
local hookKind="$1";
|
|
379
|
+
local hookExpr="$2";
|
|
380
|
+
shift 2;
|
|
381
|
+
if declare -F "$hookExpr" > /dev/null 2>&1; then
|
|
382
|
+
nixTalkativeLog "calling '$hookKind' function hook '$hookExpr'" "$@";
|
|
383
|
+
else
|
|
384
|
+
if type -p "$hookExpr" > /dev/null; then
|
|
385
|
+
nixTalkativeLog "sourcing '$hookKind' script hook '$hookExpr'";
|
|
386
|
+
else
|
|
387
|
+
if [[ "$hookExpr" != "_callImplicitHook"* ]]; then
|
|
388
|
+
local exprToOutput;
|
|
389
|
+
if [[ ${NIX_DEBUG:-0} -ge 5 ]]; then
|
|
390
|
+
exprToOutput="$hookExpr";
|
|
391
|
+
else
|
|
392
|
+
local hookExprLine;
|
|
393
|
+
while IFS= read -r hookExprLine; do
|
|
394
|
+
hookExprLine="${hookExprLine#"${hookExprLine%%[![:space:]]*}"}";
|
|
395
|
+
if [[ -n "$hookExprLine" ]]; then
|
|
396
|
+
exprToOutput+="$hookExprLine\\n ";
|
|
397
|
+
fi;
|
|
398
|
+
done <<< "$hookExpr";
|
|
399
|
+
exprToOutput="${exprToOutput%%\\n }";
|
|
400
|
+
fi;
|
|
401
|
+
nixTalkativeLog "evaling '$hookKind' string hook '$exprToOutput'";
|
|
402
|
+
fi;
|
|
403
|
+
fi;
|
|
404
|
+
fi
|
|
405
|
+
}
|
|
406
|
+
_makeSymlinksRelative ()
|
|
407
|
+
{
|
|
408
|
+
|
|
409
|
+
local symlinkTarget;
|
|
410
|
+
if [ "${dontRewriteSymlinks-}" ] || [ ! -e "$prefix" ]; then
|
|
411
|
+
return;
|
|
412
|
+
fi;
|
|
413
|
+
while IFS= read -r -d '' f; do
|
|
414
|
+
symlinkTarget=$(readlink "$f");
|
|
415
|
+
if [[ "$symlinkTarget"/ != "$prefix"/* ]]; then
|
|
416
|
+
continue;
|
|
417
|
+
fi;
|
|
418
|
+
if [ ! -e "$symlinkTarget" ]; then
|
|
419
|
+
echo "the symlink $f is broken, it points to $symlinkTarget (which is missing)";
|
|
420
|
+
fi;
|
|
421
|
+
echo "rewriting symlink $f to be relative to $prefix";
|
|
422
|
+
ln -snrf "$symlinkTarget" "$f";
|
|
423
|
+
done < <(find $prefix -type l -print0)
|
|
424
|
+
}
|
|
425
|
+
_makeSymlinksRelativeInAllOutputs ()
|
|
426
|
+
{
|
|
427
|
+
|
|
428
|
+
local output;
|
|
429
|
+
for output in $(getAllOutputNames);
|
|
430
|
+
do
|
|
431
|
+
prefix="${!output}" _makeSymlinksRelative;
|
|
432
|
+
done
|
|
433
|
+
}
|
|
434
|
+
_moveLib64 ()
|
|
435
|
+
{
|
|
436
|
+
|
|
437
|
+
if [ "${dontMoveLib64-}" = 1 ]; then
|
|
438
|
+
return;
|
|
439
|
+
fi;
|
|
440
|
+
if [ ! -e "$prefix/lib64" -o -L "$prefix/lib64" ]; then
|
|
441
|
+
return;
|
|
442
|
+
fi;
|
|
443
|
+
echo "moving $prefix/lib64/* to $prefix/lib";
|
|
444
|
+
mkdir -p $prefix/lib;
|
|
445
|
+
shopt -s dotglob;
|
|
446
|
+
for i in $prefix/lib64/*;
|
|
447
|
+
do
|
|
448
|
+
mv --no-clobber "$i" $prefix/lib;
|
|
449
|
+
done;
|
|
450
|
+
shopt -u dotglob;
|
|
451
|
+
rmdir $prefix/lib64;
|
|
452
|
+
ln -s lib $prefix/lib64
|
|
453
|
+
}
|
|
454
|
+
_moveSbin ()
|
|
455
|
+
{
|
|
456
|
+
|
|
457
|
+
if [ "${dontMoveSbin-}" = 1 ]; then
|
|
458
|
+
return;
|
|
459
|
+
fi;
|
|
460
|
+
if [ ! -e "$prefix/sbin" -o -L "$prefix/sbin" ]; then
|
|
461
|
+
return;
|
|
462
|
+
fi;
|
|
463
|
+
echo "moving $prefix/sbin/* to $prefix/bin";
|
|
464
|
+
mkdir -p $prefix/bin;
|
|
465
|
+
shopt -s dotglob;
|
|
466
|
+
for i in $prefix/sbin/*;
|
|
467
|
+
do
|
|
468
|
+
mv "$i" $prefix/bin;
|
|
469
|
+
done;
|
|
470
|
+
shopt -u dotglob;
|
|
471
|
+
rmdir $prefix/sbin;
|
|
472
|
+
ln -s bin $prefix/sbin
|
|
473
|
+
}
|
|
474
|
+
_moveSystemdUserUnits ()
|
|
475
|
+
{
|
|
476
|
+
|
|
477
|
+
if [ "${dontMoveSystemdUserUnits:-0}" = 1 ]; then
|
|
478
|
+
return;
|
|
479
|
+
fi;
|
|
480
|
+
if [ ! -e "${prefix:?}/lib/systemd/user" ]; then
|
|
481
|
+
return;
|
|
482
|
+
fi;
|
|
483
|
+
local source="$prefix/lib/systemd/user";
|
|
484
|
+
local target="$prefix/share/systemd/user";
|
|
485
|
+
echo "moving $source/* to $target";
|
|
486
|
+
mkdir -p "$target";
|
|
487
|
+
( shopt -s dotglob;
|
|
488
|
+
for i in "$source"/*;
|
|
489
|
+
do
|
|
490
|
+
mv "$i" "$target";
|
|
491
|
+
done );
|
|
492
|
+
rmdir "$source";
|
|
493
|
+
ln -s "$target" "$source"
|
|
494
|
+
}
|
|
495
|
+
_moveToShare ()
|
|
496
|
+
{
|
|
497
|
+
|
|
498
|
+
if [ -n "$__structuredAttrs" ]; then
|
|
499
|
+
if [ -z "${forceShare-}" ]; then
|
|
500
|
+
forceShare=(man doc info);
|
|
501
|
+
fi;
|
|
502
|
+
else
|
|
503
|
+
forceShare=(${forceShare:-man doc info});
|
|
504
|
+
fi;
|
|
505
|
+
if [[ -z "$out" ]]; then
|
|
506
|
+
return;
|
|
507
|
+
fi;
|
|
508
|
+
for d in "${forceShare[@]}";
|
|
509
|
+
do
|
|
510
|
+
if [ -d "$out/$d" ]; then
|
|
511
|
+
if [ -d "$out/share/$d" ]; then
|
|
512
|
+
echo "both $d/ and share/$d/ exist!";
|
|
513
|
+
else
|
|
514
|
+
echo "moving $out/$d to $out/share/$d";
|
|
515
|
+
mkdir -p $out/share;
|
|
516
|
+
mv $out/$d $out/share/;
|
|
517
|
+
fi;
|
|
518
|
+
fi;
|
|
519
|
+
done
|
|
520
|
+
}
|
|
521
|
+
_multioutConfig ()
|
|
522
|
+
{
|
|
523
|
+
|
|
524
|
+
if [ "$(getAllOutputNames)" = "out" ] || [ -z "${setOutputFlags-1}" ]; then
|
|
525
|
+
return;
|
|
526
|
+
fi;
|
|
527
|
+
if [ -z "${shareDocName:-}" ]; then
|
|
528
|
+
local confScript="${configureScript:-}";
|
|
529
|
+
if [ -z "$confScript" ] && [ -x ./configure ]; then
|
|
530
|
+
confScript=./configure;
|
|
531
|
+
fi;
|
|
532
|
+
if [ -f "$confScript" ]; then
|
|
533
|
+
local shareDocName="$(sed -n "s/^PACKAGE_TARNAME='\(.*\)'$/\1/p" < "$confScript")";
|
|
534
|
+
fi;
|
|
535
|
+
if [ -z "$shareDocName" ] || echo "$shareDocName" | grep -q '[^a-zA-Z0-9_-]'; then
|
|
536
|
+
shareDocName="$(echo "$name" | sed 's/-[^a-zA-Z].*//')";
|
|
537
|
+
fi;
|
|
538
|
+
fi;
|
|
539
|
+
prependToVar configureFlags --bindir="${!outputBin}"/bin --sbindir="${!outputBin}"/sbin --includedir="${!outputInclude}"/include --mandir="${!outputMan}"/share/man --infodir="${!outputInfo}"/share/info --docdir="${!outputDoc}"/share/doc/"${shareDocName}" --libdir="${!outputLib}"/lib --libexecdir="${!outputLib}"/libexec --localedir="${!outputLib}"/share/locale;
|
|
540
|
+
prependToVar installFlags pkgconfigdir="${!outputDev}"/lib/pkgconfig m4datadir="${!outputDev}"/share/aclocal aclocaldir="${!outputDev}"/share/aclocal
|
|
541
|
+
}
|
|
542
|
+
_multioutDevs ()
|
|
543
|
+
{
|
|
544
|
+
|
|
545
|
+
if [ "$(getAllOutputNames)" = "out" ] || [ -z "${moveToDev-1}" ]; then
|
|
546
|
+
return;
|
|
547
|
+
fi;
|
|
548
|
+
moveToOutput include "${!outputInclude}";
|
|
549
|
+
moveToOutput lib/pkgconfig "${!outputDev}";
|
|
550
|
+
moveToOutput share/pkgconfig "${!outputDev}";
|
|
551
|
+
moveToOutput lib/cmake "${!outputDev}";
|
|
552
|
+
moveToOutput share/aclocal "${!outputDev}";
|
|
553
|
+
for f in "${!outputDev}"/{lib,share}/pkgconfig/*.pc;
|
|
554
|
+
do
|
|
555
|
+
echo "Patching '$f' includedir to output ${!outputInclude}";
|
|
556
|
+
sed -i "/^includedir=/s,=\${prefix},=${!outputInclude}," "$f";
|
|
557
|
+
done
|
|
558
|
+
}
|
|
559
|
+
_multioutDocs ()
|
|
560
|
+
{
|
|
561
|
+
|
|
562
|
+
local REMOVE=REMOVE;
|
|
563
|
+
moveToOutput share/info "${!outputInfo}";
|
|
564
|
+
moveToOutput share/doc "${!outputDoc}";
|
|
565
|
+
moveToOutput share/gtk-doc "${!outputDevdoc}";
|
|
566
|
+
moveToOutput share/devhelp/books "${!outputDevdoc}";
|
|
567
|
+
moveToOutput share/man "${!outputMan}";
|
|
568
|
+
moveToOutput share/man/man3 "${!outputDevman}"
|
|
569
|
+
}
|
|
570
|
+
_multioutPropagateDev ()
|
|
571
|
+
{
|
|
572
|
+
|
|
573
|
+
if [ "$(getAllOutputNames)" = "out" ]; then
|
|
574
|
+
return;
|
|
575
|
+
fi;
|
|
576
|
+
local outputFirst;
|
|
577
|
+
for outputFirst in $(getAllOutputNames);
|
|
578
|
+
do
|
|
579
|
+
break;
|
|
580
|
+
done;
|
|
581
|
+
local propagaterOutput="$outputDev";
|
|
582
|
+
if [ -z "$propagaterOutput" ]; then
|
|
583
|
+
propagaterOutput="$outputFirst";
|
|
584
|
+
fi;
|
|
585
|
+
if [ -z "${propagatedBuildOutputs+1}" ]; then
|
|
586
|
+
local po_dirty="$outputBin $outputInclude $outputLib";
|
|
587
|
+
set +o pipefail;
|
|
588
|
+
propagatedBuildOutputs=`echo "$po_dirty" | tr -s ' ' '\n' | grep -v -F "$propagaterOutput" | sort -u | tr '\n' ' ' `;
|
|
589
|
+
set -o pipefail;
|
|
590
|
+
fi;
|
|
591
|
+
if [ -z "$propagatedBuildOutputs" ]; then
|
|
592
|
+
return;
|
|
593
|
+
fi;
|
|
594
|
+
mkdir -p "${!propagaterOutput}"/nix-support;
|
|
595
|
+
for output in $propagatedBuildOutputs;
|
|
596
|
+
do
|
|
597
|
+
echo -n " ${!output}" >> "${!propagaterOutput}"/nix-support/propagated-build-inputs;
|
|
598
|
+
done
|
|
599
|
+
}
|
|
600
|
+
_nixLogWithLevel ()
|
|
601
|
+
{
|
|
602
|
+
|
|
603
|
+
[[ -z ${NIX_LOG_FD-} || ${NIX_DEBUG:-0} -lt ${1:?} ]] && return 0;
|
|
604
|
+
local logLevel;
|
|
605
|
+
case "${1:?}" in
|
|
606
|
+
0)
|
|
607
|
+
logLevel=ERROR
|
|
608
|
+
;;
|
|
609
|
+
1)
|
|
610
|
+
logLevel=WARN
|
|
611
|
+
;;
|
|
612
|
+
2)
|
|
613
|
+
logLevel=NOTICE
|
|
614
|
+
;;
|
|
615
|
+
3)
|
|
616
|
+
logLevel=INFO
|
|
617
|
+
;;
|
|
618
|
+
4)
|
|
619
|
+
logLevel=TALKATIVE
|
|
620
|
+
;;
|
|
621
|
+
5)
|
|
622
|
+
logLevel=CHATTY
|
|
623
|
+
;;
|
|
624
|
+
6)
|
|
625
|
+
logLevel=DEBUG
|
|
626
|
+
;;
|
|
627
|
+
7)
|
|
628
|
+
logLevel=VOMIT
|
|
629
|
+
;;
|
|
630
|
+
*)
|
|
631
|
+
echo "_nixLogWithLevel: called with invalid log level: ${1:?}" >&"$NIX_LOG_FD";
|
|
632
|
+
return 1
|
|
633
|
+
;;
|
|
634
|
+
esac;
|
|
635
|
+
local callerName="${FUNCNAME[2]}";
|
|
636
|
+
if [[ $callerName == "_callImplicitHook" ]]; then
|
|
637
|
+
callerName="${hookName:?}";
|
|
638
|
+
fi;
|
|
639
|
+
printf "%s: %s: %s\n" "$logLevel" "$callerName" "${2:?}" >&"$NIX_LOG_FD"
|
|
640
|
+
}
|
|
641
|
+
_overrideFirst ()
|
|
642
|
+
{
|
|
643
|
+
|
|
644
|
+
if [ -z "${!1-}" ]; then
|
|
645
|
+
_assignFirst "$@";
|
|
646
|
+
fi
|
|
647
|
+
}
|
|
648
|
+
_pruneLibtoolFiles ()
|
|
649
|
+
{
|
|
650
|
+
|
|
651
|
+
if [ "${dontPruneLibtoolFiles-}" ] || [ ! -e "$prefix" ]; then
|
|
652
|
+
return;
|
|
653
|
+
fi;
|
|
654
|
+
find "$prefix" -type f -name '*.la' -exec grep -q '^# Generated by .*libtool' {} \; -exec grep -q "^old_library=''" {} \; -exec sed -i {} -e "/^dependency_libs='[^']/ c dependency_libs='' #pruned" \;
|
|
655
|
+
}
|
|
656
|
+
_updateSourceDateEpochFromSourceRoot ()
|
|
657
|
+
{
|
|
658
|
+
|
|
659
|
+
if [ -n "$sourceRoot" ]; then
|
|
660
|
+
updateSourceDateEpoch "$sourceRoot";
|
|
661
|
+
fi
|
|
662
|
+
}
|
|
663
|
+
activatePackage ()
|
|
664
|
+
{
|
|
665
|
+
|
|
666
|
+
local pkg="$1";
|
|
667
|
+
local -r hostOffset="$2";
|
|
668
|
+
local -r targetOffset="$3";
|
|
669
|
+
(( hostOffset <= targetOffset )) || exit 1;
|
|
670
|
+
if [ -f "$pkg" ]; then
|
|
671
|
+
nixTalkativeLog "sourcing setup hook '$pkg'";
|
|
672
|
+
source "$pkg";
|
|
673
|
+
fi;
|
|
674
|
+
if [[ -z "${strictDeps-}" || "$hostOffset" -le -1 ]]; then
|
|
675
|
+
addToSearchPath _PATH "$pkg/bin";
|
|
676
|
+
fi;
|
|
677
|
+
if (( hostOffset <= -1 )); then
|
|
678
|
+
addToSearchPath _XDG_DATA_DIRS "$pkg/share";
|
|
679
|
+
fi;
|
|
680
|
+
if [[ "$hostOffset" -eq 0 && -d "$pkg/bin" ]]; then
|
|
681
|
+
addToSearchPath _HOST_PATH "$pkg/bin";
|
|
682
|
+
fi;
|
|
683
|
+
if [[ -f "$pkg/nix-support/setup-hook" ]]; then
|
|
684
|
+
nixTalkativeLog "sourcing setup hook '$pkg/nix-support/setup-hook'";
|
|
685
|
+
source "$pkg/nix-support/setup-hook";
|
|
686
|
+
fi
|
|
687
|
+
}
|
|
688
|
+
addEnvHooks ()
|
|
689
|
+
{
|
|
690
|
+
|
|
691
|
+
local depHostOffset="$1";
|
|
692
|
+
shift;
|
|
693
|
+
local pkgHookVarsSlice="${pkgHookVarVars[$depHostOffset + 1]}[@]";
|
|
694
|
+
local pkgHookVar;
|
|
695
|
+
for pkgHookVar in "${!pkgHookVarsSlice}";
|
|
696
|
+
do
|
|
697
|
+
eval "${pkgHookVar}s"'+=("$@")';
|
|
698
|
+
done
|
|
699
|
+
}
|
|
700
|
+
addToSearchPath ()
|
|
701
|
+
{
|
|
702
|
+
|
|
703
|
+
addToSearchPathWithCustomDelimiter ":" "$@"
|
|
704
|
+
}
|
|
705
|
+
addToSearchPathWithCustomDelimiter ()
|
|
706
|
+
{
|
|
707
|
+
|
|
708
|
+
local delimiter="$1";
|
|
709
|
+
local varName="$2";
|
|
710
|
+
local dir="$3";
|
|
711
|
+
if [[ -d "$dir" && "${!varName:+${delimiter}${!varName}${delimiter}}" != *"${delimiter}${dir}${delimiter}"* ]]; then
|
|
712
|
+
export "${varName}=${!varName:+${!varName}${delimiter}}${dir}";
|
|
713
|
+
fi
|
|
714
|
+
}
|
|
715
|
+
appendToVar ()
|
|
716
|
+
{
|
|
717
|
+
|
|
718
|
+
local -n nameref="$1";
|
|
719
|
+
local useArray type;
|
|
720
|
+
if [ -n "$__structuredAttrs" ]; then
|
|
721
|
+
useArray=true;
|
|
722
|
+
else
|
|
723
|
+
useArray=false;
|
|
724
|
+
fi;
|
|
725
|
+
if type=$(declare -p "$1" 2> /dev/null); then
|
|
726
|
+
case "${type#* }" in
|
|
727
|
+
-A*)
|
|
728
|
+
echo "appendToVar(): ERROR: trying to use appendToVar on an associative array, use variable+=([\"X\"]=\"Y\") instead." 1>&2;
|
|
729
|
+
return 1
|
|
730
|
+
;;
|
|
731
|
+
-a*)
|
|
732
|
+
useArray=true
|
|
733
|
+
;;
|
|
734
|
+
*)
|
|
735
|
+
useArray=false
|
|
736
|
+
;;
|
|
737
|
+
esac;
|
|
738
|
+
fi;
|
|
739
|
+
shift;
|
|
740
|
+
if $useArray; then
|
|
741
|
+
nameref=(${nameref+"${nameref[@]}"} "$@");
|
|
742
|
+
else
|
|
743
|
+
nameref="${nameref-} $*";
|
|
744
|
+
fi
|
|
745
|
+
}
|
|
746
|
+
auditTmpdir ()
|
|
747
|
+
{
|
|
748
|
+
|
|
749
|
+
local dir="$1";
|
|
750
|
+
[ -e "$dir" ] || return 0;
|
|
751
|
+
echo "checking for references to $TMPDIR/ in $dir...";
|
|
752
|
+
function _processFile ()
|
|
753
|
+
{
|
|
754
|
+
local file="$1";
|
|
755
|
+
if isELF "$file"; then
|
|
756
|
+
if {
|
|
757
|
+
printf :;
|
|
758
|
+
patchelf --print-rpath "$file"
|
|
759
|
+
} | grep -q -F ":$TMPDIR/"; then
|
|
760
|
+
echo "RPATH of binary $file contains a forbidden reference to $TMPDIR/";
|
|
761
|
+
exit 1;
|
|
762
|
+
fi;
|
|
763
|
+
else
|
|
764
|
+
if isScript "$file"; then
|
|
765
|
+
filename=${i##*/};
|
|
766
|
+
dir=${i%/*};
|
|
767
|
+
if [ -e "$dir/.$filename-wrapped" ]; then
|
|
768
|
+
if grep -q -F "$TMPDIR/" "$file"; then
|
|
769
|
+
echo "wrapper script $file contains a forbidden reference to $TMPDIR/";
|
|
770
|
+
exit 1;
|
|
771
|
+
fi;
|
|
772
|
+
fi;
|
|
773
|
+
fi;
|
|
774
|
+
fi
|
|
775
|
+
};
|
|
776
|
+
find "$dir" -type f -not -path '*/.build-id/*' -print0 | parallelMap _processFile;
|
|
777
|
+
unset -f _processFile
|
|
778
|
+
}
|
|
779
|
+
bintoolsWrapper_addLDVars ()
|
|
780
|
+
{
|
|
781
|
+
|
|
782
|
+
local role_post;
|
|
783
|
+
getHostRoleEnvHook;
|
|
784
|
+
if [[ -d "$1/lib64" && ! -L "$1/lib64" ]]; then
|
|
785
|
+
export NIX_LDFLAGS${role_post}+=" -L$1/lib64";
|
|
786
|
+
fi;
|
|
787
|
+
if [[ -d "$1/lib" ]]; then
|
|
788
|
+
local -a glob=($1/lib/lib*);
|
|
789
|
+
if [ "${#glob[*]}" -gt 0 ]; then
|
|
790
|
+
export NIX_LDFLAGS${role_post}+=" -L$1/lib";
|
|
791
|
+
fi;
|
|
792
|
+
fi
|
|
793
|
+
}
|
|
794
|
+
buildPhase ()
|
|
795
|
+
{
|
|
796
|
+
|
|
797
|
+
runHook preBuild;
|
|
798
|
+
if [[ -z "${makeFlags-}" && -z "${makefile:-}" && ! ( -e Makefile || -e makefile || -e GNUmakefile ) ]]; then
|
|
799
|
+
echo "no Makefile or custom buildPhase, doing nothing";
|
|
800
|
+
else
|
|
801
|
+
foundMakefile=1;
|
|
802
|
+
local flagsArray=(${enableParallelBuilding:+-j${NIX_BUILD_CORES}} SHELL="$SHELL");
|
|
803
|
+
concatTo flagsArray makeFlags makeFlagsArray buildFlags buildFlagsArray;
|
|
804
|
+
echoCmd 'build flags' "${flagsArray[@]}";
|
|
805
|
+
make ${makefile:+-f $makefile} "${flagsArray[@]}";
|
|
806
|
+
unset flagsArray;
|
|
807
|
+
fi;
|
|
808
|
+
runHook postBuild
|
|
809
|
+
}
|
|
810
|
+
ccWrapper_addCVars ()
|
|
811
|
+
{
|
|
812
|
+
|
|
813
|
+
local role_post;
|
|
814
|
+
getHostRoleEnvHook;
|
|
815
|
+
if [ -d "$1/include" ]; then
|
|
816
|
+
export NIX_CFLAGS_COMPILE${role_post}+=" -isystem $1/include";
|
|
817
|
+
fi;
|
|
818
|
+
if [ -d "$1/Library/Frameworks" ]; then
|
|
819
|
+
export NIX_CFLAGS_COMPILE${role_post}+=" -iframework $1/Library/Frameworks";
|
|
820
|
+
fi
|
|
821
|
+
}
|
|
822
|
+
checkPhase ()
|
|
823
|
+
{
|
|
824
|
+
|
|
825
|
+
runHook preCheck;
|
|
826
|
+
if [[ -z "${foundMakefile:-}" ]]; then
|
|
827
|
+
echo "no Makefile or custom checkPhase, doing nothing";
|
|
828
|
+
runHook postCheck;
|
|
829
|
+
return;
|
|
830
|
+
fi;
|
|
831
|
+
if [[ -z "${checkTarget:-}" ]]; then
|
|
832
|
+
if make -n ${makefile:+-f $makefile} check > /dev/null 2>&1; then
|
|
833
|
+
checkTarget="check";
|
|
834
|
+
else
|
|
835
|
+
if make -n ${makefile:+-f $makefile} test > /dev/null 2>&1; then
|
|
836
|
+
checkTarget="test";
|
|
837
|
+
fi;
|
|
838
|
+
fi;
|
|
839
|
+
fi;
|
|
840
|
+
if [[ -z "${checkTarget:-}" ]]; then
|
|
841
|
+
echo "no check/test target in ${makefile:-Makefile}, doing nothing";
|
|
842
|
+
else
|
|
843
|
+
local flagsArray=(${enableParallelChecking:+-j${NIX_BUILD_CORES}} SHELL="$SHELL");
|
|
844
|
+
concatTo flagsArray makeFlags makeFlagsArray checkFlags=VERBOSE=y checkFlagsArray checkTarget;
|
|
845
|
+
echoCmd 'check flags' "${flagsArray[@]}";
|
|
846
|
+
make ${makefile:+-f $makefile} "${flagsArray[@]}";
|
|
847
|
+
unset flagsArray;
|
|
848
|
+
fi;
|
|
849
|
+
runHook postCheck
|
|
850
|
+
}
|
|
851
|
+
compressManPages ()
|
|
852
|
+
{
|
|
853
|
+
|
|
854
|
+
local dir="$1";
|
|
855
|
+
if [ -L "$dir"/share ] || [ -L "$dir"/share/man ] || [ ! -d "$dir/share/man" ]; then
|
|
856
|
+
return;
|
|
857
|
+
fi;
|
|
858
|
+
echo "gzipping man pages under $dir/share/man/";
|
|
859
|
+
find "$dir"/share/man/ -type f -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 | xargs -0 -n1 -P "$NIX_BUILD_CORES" gzip -f;
|
|
860
|
+
find "$dir"/share/man/ -type l -a '!' -regex '.*\.\(bz2\|gz\|xz\)$' -print0 | sort -z | while IFS= read -r -d '' f; do
|
|
861
|
+
local target;
|
|
862
|
+
target="$(readlink -f "$f")";
|
|
863
|
+
if [ -f "$target".gz ]; then
|
|
864
|
+
ln -sf "$target".gz "$f".gz && rm "$f";
|
|
865
|
+
fi;
|
|
866
|
+
done
|
|
867
|
+
}
|
|
868
|
+
concatStringsSep ()
|
|
869
|
+
{
|
|
870
|
+
|
|
871
|
+
local sep="$1";
|
|
872
|
+
local name="$2";
|
|
873
|
+
local type oldifs;
|
|
874
|
+
if type=$(declare -p "$name" 2> /dev/null); then
|
|
875
|
+
local -n nameref="$name";
|
|
876
|
+
case "${type#* }" in
|
|
877
|
+
-A*)
|
|
878
|
+
echo "concatStringsSep(): ERROR: trying to use concatStringsSep on an associative array." 1>&2;
|
|
879
|
+
return 1
|
|
880
|
+
;;
|
|
881
|
+
-a*)
|
|
882
|
+
local IFS="$(printf '\036')"
|
|
883
|
+
;;
|
|
884
|
+
*)
|
|
885
|
+
local IFS=" "
|
|
886
|
+
;;
|
|
887
|
+
esac;
|
|
888
|
+
local ifs_separated="${nameref[*]}";
|
|
889
|
+
echo -n "${ifs_separated//"$IFS"/"$sep"}";
|
|
890
|
+
fi
|
|
891
|
+
}
|
|
892
|
+
concatTo ()
|
|
893
|
+
{
|
|
894
|
+
|
|
895
|
+
local -;
|
|
896
|
+
set -o noglob;
|
|
897
|
+
local -n targetref="$1";
|
|
898
|
+
shift;
|
|
899
|
+
local arg default name type;
|
|
900
|
+
for arg in "$@";
|
|
901
|
+
do
|
|
902
|
+
IFS="=" read -r name default <<< "$arg";
|
|
903
|
+
local -n nameref="$name";
|
|
904
|
+
if [[ -z "${nameref[*]}" && -n "$default" ]]; then
|
|
905
|
+
targetref+=("$default");
|
|
906
|
+
else
|
|
907
|
+
if type=$(declare -p "$name" 2> /dev/null); then
|
|
908
|
+
case "${type#* }" in
|
|
909
|
+
-A*)
|
|
910
|
+
echo "concatTo(): ERROR: trying to use concatTo on an associative array." 1>&2;
|
|
911
|
+
return 1
|
|
912
|
+
;;
|
|
913
|
+
-a*)
|
|
914
|
+
targetref+=("${nameref[@]}")
|
|
915
|
+
;;
|
|
916
|
+
*)
|
|
917
|
+
if [[ "$name" = *"Array" ]]; then
|
|
918
|
+
nixErrorLog "concatTo(): $name is not declared as array, treating as a singleton. This will become an error in future";
|
|
919
|
+
targetref+=(${nameref+"${nameref[@]}"});
|
|
920
|
+
else
|
|
921
|
+
targetref+=(${nameref-});
|
|
922
|
+
fi
|
|
923
|
+
;;
|
|
924
|
+
esac;
|
|
925
|
+
fi;
|
|
926
|
+
fi;
|
|
927
|
+
done
|
|
928
|
+
}
|
|
929
|
+
configurePhase ()
|
|
930
|
+
{
|
|
931
|
+
|
|
932
|
+
runHook preConfigure;
|
|
933
|
+
: "${configureScript=}";
|
|
934
|
+
if [[ -z "$configureScript" && -x ./configure ]]; then
|
|
935
|
+
configureScript=./configure;
|
|
936
|
+
fi;
|
|
937
|
+
if [ -z "${dontFixLibtool:-}" ]; then
|
|
938
|
+
export lt_cv_deplibs_check_method="${lt_cv_deplibs_check_method-pass_all}";
|
|
939
|
+
local i;
|
|
940
|
+
find . -iname "ltmain.sh" -print0 | while IFS='' read -r -d '' i; do
|
|
941
|
+
echo "fixing libtool script $i";
|
|
942
|
+
fixLibtool "$i";
|
|
943
|
+
done;
|
|
944
|
+
CONFIGURE_MTIME_REFERENCE=$(mktemp configure.mtime.reference.XXXXXX);
|
|
945
|
+
find . -executable -type f -name configure -exec grep -l 'GNU Libtool is free software; you can redistribute it and/or modify' {} \; -exec touch -r {} "$CONFIGURE_MTIME_REFERENCE" \; -exec sed -i s_/usr/bin/file_file_g {} \; -exec touch -r "$CONFIGURE_MTIME_REFERENCE" {} \;;
|
|
946
|
+
rm -f "$CONFIGURE_MTIME_REFERENCE";
|
|
947
|
+
fi;
|
|
948
|
+
if [[ -z "${dontAddPrefix:-}" && -n "$prefix" ]]; then
|
|
949
|
+
prependToVar configureFlags "${prefixKey:---prefix=}$prefix";
|
|
950
|
+
fi;
|
|
951
|
+
if [[ -f "$configureScript" ]]; then
|
|
952
|
+
if [ -z "${dontAddDisableDepTrack:-}" ]; then
|
|
953
|
+
if grep -q dependency-tracking "$configureScript"; then
|
|
954
|
+
prependToVar configureFlags --disable-dependency-tracking;
|
|
955
|
+
fi;
|
|
956
|
+
fi;
|
|
957
|
+
if [ -z "${dontDisableStatic:-}" ]; then
|
|
958
|
+
if grep -q enable-static "$configureScript"; then
|
|
959
|
+
prependToVar configureFlags --disable-static;
|
|
960
|
+
fi;
|
|
961
|
+
fi;
|
|
962
|
+
if [ -z "${dontPatchShebangsInConfigure:-}" ]; then
|
|
963
|
+
patchShebangs --build "$configureScript";
|
|
964
|
+
fi;
|
|
965
|
+
fi;
|
|
966
|
+
if [ -n "$configureScript" ]; then
|
|
967
|
+
local -a flagsArray;
|
|
968
|
+
concatTo flagsArray configureFlags configureFlagsArray;
|
|
969
|
+
echoCmd 'configure flags' "${flagsArray[@]}";
|
|
970
|
+
$configureScript "${flagsArray[@]}";
|
|
971
|
+
unset flagsArray;
|
|
972
|
+
else
|
|
973
|
+
echo "no configure script, doing nothing";
|
|
974
|
+
fi;
|
|
975
|
+
runHook postConfigure
|
|
976
|
+
}
|
|
977
|
+
consumeEntire ()
|
|
978
|
+
{
|
|
979
|
+
|
|
980
|
+
if IFS='' read -r -d '' "$1"; then
|
|
981
|
+
echo "consumeEntire(): ERROR: Input null bytes, won't process" 1>&2;
|
|
982
|
+
return 1;
|
|
983
|
+
fi
|
|
984
|
+
}
|
|
985
|
+
distPhase ()
|
|
986
|
+
{
|
|
987
|
+
|
|
988
|
+
runHook preDist;
|
|
989
|
+
local flagsArray=();
|
|
990
|
+
concatTo flagsArray distFlags distFlagsArray distTarget=dist;
|
|
991
|
+
echo 'dist flags: %q' "${flagsArray[@]}";
|
|
992
|
+
make ${makefile:+-f $makefile} "${flagsArray[@]}";
|
|
993
|
+
if [ "${dontCopyDist:-0}" != 1 ]; then
|
|
994
|
+
mkdir -p "$out/tarballs";
|
|
995
|
+
cp -pvd ${tarballs[*]:-*.tar.gz} "$out/tarballs";
|
|
996
|
+
fi;
|
|
997
|
+
runHook postDist
|
|
998
|
+
}
|
|
999
|
+
dumpVars ()
|
|
1000
|
+
{
|
|
1001
|
+
|
|
1002
|
+
if [ "${noDumpEnvVars:-0}" != 1 ]; then
|
|
1003
|
+
{
|
|
1004
|
+
install -m 0600 /dev/null "$NIX_BUILD_TOP/env-vars" && export 2> /dev/null >| "$NIX_BUILD_TOP/env-vars"
|
|
1005
|
+
} || true;
|
|
1006
|
+
fi
|
|
1007
|
+
}
|
|
1008
|
+
echoCmd ()
|
|
1009
|
+
{
|
|
1010
|
+
|
|
1011
|
+
printf "%s:" "$1";
|
|
1012
|
+
shift;
|
|
1013
|
+
printf ' %q' "$@";
|
|
1014
|
+
echo
|
|
1015
|
+
}
|
|
1016
|
+
exitHandler ()
|
|
1017
|
+
{
|
|
1018
|
+
|
|
1019
|
+
exitCode="$?";
|
|
1020
|
+
set +e;
|
|
1021
|
+
if [ -n "${showBuildStats:-}" ]; then
|
|
1022
|
+
read -r -d '' -a buildTimes < <(times);
|
|
1023
|
+
echo "build times:";
|
|
1024
|
+
echo "user time for the shell ${buildTimes[0]}";
|
|
1025
|
+
echo "system time for the shell ${buildTimes[1]}";
|
|
1026
|
+
echo "user time for all child processes ${buildTimes[2]}";
|
|
1027
|
+
echo "system time for all child processes ${buildTimes[3]}";
|
|
1028
|
+
fi;
|
|
1029
|
+
if (( "$exitCode" != 0 )); then
|
|
1030
|
+
runHook failureHook;
|
|
1031
|
+
if [ -n "${succeedOnFailure:-}" ]; then
|
|
1032
|
+
echo "build failed with exit code $exitCode (ignored)";
|
|
1033
|
+
mkdir -p "$out/nix-support";
|
|
1034
|
+
printf "%s" "$exitCode" > "$out/nix-support/failed";
|
|
1035
|
+
exit 0;
|
|
1036
|
+
fi;
|
|
1037
|
+
else
|
|
1038
|
+
runHook exitHook;
|
|
1039
|
+
fi;
|
|
1040
|
+
return "$exitCode"
|
|
1041
|
+
}
|
|
1042
|
+
findInputs ()
|
|
1043
|
+
{
|
|
1044
|
+
|
|
1045
|
+
local -r pkg="$1";
|
|
1046
|
+
local -r hostOffset="$2";
|
|
1047
|
+
local -r targetOffset="$3";
|
|
1048
|
+
(( hostOffset <= targetOffset )) || exit 1;
|
|
1049
|
+
local varVar="${pkgAccumVarVars[hostOffset + 1]}";
|
|
1050
|
+
local varRef="$varVar[$((targetOffset - hostOffset))]";
|
|
1051
|
+
local var="${!varRef}";
|
|
1052
|
+
unset -v varVar varRef;
|
|
1053
|
+
local varSlice="$var[*]";
|
|
1054
|
+
case " ${!varSlice-} " in
|
|
1055
|
+
*" $pkg "*)
|
|
1056
|
+
return 0
|
|
1057
|
+
;;
|
|
1058
|
+
esac;
|
|
1059
|
+
unset -v varSlice;
|
|
1060
|
+
eval "$var"'+=("$pkg")';
|
|
1061
|
+
if ! [ -e "$pkg" ]; then
|
|
1062
|
+
echo "build input $pkg does not exist" 1>&2;
|
|
1063
|
+
exit 1;
|
|
1064
|
+
fi;
|
|
1065
|
+
function mapOffset ()
|
|
1066
|
+
{
|
|
1067
|
+
local -r inputOffset="$1";
|
|
1068
|
+
local -n outputOffset="$2";
|
|
1069
|
+
if (( inputOffset <= 0 )); then
|
|
1070
|
+
outputOffset=$((inputOffset + hostOffset));
|
|
1071
|
+
else
|
|
1072
|
+
outputOffset=$((inputOffset - 1 + targetOffset));
|
|
1073
|
+
fi
|
|
1074
|
+
};
|
|
1075
|
+
local relHostOffset;
|
|
1076
|
+
for relHostOffset in "${allPlatOffsets[@]}";
|
|
1077
|
+
do
|
|
1078
|
+
local files="${propagatedDepFilesVars[relHostOffset + 1]}";
|
|
1079
|
+
local hostOffsetNext;
|
|
1080
|
+
mapOffset "$relHostOffset" hostOffsetNext;
|
|
1081
|
+
(( -1 <= hostOffsetNext && hostOffsetNext <= 1 )) || continue;
|
|
1082
|
+
local relTargetOffset;
|
|
1083
|
+
for relTargetOffset in "${allPlatOffsets[@]}";
|
|
1084
|
+
do
|
|
1085
|
+
(( "$relHostOffset" <= "$relTargetOffset" )) || continue;
|
|
1086
|
+
local fileRef="${files}[$relTargetOffset - $relHostOffset]";
|
|
1087
|
+
local file="${!fileRef}";
|
|
1088
|
+
unset -v fileRef;
|
|
1089
|
+
local targetOffsetNext;
|
|
1090
|
+
mapOffset "$relTargetOffset" targetOffsetNext;
|
|
1091
|
+
(( -1 <= hostOffsetNext && hostOffsetNext <= 1 )) || continue;
|
|
1092
|
+
[[ -f "$pkg/nix-support/$file" ]] || continue;
|
|
1093
|
+
local pkgNext;
|
|
1094
|
+
read -r -d '' pkgNext < "$pkg/nix-support/$file" || true;
|
|
1095
|
+
for pkgNext in $pkgNext;
|
|
1096
|
+
do
|
|
1097
|
+
findInputs "$pkgNext" "$hostOffsetNext" "$targetOffsetNext";
|
|
1098
|
+
done;
|
|
1099
|
+
done;
|
|
1100
|
+
done
|
|
1101
|
+
}
|
|
1102
|
+
fixLibtool ()
|
|
1103
|
+
{
|
|
1104
|
+
|
|
1105
|
+
local search_path;
|
|
1106
|
+
for flag in $NIX_LDFLAGS;
|
|
1107
|
+
do
|
|
1108
|
+
case $flag in
|
|
1109
|
+
-L*)
|
|
1110
|
+
search_path+=" ${flag#-L}"
|
|
1111
|
+
;;
|
|
1112
|
+
esac;
|
|
1113
|
+
done;
|
|
1114
|
+
sed -i "$1" -e "s^eval \(sys_lib_search_path=\).*^\1'${search_path:-}'^" -e 's^eval sys_lib_.+search_path=.*^^'
|
|
1115
|
+
}
|
|
1116
|
+
fixupPhase ()
|
|
1117
|
+
{
|
|
1118
|
+
|
|
1119
|
+
local output;
|
|
1120
|
+
for output in $(getAllOutputNames);
|
|
1121
|
+
do
|
|
1122
|
+
if [ -e "${!output}" ]; then
|
|
1123
|
+
chmod -R u+w,u-s,g-s "${!output}";
|
|
1124
|
+
fi;
|
|
1125
|
+
done;
|
|
1126
|
+
runHook preFixup;
|
|
1127
|
+
local output;
|
|
1128
|
+
for output in $(getAllOutputNames);
|
|
1129
|
+
do
|
|
1130
|
+
prefix="${!output}" runHook fixupOutput;
|
|
1131
|
+
done;
|
|
1132
|
+
recordPropagatedDependencies;
|
|
1133
|
+
if [ -n "${setupHook:-}" ]; then
|
|
1134
|
+
mkdir -p "${!outputDev}/nix-support";
|
|
1135
|
+
substituteAll "$setupHook" "${!outputDev}/nix-support/setup-hook";
|
|
1136
|
+
fi;
|
|
1137
|
+
if [ -n "${setupHooks:-}" ]; then
|
|
1138
|
+
mkdir -p "${!outputDev}/nix-support";
|
|
1139
|
+
local hook;
|
|
1140
|
+
for hook in ${setupHooks[@]};
|
|
1141
|
+
do
|
|
1142
|
+
local content;
|
|
1143
|
+
consumeEntire content < "$hook";
|
|
1144
|
+
substituteAllStream content "file '$hook'" >> "${!outputDev}/nix-support/setup-hook";
|
|
1145
|
+
unset -v content;
|
|
1146
|
+
done;
|
|
1147
|
+
unset -v hook;
|
|
1148
|
+
fi;
|
|
1149
|
+
if [ -n "${propagatedUserEnvPkgs[*]:-}" ]; then
|
|
1150
|
+
mkdir -p "${!outputBin}/nix-support";
|
|
1151
|
+
printWords "${propagatedUserEnvPkgs[@]}" > "${!outputBin}/nix-support/propagated-user-env-packages";
|
|
1152
|
+
fi;
|
|
1153
|
+
runHook postFixup
|
|
1154
|
+
}
|
|
1155
|
+
genericBuild ()
|
|
1156
|
+
{
|
|
1157
|
+
|
|
1158
|
+
export GZIP_NO_TIMESTAMPS=1;
|
|
1159
|
+
if [ -f "${buildCommandPath:-}" ]; then
|
|
1160
|
+
source "$buildCommandPath";
|
|
1161
|
+
return;
|
|
1162
|
+
fi;
|
|
1163
|
+
if [ -n "${buildCommand:-}" ]; then
|
|
1164
|
+
eval "$buildCommand";
|
|
1165
|
+
return;
|
|
1166
|
+
fi;
|
|
1167
|
+
if [ -z "${phases[*]:-}" ]; then
|
|
1168
|
+
phases="${prePhases[*]:-} unpackPhase patchPhase ${preConfigurePhases[*]:-} configurePhase ${preBuildPhases[*]:-} buildPhase checkPhase ${preInstallPhases[*]:-} installPhase ${preFixupPhases[*]:-} fixupPhase installCheckPhase ${preDistPhases[*]:-} distPhase ${postPhases[*]:-}";
|
|
1169
|
+
fi;
|
|
1170
|
+
for curPhase in ${phases[*]};
|
|
1171
|
+
do
|
|
1172
|
+
runPhase "$curPhase";
|
|
1173
|
+
done
|
|
1174
|
+
}
|
|
1175
|
+
getAllOutputNames ()
|
|
1176
|
+
{
|
|
1177
|
+
|
|
1178
|
+
if [ -n "$__structuredAttrs" ]; then
|
|
1179
|
+
echo "${!outputs[*]}";
|
|
1180
|
+
else
|
|
1181
|
+
echo "$outputs";
|
|
1182
|
+
fi
|
|
1183
|
+
}
|
|
1184
|
+
getHostRole ()
|
|
1185
|
+
{
|
|
1186
|
+
|
|
1187
|
+
getRole "$hostOffset"
|
|
1188
|
+
}
|
|
1189
|
+
getHostRoleEnvHook ()
|
|
1190
|
+
{
|
|
1191
|
+
|
|
1192
|
+
getRole "$depHostOffset"
|
|
1193
|
+
}
|
|
1194
|
+
getRole ()
|
|
1195
|
+
{
|
|
1196
|
+
|
|
1197
|
+
case $1 in
|
|
1198
|
+
-1)
|
|
1199
|
+
role_post='_FOR_BUILD'
|
|
1200
|
+
;;
|
|
1201
|
+
0)
|
|
1202
|
+
role_post=''
|
|
1203
|
+
;;
|
|
1204
|
+
1)
|
|
1205
|
+
role_post='_FOR_TARGET'
|
|
1206
|
+
;;
|
|
1207
|
+
*)
|
|
1208
|
+
echo "binutils-wrapper-2.44: used as improper sort of dependency" 1>&2;
|
|
1209
|
+
return 1
|
|
1210
|
+
;;
|
|
1211
|
+
esac
|
|
1212
|
+
}
|
|
1213
|
+
getTargetRole ()
|
|
1214
|
+
{
|
|
1215
|
+
|
|
1216
|
+
getRole "$targetOffset"
|
|
1217
|
+
}
|
|
1218
|
+
getTargetRoleEnvHook ()
|
|
1219
|
+
{
|
|
1220
|
+
|
|
1221
|
+
getRole "$depTargetOffset"
|
|
1222
|
+
}
|
|
1223
|
+
getTargetRoleWrapper ()
|
|
1224
|
+
{
|
|
1225
|
+
|
|
1226
|
+
case $targetOffset in
|
|
1227
|
+
-1)
|
|
1228
|
+
export NIX_BINTOOLS_WRAPPER_TARGET_BUILD_x86_64_unknown_linux_gnu=1
|
|
1229
|
+
;;
|
|
1230
|
+
0)
|
|
1231
|
+
export NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu=1
|
|
1232
|
+
;;
|
|
1233
|
+
1)
|
|
1234
|
+
export NIX_BINTOOLS_WRAPPER_TARGET_TARGET_x86_64_unknown_linux_gnu=1
|
|
1235
|
+
;;
|
|
1236
|
+
*)
|
|
1237
|
+
echo "binutils-wrapper-2.44: used as improper sort of dependency" 1>&2;
|
|
1238
|
+
return 1
|
|
1239
|
+
;;
|
|
1240
|
+
esac
|
|
1241
|
+
}
|
|
1242
|
+
installCheckPhase ()
|
|
1243
|
+
{
|
|
1244
|
+
|
|
1245
|
+
runHook preInstallCheck;
|
|
1246
|
+
if [[ -z "${foundMakefile:-}" ]]; then
|
|
1247
|
+
echo "no Makefile or custom installCheckPhase, doing nothing";
|
|
1248
|
+
else
|
|
1249
|
+
if [[ -z "${installCheckTarget:-}" ]] && ! make -n ${makefile:+-f $makefile} "${installCheckTarget:-installcheck}" > /dev/null 2>&1; then
|
|
1250
|
+
echo "no installcheck target in ${makefile:-Makefile}, doing nothing";
|
|
1251
|
+
else
|
|
1252
|
+
local flagsArray=(${enableParallelChecking:+-j${NIX_BUILD_CORES}} SHELL="$SHELL");
|
|
1253
|
+
concatTo flagsArray makeFlags makeFlagsArray installCheckFlags installCheckFlagsArray installCheckTarget=installcheck;
|
|
1254
|
+
echoCmd 'installcheck flags' "${flagsArray[@]}";
|
|
1255
|
+
make ${makefile:+-f $makefile} "${flagsArray[@]}";
|
|
1256
|
+
unset flagsArray;
|
|
1257
|
+
fi;
|
|
1258
|
+
fi;
|
|
1259
|
+
runHook postInstallCheck
|
|
1260
|
+
}
|
|
1261
|
+
installPhase ()
|
|
1262
|
+
{
|
|
1263
|
+
|
|
1264
|
+
runHook preInstall;
|
|
1265
|
+
if [[ -z "${makeFlags-}" && -z "${makefile:-}" && ! ( -e Makefile || -e makefile || -e GNUmakefile ) ]]; then
|
|
1266
|
+
echo "no Makefile or custom installPhase, doing nothing";
|
|
1267
|
+
runHook postInstall;
|
|
1268
|
+
return;
|
|
1269
|
+
else
|
|
1270
|
+
foundMakefile=1;
|
|
1271
|
+
fi;
|
|
1272
|
+
if [ -n "$prefix" ]; then
|
|
1273
|
+
mkdir -p "$prefix";
|
|
1274
|
+
fi;
|
|
1275
|
+
local flagsArray=(${enableParallelInstalling:+-j${NIX_BUILD_CORES}} SHELL="$SHELL");
|
|
1276
|
+
concatTo flagsArray makeFlags makeFlagsArray installFlags installFlagsArray installTargets=install;
|
|
1277
|
+
echoCmd 'install flags' "${flagsArray[@]}";
|
|
1278
|
+
make ${makefile:+-f $makefile} "${flagsArray[@]}";
|
|
1279
|
+
unset flagsArray;
|
|
1280
|
+
runHook postInstall
|
|
1281
|
+
}
|
|
1282
|
+
isELF ()
|
|
1283
|
+
{
|
|
1284
|
+
|
|
1285
|
+
local fn="$1";
|
|
1286
|
+
local fd;
|
|
1287
|
+
local magic;
|
|
1288
|
+
exec {fd}< "$fn";
|
|
1289
|
+
read -r -n 4 -u "$fd" magic;
|
|
1290
|
+
exec {fd}>&-;
|
|
1291
|
+
if [ "$magic" = 'ELF' ]; then
|
|
1292
|
+
return 0;
|
|
1293
|
+
else
|
|
1294
|
+
return 1;
|
|
1295
|
+
fi
|
|
1296
|
+
}
|
|
1297
|
+
isMachO ()
|
|
1298
|
+
{
|
|
1299
|
+
|
|
1300
|
+
local fn="$1";
|
|
1301
|
+
local fd;
|
|
1302
|
+
local magic;
|
|
1303
|
+
exec {fd}< "$fn";
|
|
1304
|
+
read -r -n 4 -u "$fd" magic;
|
|
1305
|
+
exec {fd}>&-;
|
|
1306
|
+
if [[ "$magic" = $(echo -ne "\xfe\xed\xfa\xcf") || "$magic" = $(echo -ne "\xcf\xfa\xed\xfe") ]]; then
|
|
1307
|
+
return 0;
|
|
1308
|
+
else
|
|
1309
|
+
if [[ "$magic" = $(echo -ne "\xfe\xed\xfa\xce") || "$magic" = $(echo -ne "\xce\xfa\xed\xfe") ]]; then
|
|
1310
|
+
return 0;
|
|
1311
|
+
else
|
|
1312
|
+
if [[ "$magic" = $(echo -ne "\xca\xfe\xba\xbe") || "$magic" = $(echo -ne "\xbe\xba\xfe\xca") ]]; then
|
|
1313
|
+
return 0;
|
|
1314
|
+
else
|
|
1315
|
+
return 1;
|
|
1316
|
+
fi;
|
|
1317
|
+
fi;
|
|
1318
|
+
fi
|
|
1319
|
+
}
|
|
1320
|
+
isScript ()
|
|
1321
|
+
{
|
|
1322
|
+
|
|
1323
|
+
local fn="$1";
|
|
1324
|
+
local fd;
|
|
1325
|
+
local magic;
|
|
1326
|
+
exec {fd}< "$fn";
|
|
1327
|
+
read -r -n 2 -u "$fd" magic;
|
|
1328
|
+
exec {fd}>&-;
|
|
1329
|
+
if [[ "$magic" =~ \#! ]]; then
|
|
1330
|
+
return 0;
|
|
1331
|
+
else
|
|
1332
|
+
return 1;
|
|
1333
|
+
fi
|
|
1334
|
+
}
|
|
1335
|
+
mapOffset ()
|
|
1336
|
+
{
|
|
1337
|
+
|
|
1338
|
+
local -r inputOffset="$1";
|
|
1339
|
+
local -n outputOffset="$2";
|
|
1340
|
+
if (( inputOffset <= 0 )); then
|
|
1341
|
+
outputOffset=$((inputOffset + hostOffset));
|
|
1342
|
+
else
|
|
1343
|
+
outputOffset=$((inputOffset - 1 + targetOffset));
|
|
1344
|
+
fi
|
|
1345
|
+
}
|
|
1346
|
+
moveToOutput ()
|
|
1347
|
+
{
|
|
1348
|
+
|
|
1349
|
+
local patt="$1";
|
|
1350
|
+
local dstOut="$2";
|
|
1351
|
+
local output;
|
|
1352
|
+
for output in $(getAllOutputNames);
|
|
1353
|
+
do
|
|
1354
|
+
if [ "${!output}" = "$dstOut" ]; then
|
|
1355
|
+
continue;
|
|
1356
|
+
fi;
|
|
1357
|
+
local srcPath;
|
|
1358
|
+
for srcPath in "${!output}"/$patt;
|
|
1359
|
+
do
|
|
1360
|
+
if [ ! -e "$srcPath" ] && [ ! -L "$srcPath" ]; then
|
|
1361
|
+
continue;
|
|
1362
|
+
fi;
|
|
1363
|
+
if [ "$dstOut" = REMOVE ]; then
|
|
1364
|
+
echo "Removing $srcPath";
|
|
1365
|
+
rm -r "$srcPath";
|
|
1366
|
+
else
|
|
1367
|
+
local dstPath="$dstOut${srcPath#${!output}}";
|
|
1368
|
+
echo "Moving $srcPath to $dstPath";
|
|
1369
|
+
if [ -d "$dstPath" ] && [ -d "$srcPath" ]; then
|
|
1370
|
+
rmdir "$srcPath" --ignore-fail-on-non-empty;
|
|
1371
|
+
if [ -d "$srcPath" ]; then
|
|
1372
|
+
mv -t "$dstPath" "$srcPath"/*;
|
|
1373
|
+
rmdir "$srcPath";
|
|
1374
|
+
fi;
|
|
1375
|
+
else
|
|
1376
|
+
mkdir -p "$(readlink -m "$dstPath/..")";
|
|
1377
|
+
mv "$srcPath" "$dstPath";
|
|
1378
|
+
fi;
|
|
1379
|
+
fi;
|
|
1380
|
+
local srcParent="$(readlink -m "$srcPath/..")";
|
|
1381
|
+
if [ -n "$(find "$srcParent" -maxdepth 0 -type d -empty 2> /dev/null)" ]; then
|
|
1382
|
+
echo "Removing empty $srcParent/ and (possibly) its parents";
|
|
1383
|
+
rmdir -p --ignore-fail-on-non-empty "$srcParent" 2> /dev/null || true;
|
|
1384
|
+
fi;
|
|
1385
|
+
done;
|
|
1386
|
+
done
|
|
1387
|
+
}
|
|
1388
|
+
nixChattyLog ()
|
|
1389
|
+
{
|
|
1390
|
+
|
|
1391
|
+
_nixLogWithLevel 5 "$*"
|
|
1392
|
+
}
|
|
1393
|
+
nixDebugLog ()
|
|
1394
|
+
{
|
|
1395
|
+
|
|
1396
|
+
_nixLogWithLevel 6 "$*"
|
|
1397
|
+
}
|
|
1398
|
+
nixErrorLog ()
|
|
1399
|
+
{
|
|
1400
|
+
|
|
1401
|
+
_nixLogWithLevel 0 "$*"
|
|
1402
|
+
}
|
|
1403
|
+
nixInfoLog ()
|
|
1404
|
+
{
|
|
1405
|
+
|
|
1406
|
+
_nixLogWithLevel 3 "$*"
|
|
1407
|
+
}
|
|
1408
|
+
nixLog ()
|
|
1409
|
+
{
|
|
1410
|
+
|
|
1411
|
+
[[ -z ${NIX_LOG_FD-} ]] && return 0;
|
|
1412
|
+
local callerName="${FUNCNAME[1]}";
|
|
1413
|
+
if [[ $callerName == "_callImplicitHook" ]]; then
|
|
1414
|
+
callerName="${hookName:?}";
|
|
1415
|
+
fi;
|
|
1416
|
+
printf "%s: %s\n" "$callerName" "$*" >&"$NIX_LOG_FD"
|
|
1417
|
+
}
|
|
1418
|
+
nixNoticeLog ()
|
|
1419
|
+
{
|
|
1420
|
+
|
|
1421
|
+
_nixLogWithLevel 2 "$*"
|
|
1422
|
+
}
|
|
1423
|
+
nixTalkativeLog ()
|
|
1424
|
+
{
|
|
1425
|
+
|
|
1426
|
+
_nixLogWithLevel 4 "$*"
|
|
1427
|
+
}
|
|
1428
|
+
nixVomitLog ()
|
|
1429
|
+
{
|
|
1430
|
+
|
|
1431
|
+
_nixLogWithLevel 7 "$*"
|
|
1432
|
+
}
|
|
1433
|
+
nixWarnLog ()
|
|
1434
|
+
{
|
|
1435
|
+
|
|
1436
|
+
_nixLogWithLevel 1 "$*"
|
|
1437
|
+
}
|
|
1438
|
+
noBrokenSymlinks ()
|
|
1439
|
+
{
|
|
1440
|
+
|
|
1441
|
+
local -r output="${1:?}";
|
|
1442
|
+
local path;
|
|
1443
|
+
local pathParent;
|
|
1444
|
+
local symlinkTarget;
|
|
1445
|
+
local -i numDanglingSymlinks=0;
|
|
1446
|
+
local -i numReflexiveSymlinks=0;
|
|
1447
|
+
local -i numUnreadableSymlinks=0;
|
|
1448
|
+
if [[ ! -e $output ]]; then
|
|
1449
|
+
nixWarnLog "skipping non-existent output $output";
|
|
1450
|
+
return 0;
|
|
1451
|
+
fi;
|
|
1452
|
+
nixInfoLog "running on $output";
|
|
1453
|
+
while IFS= read -r -d '' path; do
|
|
1454
|
+
pathParent="$(dirname "$path")";
|
|
1455
|
+
if ! symlinkTarget="$(readlink "$path")"; then
|
|
1456
|
+
nixErrorLog "the symlink $path is unreadable";
|
|
1457
|
+
numUnreadableSymlinks+=1;
|
|
1458
|
+
continue;
|
|
1459
|
+
fi;
|
|
1460
|
+
if [[ $symlinkTarget == /* ]]; then
|
|
1461
|
+
nixInfoLog "symlink $path points to absolute target $symlinkTarget";
|
|
1462
|
+
else
|
|
1463
|
+
nixInfoLog "symlink $path points to relative target $symlinkTarget";
|
|
1464
|
+
symlinkTarget="$(realpath --no-symlinks --canonicalize-missing "$pathParent/$symlinkTarget")";
|
|
1465
|
+
fi;
|
|
1466
|
+
if [[ $symlinkTarget != "$NIX_STORE"/* ]]; then
|
|
1467
|
+
nixInfoLog "symlink $path points outside the Nix store; ignoring";
|
|
1468
|
+
continue;
|
|
1469
|
+
fi;
|
|
1470
|
+
if [[ $path == "$symlinkTarget" ]]; then
|
|
1471
|
+
nixErrorLog "the symlink $path is reflexive";
|
|
1472
|
+
numReflexiveSymlinks+=1;
|
|
1473
|
+
else
|
|
1474
|
+
if [[ ! -e $symlinkTarget ]]; then
|
|
1475
|
+
nixErrorLog "the symlink $path points to a missing target: $symlinkTarget";
|
|
1476
|
+
numDanglingSymlinks+=1;
|
|
1477
|
+
else
|
|
1478
|
+
nixDebugLog "the symlink $path is irreflexive and points to a target which exists";
|
|
1479
|
+
fi;
|
|
1480
|
+
fi;
|
|
1481
|
+
done < <(find "$output" -type l -print0);
|
|
1482
|
+
if ((numDanglingSymlinks > 0 || numReflexiveSymlinks > 0 || numUnreadableSymlinks > 0)); then
|
|
1483
|
+
nixErrorLog "found $numDanglingSymlinks dangling symlinks, $numReflexiveSymlinks reflexive symlinks and $numUnreadableSymlinks unreadable symlinks";
|
|
1484
|
+
exit 1;
|
|
1485
|
+
fi;
|
|
1486
|
+
return 0
|
|
1487
|
+
}
|
|
1488
|
+
noBrokenSymlinksInAllOutputs ()
|
|
1489
|
+
{
|
|
1490
|
+
|
|
1491
|
+
if [[ -z ${dontCheckForBrokenSymlinks-} ]]; then
|
|
1492
|
+
for output in $(getAllOutputNames);
|
|
1493
|
+
do
|
|
1494
|
+
noBrokenSymlinks "${!output}";
|
|
1495
|
+
done;
|
|
1496
|
+
fi
|
|
1497
|
+
}
|
|
1498
|
+
parallelMap ()
|
|
1499
|
+
{
|
|
1500
|
+
|
|
1501
|
+
function _wrapper ()
|
|
1502
|
+
{
|
|
1503
|
+
while IFS= read -r -d '' job; do
|
|
1504
|
+
"$@" "$job";
|
|
1505
|
+
done
|
|
1506
|
+
};
|
|
1507
|
+
parallelRun _wrapper "$@";
|
|
1508
|
+
unset -f _wrapper
|
|
1509
|
+
}
|
|
1510
|
+
parallelRun ()
|
|
1511
|
+
{
|
|
1512
|
+
|
|
1513
|
+
local pids;
|
|
1514
|
+
local lock;
|
|
1515
|
+
pids=();
|
|
1516
|
+
lock=$(mktemp -u);
|
|
1517
|
+
mkfifo "$lock";
|
|
1518
|
+
for ((i=0; i<NIX_BUILD_CORES; i++))
|
|
1519
|
+
do
|
|
1520
|
+
{
|
|
1521
|
+
exec 3< "$lock";
|
|
1522
|
+
exec 4> "$lock";
|
|
1523
|
+
local job;
|
|
1524
|
+
while :; do
|
|
1525
|
+
read -r -n1 > /dev/null 0<&3;
|
|
1526
|
+
if ! IFS= read -r -d '' job; then
|
|
1527
|
+
printf 'x' 1>&4;
|
|
1528
|
+
break;
|
|
1529
|
+
fi;
|
|
1530
|
+
printf 'y' 1>&4;
|
|
1531
|
+
printf '%s\0' "$job";
|
|
1532
|
+
done | "$@"
|
|
1533
|
+
} & pids[$i]=$!;
|
|
1534
|
+
done;
|
|
1535
|
+
printf 'a' > "$lock" & for pid in "${pids[@]}";
|
|
1536
|
+
do
|
|
1537
|
+
if ! wait "$pid"; then
|
|
1538
|
+
echo "A parallel job failed with exit code $? (check for errors above)" 1>&2;
|
|
1539
|
+
echo -e "Failing Command:\n $@" 1>&2;
|
|
1540
|
+
exit 1;
|
|
1541
|
+
fi;
|
|
1542
|
+
done;
|
|
1543
|
+
rm "$lock"
|
|
1544
|
+
}
|
|
1545
|
+
patchELF ()
|
|
1546
|
+
{
|
|
1547
|
+
|
|
1548
|
+
local dir="$1";
|
|
1549
|
+
[ -e "$dir" ] || return 0;
|
|
1550
|
+
echo "shrinking RPATHs of ELF executables and libraries in $dir";
|
|
1551
|
+
local i;
|
|
1552
|
+
while IFS= read -r -d '' i; do
|
|
1553
|
+
if [[ "$i" =~ .build-id ]]; then
|
|
1554
|
+
continue;
|
|
1555
|
+
fi;
|
|
1556
|
+
if ! isELF "$i"; then
|
|
1557
|
+
continue;
|
|
1558
|
+
fi;
|
|
1559
|
+
echo "shrinking $i";
|
|
1560
|
+
patchelf --shrink-rpath "$i" || true;
|
|
1561
|
+
done < <(find "$dir" -type f -print0)
|
|
1562
|
+
}
|
|
1563
|
+
patchPhase ()
|
|
1564
|
+
{
|
|
1565
|
+
|
|
1566
|
+
runHook prePatch;
|
|
1567
|
+
local -a patchesArray;
|
|
1568
|
+
concatTo patchesArray patches;
|
|
1569
|
+
for i in "${patchesArray[@]}";
|
|
1570
|
+
do
|
|
1571
|
+
echo "applying patch $i";
|
|
1572
|
+
local uncompress=cat;
|
|
1573
|
+
case "$i" in
|
|
1574
|
+
*.gz)
|
|
1575
|
+
uncompress="gzip -d"
|
|
1576
|
+
;;
|
|
1577
|
+
*.bz2)
|
|
1578
|
+
uncompress="bzip2 -d"
|
|
1579
|
+
;;
|
|
1580
|
+
*.xz)
|
|
1581
|
+
uncompress="xz -d"
|
|
1582
|
+
;;
|
|
1583
|
+
*.lzma)
|
|
1584
|
+
uncompress="lzma -d"
|
|
1585
|
+
;;
|
|
1586
|
+
esac;
|
|
1587
|
+
local -a flagsArray;
|
|
1588
|
+
concatTo flagsArray patchFlags=-p1;
|
|
1589
|
+
$uncompress < "$i" 2>&1 | patch "${flagsArray[@]}";
|
|
1590
|
+
done;
|
|
1591
|
+
runHook postPatch
|
|
1592
|
+
}
|
|
1593
|
+
patchShebangs ()
|
|
1594
|
+
{
|
|
1595
|
+
|
|
1596
|
+
local pathName;
|
|
1597
|
+
local update=false;
|
|
1598
|
+
while [[ $# -gt 0 ]]; do
|
|
1599
|
+
case "$1" in
|
|
1600
|
+
--host)
|
|
1601
|
+
pathName=HOST_PATH;
|
|
1602
|
+
shift
|
|
1603
|
+
;;
|
|
1604
|
+
--build)
|
|
1605
|
+
pathName=PATH;
|
|
1606
|
+
shift
|
|
1607
|
+
;;
|
|
1608
|
+
--update)
|
|
1609
|
+
update=true;
|
|
1610
|
+
shift
|
|
1611
|
+
;;
|
|
1612
|
+
--)
|
|
1613
|
+
shift;
|
|
1614
|
+
break
|
|
1615
|
+
;;
|
|
1616
|
+
-* | --*)
|
|
1617
|
+
echo "Unknown option $1 supplied to patchShebangs" 1>&2;
|
|
1618
|
+
return 1
|
|
1619
|
+
;;
|
|
1620
|
+
*)
|
|
1621
|
+
break
|
|
1622
|
+
;;
|
|
1623
|
+
esac;
|
|
1624
|
+
done;
|
|
1625
|
+
echo "patching script interpreter paths in $@";
|
|
1626
|
+
local f;
|
|
1627
|
+
local oldPath;
|
|
1628
|
+
local newPath;
|
|
1629
|
+
local arg0;
|
|
1630
|
+
local args;
|
|
1631
|
+
local oldInterpreterLine;
|
|
1632
|
+
local newInterpreterLine;
|
|
1633
|
+
if [[ $# -eq 0 ]]; then
|
|
1634
|
+
echo "No arguments supplied to patchShebangs" 1>&2;
|
|
1635
|
+
return 0;
|
|
1636
|
+
fi;
|
|
1637
|
+
local f;
|
|
1638
|
+
while IFS= read -r -d '' f; do
|
|
1639
|
+
isScript "$f" || continue;
|
|
1640
|
+
read -r oldInterpreterLine < "$f" || [ "$oldInterpreterLine" ];
|
|
1641
|
+
read -r oldPath arg0 args <<< "${oldInterpreterLine:2}";
|
|
1642
|
+
if [[ -z "${pathName:-}" ]]; then
|
|
1643
|
+
if [[ -n $strictDeps && $f == "$NIX_STORE"* ]]; then
|
|
1644
|
+
pathName=HOST_PATH;
|
|
1645
|
+
else
|
|
1646
|
+
pathName=PATH;
|
|
1647
|
+
fi;
|
|
1648
|
+
fi;
|
|
1649
|
+
if [[ "$oldPath" == *"/bin/env" ]]; then
|
|
1650
|
+
if [[ $arg0 == "-S" ]]; then
|
|
1651
|
+
arg0=${args%% *};
|
|
1652
|
+
[[ "$args" == *" "* ]] && args=${args#* } || args=;
|
|
1653
|
+
newPath="$(PATH="${!pathName}" type -P "env" || true)";
|
|
1654
|
+
args="-S $(PATH="${!pathName}" type -P "$arg0" || true) $args";
|
|
1655
|
+
else
|
|
1656
|
+
if [[ $arg0 == "-"* || $arg0 == *"="* ]]; then
|
|
1657
|
+
echo "$f: unsupported interpreter directive \"$oldInterpreterLine\" (set dontPatchShebangs=1 and handle shebang patching yourself)" 1>&2;
|
|
1658
|
+
exit 1;
|
|
1659
|
+
else
|
|
1660
|
+
newPath="$(PATH="${!pathName}" type -P "$arg0" || true)";
|
|
1661
|
+
fi;
|
|
1662
|
+
fi;
|
|
1663
|
+
else
|
|
1664
|
+
if [[ -z $oldPath ]]; then
|
|
1665
|
+
oldPath="/bin/sh";
|
|
1666
|
+
fi;
|
|
1667
|
+
newPath="$(PATH="${!pathName}" type -P "$(basename "$oldPath")" || true)";
|
|
1668
|
+
args="$arg0 $args";
|
|
1669
|
+
fi;
|
|
1670
|
+
newInterpreterLine="$newPath $args";
|
|
1671
|
+
newInterpreterLine=${newInterpreterLine%${newInterpreterLine##*[![:space:]]}};
|
|
1672
|
+
if [[ -n "$oldPath" && ( "$update" == true || "${oldPath:0:${#NIX_STORE}}" != "$NIX_STORE" ) ]]; then
|
|
1673
|
+
if [[ -n "$newPath" && "$newPath" != "$oldPath" ]]; then
|
|
1674
|
+
echo "$f: interpreter directive changed from \"$oldInterpreterLine\" to \"$newInterpreterLine\"";
|
|
1675
|
+
escapedInterpreterLine=${newInterpreterLine//\\/\\\\};
|
|
1676
|
+
timestamp=$(stat --printf "%y" "$f");
|
|
1677
|
+
sed -i -e "1 s|.*|#\!$escapedInterpreterLine|" "$f";
|
|
1678
|
+
touch --date "$timestamp" "$f";
|
|
1679
|
+
fi;
|
|
1680
|
+
fi;
|
|
1681
|
+
done < <(find "$@" -type f -perm -0100 -print0)
|
|
1682
|
+
}
|
|
1683
|
+
patchShebangsAuto ()
|
|
1684
|
+
{
|
|
1685
|
+
|
|
1686
|
+
if [[ -z "${dontPatchShebangs-}" && -e "$prefix" ]]; then
|
|
1687
|
+
if [[ "$output" != out && "$output" = "$outputDev" ]]; then
|
|
1688
|
+
patchShebangs --build "$prefix";
|
|
1689
|
+
else
|
|
1690
|
+
patchShebangs --host "$prefix";
|
|
1691
|
+
fi;
|
|
1692
|
+
fi
|
|
1693
|
+
}
|
|
1694
|
+
prependToVar ()
|
|
1695
|
+
{
|
|
1696
|
+
|
|
1697
|
+
local -n nameref="$1";
|
|
1698
|
+
local useArray type;
|
|
1699
|
+
if [ -n "$__structuredAttrs" ]; then
|
|
1700
|
+
useArray=true;
|
|
1701
|
+
else
|
|
1702
|
+
useArray=false;
|
|
1703
|
+
fi;
|
|
1704
|
+
if type=$(declare -p "$1" 2> /dev/null); then
|
|
1705
|
+
case "${type#* }" in
|
|
1706
|
+
-A*)
|
|
1707
|
+
echo "prependToVar(): ERROR: trying to use prependToVar on an associative array." 1>&2;
|
|
1708
|
+
return 1
|
|
1709
|
+
;;
|
|
1710
|
+
-a*)
|
|
1711
|
+
useArray=true
|
|
1712
|
+
;;
|
|
1713
|
+
*)
|
|
1714
|
+
useArray=false
|
|
1715
|
+
;;
|
|
1716
|
+
esac;
|
|
1717
|
+
fi;
|
|
1718
|
+
shift;
|
|
1719
|
+
if $useArray; then
|
|
1720
|
+
nameref=("$@" ${nameref+"${nameref[@]}"});
|
|
1721
|
+
else
|
|
1722
|
+
nameref="$* ${nameref-}";
|
|
1723
|
+
fi
|
|
1724
|
+
}
|
|
1725
|
+
printLines ()
|
|
1726
|
+
{
|
|
1727
|
+
|
|
1728
|
+
(( "$#" > 0 )) || return 0;
|
|
1729
|
+
printf '%s\n' "$@"
|
|
1730
|
+
}
|
|
1731
|
+
printWords ()
|
|
1732
|
+
{
|
|
1733
|
+
|
|
1734
|
+
(( "$#" > 0 )) || return 0;
|
|
1735
|
+
printf '%s ' "$@"
|
|
1736
|
+
}
|
|
1737
|
+
recordPropagatedDependencies ()
|
|
1738
|
+
{
|
|
1739
|
+
|
|
1740
|
+
declare -ra flatVars=(depsBuildBuildPropagated propagatedNativeBuildInputs depsBuildTargetPropagated depsHostHostPropagated propagatedBuildInputs depsTargetTargetPropagated);
|
|
1741
|
+
declare -ra flatFiles=("${propagatedBuildDepFiles[@]}" "${propagatedHostDepFiles[@]}" "${propagatedTargetDepFiles[@]}");
|
|
1742
|
+
local propagatedInputsIndex;
|
|
1743
|
+
for propagatedInputsIndex in "${!flatVars[@]}";
|
|
1744
|
+
do
|
|
1745
|
+
local propagatedInputsSlice="${flatVars[$propagatedInputsIndex]}[@]";
|
|
1746
|
+
local propagatedInputsFile="${flatFiles[$propagatedInputsIndex]}";
|
|
1747
|
+
[[ -n "${!propagatedInputsSlice}" ]] || continue;
|
|
1748
|
+
mkdir -p "${!outputDev}/nix-support";
|
|
1749
|
+
printWords ${!propagatedInputsSlice} > "${!outputDev}/nix-support/$propagatedInputsFile";
|
|
1750
|
+
done
|
|
1751
|
+
}
|
|
1752
|
+
runHook ()
|
|
1753
|
+
{
|
|
1754
|
+
|
|
1755
|
+
local hookName="$1";
|
|
1756
|
+
shift;
|
|
1757
|
+
local hooksSlice="${hookName%Hook}Hooks[@]";
|
|
1758
|
+
local hook;
|
|
1759
|
+
for hook in "_callImplicitHook 0 $hookName" ${!hooksSlice+"${!hooksSlice}"};
|
|
1760
|
+
do
|
|
1761
|
+
_logHook "$hookName" "$hook" "$@";
|
|
1762
|
+
_eval "$hook" "$@";
|
|
1763
|
+
done;
|
|
1764
|
+
return 0
|
|
1765
|
+
}
|
|
1766
|
+
runOneHook ()
|
|
1767
|
+
{
|
|
1768
|
+
|
|
1769
|
+
local hookName="$1";
|
|
1770
|
+
shift;
|
|
1771
|
+
local hooksSlice="${hookName%Hook}Hooks[@]";
|
|
1772
|
+
local hook ret=1;
|
|
1773
|
+
for hook in "_callImplicitHook 1 $hookName" ${!hooksSlice+"${!hooksSlice}"};
|
|
1774
|
+
do
|
|
1775
|
+
_logHook "$hookName" "$hook" "$@";
|
|
1776
|
+
if _eval "$hook" "$@"; then
|
|
1777
|
+
ret=0;
|
|
1778
|
+
break;
|
|
1779
|
+
fi;
|
|
1780
|
+
done;
|
|
1781
|
+
return "$ret"
|
|
1782
|
+
}
|
|
1783
|
+
runPhase ()
|
|
1784
|
+
{
|
|
1785
|
+
|
|
1786
|
+
local curPhase="$*";
|
|
1787
|
+
if [[ "$curPhase" = unpackPhase && -n "${dontUnpack:-}" ]]; then
|
|
1788
|
+
return;
|
|
1789
|
+
fi;
|
|
1790
|
+
if [[ "$curPhase" = patchPhase && -n "${dontPatch:-}" ]]; then
|
|
1791
|
+
return;
|
|
1792
|
+
fi;
|
|
1793
|
+
if [[ "$curPhase" = configurePhase && -n "${dontConfigure:-}" ]]; then
|
|
1794
|
+
return;
|
|
1795
|
+
fi;
|
|
1796
|
+
if [[ "$curPhase" = buildPhase && -n "${dontBuild:-}" ]]; then
|
|
1797
|
+
return;
|
|
1798
|
+
fi;
|
|
1799
|
+
if [[ "$curPhase" = checkPhase && -z "${doCheck:-}" ]]; then
|
|
1800
|
+
return;
|
|
1801
|
+
fi;
|
|
1802
|
+
if [[ "$curPhase" = installPhase && -n "${dontInstall:-}" ]]; then
|
|
1803
|
+
return;
|
|
1804
|
+
fi;
|
|
1805
|
+
if [[ "$curPhase" = fixupPhase && -n "${dontFixup:-}" ]]; then
|
|
1806
|
+
return;
|
|
1807
|
+
fi;
|
|
1808
|
+
if [[ "$curPhase" = installCheckPhase && -z "${doInstallCheck:-}" ]]; then
|
|
1809
|
+
return;
|
|
1810
|
+
fi;
|
|
1811
|
+
if [[ "$curPhase" = distPhase && -z "${doDist:-}" ]]; then
|
|
1812
|
+
return;
|
|
1813
|
+
fi;
|
|
1814
|
+
showPhaseHeader "$curPhase";
|
|
1815
|
+
dumpVars;
|
|
1816
|
+
local startTime endTime;
|
|
1817
|
+
startTime=$(date +"%s");
|
|
1818
|
+
eval "${!curPhase:-$curPhase}";
|
|
1819
|
+
endTime=$(date +"%s");
|
|
1820
|
+
showPhaseFooter "$curPhase" "$startTime" "$endTime";
|
|
1821
|
+
if [ "$curPhase" = unpackPhase ]; then
|
|
1822
|
+
[ -n "${sourceRoot:-}" ] && chmod +x -- "${sourceRoot}";
|
|
1823
|
+
cd -- "${sourceRoot:-.}";
|
|
1824
|
+
fi
|
|
1825
|
+
}
|
|
1826
|
+
showPhaseFooter ()
|
|
1827
|
+
{
|
|
1828
|
+
|
|
1829
|
+
local phase="$1";
|
|
1830
|
+
local startTime="$2";
|
|
1831
|
+
local endTime="$3";
|
|
1832
|
+
local delta=$(( endTime - startTime ));
|
|
1833
|
+
(( delta < 30 )) && return;
|
|
1834
|
+
local H=$((delta/3600));
|
|
1835
|
+
local M=$((delta%3600/60));
|
|
1836
|
+
local S=$((delta%60));
|
|
1837
|
+
echo -n "$phase completed in ";
|
|
1838
|
+
(( H > 0 )) && echo -n "$H hours ";
|
|
1839
|
+
(( M > 0 )) && echo -n "$M minutes ";
|
|
1840
|
+
echo "$S seconds"
|
|
1841
|
+
}
|
|
1842
|
+
showPhaseHeader ()
|
|
1843
|
+
{
|
|
1844
|
+
|
|
1845
|
+
local phase="$1";
|
|
1846
|
+
echo "Running phase: $phase";
|
|
1847
|
+
if [[ -z ${NIX_LOG_FD-} ]]; then
|
|
1848
|
+
return;
|
|
1849
|
+
fi;
|
|
1850
|
+
printf "@nix { \"action\": \"setPhase\", \"phase\": \"%s\" }\n" "$phase" >&"$NIX_LOG_FD"
|
|
1851
|
+
}
|
|
1852
|
+
stripDirs ()
|
|
1853
|
+
{
|
|
1854
|
+
|
|
1855
|
+
local cmd="$1";
|
|
1856
|
+
local ranlibCmd="$2";
|
|
1857
|
+
local paths="$3";
|
|
1858
|
+
local stripFlags="$4";
|
|
1859
|
+
local excludeFlags=();
|
|
1860
|
+
local pathsNew=;
|
|
1861
|
+
[ -z "$cmd" ] && echo "stripDirs: Strip command is empty" 1>&2 && exit 1;
|
|
1862
|
+
[ -z "$ranlibCmd" ] && echo "stripDirs: Ranlib command is empty" 1>&2 && exit 1;
|
|
1863
|
+
local pattern;
|
|
1864
|
+
if [ -n "${stripExclude:-}" ]; then
|
|
1865
|
+
for pattern in "${stripExclude[@]}";
|
|
1866
|
+
do
|
|
1867
|
+
excludeFlags+=(-a '!' '(' -name "$pattern" -o -wholename "$prefix/$pattern" ')');
|
|
1868
|
+
done;
|
|
1869
|
+
fi;
|
|
1870
|
+
local p;
|
|
1871
|
+
for p in ${paths};
|
|
1872
|
+
do
|
|
1873
|
+
if [ -e "$prefix/$p" ]; then
|
|
1874
|
+
pathsNew="${pathsNew} $prefix/$p";
|
|
1875
|
+
fi;
|
|
1876
|
+
done;
|
|
1877
|
+
paths=${pathsNew};
|
|
1878
|
+
if [ -n "${paths}" ]; then
|
|
1879
|
+
echo "stripping (with command $cmd and flags $stripFlags) in $paths";
|
|
1880
|
+
local striperr;
|
|
1881
|
+
striperr="$(mktemp --tmpdir="$TMPDIR" 'striperr.XXXXXX')";
|
|
1882
|
+
find $paths -type f "${excludeFlags[@]}" -a '!' -path "$prefix/lib/debug/*" -printf '%D-%i,%p\0' | sort -t, -k1,1 -u -z | cut -d, -f2- -z | xargs -r -0 -n1 -P "$NIX_BUILD_CORES" -- $cmd $stripFlags 2> "$striperr" || exit_code=$?;
|
|
1883
|
+
[[ "$exit_code" = 123 || -z "$exit_code" ]] || ( cat "$striperr" 1>&2 && exit 1 );
|
|
1884
|
+
rm "$striperr";
|
|
1885
|
+
find $paths -name '*.a' -type f -exec $ranlibCmd '{}' \; 2> /dev/null;
|
|
1886
|
+
fi
|
|
1887
|
+
}
|
|
1888
|
+
stripHash ()
|
|
1889
|
+
{
|
|
1890
|
+
|
|
1891
|
+
local strippedName casematchOpt=0;
|
|
1892
|
+
strippedName="$(basename -- "$1")";
|
|
1893
|
+
shopt -q nocasematch && casematchOpt=1;
|
|
1894
|
+
shopt -u nocasematch;
|
|
1895
|
+
if [[ "$strippedName" =~ ^[a-z0-9]{32}- ]]; then
|
|
1896
|
+
echo "${strippedName:33}";
|
|
1897
|
+
else
|
|
1898
|
+
echo "$strippedName";
|
|
1899
|
+
fi;
|
|
1900
|
+
if (( casematchOpt )); then
|
|
1901
|
+
shopt -s nocasematch;
|
|
1902
|
+
fi
|
|
1903
|
+
}
|
|
1904
|
+
substitute ()
|
|
1905
|
+
{
|
|
1906
|
+
|
|
1907
|
+
local input="$1";
|
|
1908
|
+
local output="$2";
|
|
1909
|
+
shift 2;
|
|
1910
|
+
if [ ! -f "$input" ]; then
|
|
1911
|
+
echo "substitute(): ERROR: file '$input' does not exist" 1>&2;
|
|
1912
|
+
return 1;
|
|
1913
|
+
fi;
|
|
1914
|
+
local content;
|
|
1915
|
+
consumeEntire content < "$input";
|
|
1916
|
+
if [ -e "$output" ]; then
|
|
1917
|
+
chmod +w "$output";
|
|
1918
|
+
fi;
|
|
1919
|
+
substituteStream content "file '$input'" "$@" > "$output"
|
|
1920
|
+
}
|
|
1921
|
+
substituteAll ()
|
|
1922
|
+
{
|
|
1923
|
+
|
|
1924
|
+
local input="$1";
|
|
1925
|
+
local output="$2";
|
|
1926
|
+
local -a args=();
|
|
1927
|
+
_allFlags;
|
|
1928
|
+
substitute "$input" "$output" "${args[@]}"
|
|
1929
|
+
}
|
|
1930
|
+
substituteAllInPlace ()
|
|
1931
|
+
{
|
|
1932
|
+
|
|
1933
|
+
local fileName="$1";
|
|
1934
|
+
shift;
|
|
1935
|
+
substituteAll "$fileName" "$fileName" "$@"
|
|
1936
|
+
}
|
|
1937
|
+
substituteAllStream ()
|
|
1938
|
+
{
|
|
1939
|
+
|
|
1940
|
+
local -a args=();
|
|
1941
|
+
_allFlags;
|
|
1942
|
+
substituteStream "$1" "$2" "${args[@]}"
|
|
1943
|
+
}
|
|
1944
|
+
substituteInPlace ()
|
|
1945
|
+
{
|
|
1946
|
+
|
|
1947
|
+
local -a fileNames=();
|
|
1948
|
+
for arg in "$@";
|
|
1949
|
+
do
|
|
1950
|
+
if [[ "$arg" = "--"* ]]; then
|
|
1951
|
+
break;
|
|
1952
|
+
fi;
|
|
1953
|
+
fileNames+=("$arg");
|
|
1954
|
+
shift;
|
|
1955
|
+
done;
|
|
1956
|
+
if ! [[ "${#fileNames[@]}" -gt 0 ]]; then
|
|
1957
|
+
echo "substituteInPlace called without any files to operate on (files must come before options!)" 1>&2;
|
|
1958
|
+
return 1;
|
|
1959
|
+
fi;
|
|
1960
|
+
for file in "${fileNames[@]}";
|
|
1961
|
+
do
|
|
1962
|
+
substitute "$file" "$file" "$@";
|
|
1963
|
+
done
|
|
1964
|
+
}
|
|
1965
|
+
substituteStream ()
|
|
1966
|
+
{
|
|
1967
|
+
|
|
1968
|
+
local var=$1;
|
|
1969
|
+
local description=$2;
|
|
1970
|
+
shift 2;
|
|
1971
|
+
while (( "$#" )); do
|
|
1972
|
+
local replace_mode="$1";
|
|
1973
|
+
case "$1" in
|
|
1974
|
+
--replace)
|
|
1975
|
+
if ! "$_substituteStream_has_warned_replace_deprecation"; then
|
|
1976
|
+
echo "substituteStream() in derivation $name: WARNING: '--replace' is deprecated, use --replace-{fail,warn,quiet}. ($description)" 1>&2;
|
|
1977
|
+
_substituteStream_has_warned_replace_deprecation=true;
|
|
1978
|
+
fi;
|
|
1979
|
+
replace_mode='--replace-warn'
|
|
1980
|
+
;&
|
|
1981
|
+
--replace-quiet | --replace-warn | --replace-fail)
|
|
1982
|
+
pattern="$2";
|
|
1983
|
+
replacement="$3";
|
|
1984
|
+
shift 3;
|
|
1985
|
+
if ! [[ "${!var}" == *"$pattern"* ]]; then
|
|
1986
|
+
if [ "$replace_mode" == --replace-warn ]; then
|
|
1987
|
+
printf "substituteStream() in derivation $name: WARNING: pattern %q doesn't match anything in %s\n" "$pattern" "$description" 1>&2;
|
|
1988
|
+
else
|
|
1989
|
+
if [ "$replace_mode" == --replace-fail ]; then
|
|
1990
|
+
printf "substituteStream() in derivation $name: ERROR: pattern %q doesn't match anything in %s\n" "$pattern" "$description" 1>&2;
|
|
1991
|
+
return 1;
|
|
1992
|
+
fi;
|
|
1993
|
+
fi;
|
|
1994
|
+
fi;
|
|
1995
|
+
eval "$var"'=${'"$var"'//"$pattern"/"$replacement"}'
|
|
1996
|
+
;;
|
|
1997
|
+
--subst-var)
|
|
1998
|
+
local varName="$2";
|
|
1999
|
+
shift 2;
|
|
2000
|
+
if ! [[ "$varName" =~ ^[a-zA-Z_][a-zA-Z0-9_]*$ ]]; then
|
|
2001
|
+
echo "substituteStream() in derivation $name: ERROR: substitution variables must be valid Bash names, \"$varName\" isn't." 1>&2;
|
|
2002
|
+
return 1;
|
|
2003
|
+
fi;
|
|
2004
|
+
if [ -z ${!varName+x} ]; then
|
|
2005
|
+
echo "substituteStream() in derivation $name: ERROR: variable \$$varName is unset" 1>&2;
|
|
2006
|
+
return 1;
|
|
2007
|
+
fi;
|
|
2008
|
+
pattern="@$varName@";
|
|
2009
|
+
replacement="${!varName}";
|
|
2010
|
+
eval "$var"'=${'"$var"'//"$pattern"/"$replacement"}'
|
|
2011
|
+
;;
|
|
2012
|
+
--subst-var-by)
|
|
2013
|
+
pattern="@$2@";
|
|
2014
|
+
replacement="$3";
|
|
2015
|
+
eval "$var"'=${'"$var"'//"$pattern"/"$replacement"}';
|
|
2016
|
+
shift 3
|
|
2017
|
+
;;
|
|
2018
|
+
*)
|
|
2019
|
+
echo "substituteStream() in derivation $name: ERROR: Invalid command line argument: $1" 1>&2;
|
|
2020
|
+
return 1
|
|
2021
|
+
;;
|
|
2022
|
+
esac;
|
|
2023
|
+
done;
|
|
2024
|
+
printf "%s" "${!var}"
|
|
2025
|
+
}
|
|
2026
|
+
unpackFile ()
|
|
2027
|
+
{
|
|
2028
|
+
|
|
2029
|
+
curSrc="$1";
|
|
2030
|
+
echo "unpacking source archive $curSrc";
|
|
2031
|
+
if ! runOneHook unpackCmd "$curSrc"; then
|
|
2032
|
+
echo "do not know how to unpack source archive $curSrc";
|
|
2033
|
+
exit 1;
|
|
2034
|
+
fi
|
|
2035
|
+
}
|
|
2036
|
+
unpackPhase ()
|
|
2037
|
+
{
|
|
2038
|
+
|
|
2039
|
+
runHook preUnpack;
|
|
2040
|
+
if [ -z "${srcs:-}" ]; then
|
|
2041
|
+
if [ -z "${src:-}" ]; then
|
|
2042
|
+
echo 'variable $src or $srcs should point to the source';
|
|
2043
|
+
exit 1;
|
|
2044
|
+
fi;
|
|
2045
|
+
srcs="$src";
|
|
2046
|
+
fi;
|
|
2047
|
+
local -a srcsArray;
|
|
2048
|
+
concatTo srcsArray srcs;
|
|
2049
|
+
local dirsBefore="";
|
|
2050
|
+
for i in *;
|
|
2051
|
+
do
|
|
2052
|
+
if [ -d "$i" ]; then
|
|
2053
|
+
dirsBefore="$dirsBefore $i ";
|
|
2054
|
+
fi;
|
|
2055
|
+
done;
|
|
2056
|
+
for i in "${srcsArray[@]}";
|
|
2057
|
+
do
|
|
2058
|
+
unpackFile "$i";
|
|
2059
|
+
done;
|
|
2060
|
+
: "${sourceRoot=}";
|
|
2061
|
+
if [ -n "${setSourceRoot:-}" ]; then
|
|
2062
|
+
runOneHook setSourceRoot;
|
|
2063
|
+
else
|
|
2064
|
+
if [ -z "$sourceRoot" ]; then
|
|
2065
|
+
for i in *;
|
|
2066
|
+
do
|
|
2067
|
+
if [ -d "$i" ]; then
|
|
2068
|
+
case $dirsBefore in
|
|
2069
|
+
*\ $i\ *)
|
|
2070
|
+
|
|
2071
|
+
;;
|
|
2072
|
+
*)
|
|
2073
|
+
if [ -n "$sourceRoot" ]; then
|
|
2074
|
+
echo "unpacker produced multiple directories";
|
|
2075
|
+
exit 1;
|
|
2076
|
+
fi;
|
|
2077
|
+
sourceRoot="$i"
|
|
2078
|
+
;;
|
|
2079
|
+
esac;
|
|
2080
|
+
fi;
|
|
2081
|
+
done;
|
|
2082
|
+
fi;
|
|
2083
|
+
fi;
|
|
2084
|
+
if [ -z "$sourceRoot" ]; then
|
|
2085
|
+
echo "unpacker appears to have produced no directories";
|
|
2086
|
+
exit 1;
|
|
2087
|
+
fi;
|
|
2088
|
+
echo "source root is $sourceRoot";
|
|
2089
|
+
if [ "${dontMakeSourcesWritable:-0}" != 1 ]; then
|
|
2090
|
+
chmod -R u+w -- "$sourceRoot";
|
|
2091
|
+
fi;
|
|
2092
|
+
runHook postUnpack
|
|
2093
|
+
}
|
|
2094
|
+
updateAutotoolsGnuConfigScriptsPhase ()
|
|
2095
|
+
{
|
|
2096
|
+
|
|
2097
|
+
if [ -n "${dontUpdateAutotoolsGnuConfigScripts-}" ]; then
|
|
2098
|
+
return;
|
|
2099
|
+
fi;
|
|
2100
|
+
for script in config.sub config.guess;
|
|
2101
|
+
do
|
|
2102
|
+
for f in $(find . -type f -name "$script");
|
|
2103
|
+
do
|
|
2104
|
+
echo "Updating Autotools / GNU config script to a newer upstream version: $f";
|
|
2105
|
+
cp -f "/nix/store/s3dj57ywp7j6az9xbc3yssjlwnlw335q-gnu-config-2024-01-01/$script" "$f";
|
|
2106
|
+
done;
|
|
2107
|
+
done
|
|
2108
|
+
}
|
|
2109
|
+
updateSourceDateEpoch ()
|
|
2110
|
+
{
|
|
2111
|
+
|
|
2112
|
+
local path="$1";
|
|
2113
|
+
[[ $path == -* ]] && path="./$path";
|
|
2114
|
+
local -a res=($(find "$path" -type f -not -newer "$NIX_BUILD_TOP/.." -printf '%T@ "%p"\0' | sort -n --zero-terminated | tail -n1 --zero-terminated | head -c -1));
|
|
2115
|
+
local time="${res[0]//\.[0-9]*/}";
|
|
2116
|
+
local newestFile="${res[1]}";
|
|
2117
|
+
if [ "${time:-0}" -gt "$SOURCE_DATE_EPOCH" ]; then
|
|
2118
|
+
echo "setting SOURCE_DATE_EPOCH to timestamp $time of file $newestFile";
|
|
2119
|
+
export SOURCE_DATE_EPOCH="$time";
|
|
2120
|
+
local now="$(date +%s)";
|
|
2121
|
+
if [ "$time" -gt $((now - 60)) ]; then
|
|
2122
|
+
echo "warning: file $newestFile may be generated; SOURCE_DATE_EPOCH may be non-deterministic";
|
|
2123
|
+
fi;
|
|
2124
|
+
fi
|
|
2125
|
+
}
|
|
2126
|
+
PATH="$PATH${nix_saved_PATH:+:$nix_saved_PATH}"
|
|
2127
|
+
XDG_DATA_DIRS="$XDG_DATA_DIRS${nix_saved_XDG_DATA_DIRS:+:$nix_saved_XDG_DATA_DIRS}"
|
|
2128
|
+
export NIX_BUILD_TOP="$(mktemp -d -t nix-shell.XXXXXX)"
|
|
2129
|
+
export TMP="$NIX_BUILD_TOP"
|
|
2130
|
+
export TMPDIR="$NIX_BUILD_TOP"
|
|
2131
|
+
export TEMP="$NIX_BUILD_TOP"
|
|
2132
|
+
export TEMPDIR="$NIX_BUILD_TOP"
|
|
2133
|
+
eval "${shellHook:-}"
|
|
2134
|
+
|