jets_bb_fork 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.circleci/bin/commit_docs.sh +26 -0
- data/.circleci/config.yml +126 -0
- data/.codebuild/README.md +68 -0
- data/.codebuild/bin/jets +3 -0
- data/.codebuild/buildspec-base.yml +14 -0
- data/.codebuild/integration.sh +72 -0
- data/.codebuild/jets.postman_collection.json +323 -0
- data/.codebuild/scripts/install-docker.sh +12 -0
- data/.codebuild/scripts/install-dynamodb-local.sh +22 -0
- data/.codebuild/scripts/install-java.sh +22 -0
- data/.codebuild/scripts/install-node.sh +4 -0
- data/.github/ISSUE_TEMPLATE.md +7 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +84 -0
- data/.github/ISSUE_TEMPLATE/documentation.md +27 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +64 -0
- data/.github/ISSUE_TEMPLATE/question.md +16 -0
- data/.github/PULL_REQUEST_TEMPLATE.md +42 -0
- data/.gitignore +24 -0
- data/.gitmodules +0 -0
- data/.python-version +1 -0
- data/.rspec +4 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +734 -0
- data/CONDUCT.md +1 -0
- data/CONTRIBUTING.md +1 -0
- data/Dockerfile +16 -0
- data/Dockerfile.base +53 -0
- data/Gemfile +14 -0
- data/Guardfile +22 -0
- data/LICENSE.txt +22 -0
- data/Procfile +2 -0
- data/README.md +203 -0
- data/Rakefile +24 -0
- data/backers.md +16 -0
- data/bin/release +9 -0
- data/buildspec.yml +18 -0
- data/exe/jets_bb_fork +14 -0
- data/jets.gemspec +68 -0
- data/lib/jets.rb +27 -0
- data/lib/jets/application.rb +216 -0
- data/lib/jets/application/defaults.rb +172 -0
- data/lib/jets/autoloaders.rb +97 -0
- data/lib/jets/aws_info.rb +113 -0
- data/lib/jets/aws_services.rb +65 -0
- data/lib/jets/aws_services/global_memoist.rb +57 -0
- data/lib/jets/aws_services/s3_bucket.rb +34 -0
- data/lib/jets/aws_services/stack_status.rb +59 -0
- data/lib/jets/booter.rb +119 -0
- data/lib/jets/builders/code_builder.rb +399 -0
- data/lib/jets/builders/code_size.rb +57 -0
- data/lib/jets/builders/gem_replacer.rb +76 -0
- data/lib/jets/builders/handler_generator.rb +186 -0
- data/lib/jets/builders/lambda_layer.rb +69 -0
- data/lib/jets/builders/md5.rb +60 -0
- data/lib/jets/builders/md5_zip.rb +61 -0
- data/lib/jets/builders/purger.rb +35 -0
- data/lib/jets/builders/rack_packager.rb +51 -0
- data/lib/jets/builders/rackup_wrappers/rackup +19 -0
- data/lib/jets/builders/rackup_wrappers/rackup.rb +7 -0
- data/lib/jets/builders/reconfigure_rails.rb +114 -0
- data/lib/jets/builders/reconfigure_rails/config/initializers/jets.rb +16 -0
- data/lib/jets/builders/ruby_packager.rb +207 -0
- data/lib/jets/builders/shim_vars/app.rb +78 -0
- data/lib/jets/builders/shim_vars/base.rb +25 -0
- data/lib/jets/builders/shim_vars/shared.rb +37 -0
- data/lib/jets/builders/templates/handler.rb +12 -0
- data/lib/jets/builders/tidy.rb +107 -0
- data/lib/jets/builders/util.rb +31 -0
- data/lib/jets/bundle.rb +82 -0
- data/lib/jets/camelizer.rb +71 -0
- data/lib/jets/cfn/builders/api_deployment_builder.rb +63 -0
- data/lib/jets/cfn/builders/api_gateway_builder.rb +157 -0
- data/lib/jets/cfn/builders/base_child_builder.rb +75 -0
- data/lib/jets/cfn/builders/controller_builder.rb +42 -0
- data/lib/jets/cfn/builders/function_builder.rb +14 -0
- data/lib/jets/cfn/builders/interface.rb +137 -0
- data/lib/jets/cfn/builders/job_builder.rb +14 -0
- data/lib/jets/cfn/builders/paged.rb +37 -0
- data/lib/jets/cfn/builders/parent_builder.rb +100 -0
- data/lib/jets/cfn/builders/rule_builder.rb +24 -0
- data/lib/jets/cfn/builders/shared_builder.rb +14 -0
- data/lib/jets/cfn/ship.rb +185 -0
- data/lib/jets/cfn/status.rb +212 -0
- data/lib/jets/cfn/upload.rb +139 -0
- data/lib/jets/cli.rb +194 -0
- data/lib/jets/commands/base.rb +146 -0
- data/lib/jets/commands/build.rb +234 -0
- data/lib/jets/commands/call.rb +169 -0
- data/lib/jets/commands/call/anonymous_guesser.rb +96 -0
- data/lib/jets/commands/call/autoload_guesser.rb +136 -0
- data/lib/jets/commands/call/base_guesser.rb +60 -0
- data/lib/jets/commands/call/guesser.rb +48 -0
- data/lib/jets/commands/clean.rb +19 -0
- data/lib/jets/commands/clean/base.rb +24 -0
- data/lib/jets/commands/clean/build.rb +13 -0
- data/lib/jets/commands/clean/log.rb +107 -0
- data/lib/jets/commands/console.rb +12 -0
- data/lib/jets/commands/db.rb +13 -0
- data/lib/jets/commands/db/environment-task.rake +3 -0
- data/lib/jets/commands/db/tasks.rb +44 -0
- data/lib/jets/commands/dbconsole.rb +131 -0
- data/lib/jets/commands/delete.rb +143 -0
- data/lib/jets/commands/deploy.rb +141 -0
- data/lib/jets/commands/dynamodb.rb +19 -0
- data/lib/jets/commands/dynamodb/migrate.rb +9 -0
- data/lib/jets/commands/dynamodb/migrator.rb +36 -0
- data/lib/jets/commands/gems.rb +21 -0
- data/lib/jets/commands/help.rb +9 -0
- data/lib/jets/commands/help/build.md +6 -0
- data/lib/jets/commands/help/call.md +61 -0
- data/lib/jets/commands/help/clean/build.md +5 -0
- data/lib/jets/commands/help/clean/log.md +5 -0
- data/lib/jets/commands/help/console.md +18 -0
- data/lib/jets/commands/help/db/generate.md +8 -0
- data/lib/jets/commands/help/dbconsole.md +9 -0
- data/lib/jets/commands/help/delete.md +22 -0
- data/lib/jets/commands/help/deploy.md +32 -0
- data/lib/jets/commands/help/destroy.md +16 -0
- data/lib/jets/commands/help/dynamodb/generate.md +52 -0
- data/lib/jets/commands/help/dynamodb/migrate.md +4 -0
- data/lib/jets/commands/help/gems/check.md +8 -0
- data/lib/jets/commands/help/generate.md +22 -0
- data/lib/jets/commands/help/import/rack.md +13 -0
- data/lib/jets/commands/help/import/rails.md +11 -0
- data/lib/jets/commands/help/new.md +42 -0
- data/lib/jets/commands/help/routes.md +16 -0
- data/lib/jets/commands/help/runner.md +17 -0
- data/lib/jets/commands/help/server.md +15 -0
- data/lib/jets/commands/help/status.md +14 -0
- data/lib/jets/commands/help/upgrade.md +5 -0
- data/lib/jets/commands/help/url.md +6 -0
- data/lib/jets/commands/import.rb +12 -0
- data/lib/jets/commands/import/base.rb +49 -0
- data/lib/jets/commands/import/cheatsheet.rb +35 -0
- data/lib/jets/commands/import/rack.rb +16 -0
- data/lib/jets/commands/import/rails.rb +74 -0
- data/lib/jets/commands/import/sequence.rb +90 -0
- data/lib/jets/commands/import/templates/config/database.yml +26 -0
- data/lib/jets/commands/import/templates/submodules-cheatsheet.md +89 -0
- data/lib/jets/commands/main.rb +157 -0
- data/lib/jets/commands/markdown/creator.rb +58 -0
- data/lib/jets/commands/markdown/index.rb +27 -0
- data/lib/jets/commands/markdown/page.rb +125 -0
- data/lib/jets/commands/markdown/shell.rb +11 -0
- data/lib/jets/commands/new.rb +157 -0
- data/lib/jets/commands/rake_command.rb +61 -0
- data/lib/jets/commands/rake_tasks.rb +46 -0
- data/lib/jets/commands/runner.rb +16 -0
- data/lib/jets/commands/sequence.rb +99 -0
- data/lib/jets/commands/stack_info.rb +30 -0
- data/lib/jets/commands/templates/skeleton/.gitignore +12 -0
- data/lib/jets/commands/templates/skeleton/.jetskeep +1 -0
- data/lib/jets/commands/templates/skeleton/.rspec +3 -0
- data/lib/jets/commands/templates/skeleton/Gemfile.tt +38 -0
- data/lib/jets/commands/templates/skeleton/Procfile +7 -0
- data/lib/jets/commands/templates/skeleton/README.md +11 -0
- data/lib/jets/commands/templates/skeleton/Rakefile +2 -0
- data/lib/jets/commands/templates/skeleton/app/controllers/application_controller.rb +2 -0
- data/lib/jets/commands/templates/skeleton/app/helpers/application_helper.rb +2 -0
- data/lib/jets/commands/templates/skeleton/app/jobs/application_job.rb +4 -0
- data/lib/jets/commands/templates/skeleton/app/models/application_item.rb +2 -0
- data/lib/jets/commands/templates/skeleton/app/models/application_record.rb +3 -0
- data/lib/jets/commands/templates/skeleton/app/views/layouts/application.html.erb.tt +25 -0
- data/lib/jets/commands/templates/skeleton/config.ru +5 -0
- data/lib/jets/commands/templates/skeleton/config/application.rb.tt +67 -0
- data/lib/jets/commands/templates/skeleton/config/database.yml.tt +26 -0
- data/lib/jets/commands/templates/skeleton/config/dynamodb.yml +22 -0
- data/lib/jets/commands/templates/skeleton/config/environments/development.rb +7 -0
- data/lib/jets/commands/templates/skeleton/config/environments/production.rb +9 -0
- data/lib/jets/commands/templates/skeleton/config/environments/test.rb +7 -0
- data/lib/jets/commands/templates/skeleton/config/routes.rb +9 -0
- data/lib/jets/commands/templates/skeleton/db/.gitkeep +0 -0
- data/lib/jets/commands/templates/skeleton/public/404.html +67 -0
- data/lib/jets/commands/templates/skeleton/public/422.html +67 -0
- data/lib/jets/commands/templates/skeleton/public/500.html +66 -0
- data/lib/jets/commands/templates/skeleton/public/favicon.ico +0 -0
- data/lib/jets/commands/templates/skeleton/public/index.html.tt +91 -0
- data/lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb +15 -0
- data/lib/jets/commands/templates/skeleton/spec/fixtures/payloads/posts-index.json +51 -0
- data/lib/jets/commands/templates/skeleton/spec/fixtures/payloads/posts-show.json +53 -0
- data/lib/jets/commands/templates/skeleton/spec/spec_helper.rb.tt +30 -0
- data/lib/jets/commands/templates/webpacker/app/javascript/packs/application.js.tt +14 -0
- data/lib/jets/commands/templates/webpacker/app/javascript/packs/theme.scss.tt +24 -0
- data/lib/jets/commands/templates/webpacker/app/javascript/src/jets/crud.js +87 -0
- data/lib/jets/commands/upgrade.rb +145 -0
- data/lib/jets/commands/upgrade/templates/bin/webpack +19 -0
- data/lib/jets/commands/upgrade/templates/bin/webpack-dev-server +19 -0
- data/lib/jets/commands/url.rb +68 -0
- data/lib/jets/commands/webpacker_template.rb +18 -0
- data/lib/jets/controller.rb +3 -0
- data/lib/jets/controller/base.rb +108 -0
- data/lib/jets/controller/callbacks.rb +68 -0
- data/lib/jets/controller/cookies.rb +38 -0
- data/lib/jets/controller/cookies/jar.rb +269 -0
- data/lib/jets/controller/layout.rb +17 -0
- data/lib/jets/controller/middleware/cors.rb +60 -0
- data/lib/jets/controller/middleware/local.rb +116 -0
- data/lib/jets/controller/middleware/local/api_gateway.rb +93 -0
- data/lib/jets/controller/middleware/local/mimic_aws_call.rb +38 -0
- data/lib/jets/controller/middleware/local/route_matcher.rb +106 -0
- data/lib/jets/controller/middleware/main.rb +46 -0
- data/lib/jets/controller/middleware/reloader.rb +15 -0
- data/lib/jets/controller/middleware/webpacker_setup.rb +6 -0
- data/lib/jets/controller/params.rb +87 -0
- data/lib/jets/controller/rack/adapter.rb +88 -0
- data/lib/jets/controller/rack/env.rb +105 -0
- data/lib/jets/controller/redirection.rb +55 -0
- data/lib/jets/controller/rendering.rb +79 -0
- data/lib/jets/controller/rendering/rack_renderer.rb +250 -0
- data/lib/jets/controller/request.rb +29 -0
- data/lib/jets/controller/response.rb +61 -0
- data/lib/jets/controller/stage.rb +33 -0
- data/lib/jets/core.rb +149 -0
- data/lib/jets/core_ext/kernel.rb +13 -0
- data/lib/jets/db.rb +15 -0
- data/lib/jets/dotenv.rb +48 -0
- data/lib/jets/dotenv/ssm.rb +48 -0
- data/lib/jets/erb.rb +51 -0
- data/lib/jets/generator.rb +48 -0
- data/lib/jets/generator/templates/erb/controller/view.html.erb +2 -0
- data/lib/jets/generator/templates/erb/scaffold/_form.html.erb +39 -0
- data/lib/jets/generator/templates/erb/scaffold/edit.html.erb +6 -0
- data/lib/jets/generator/templates/erb/scaffold/index.html.erb +29 -0
- data/lib/jets/generator/templates/erb/scaffold/new.html.erb +5 -0
- data/lib/jets/generator/templates/erb/scaffold/show.html.erb +9 -0
- data/lib/jets/generator/templates/rails/assets/javascript.js +2 -0
- data/lib/jets/generator/templates/rails/assets/stylesheet.css +4 -0
- data/lib/jets/generator/templates/rails/controller/controller.rb +13 -0
- data/lib/jets/generator/templates/rails/helper/helper.rb +4 -0
- data/lib/jets/generator/templates/rails/scaffold/scaffold.css +80 -0
- data/lib/jets/generator/templates/rails/scaffold_controller/api_controller.rb +62 -0
- data/lib/jets/generator/templates/rails/scaffold_controller/controller.rb +79 -0
- data/lib/jets/inflections.rb +32 -0
- data/lib/jets/internal/app/controllers/jets/mailers_controller.rb +97 -0
- data/lib/jets/internal/app/controllers/jets/public_controller.rb +31 -0
- data/lib/jets/internal/app/controllers/jets/rack_controller.rb +25 -0
- data/lib/jets/internal/app/functions/jets/base_path.rb +157 -0
- data/lib/jets/internal/app/helpers/jets/mailers_helper.rb +9 -0
- data/lib/jets/internal/app/jobs/jets/preheat_job.rb +70 -0
- data/lib/jets/internal/app/shared/functions/jets/s3_bucket_config.rb +43 -0
- data/lib/jets/internal/app/views/jets/mailers/email.html.erb +145 -0
- data/lib/jets/internal/app/views/jets/mailers/index.html.erb +8 -0
- data/lib/jets/internal/app/views/jets/mailers/mailer.html.erb +6 -0
- data/lib/jets/internal/turbines/jets/mailer.rb +51 -0
- data/lib/jets/job/base.rb +39 -0
- data/lib/jets/job/dsl.rb +40 -0
- data/lib/jets/job/dsl/dynamodb_event.rb +65 -0
- data/lib/jets/job/dsl/event_source_mapping.rb +11 -0
- data/lib/jets/job/dsl/iot_event.rb +24 -0
- data/lib/jets/job/dsl/kinesis_event.rb +46 -0
- data/lib/jets/job/dsl/log_event.rb +15 -0
- data/lib/jets/job/dsl/rule_event.rb +75 -0
- data/lib/jets/job/dsl/s3_event.rb +36 -0
- data/lib/jets/job/dsl/sns_event.rb +54 -0
- data/lib/jets/job/dsl/sqs_event.rb +96 -0
- data/lib/jets/job/helpers/kinesis_event_helper.rb +13 -0
- data/lib/jets/job/helpers/log_event_helper.rb +17 -0
- data/lib/jets/job/helpers/s3_event_helper.rb +13 -0
- data/lib/jets/klass.rb +109 -0
- data/lib/jets/lambda/dsl.rb +419 -0
- data/lib/jets/lambda/function.rb +29 -0
- data/lib/jets/lambda/function_constructor.rb +55 -0
- data/lib/jets/lambda/functions.rb +34 -0
- data/lib/jets/lambda/task.rb +111 -0
- data/lib/jets/logger.rb +21 -0
- data/lib/jets/mega/hash_converter.rb +25 -0
- data/lib/jets/mega/request.rb +139 -0
- data/lib/jets/mega/request/source.rb +21 -0
- data/lib/jets/middleware.rb +33 -0
- data/lib/jets/middleware/configurator.rb +84 -0
- data/lib/jets/middleware/default_stack.rb +51 -0
- data/lib/jets/middleware/layer.rb +34 -0
- data/lib/jets/middleware/stack.rb +77 -0
- data/lib/jets/naming.rb +49 -0
- data/lib/jets/overrides/lambda.rb +1 -0
- data/lib/jets/overrides/lambda/marshaller.rb +31 -0
- data/lib/jets/overrides/rails.rb +4 -0
- data/lib/jets/overrides/rails/asset_tag_helper.rb +114 -0
- data/lib/jets/overrides/rails/common_methods.rb +13 -0
- data/lib/jets/overrides/rails/rendering_helper.rb +26 -0
- data/lib/jets/overrides/rails/url_helper.rb +25 -0
- data/lib/jets/poly_fun.rb +73 -0
- data/lib/jets/poly_fun/base_executor.rb +125 -0
- data/lib/jets/poly_fun/lambda_executor.rb +16 -0
- data/lib/jets/poly_fun/node_error.rb +8 -0
- data/lib/jets/poly_fun/node_executor.rb +54 -0
- data/lib/jets/poly_fun/python_error.rb +8 -0
- data/lib/jets/poly_fun/python_executor.rb +23 -0
- data/lib/jets/preheat.rb +117 -0
- data/lib/jets/processors/deducer.rb +65 -0
- data/lib/jets/processors/main_processor.rb +61 -0
- data/lib/jets/rack_server.rb +86 -0
- data/lib/jets/rdoc.rb +30 -0
- data/lib/jets/resource.rb +71 -0
- data/lib/jets/resource/api_gateway/base_path/function.rb +42 -0
- data/lib/jets/resource/api_gateway/base_path/mapping.rb +44 -0
- data/lib/jets/resource/api_gateway/base_path/role.rb +76 -0
- data/lib/jets/resource/api_gateway/cors.rb +61 -0
- data/lib/jets/resource/api_gateway/deployment.rb +78 -0
- data/lib/jets/resource/api_gateway/domain_name.rb +59 -0
- data/lib/jets/resource/api_gateway/method.rb +98 -0
- data/lib/jets/resource/api_gateway/resource.rb +101 -0
- data/lib/jets/resource/api_gateway/rest_api.rb +56 -0
- data/lib/jets/resource/api_gateway/rest_api/change_detection.rb +42 -0
- data/lib/jets/resource/api_gateway/rest_api/logical_id.rb +63 -0
- data/lib/jets/resource/api_gateway/rest_api/routes.rb +7 -0
- data/lib/jets/resource/api_gateway/rest_api/routes/change.rb +8 -0
- data/lib/jets/resource/api_gateway/rest_api/routes/change/base.rb +130 -0
- data/lib/jets/resource/api_gateway/rest_api/routes/change/to.rb +29 -0
- data/lib/jets/resource/api_gateway/rest_api/routes/change/variable.rb +39 -0
- data/lib/jets/resource/api_gateway/rest_api/routes/collision.rb +121 -0
- data/lib/jets/resource/api_gateway/rest_api/routes/collision/variable_exception.rb +7 -0
- data/lib/jets/resource/associated.rb +37 -0
- data/lib/jets/resource/base.rb +28 -0
- data/lib/jets/resource/child_stack/api_deployment.rb +56 -0
- data/lib/jets/resource/child_stack/api_gateway.rb +53 -0
- data/lib/jets/resource/child_stack/app_class.rb +107 -0
- data/lib/jets/resource/child_stack/base.rb +24 -0
- data/lib/jets/resource/child_stack/shared.rb +92 -0
- data/lib/jets/resource/config/config_rule.rb +74 -0
- data/lib/jets/resource/config/managed_rule.rb +15 -0
- data/lib/jets/resource/events/rule.rb +31 -0
- data/lib/jets/resource/iam/application_role.rb +27 -0
- data/lib/jets/resource/iam/base_role_definition.rb +47 -0
- data/lib/jets/resource/iam/class_role.rb +74 -0
- data/lib/jets/resource/iam/function_role.rb +54 -0
- data/lib/jets/resource/iam/managed_policy.rb +22 -0
- data/lib/jets/resource/iam/policy_document.rb +41 -0
- data/lib/jets/resource/iot/topic_rule.rb +34 -0
- data/lib/jets/resource/lambda/event_source_mapping.rb +31 -0
- data/lib/jets/resource/lambda/function.rb +214 -0
- data/lib/jets/resource/lambda/function/environment.rb +62 -0
- data/lib/jets/resource/lambda/gem_layer.rb +17 -0
- data/lib/jets/resource/lambda/layer_version.rb +44 -0
- data/lib/jets/resource/logs/subscription_filter.rb +31 -0
- data/lib/jets/resource/permission.rb +45 -0
- data/lib/jets/resource/replacer.rb +85 -0
- data/lib/jets/resource/route53/record_set.rb +70 -0
- data/lib/jets/resource/s3/bucket.rb +24 -0
- data/lib/jets/resource/sns/subscription.rb +29 -0
- data/lib/jets/resource/sns/topic.rb +35 -0
- data/lib/jets/resource/sns/topic_policy.rb +40 -0
- data/lib/jets/resource/sqs/queue.rb +21 -0
- data/lib/jets/resource/standardizer.rb +42 -0
- data/lib/jets/route.rb +166 -0
- data/lib/jets/router.rb +177 -0
- data/lib/jets/router/scope.rb +30 -0
- data/lib/jets/rule/base.rb +19 -0
- data/lib/jets/rule/dsl.rb +110 -0
- data/lib/jets/spec_helpers.rb +54 -0
- data/lib/jets/spec_helpers/params.rb +10 -0
- data/lib/jets/spec_helpers/request.rb +78 -0
- data/lib/jets/spec_helpers/response.rb +5 -0
- data/lib/jets/stack.rb +88 -0
- data/lib/jets/stack/builder.rb +43 -0
- data/lib/jets/stack/definition.rb +50 -0
- data/lib/jets/stack/depends.rb +34 -0
- data/lib/jets/stack/depends/item.rb +9 -0
- data/lib/jets/stack/function.rb +69 -0
- data/lib/jets/stack/main.rb +4 -0
- data/lib/jets/stack/main/dsl.rb +28 -0
- data/lib/jets/stack/main/dsl/base.rb +49 -0
- data/lib/jets/stack/main/dsl/cloudwatch.rb +19 -0
- data/lib/jets/stack/main/dsl/iam.rb +8 -0
- data/lib/jets/stack/main/dsl/lambda.rb +83 -0
- data/lib/jets/stack/main/dsl/s3.rb +12 -0
- data/lib/jets/stack/main/dsl/sns.rb +16 -0
- data/lib/jets/stack/main/dsl/sqs.rb +10 -0
- data/lib/jets/stack/output.rb +35 -0
- data/lib/jets/stack/output/dsl.rb +19 -0
- data/lib/jets/stack/output/lookup.rb +36 -0
- data/lib/jets/stack/parameter.rb +37 -0
- data/lib/jets/stack/parameter/dsl.rb +42 -0
- data/lib/jets/stack/resource.rb +31 -0
- data/lib/jets/stack/resource/dsl.rb +19 -0
- data/lib/jets/stack/s3_event.rb +87 -0
- data/lib/jets/tmp_loader.rb +52 -0
- data/lib/jets/turbine.rb +41 -0
- data/lib/jets/turbo.rb +55 -0
- data/lib/jets/turbo/database_yaml.rb +41 -0
- data/lib/jets/turbo/project/.gitignore +12 -0
- data/lib/jets/turbo/project/.jetskeep +1 -0
- data/lib/jets/turbo/project/Gemfile +16 -0
- data/lib/jets/turbo/project/Rakefile +2 -0
- data/lib/jets/turbo/project/app/controllers/application_controller.rb +2 -0
- data/lib/jets/turbo/project/app/helpers/application_helper.rb +2 -0
- data/lib/jets/turbo/project/app/jobs/application_job.rb +4 -0
- data/lib/jets/turbo/project/config.ru +5 -0
- data/lib/jets/turbo/project/config/application.rb +4 -0
- data/lib/jets/turbo/project/config/routes.rb +4 -0
- data/lib/jets/turbo/rails.rb +127 -0
- data/lib/jets/turbo/templates/config/database.yml +26 -0
- data/lib/jets/util.rb +38 -0
- data/lib/jets/version.rb +3 -0
- data/readme/prerelease.md +6 -0
- data/readme/testing.md +60 -0
- metadata +1004 -0
@@ -0,0 +1 @@
|
|
1
|
+
pack
|
@@ -0,0 +1,16 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
gem "jets"
|
4
|
+
|
5
|
+
group :development, :test do
|
6
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
7
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
8
|
+
gem 'shotgun'
|
9
|
+
gem 'rack'
|
10
|
+
end
|
11
|
+
|
12
|
+
group :test do
|
13
|
+
gem 'rspec' # rspec test group only or we get the "irb: warn: can't alias context from irb_context warning" when starting jets console
|
14
|
+
gem 'launchy'
|
15
|
+
gem 'capybara'
|
16
|
+
end
|
@@ -0,0 +1,127 @@
|
|
1
|
+
class Jets::Turbo
|
2
|
+
class Rails
|
3
|
+
attr_reader :build_area
|
4
|
+
def initialize
|
5
|
+
@build_area = "/tmp/jets"
|
6
|
+
@project_folder = "turbo-wrapper-project"
|
7
|
+
end
|
8
|
+
|
9
|
+
def setup
|
10
|
+
afterburners_message
|
11
|
+
check_old_dot_jets_app_folder!
|
12
|
+
clean
|
13
|
+
override_env_vars
|
14
|
+
wrapper_jets_project
|
15
|
+
copy_rack_project
|
16
|
+
reconfigure_database_yml
|
17
|
+
apply_dot_jets_project
|
18
|
+
set_project_name
|
19
|
+
end
|
20
|
+
|
21
|
+
def afterburners_message
|
22
|
+
command = ARGV.first
|
23
|
+
if command == "deploy"
|
24
|
+
puts "=> Rails app detected: Enabling Jets Afterburner to deploy to AWS Lambda.".color(:green)
|
25
|
+
else
|
26
|
+
puts "=> Rails app detected: Enabling Jets Afterburner.".color(:green)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def check_old_dot_jets_app_folder!
|
31
|
+
return unless File.exist?(".jets/app")
|
32
|
+
|
33
|
+
puts <<~EOL.color(:red)
|
34
|
+
ERROR: .jets/app folder exists. Starting in version jets v1.9.23 this folder should be renamed to .jets/project.
|
35
|
+
Please run:
|
36
|
+
|
37
|
+
mv .jets/app .jets/project
|
38
|
+
|
39
|
+
EOL
|
40
|
+
exit 1
|
41
|
+
end
|
42
|
+
|
43
|
+
# Hack env vars to support Jets Turbo mode
|
44
|
+
def override_env_vars
|
45
|
+
ENV['BUNDLE_GEMFILE'] = "#{build_area}/#{@project_folder}/Gemfile"
|
46
|
+
ENV['JETS_ROOT'] = "#{build_area}/#{@project_folder}"
|
47
|
+
# Jets.root /home/ec2-user/environment/jet-pack/lib/turbo-wrapper-project
|
48
|
+
end
|
49
|
+
|
50
|
+
def wrapper_jets_project
|
51
|
+
jets_project = File.expand_path("project", File.dirname(__FILE__))
|
52
|
+
project_path = "#{build_area}/#{@project_folder}"
|
53
|
+
|
54
|
+
FileUtils.mkdir_p(build_area)
|
55
|
+
FileUtils.rm_rf(project_path)
|
56
|
+
Jets::Util.cp_r(jets_project, project_path)
|
57
|
+
|
58
|
+
IO.write("#{project_path}/date.txt", Time.now) # update date.txt file to ensure Lambda function code changes and updates
|
59
|
+
end
|
60
|
+
|
61
|
+
def set_project_name
|
62
|
+
path = "#{build_area}/#{@project_folder}/config/application.rb"
|
63
|
+
lines = IO.readlines(path)
|
64
|
+
lines.map! do |l|
|
65
|
+
if l.include?('config.project_name = "project"')
|
66
|
+
%Q| config.project_name = "#{project_name}"\n|
|
67
|
+
else
|
68
|
+
l
|
69
|
+
end
|
70
|
+
end
|
71
|
+
IO.write(path, lines.join(''))
|
72
|
+
end
|
73
|
+
|
74
|
+
def project_name
|
75
|
+
path = "#{build_area}/#{@project_folder}/project_name"
|
76
|
+
name = if File.exist?(path)
|
77
|
+
IO.read(path).strip # project_name
|
78
|
+
else
|
79
|
+
File.basename(Dir.pwd)
|
80
|
+
end
|
81
|
+
name.gsub('_','-') # project_name
|
82
|
+
end
|
83
|
+
|
84
|
+
# Anything in rails_project/.jets/project will override the generic wrapper project.
|
85
|
+
#
|
86
|
+
# rails_project/.jets/project/.env => jets_project/.env
|
87
|
+
# rails_project/.jets/project/config/database.yml => jets_project/config/database.yml
|
88
|
+
#
|
89
|
+
# This useful for DATABASE_URL and other env vars.
|
90
|
+
def apply_dot_jets_project
|
91
|
+
# Dir.pwd: /home/ec2-user/environment/demo-rails
|
92
|
+
# Jets.root: /tmp/jets/turbo-wrapper-project/
|
93
|
+
dot_jets_app = "#{Dir.pwd}/.jets/project"
|
94
|
+
|
95
|
+
return unless File.exist?(dot_jets_app)
|
96
|
+
# Trailing slashes are required for both folders. Jets.root already has the trailing slash
|
97
|
+
sh "rsync -a --links #{dot_jets_app}/ #{Jets.root}", quiet: true
|
98
|
+
end
|
99
|
+
|
100
|
+
def reconfigure_database_yml
|
101
|
+
DatabaseYaml.new.reconfigure
|
102
|
+
end
|
103
|
+
|
104
|
+
def copy_rack_project
|
105
|
+
dest = "#{build_area}/#{@project_folder}/rack"
|
106
|
+
# puts "cp -r #{Dir.pwd} #{dest}" # uncomment to see and debug
|
107
|
+
Jets::Util.cp_r(Dir.pwd, dest)
|
108
|
+
end
|
109
|
+
|
110
|
+
# TODO: remove duplication, copied from jets/commands/import/base.rb
|
111
|
+
# And modified it slightly
|
112
|
+
def bundle_install
|
113
|
+
Bundler.with_clean_env do
|
114
|
+
sh "cd #{build_area}/#{@project_folder}/rack && bundle install"
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
def sh(command, quiet: false)
|
119
|
+
puts "=> #{command}" unless quiet
|
120
|
+
system command
|
121
|
+
end
|
122
|
+
|
123
|
+
def clean
|
124
|
+
FileUtils.rm_rf("#{build_area}/#{@project_folder}/rack")
|
125
|
+
end
|
126
|
+
end
|
127
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
default: &default
|
2
|
+
adapter: <%= @adapter %>
|
3
|
+
encoding: utf8
|
4
|
+
pool: <%%= ENV["DB_POOL"] || 5 %>
|
5
|
+
database: <%%= ENV['DB_NAME'] || '<%= @database_development %>' %>
|
6
|
+
<% if @adapter == 'postgresql' -%>
|
7
|
+
username: <%%= ENV['DB_USER'] || ENV['USER'] %>
|
8
|
+
<% else -%>
|
9
|
+
username: <%%= ENV['DB_USER'] || 'root' %>
|
10
|
+
<% end -%>
|
11
|
+
password: <%%= ENV['DB_PASS'] %>
|
12
|
+
host: <%%= ENV["DB_HOST"] %>
|
13
|
+
url: <%%= ENV['DATABASE_URL'] %> # takes higher precedence than other settings
|
14
|
+
|
15
|
+
development:
|
16
|
+
<<: *default
|
17
|
+
database: <%%= ENV['DB_NAME'] || '<%= @database_development %>' %>
|
18
|
+
|
19
|
+
test:
|
20
|
+
<<: *default
|
21
|
+
database: <%= @database_test %>
|
22
|
+
|
23
|
+
production:
|
24
|
+
<<: *default
|
25
|
+
database: <%= @database_production %>
|
26
|
+
url: <%%= ENV['DATABASE_URL'] %>
|
data/lib/jets/util.rb
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
class Jets::Util
|
2
|
+
class << self
|
3
|
+
# Make sure that the result is a text.
|
4
|
+
def normalize_result(result)
|
5
|
+
JSON.dump(result)
|
6
|
+
end
|
7
|
+
|
8
|
+
def cp_r(src, dest)
|
9
|
+
# Fix for https://github.com/tongueroo/jets/issues/122
|
10
|
+
#
|
11
|
+
# Using FileUtils.cp_r doesnt work if there are special files like socket files in the src dir.
|
12
|
+
# Instead of using this hack https://bugs.ruby-lang.org/issues/10104
|
13
|
+
# Using rsync to perform the copy.
|
14
|
+
src.chop! if src.ends_with?('/')
|
15
|
+
dest.chop! if dest.ends_with?('/')
|
16
|
+
check_rsync_installed!
|
17
|
+
sh "rsync -a --links --no-specials --no-devices #{src}/ #{dest}/", quiet: true
|
18
|
+
end
|
19
|
+
|
20
|
+
@@rsync_installed = false
|
21
|
+
def check_rsync_installed!
|
22
|
+
return if @@rsync_installed # only check once
|
23
|
+
if system "type rsync > /dev/null 2>&1"
|
24
|
+
@@rsync_installed = true
|
25
|
+
else
|
26
|
+
raise Jets::Error.new("Rsync is required. Rsync does not seem to be installed.")
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
def sh(command, quiet: false)
|
31
|
+
puts "=> #{command}" unless quiet
|
32
|
+
system(command)
|
33
|
+
success = $?.success?
|
34
|
+
raise Jets::Error.new("Command failed: #{command}") unless success
|
35
|
+
success
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
data/lib/jets/version.rb
ADDED
data/readme/testing.md
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
# Testing
|
2
|
+
|
3
|
+
## Unit
|
4
|
+
|
5
|
+
To run unit tests:
|
6
|
+
|
7
|
+
bundle exec rspec
|
8
|
+
|
9
|
+
## Integration
|
10
|
+
|
11
|
+
These commands run all from the jets repo itself. The demo folder has been added to the `.gitignore`.
|
12
|
+
|
13
|
+
### Locally
|
14
|
+
|
15
|
+
To run the integration tests locally, you need to create a new Jets CRUD project and start the server:
|
16
|
+
|
17
|
+
jets new demo
|
18
|
+
cd demo
|
19
|
+
# edit Gemfile to use the branch of jets being tested
|
20
|
+
jets generate scaffold post title:string
|
21
|
+
jets import:rails http://github.com/tongueroo/demo-rails.git
|
22
|
+
jets server
|
23
|
+
|
24
|
+
Then you can run the postman tests:
|
25
|
+
|
26
|
+
spec/integration/local.sh
|
27
|
+
|
28
|
+
The integration_local.sh script ensures that the necessary data exists for the postman integration test to pass. It ultimately calls:
|
29
|
+
|
30
|
+
newman run spec/integration/fixtures/postman/collection.json -e spec/integration/fixtures/postman/environment.json
|
31
|
+
|
32
|
+
The integration test results should look something like this:
|
33
|
+
|
34
|
+
* [Jets Integration Test Results](https://gist.github.com/tongueroo/fcea2b2f48342d1448d3f258fcd6536c)
|
35
|
+
|
36
|
+
### Remotely
|
37
|
+
|
38
|
+
Then you can deploy the jets app and test it on real AWS Lambda.
|
39
|
+
|
40
|
+
cp ~/environment/.env.development.remote . # assumes you have a .env.development.remote
|
41
|
+
jets deploy
|
42
|
+
|
43
|
+
Run the remote integration script:
|
44
|
+
|
45
|
+
eval "export $(cat demo/.env.development.remote)" # for DATABASE_URL for mega mode
|
46
|
+
BASE_URL=xxx spec/integration/remote.sh
|
47
|
+
|
48
|
+
Manually seed Rails data. Will add this to the remote.sh in the future.
|
49
|
+
|
50
|
+
cd demo/rack
|
51
|
+
rails runner 'Book.create(id: 1) unless Book.find_by(id: 1)'
|
52
|
+
|
53
|
+
Example:
|
54
|
+
|
55
|
+
eval "export $(cat demo/.env.development.remote)" # for DATABASE_URL for mega mode
|
56
|
+
BASE_URL=https://wb5dcjc09a.execute-api.us-west-2.amazonaws.com/dev spec/integration/remote.sh
|
57
|
+
|
58
|
+
## Manual Test
|
59
|
+
|
60
|
+
Test books create, update and delete manually until it's scripted.
|
metadata
ADDED
@@ -0,0 +1,1004 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: jets_bb_fork
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- BalutBomber
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-08-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: actionmailer
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.2.1
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 5.2.1
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: actionpack
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 5.2.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 5.2.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: actionview
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 5.2.1
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 5.2.1
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: activerecord
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 5.2.1
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 5.2.1
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: activesupport
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 5.2.1
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 5.2.1
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: aws-sdk-apigateway
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: aws-sdk-cloudformation
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: aws-sdk-cloudwatchlogs
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: aws-sdk-dynamodb
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: aws-sdk-kinesis
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: aws-sdk-lambda
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: aws-sdk-s3
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: aws-sdk-sns
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: aws-sdk-sqs
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ">="
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
type: :runtime
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: aws-sdk-ssm
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: cfnresponse
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - ">="
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0'
|
230
|
+
type: :runtime
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - ">="
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: dotenv
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :runtime
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
251
|
+
- !ruby/object:Gem::Dependency
|
252
|
+
name: gems
|
253
|
+
requirement: !ruby/object:Gem::Requirement
|
254
|
+
requirements:
|
255
|
+
- - ">="
|
256
|
+
- !ruby/object:Gem::Version
|
257
|
+
version: '0'
|
258
|
+
type: :runtime
|
259
|
+
prerelease: false
|
260
|
+
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - ">="
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '0'
|
265
|
+
- !ruby/object:Gem::Dependency
|
266
|
+
name: hashie
|
267
|
+
requirement: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - ">="
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '0'
|
272
|
+
type: :runtime
|
273
|
+
prerelease: false
|
274
|
+
version_requirements: !ruby/object:Gem::Requirement
|
275
|
+
requirements:
|
276
|
+
- - ">="
|
277
|
+
- !ruby/object:Gem::Version
|
278
|
+
version: '0'
|
279
|
+
- !ruby/object:Gem::Dependency
|
280
|
+
name: jets-gems
|
281
|
+
requirement: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
284
|
+
- !ruby/object:Gem::Version
|
285
|
+
version: '0'
|
286
|
+
type: :runtime
|
287
|
+
prerelease: false
|
288
|
+
version_requirements: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - ">="
|
291
|
+
- !ruby/object:Gem::Version
|
292
|
+
version: '0'
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: jets-html-sanitizer
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - ">="
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '0'
|
300
|
+
type: :runtime
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - ">="
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '0'
|
307
|
+
- !ruby/object:Gem::Dependency
|
308
|
+
name: json
|
309
|
+
requirement: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - ">="
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: '0'
|
314
|
+
type: :runtime
|
315
|
+
prerelease: false
|
316
|
+
version_requirements: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - ">="
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: '0'
|
321
|
+
- !ruby/object:Gem::Dependency
|
322
|
+
name: kramdown
|
323
|
+
requirement: !ruby/object:Gem::Requirement
|
324
|
+
requirements:
|
325
|
+
- - ">="
|
326
|
+
- !ruby/object:Gem::Version
|
327
|
+
version: '0'
|
328
|
+
type: :runtime
|
329
|
+
prerelease: false
|
330
|
+
version_requirements: !ruby/object:Gem::Requirement
|
331
|
+
requirements:
|
332
|
+
- - ">="
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
version: '0'
|
335
|
+
- !ruby/object:Gem::Dependency
|
336
|
+
name: memoist
|
337
|
+
requirement: !ruby/object:Gem::Requirement
|
338
|
+
requirements:
|
339
|
+
- - ">="
|
340
|
+
- !ruby/object:Gem::Version
|
341
|
+
version: '0'
|
342
|
+
type: :runtime
|
343
|
+
prerelease: false
|
344
|
+
version_requirements: !ruby/object:Gem::Requirement
|
345
|
+
requirements:
|
346
|
+
- - ">="
|
347
|
+
- !ruby/object:Gem::Version
|
348
|
+
version: '0'
|
349
|
+
- !ruby/object:Gem::Dependency
|
350
|
+
name: mimemagic
|
351
|
+
requirement: !ruby/object:Gem::Requirement
|
352
|
+
requirements:
|
353
|
+
- - ">="
|
354
|
+
- !ruby/object:Gem::Version
|
355
|
+
version: '0'
|
356
|
+
type: :runtime
|
357
|
+
prerelease: false
|
358
|
+
version_requirements: !ruby/object:Gem::Requirement
|
359
|
+
requirements:
|
360
|
+
- - ">="
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
version: '0'
|
363
|
+
- !ruby/object:Gem::Dependency
|
364
|
+
name: rack
|
365
|
+
requirement: !ruby/object:Gem::Requirement
|
366
|
+
requirements:
|
367
|
+
- - ">="
|
368
|
+
- !ruby/object:Gem::Version
|
369
|
+
version: '0'
|
370
|
+
type: :runtime
|
371
|
+
prerelease: false
|
372
|
+
version_requirements: !ruby/object:Gem::Requirement
|
373
|
+
requirements:
|
374
|
+
- - ">="
|
375
|
+
- !ruby/object:Gem::Version
|
376
|
+
version: '0'
|
377
|
+
- !ruby/object:Gem::Dependency
|
378
|
+
name: railties
|
379
|
+
requirement: !ruby/object:Gem::Requirement
|
380
|
+
requirements:
|
381
|
+
- - "~>"
|
382
|
+
- !ruby/object:Gem::Version
|
383
|
+
version: 5.2.1
|
384
|
+
type: :runtime
|
385
|
+
prerelease: false
|
386
|
+
version_requirements: !ruby/object:Gem::Requirement
|
387
|
+
requirements:
|
388
|
+
- - "~>"
|
389
|
+
- !ruby/object:Gem::Version
|
390
|
+
version: 5.2.1
|
391
|
+
- !ruby/object:Gem::Dependency
|
392
|
+
name: rainbow
|
393
|
+
requirement: !ruby/object:Gem::Requirement
|
394
|
+
requirements:
|
395
|
+
- - ">="
|
396
|
+
- !ruby/object:Gem::Version
|
397
|
+
version: '0'
|
398
|
+
type: :runtime
|
399
|
+
prerelease: false
|
400
|
+
version_requirements: !ruby/object:Gem::Requirement
|
401
|
+
requirements:
|
402
|
+
- - ">="
|
403
|
+
- !ruby/object:Gem::Version
|
404
|
+
version: '0'
|
405
|
+
- !ruby/object:Gem::Dependency
|
406
|
+
name: recursive-open-struct
|
407
|
+
requirement: !ruby/object:Gem::Requirement
|
408
|
+
requirements:
|
409
|
+
- - ">="
|
410
|
+
- !ruby/object:Gem::Version
|
411
|
+
version: '0'
|
412
|
+
type: :runtime
|
413
|
+
prerelease: false
|
414
|
+
version_requirements: !ruby/object:Gem::Requirement
|
415
|
+
requirements:
|
416
|
+
- - ">="
|
417
|
+
- !ruby/object:Gem::Version
|
418
|
+
version: '0'
|
419
|
+
- !ruby/object:Gem::Dependency
|
420
|
+
name: shotgun
|
421
|
+
requirement: !ruby/object:Gem::Requirement
|
422
|
+
requirements:
|
423
|
+
- - ">="
|
424
|
+
- !ruby/object:Gem::Version
|
425
|
+
version: '0'
|
426
|
+
type: :runtime
|
427
|
+
prerelease: false
|
428
|
+
version_requirements: !ruby/object:Gem::Requirement
|
429
|
+
requirements:
|
430
|
+
- - ">="
|
431
|
+
- !ruby/object:Gem::Version
|
432
|
+
version: '0'
|
433
|
+
- !ruby/object:Gem::Dependency
|
434
|
+
name: text-table
|
435
|
+
requirement: !ruby/object:Gem::Requirement
|
436
|
+
requirements:
|
437
|
+
- - ">="
|
438
|
+
- !ruby/object:Gem::Version
|
439
|
+
version: '0'
|
440
|
+
type: :runtime
|
441
|
+
prerelease: false
|
442
|
+
version_requirements: !ruby/object:Gem::Requirement
|
443
|
+
requirements:
|
444
|
+
- - ">="
|
445
|
+
- !ruby/object:Gem::Version
|
446
|
+
version: '0'
|
447
|
+
- !ruby/object:Gem::Dependency
|
448
|
+
name: thor
|
449
|
+
requirement: !ruby/object:Gem::Requirement
|
450
|
+
requirements:
|
451
|
+
- - ">="
|
452
|
+
- !ruby/object:Gem::Version
|
453
|
+
version: '0'
|
454
|
+
type: :runtime
|
455
|
+
prerelease: false
|
456
|
+
version_requirements: !ruby/object:Gem::Requirement
|
457
|
+
requirements:
|
458
|
+
- - ">="
|
459
|
+
- !ruby/object:Gem::Version
|
460
|
+
version: '0'
|
461
|
+
- !ruby/object:Gem::Dependency
|
462
|
+
name: zeitwerk
|
463
|
+
requirement: !ruby/object:Gem::Requirement
|
464
|
+
requirements:
|
465
|
+
- - ">="
|
466
|
+
- !ruby/object:Gem::Version
|
467
|
+
version: '0'
|
468
|
+
type: :runtime
|
469
|
+
prerelease: false
|
470
|
+
version_requirements: !ruby/object:Gem::Requirement
|
471
|
+
requirements:
|
472
|
+
- - ">="
|
473
|
+
- !ruby/object:Gem::Version
|
474
|
+
version: '0'
|
475
|
+
- !ruby/object:Gem::Dependency
|
476
|
+
name: byebug
|
477
|
+
requirement: !ruby/object:Gem::Requirement
|
478
|
+
requirements:
|
479
|
+
- - ">="
|
480
|
+
- !ruby/object:Gem::Version
|
481
|
+
version: '0'
|
482
|
+
type: :development
|
483
|
+
prerelease: false
|
484
|
+
version_requirements: !ruby/object:Gem::Requirement
|
485
|
+
requirements:
|
486
|
+
- - ">="
|
487
|
+
- !ruby/object:Gem::Version
|
488
|
+
version: '0'
|
489
|
+
- !ruby/object:Gem::Dependency
|
490
|
+
name: bundler
|
491
|
+
requirement: !ruby/object:Gem::Requirement
|
492
|
+
requirements:
|
493
|
+
- - ">="
|
494
|
+
- !ruby/object:Gem::Version
|
495
|
+
version: '0'
|
496
|
+
type: :development
|
497
|
+
prerelease: false
|
498
|
+
version_requirements: !ruby/object:Gem::Requirement
|
499
|
+
requirements:
|
500
|
+
- - ">="
|
501
|
+
- !ruby/object:Gem::Version
|
502
|
+
version: '0'
|
503
|
+
- !ruby/object:Gem::Dependency
|
504
|
+
name: rake
|
505
|
+
requirement: !ruby/object:Gem::Requirement
|
506
|
+
requirements:
|
507
|
+
- - ">="
|
508
|
+
- !ruby/object:Gem::Version
|
509
|
+
version: '0'
|
510
|
+
type: :development
|
511
|
+
prerelease: false
|
512
|
+
version_requirements: !ruby/object:Gem::Requirement
|
513
|
+
requirements:
|
514
|
+
- - ">="
|
515
|
+
- !ruby/object:Gem::Version
|
516
|
+
version: '0'
|
517
|
+
- !ruby/object:Gem::Dependency
|
518
|
+
name: rspec
|
519
|
+
requirement: !ruby/object:Gem::Requirement
|
520
|
+
requirements:
|
521
|
+
- - ">="
|
522
|
+
- !ruby/object:Gem::Version
|
523
|
+
version: '0'
|
524
|
+
type: :development
|
525
|
+
prerelease: false
|
526
|
+
version_requirements: !ruby/object:Gem::Requirement
|
527
|
+
requirements:
|
528
|
+
- - ">="
|
529
|
+
- !ruby/object:Gem::Version
|
530
|
+
version: '0'
|
531
|
+
description: Fork of rubyonJets - emergency fix for handling AWS CF 60 Output limit. Will
|
532
|
+
PR later. If you want to use jets please see http://rubyonjets.com
|
533
|
+
email:
|
534
|
+
- balutbomber@gmail.com
|
535
|
+
executables:
|
536
|
+
- jets_bb_fork
|
537
|
+
extensions: []
|
538
|
+
extra_rdoc_files: []
|
539
|
+
files:
|
540
|
+
- ".circleci/bin/commit_docs.sh"
|
541
|
+
- ".circleci/config.yml"
|
542
|
+
- ".codebuild/README.md"
|
543
|
+
- ".codebuild/bin/jets"
|
544
|
+
- ".codebuild/buildspec-base.yml"
|
545
|
+
- ".codebuild/integration.sh"
|
546
|
+
- ".codebuild/jets.postman_collection.json"
|
547
|
+
- ".codebuild/scripts/install-docker.sh"
|
548
|
+
- ".codebuild/scripts/install-dynamodb-local.sh"
|
549
|
+
- ".codebuild/scripts/install-java.sh"
|
550
|
+
- ".codebuild/scripts/install-node.sh"
|
551
|
+
- ".github/ISSUE_TEMPLATE.md"
|
552
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
553
|
+
- ".github/ISSUE_TEMPLATE/documentation.md"
|
554
|
+
- ".github/ISSUE_TEMPLATE/feature_request.md"
|
555
|
+
- ".github/ISSUE_TEMPLATE/question.md"
|
556
|
+
- ".github/PULL_REQUEST_TEMPLATE.md"
|
557
|
+
- ".gitignore"
|
558
|
+
- ".gitmodules"
|
559
|
+
- ".python-version"
|
560
|
+
- ".rspec"
|
561
|
+
- ".ruby-version"
|
562
|
+
- CHANGELOG.md
|
563
|
+
- CONDUCT.md
|
564
|
+
- CONTRIBUTING.md
|
565
|
+
- Dockerfile
|
566
|
+
- Dockerfile.base
|
567
|
+
- Gemfile
|
568
|
+
- Guardfile
|
569
|
+
- LICENSE.txt
|
570
|
+
- Procfile
|
571
|
+
- README.md
|
572
|
+
- Rakefile
|
573
|
+
- backers.md
|
574
|
+
- bin/release
|
575
|
+
- buildspec.yml
|
576
|
+
- exe/jets_bb_fork
|
577
|
+
- jets.gemspec
|
578
|
+
- lib/jets.rb
|
579
|
+
- lib/jets/application.rb
|
580
|
+
- lib/jets/application/defaults.rb
|
581
|
+
- lib/jets/autoloaders.rb
|
582
|
+
- lib/jets/aws_info.rb
|
583
|
+
- lib/jets/aws_services.rb
|
584
|
+
- lib/jets/aws_services/global_memoist.rb
|
585
|
+
- lib/jets/aws_services/s3_bucket.rb
|
586
|
+
- lib/jets/aws_services/stack_status.rb
|
587
|
+
- lib/jets/booter.rb
|
588
|
+
- lib/jets/builders/code_builder.rb
|
589
|
+
- lib/jets/builders/code_size.rb
|
590
|
+
- lib/jets/builders/gem_replacer.rb
|
591
|
+
- lib/jets/builders/handler_generator.rb
|
592
|
+
- lib/jets/builders/lambda_layer.rb
|
593
|
+
- lib/jets/builders/md5.rb
|
594
|
+
- lib/jets/builders/md5_zip.rb
|
595
|
+
- lib/jets/builders/purger.rb
|
596
|
+
- lib/jets/builders/rack_packager.rb
|
597
|
+
- lib/jets/builders/rackup_wrappers/rackup
|
598
|
+
- lib/jets/builders/rackup_wrappers/rackup.rb
|
599
|
+
- lib/jets/builders/reconfigure_rails.rb
|
600
|
+
- lib/jets/builders/reconfigure_rails/config/initializers/jets.rb
|
601
|
+
- lib/jets/builders/ruby_packager.rb
|
602
|
+
- lib/jets/builders/shim_vars/app.rb
|
603
|
+
- lib/jets/builders/shim_vars/base.rb
|
604
|
+
- lib/jets/builders/shim_vars/shared.rb
|
605
|
+
- lib/jets/builders/templates/handler.rb
|
606
|
+
- lib/jets/builders/tidy.rb
|
607
|
+
- lib/jets/builders/util.rb
|
608
|
+
- lib/jets/bundle.rb
|
609
|
+
- lib/jets/camelizer.rb
|
610
|
+
- lib/jets/cfn/builders/api_deployment_builder.rb
|
611
|
+
- lib/jets/cfn/builders/api_gateway_builder.rb
|
612
|
+
- lib/jets/cfn/builders/base_child_builder.rb
|
613
|
+
- lib/jets/cfn/builders/controller_builder.rb
|
614
|
+
- lib/jets/cfn/builders/function_builder.rb
|
615
|
+
- lib/jets/cfn/builders/interface.rb
|
616
|
+
- lib/jets/cfn/builders/job_builder.rb
|
617
|
+
- lib/jets/cfn/builders/paged.rb
|
618
|
+
- lib/jets/cfn/builders/parent_builder.rb
|
619
|
+
- lib/jets/cfn/builders/rule_builder.rb
|
620
|
+
- lib/jets/cfn/builders/shared_builder.rb
|
621
|
+
- lib/jets/cfn/ship.rb
|
622
|
+
- lib/jets/cfn/status.rb
|
623
|
+
- lib/jets/cfn/upload.rb
|
624
|
+
- lib/jets/cli.rb
|
625
|
+
- lib/jets/commands/base.rb
|
626
|
+
- lib/jets/commands/build.rb
|
627
|
+
- lib/jets/commands/call.rb
|
628
|
+
- lib/jets/commands/call/anonymous_guesser.rb
|
629
|
+
- lib/jets/commands/call/autoload_guesser.rb
|
630
|
+
- lib/jets/commands/call/base_guesser.rb
|
631
|
+
- lib/jets/commands/call/guesser.rb
|
632
|
+
- lib/jets/commands/clean.rb
|
633
|
+
- lib/jets/commands/clean/base.rb
|
634
|
+
- lib/jets/commands/clean/build.rb
|
635
|
+
- lib/jets/commands/clean/log.rb
|
636
|
+
- lib/jets/commands/console.rb
|
637
|
+
- lib/jets/commands/db.rb
|
638
|
+
- lib/jets/commands/db/environment-task.rake
|
639
|
+
- lib/jets/commands/db/tasks.rb
|
640
|
+
- lib/jets/commands/dbconsole.rb
|
641
|
+
- lib/jets/commands/delete.rb
|
642
|
+
- lib/jets/commands/deploy.rb
|
643
|
+
- lib/jets/commands/dynamodb.rb
|
644
|
+
- lib/jets/commands/dynamodb/migrate.rb
|
645
|
+
- lib/jets/commands/dynamodb/migrator.rb
|
646
|
+
- lib/jets/commands/gems.rb
|
647
|
+
- lib/jets/commands/help.rb
|
648
|
+
- lib/jets/commands/help/build.md
|
649
|
+
- lib/jets/commands/help/call.md
|
650
|
+
- lib/jets/commands/help/clean/build.md
|
651
|
+
- lib/jets/commands/help/clean/log.md
|
652
|
+
- lib/jets/commands/help/console.md
|
653
|
+
- lib/jets/commands/help/db/generate.md
|
654
|
+
- lib/jets/commands/help/dbconsole.md
|
655
|
+
- lib/jets/commands/help/delete.md
|
656
|
+
- lib/jets/commands/help/deploy.md
|
657
|
+
- lib/jets/commands/help/destroy.md
|
658
|
+
- lib/jets/commands/help/dynamodb/generate.md
|
659
|
+
- lib/jets/commands/help/dynamodb/migrate.md
|
660
|
+
- lib/jets/commands/help/gems/check.md
|
661
|
+
- lib/jets/commands/help/generate.md
|
662
|
+
- lib/jets/commands/help/import/rack.md
|
663
|
+
- lib/jets/commands/help/import/rails.md
|
664
|
+
- lib/jets/commands/help/new.md
|
665
|
+
- lib/jets/commands/help/routes.md
|
666
|
+
- lib/jets/commands/help/runner.md
|
667
|
+
- lib/jets/commands/help/server.md
|
668
|
+
- lib/jets/commands/help/status.md
|
669
|
+
- lib/jets/commands/help/upgrade.md
|
670
|
+
- lib/jets/commands/help/url.md
|
671
|
+
- lib/jets/commands/import.rb
|
672
|
+
- lib/jets/commands/import/base.rb
|
673
|
+
- lib/jets/commands/import/cheatsheet.rb
|
674
|
+
- lib/jets/commands/import/rack.rb
|
675
|
+
- lib/jets/commands/import/rails.rb
|
676
|
+
- lib/jets/commands/import/sequence.rb
|
677
|
+
- lib/jets/commands/import/templates/config/database.yml
|
678
|
+
- lib/jets/commands/import/templates/submodules-cheatsheet.md
|
679
|
+
- lib/jets/commands/main.rb
|
680
|
+
- lib/jets/commands/markdown/creator.rb
|
681
|
+
- lib/jets/commands/markdown/index.rb
|
682
|
+
- lib/jets/commands/markdown/page.rb
|
683
|
+
- lib/jets/commands/markdown/shell.rb
|
684
|
+
- lib/jets/commands/new.rb
|
685
|
+
- lib/jets/commands/rake_command.rb
|
686
|
+
- lib/jets/commands/rake_tasks.rb
|
687
|
+
- lib/jets/commands/runner.rb
|
688
|
+
- lib/jets/commands/sequence.rb
|
689
|
+
- lib/jets/commands/stack_info.rb
|
690
|
+
- lib/jets/commands/templates/skeleton/.env.development.tt
|
691
|
+
- lib/jets/commands/templates/skeleton/.env.test
|
692
|
+
- lib/jets/commands/templates/skeleton/.env.tt
|
693
|
+
- lib/jets/commands/templates/skeleton/.gitignore
|
694
|
+
- lib/jets/commands/templates/skeleton/.jetskeep
|
695
|
+
- lib/jets/commands/templates/skeleton/.rspec
|
696
|
+
- lib/jets/commands/templates/skeleton/Gemfile.tt
|
697
|
+
- lib/jets/commands/templates/skeleton/Procfile
|
698
|
+
- lib/jets/commands/templates/skeleton/README.md
|
699
|
+
- lib/jets/commands/templates/skeleton/Rakefile
|
700
|
+
- lib/jets/commands/templates/skeleton/app/controllers/application_controller.rb
|
701
|
+
- lib/jets/commands/templates/skeleton/app/helpers/application_helper.rb
|
702
|
+
- lib/jets/commands/templates/skeleton/app/jobs/application_job.rb
|
703
|
+
- lib/jets/commands/templates/skeleton/app/models/application_item.rb
|
704
|
+
- lib/jets/commands/templates/skeleton/app/models/application_record.rb
|
705
|
+
- lib/jets/commands/templates/skeleton/app/views/layouts/application.html.erb.tt
|
706
|
+
- lib/jets/commands/templates/skeleton/config.ru
|
707
|
+
- lib/jets/commands/templates/skeleton/config/application.rb.tt
|
708
|
+
- lib/jets/commands/templates/skeleton/config/database.yml.tt
|
709
|
+
- lib/jets/commands/templates/skeleton/config/dynamodb.yml
|
710
|
+
- lib/jets/commands/templates/skeleton/config/environments/development.rb
|
711
|
+
- lib/jets/commands/templates/skeleton/config/environments/production.rb
|
712
|
+
- lib/jets/commands/templates/skeleton/config/environments/test.rb
|
713
|
+
- lib/jets/commands/templates/skeleton/config/routes.rb
|
714
|
+
- lib/jets/commands/templates/skeleton/db/.gitkeep
|
715
|
+
- lib/jets/commands/templates/skeleton/public/404.html
|
716
|
+
- lib/jets/commands/templates/skeleton/public/422.html
|
717
|
+
- lib/jets/commands/templates/skeleton/public/500.html
|
718
|
+
- lib/jets/commands/templates/skeleton/public/favicon.ico
|
719
|
+
- lib/jets/commands/templates/skeleton/public/index.html.tt
|
720
|
+
- lib/jets/commands/templates/skeleton/spec/controllers/posts_controller_spec.rb
|
721
|
+
- lib/jets/commands/templates/skeleton/spec/fixtures/payloads/posts-index.json
|
722
|
+
- lib/jets/commands/templates/skeleton/spec/fixtures/payloads/posts-show.json
|
723
|
+
- lib/jets/commands/templates/skeleton/spec/spec_helper.rb.tt
|
724
|
+
- lib/jets/commands/templates/webpacker/app/javascript/packs/application.js.tt
|
725
|
+
- lib/jets/commands/templates/webpacker/app/javascript/packs/theme.scss.tt
|
726
|
+
- lib/jets/commands/templates/webpacker/app/javascript/src/jets/crud.js
|
727
|
+
- lib/jets/commands/upgrade.rb
|
728
|
+
- lib/jets/commands/upgrade/templates/bin/webpack
|
729
|
+
- lib/jets/commands/upgrade/templates/bin/webpack-dev-server
|
730
|
+
- lib/jets/commands/url.rb
|
731
|
+
- lib/jets/commands/webpacker_template.rb
|
732
|
+
- lib/jets/controller.rb
|
733
|
+
- lib/jets/controller/base.rb
|
734
|
+
- lib/jets/controller/callbacks.rb
|
735
|
+
- lib/jets/controller/cookies.rb
|
736
|
+
- lib/jets/controller/cookies/jar.rb
|
737
|
+
- lib/jets/controller/layout.rb
|
738
|
+
- lib/jets/controller/middleware/cors.rb
|
739
|
+
- lib/jets/controller/middleware/local.rb
|
740
|
+
- lib/jets/controller/middleware/local/api_gateway.rb
|
741
|
+
- lib/jets/controller/middleware/local/mimic_aws_call.rb
|
742
|
+
- lib/jets/controller/middleware/local/route_matcher.rb
|
743
|
+
- lib/jets/controller/middleware/main.rb
|
744
|
+
- lib/jets/controller/middleware/reloader.rb
|
745
|
+
- lib/jets/controller/middleware/webpacker_setup.rb
|
746
|
+
- lib/jets/controller/params.rb
|
747
|
+
- lib/jets/controller/rack/adapter.rb
|
748
|
+
- lib/jets/controller/rack/env.rb
|
749
|
+
- lib/jets/controller/redirection.rb
|
750
|
+
- lib/jets/controller/rendering.rb
|
751
|
+
- lib/jets/controller/rendering/rack_renderer.rb
|
752
|
+
- lib/jets/controller/request.rb
|
753
|
+
- lib/jets/controller/response.rb
|
754
|
+
- lib/jets/controller/stage.rb
|
755
|
+
- lib/jets/core.rb
|
756
|
+
- lib/jets/core_ext/kernel.rb
|
757
|
+
- lib/jets/db.rb
|
758
|
+
- lib/jets/dotenv.rb
|
759
|
+
- lib/jets/dotenv/ssm.rb
|
760
|
+
- lib/jets/erb.rb
|
761
|
+
- lib/jets/generator.rb
|
762
|
+
- lib/jets/generator/templates/erb/controller/view.html.erb
|
763
|
+
- lib/jets/generator/templates/erb/scaffold/_form.html.erb
|
764
|
+
- lib/jets/generator/templates/erb/scaffold/edit.html.erb
|
765
|
+
- lib/jets/generator/templates/erb/scaffold/index.html.erb
|
766
|
+
- lib/jets/generator/templates/erb/scaffold/new.html.erb
|
767
|
+
- lib/jets/generator/templates/erb/scaffold/show.html.erb
|
768
|
+
- lib/jets/generator/templates/rails/assets/javascript.js
|
769
|
+
- lib/jets/generator/templates/rails/assets/stylesheet.css
|
770
|
+
- lib/jets/generator/templates/rails/controller/controller.rb
|
771
|
+
- lib/jets/generator/templates/rails/helper/helper.rb
|
772
|
+
- lib/jets/generator/templates/rails/scaffold/scaffold.css
|
773
|
+
- lib/jets/generator/templates/rails/scaffold_controller/api_controller.rb
|
774
|
+
- lib/jets/generator/templates/rails/scaffold_controller/controller.rb
|
775
|
+
- lib/jets/inflections.rb
|
776
|
+
- lib/jets/internal/app/controllers/jets/mailers_controller.rb
|
777
|
+
- lib/jets/internal/app/controllers/jets/public_controller.rb
|
778
|
+
- lib/jets/internal/app/controllers/jets/rack_controller.rb
|
779
|
+
- lib/jets/internal/app/functions/jets/base_path.rb
|
780
|
+
- lib/jets/internal/app/helpers/jets/mailers_helper.rb
|
781
|
+
- lib/jets/internal/app/jobs/jets/preheat_job.rb
|
782
|
+
- lib/jets/internal/app/shared/functions/jets/s3_bucket_config.rb
|
783
|
+
- lib/jets/internal/app/views/jets/mailers/email.html.erb
|
784
|
+
- lib/jets/internal/app/views/jets/mailers/index.html.erb
|
785
|
+
- lib/jets/internal/app/views/jets/mailers/mailer.html.erb
|
786
|
+
- lib/jets/internal/turbines/jets/mailer.rb
|
787
|
+
- lib/jets/job/base.rb
|
788
|
+
- lib/jets/job/dsl.rb
|
789
|
+
- lib/jets/job/dsl/dynamodb_event.rb
|
790
|
+
- lib/jets/job/dsl/event_source_mapping.rb
|
791
|
+
- lib/jets/job/dsl/iot_event.rb
|
792
|
+
- lib/jets/job/dsl/kinesis_event.rb
|
793
|
+
- lib/jets/job/dsl/log_event.rb
|
794
|
+
- lib/jets/job/dsl/rule_event.rb
|
795
|
+
- lib/jets/job/dsl/s3_event.rb
|
796
|
+
- lib/jets/job/dsl/sns_event.rb
|
797
|
+
- lib/jets/job/dsl/sqs_event.rb
|
798
|
+
- lib/jets/job/helpers/kinesis_event_helper.rb
|
799
|
+
- lib/jets/job/helpers/log_event_helper.rb
|
800
|
+
- lib/jets/job/helpers/s3_event_helper.rb
|
801
|
+
- lib/jets/klass.rb
|
802
|
+
- lib/jets/lambda/dsl.rb
|
803
|
+
- lib/jets/lambda/function.rb
|
804
|
+
- lib/jets/lambda/function_constructor.rb
|
805
|
+
- lib/jets/lambda/functions.rb
|
806
|
+
- lib/jets/lambda/task.rb
|
807
|
+
- lib/jets/logger.rb
|
808
|
+
- lib/jets/mega/hash_converter.rb
|
809
|
+
- lib/jets/mega/request.rb
|
810
|
+
- lib/jets/mega/request/source.rb
|
811
|
+
- lib/jets/middleware.rb
|
812
|
+
- lib/jets/middleware/configurator.rb
|
813
|
+
- lib/jets/middleware/default_stack.rb
|
814
|
+
- lib/jets/middleware/layer.rb
|
815
|
+
- lib/jets/middleware/stack.rb
|
816
|
+
- lib/jets/naming.rb
|
817
|
+
- lib/jets/overrides/lambda.rb
|
818
|
+
- lib/jets/overrides/lambda/marshaller.rb
|
819
|
+
- lib/jets/overrides/rails.rb
|
820
|
+
- lib/jets/overrides/rails/asset_tag_helper.rb
|
821
|
+
- lib/jets/overrides/rails/common_methods.rb
|
822
|
+
- lib/jets/overrides/rails/rendering_helper.rb
|
823
|
+
- lib/jets/overrides/rails/url_helper.rb
|
824
|
+
- lib/jets/poly_fun.rb
|
825
|
+
- lib/jets/poly_fun/base_executor.rb
|
826
|
+
- lib/jets/poly_fun/lambda_executor.rb
|
827
|
+
- lib/jets/poly_fun/node_error.rb
|
828
|
+
- lib/jets/poly_fun/node_executor.rb
|
829
|
+
- lib/jets/poly_fun/python_error.rb
|
830
|
+
- lib/jets/poly_fun/python_executor.rb
|
831
|
+
- lib/jets/preheat.rb
|
832
|
+
- lib/jets/processors/deducer.rb
|
833
|
+
- lib/jets/processors/main_processor.rb
|
834
|
+
- lib/jets/rack_server.rb
|
835
|
+
- lib/jets/rdoc.rb
|
836
|
+
- lib/jets/resource.rb
|
837
|
+
- lib/jets/resource/api_gateway/base_path/function.rb
|
838
|
+
- lib/jets/resource/api_gateway/base_path/mapping.rb
|
839
|
+
- lib/jets/resource/api_gateway/base_path/role.rb
|
840
|
+
- lib/jets/resource/api_gateway/cors.rb
|
841
|
+
- lib/jets/resource/api_gateway/deployment.rb
|
842
|
+
- lib/jets/resource/api_gateway/domain_name.rb
|
843
|
+
- lib/jets/resource/api_gateway/method.rb
|
844
|
+
- lib/jets/resource/api_gateway/resource.rb
|
845
|
+
- lib/jets/resource/api_gateway/rest_api.rb
|
846
|
+
- lib/jets/resource/api_gateway/rest_api/change_detection.rb
|
847
|
+
- lib/jets/resource/api_gateway/rest_api/logical_id.rb
|
848
|
+
- lib/jets/resource/api_gateway/rest_api/routes.rb
|
849
|
+
- lib/jets/resource/api_gateway/rest_api/routes/change.rb
|
850
|
+
- lib/jets/resource/api_gateway/rest_api/routes/change/base.rb
|
851
|
+
- lib/jets/resource/api_gateway/rest_api/routes/change/to.rb
|
852
|
+
- lib/jets/resource/api_gateway/rest_api/routes/change/variable.rb
|
853
|
+
- lib/jets/resource/api_gateway/rest_api/routes/collision.rb
|
854
|
+
- lib/jets/resource/api_gateway/rest_api/routes/collision/variable_exception.rb
|
855
|
+
- lib/jets/resource/associated.rb
|
856
|
+
- lib/jets/resource/base.rb
|
857
|
+
- lib/jets/resource/child_stack/api_deployment.rb
|
858
|
+
- lib/jets/resource/child_stack/api_gateway.rb
|
859
|
+
- lib/jets/resource/child_stack/app_class.rb
|
860
|
+
- lib/jets/resource/child_stack/base.rb
|
861
|
+
- lib/jets/resource/child_stack/shared.rb
|
862
|
+
- lib/jets/resource/config/config_rule.rb
|
863
|
+
- lib/jets/resource/config/managed_rule.rb
|
864
|
+
- lib/jets/resource/events/rule.rb
|
865
|
+
- lib/jets/resource/iam/application_role.rb
|
866
|
+
- lib/jets/resource/iam/base_role_definition.rb
|
867
|
+
- lib/jets/resource/iam/class_role.rb
|
868
|
+
- lib/jets/resource/iam/function_role.rb
|
869
|
+
- lib/jets/resource/iam/managed_policy.rb
|
870
|
+
- lib/jets/resource/iam/policy_document.rb
|
871
|
+
- lib/jets/resource/iot/topic_rule.rb
|
872
|
+
- lib/jets/resource/lambda/event_source_mapping.rb
|
873
|
+
- lib/jets/resource/lambda/function.rb
|
874
|
+
- lib/jets/resource/lambda/function/environment.rb
|
875
|
+
- lib/jets/resource/lambda/gem_layer.rb
|
876
|
+
- lib/jets/resource/lambda/layer_version.rb
|
877
|
+
- lib/jets/resource/logs/subscription_filter.rb
|
878
|
+
- lib/jets/resource/permission.rb
|
879
|
+
- lib/jets/resource/replacer.rb
|
880
|
+
- lib/jets/resource/route53/record_set.rb
|
881
|
+
- lib/jets/resource/s3/bucket.rb
|
882
|
+
- lib/jets/resource/sns/subscription.rb
|
883
|
+
- lib/jets/resource/sns/topic.rb
|
884
|
+
- lib/jets/resource/sns/topic_policy.rb
|
885
|
+
- lib/jets/resource/sqs/queue.rb
|
886
|
+
- lib/jets/resource/standardizer.rb
|
887
|
+
- lib/jets/route.rb
|
888
|
+
- lib/jets/router.rb
|
889
|
+
- lib/jets/router/scope.rb
|
890
|
+
- lib/jets/rule/base.rb
|
891
|
+
- lib/jets/rule/dsl.rb
|
892
|
+
- lib/jets/spec_helpers.rb
|
893
|
+
- lib/jets/spec_helpers/params.rb
|
894
|
+
- lib/jets/spec_helpers/request.rb
|
895
|
+
- lib/jets/spec_helpers/response.rb
|
896
|
+
- lib/jets/stack.rb
|
897
|
+
- lib/jets/stack/builder.rb
|
898
|
+
- lib/jets/stack/definition.rb
|
899
|
+
- lib/jets/stack/depends.rb
|
900
|
+
- lib/jets/stack/depends/item.rb
|
901
|
+
- lib/jets/stack/function.rb
|
902
|
+
- lib/jets/stack/main.rb
|
903
|
+
- lib/jets/stack/main/dsl.rb
|
904
|
+
- lib/jets/stack/main/dsl/base.rb
|
905
|
+
- lib/jets/stack/main/dsl/cloudwatch.rb
|
906
|
+
- lib/jets/stack/main/dsl/iam.rb
|
907
|
+
- lib/jets/stack/main/dsl/lambda.rb
|
908
|
+
- lib/jets/stack/main/dsl/s3.rb
|
909
|
+
- lib/jets/stack/main/dsl/sns.rb
|
910
|
+
- lib/jets/stack/main/dsl/sqs.rb
|
911
|
+
- lib/jets/stack/output.rb
|
912
|
+
- lib/jets/stack/output/dsl.rb
|
913
|
+
- lib/jets/stack/output/lookup.rb
|
914
|
+
- lib/jets/stack/parameter.rb
|
915
|
+
- lib/jets/stack/parameter/dsl.rb
|
916
|
+
- lib/jets/stack/resource.rb
|
917
|
+
- lib/jets/stack/resource/dsl.rb
|
918
|
+
- lib/jets/stack/s3_event.rb
|
919
|
+
- lib/jets/tmp_loader.rb
|
920
|
+
- lib/jets/turbine.rb
|
921
|
+
- lib/jets/turbo.rb
|
922
|
+
- lib/jets/turbo/database_yaml.rb
|
923
|
+
- lib/jets/turbo/project/.gitignore
|
924
|
+
- lib/jets/turbo/project/.jetskeep
|
925
|
+
- lib/jets/turbo/project/Gemfile
|
926
|
+
- lib/jets/turbo/project/Rakefile
|
927
|
+
- lib/jets/turbo/project/app/controllers/application_controller.rb
|
928
|
+
- lib/jets/turbo/project/app/helpers/application_helper.rb
|
929
|
+
- lib/jets/turbo/project/app/jobs/application_job.rb
|
930
|
+
- lib/jets/turbo/project/config.ru
|
931
|
+
- lib/jets/turbo/project/config/application.rb
|
932
|
+
- lib/jets/turbo/project/config/routes.rb
|
933
|
+
- lib/jets/turbo/rails.rb
|
934
|
+
- lib/jets/turbo/templates/config/database.yml
|
935
|
+
- lib/jets/util.rb
|
936
|
+
- lib/jets/version.rb
|
937
|
+
- readme/prerelease.md
|
938
|
+
- readme/testing.md
|
939
|
+
homepage: http://rubyonjets.com
|
940
|
+
licenses:
|
941
|
+
- MIT
|
942
|
+
metadata: {}
|
943
|
+
post_install_message:
|
944
|
+
rdoc_options:
|
945
|
+
- "-m"
|
946
|
+
- README.md
|
947
|
+
- "--markup"
|
948
|
+
- tomdoc
|
949
|
+
- "-x"
|
950
|
+
- docs
|
951
|
+
- "-x"
|
952
|
+
- spec
|
953
|
+
- "-x"
|
954
|
+
- vendor
|
955
|
+
- "-x"
|
956
|
+
- core.rb
|
957
|
+
- "-x"
|
958
|
+
- ".js"
|
959
|
+
- "-x"
|
960
|
+
- templates
|
961
|
+
- "-x"
|
962
|
+
- commands
|
963
|
+
- "-x"
|
964
|
+
- internal
|
965
|
+
- "-x"
|
966
|
+
- support
|
967
|
+
- "-x"
|
968
|
+
- Dockerfile
|
969
|
+
- "-x"
|
970
|
+
- Dockerfile.base
|
971
|
+
- "-x"
|
972
|
+
- Gemfile
|
973
|
+
- "-x"
|
974
|
+
- Gemfile.lock
|
975
|
+
- "-x"
|
976
|
+
- Guardfile
|
977
|
+
- "-x"
|
978
|
+
- LICENSE
|
979
|
+
- "-x"
|
980
|
+
- Procfile
|
981
|
+
- "-x"
|
982
|
+
- Rakefile
|
983
|
+
- "-x"
|
984
|
+
- bin
|
985
|
+
require_paths:
|
986
|
+
- lib
|
987
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
988
|
+
requirements:
|
989
|
+
- - "~>"
|
990
|
+
- !ruby/object:Gem::Version
|
991
|
+
version: '2.5'
|
992
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
993
|
+
requirements:
|
994
|
+
- - ">="
|
995
|
+
- !ruby/object:Gem::Version
|
996
|
+
version: '0'
|
997
|
+
requirements: []
|
998
|
+
rubyforge_project:
|
999
|
+
rubygems_version: 2.7.8
|
1000
|
+
signing_key:
|
1001
|
+
specification_version: 4
|
1002
|
+
summary: Fork of rubyonJets - emergency fix for handling AWS CF 60 Output limit. Will
|
1003
|
+
PR later
|
1004
|
+
test_files: []
|