scribo 1.0.38 → 1.0.40
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/gem-push.yml +11 -0
- data/.gitignore +12 -0
- data/.reek.yml +8 -0
- data/.rubocop.yml +44 -0
- data/.rubocop_todo.yml +129 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +31 -0
- data/Gemfile.lock +397 -0
- data/README.md +5 -9
- data/TODO.md +32 -0
- data/app/assets/config/scribo_manifest.js +4 -2
- data/app/assets/images/scribo/.keep +0 -0
- data/app/assets/images/scribo/Unknown-1.svg +2 -0
- data/app/assets/images/scribo/file.svg +4 -0
- data/app/assets/images/scribo/file_icons.svg +1 -0
- data/app/assets/images/scribo/folder-open.svg +1 -0
- data/app/assets/images/scribo/folder.svg +1 -0
- data/app/assets/images/scribo/icons/3d.svg +1 -0
- data/app/assets/images/scribo/icons/actionscript.svg +3 -0
- data/app/assets/images/scribo/icons/android.svg +1 -0
- data/app/assets/images/scribo/icons/angular-component.svg +3 -0
- data/app/assets/images/scribo/icons/angular-directive.svg +3 -0
- data/app/assets/images/scribo/icons/angular-guard.svg +3 -0
- data/app/assets/images/scribo/icons/angular-pipe.svg +3 -0
- data/app/assets/images/scribo/icons/angular-resolver.svg +3 -0
- data/app/assets/images/scribo/icons/angular-service.svg +3 -0
- data/app/assets/images/scribo/icons/angular.svg +3 -0
- data/app/assets/images/scribo/icons/apiblueprint.svg +5 -0
- data/app/assets/images/scribo/icons/applescript.svg +3 -0
- data/app/assets/images/scribo/icons/appveyor.svg +5 -0
- data/app/assets/images/scribo/icons/arduino.svg +1 -0
- data/app/assets/images/scribo/icons/asciidoc.svg +1 -0
- data/app/assets/images/scribo/icons/assembly.svg +4 -0
- data/app/assets/images/scribo/icons/audio.svg +4 -0
- data/app/assets/images/scribo/icons/aurelia.svg +107 -0
- data/app/assets/images/scribo/icons/authors.svg +1 -0
- data/app/assets/images/scribo/icons/autohotkey.svg +3 -0
- data/app/assets/images/scribo/icons/autoit.svg +21 -0
- data/app/assets/images/scribo/icons/azure-pipelines.svg +1 -0
- data/app/assets/images/scribo/icons/azure.svg +1 -0
- data/app/assets/images/scribo/icons/babel.svg +1 -0
- data/app/assets/images/scribo/icons/ballerina.svg +1 -0
- data/app/assets/images/scribo/icons/bazel.svg +1 -0
- data/app/assets/images/scribo/icons/bitbucket.svg +1 -0
- data/app/assets/images/scribo/icons/bithound.svg +1 -0
- data/app/assets/images/scribo/icons/blink.svg +4 -0
- data/app/assets/images/scribo/icons/blink_light.svg +4 -0
- data/app/assets/images/scribo/icons/bower.svg +1 -0
- data/app/assets/images/scribo/icons/browserlist.svg +6 -0
- data/app/assets/images/scribo/icons/browserlist_light.svg +7 -0
- data/app/assets/images/scribo/icons/bucklescript.svg +3 -0
- data/app/assets/images/scribo/icons/buildkite.svg +1 -0
- data/app/assets/images/scribo/icons/c.svg +1 -0
- data/app/assets/images/scribo/icons/cabal.svg +8 -0
- data/app/assets/images/scribo/icons/cake.svg +1 -0
- data/app/assets/images/scribo/icons/certificate.svg +3 -0
- data/app/assets/images/scribo/icons/changelog.svg +1 -0
- data/app/assets/images/scribo/icons/circleci.svg +14 -0
- data/app/assets/images/scribo/icons/circleci_light.svg +14 -0
- data/app/assets/images/scribo/icons/clojure.svg +1 -0
- data/app/assets/images/scribo/icons/cloudfoundry.svg +24 -0
- data/app/assets/images/scribo/icons/cmake.svg +7 -0
- data/app/assets/images/scribo/icons/code-climate.svg +4 -0
- data/app/assets/images/scribo/icons/code-climate_light.svg +4 -0
- data/app/assets/images/scribo/icons/coffee.svg +3 -0
- data/app/assets/images/scribo/icons/coldfusion.svg +7 -0
- data/app/assets/images/scribo/icons/conduct.svg +4 -0
- data/app/assets/images/scribo/icons/console.svg +3 -0
- data/app/assets/images/scribo/icons/contributing.svg +4 -0
- data/app/assets/images/scribo/icons/cpp.svg +1 -0
- data/app/assets/images/scribo/icons/credits.svg +3 -0
- data/app/assets/images/scribo/icons/crystal.svg +4 -0
- data/app/assets/images/scribo/icons/crystal_light.svg +4 -0
- data/app/assets/images/scribo/icons/csharp.svg +3 -0
- data/app/assets/images/scribo/icons/css-map.svg +1 -0
- data/app/assets/images/scribo/icons/css.svg +3 -0
- data/app/assets/images/scribo/icons/cucumber.svg +4 -0
- data/app/assets/images/scribo/icons/cuda.svg +4 -0
- data/app/assets/images/scribo/icons/d.svg +1 -0
- data/app/assets/images/scribo/icons/dart.svg +9 -0
- data/app/assets/images/scribo/icons/database.svg +1 -0
- data/app/assets/images/scribo/icons/diff.svg +1 -0
- data/app/assets/images/scribo/icons/django.svg +1 -0
- data/app/assets/images/scribo/icons/docker.svg +4 -0
- data/app/assets/images/scribo/icons/document.svg +3 -0
- data/app/assets/images/scribo/icons/dotjs.svg +8 -0
- data/app/assets/images/scribo/icons/drone.svg +6 -0
- data/app/assets/images/scribo/icons/drone_light.svg +6 -0
- data/app/assets/images/scribo/icons/edge.svg +1 -0
- data/app/assets/images/scribo/icons/editorconfig.svg +9 -0
- data/app/assets/images/scribo/icons/ejs.svg +7 -0
- data/app/assets/images/scribo/icons/elixir.svg +1 -0
- data/app/assets/images/scribo/icons/elm.svg +1 -0
- data/app/assets/images/scribo/icons/email.svg +3 -0
- data/app/assets/images/scribo/icons/erlang.svg +5 -0
- data/app/assets/images/scribo/icons/eslint.svg +3 -0
- data/app/assets/images/scribo/icons/exe.svg +3 -0
- data/app/assets/images/scribo/icons/fastlane.svg +1 -0
- data/app/assets/images/scribo/icons/favicon.svg +3 -0
- data/app/assets/images/scribo/icons/file.svg +3 -0
- data/app/assets/images/scribo/icons/firebase.svg +9 -0
- data/app/assets/images/scribo/icons/flash.svg +12 -0
- data/app/assets/images/scribo/icons/flow.svg +7 -0
- data/app/assets/images/scribo/icons/folder-android-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-android.svg +1 -0
- data/app/assets/images/scribo/icons/folder-animation-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-animation.svg +1 -0
- data/app/assets/images/scribo/icons/folder-ansible-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-ansible.svg +1 -0
- data/app/assets/images/scribo/icons/folder-api-open.svg +4 -0
- data/app/assets/images/scribo/icons/folder-api.svg +4 -0
- data/app/assets/images/scribo/icons/folder-app-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-app.svg +1 -0
- data/app/assets/images/scribo/icons/folder-archive-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-archive.svg +1 -0
- data/app/assets/images/scribo/icons/folder-audio-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-audio.svg +2 -0
- data/app/assets/images/scribo/icons/folder-aurelia-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-aurelia.svg +2 -0
- data/app/assets/images/scribo/icons/folder-aws-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-aws.svg +2 -0
- data/app/assets/images/scribo/icons/folder-batch-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-batch.svg +1 -0
- data/app/assets/images/scribo/icons/folder-benchmark-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-benchmark.svg +1 -0
- data/app/assets/images/scribo/icons/folder-bower-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-bower.svg +2 -0
- data/app/assets/images/scribo/icons/folder-ci-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-ci.svg +1 -0
- data/app/assets/images/scribo/icons/folder-circleci-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-circleci.svg +1 -0
- data/app/assets/images/scribo/icons/folder-class-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-class.svg +1 -0
- data/app/assets/images/scribo/icons/folder-client-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-client.svg +1 -0
- data/app/assets/images/scribo/icons/folder-cluster-open.svg +8 -0
- data/app/assets/images/scribo/icons/folder-cluster.svg +8 -0
- data/app/assets/images/scribo/icons/folder-command-open.svg +4 -0
- data/app/assets/images/scribo/icons/folder-command.svg +4 -0
- data/app/assets/images/scribo/icons/folder-components-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-components.svg +2 -0
- data/app/assets/images/scribo/icons/folder-config-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-config.svg +2 -0
- data/app/assets/images/scribo/icons/folder-constant-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-constant.svg +1 -0
- data/app/assets/images/scribo/icons/folder-container-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-container.svg +1 -0
- data/app/assets/images/scribo/icons/folder-content-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-content.svg +1 -0
- data/app/assets/images/scribo/icons/folder-controller-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-controller.svg +1 -0
- data/app/assets/images/scribo/icons/folder-core-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-core.svg +1 -0
- data/app/assets/images/scribo/icons/folder-coverage-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-coverage.svg +1 -0
- data/app/assets/images/scribo/icons/folder-css-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-css.svg +2 -0
- data/app/assets/images/scribo/icons/folder-custom-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-custom.svg +1 -0
- data/app/assets/images/scribo/icons/folder-database-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-database.svg +2 -0
- data/app/assets/images/scribo/icons/folder-debug-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-debug.svg +1 -0
- data/app/assets/images/scribo/icons/folder-delta-open.svg +4 -0
- data/app/assets/images/scribo/icons/folder-delta.svg +4 -0
- data/app/assets/images/scribo/icons/folder-dist-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-dist.svg +2 -0
- data/app/assets/images/scribo/icons/folder-docker-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-docker.svg +5 -0
- data/app/assets/images/scribo/icons/folder-docs-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-docs.svg +2 -0
- data/app/assets/images/scribo/icons/folder-download-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-download.svg +1 -0
- data/app/assets/images/scribo/icons/folder-dump-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-dump.svg +1 -0
- data/app/assets/images/scribo/icons/folder-environment-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-environment.svg +1 -0
- data/app/assets/images/scribo/icons/folder-error-open.svg +7 -0
- data/app/assets/images/scribo/icons/folder-error.svg +8 -0
- data/app/assets/images/scribo/icons/folder-event-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-event.svg +1 -0
- data/app/assets/images/scribo/icons/folder-examples-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-examples.svg +1 -0
- data/app/assets/images/scribo/icons/folder-expo-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-expo.svg +4 -0
- data/app/assets/images/scribo/icons/folder-export-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-export.svg +5 -0
- data/app/assets/images/scribo/icons/folder-fastlane-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-fastlane.svg +1 -0
- data/app/assets/images/scribo/icons/folder-flow-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-flow.svg +1 -0
- data/app/assets/images/scribo/icons/folder-font-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-font.svg +1 -0
- data/app/assets/images/scribo/icons/folder-functions-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-functions.svg +1 -0
- data/app/assets/images/scribo/icons/folder-generator-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-generator.svg +1 -0
- data/app/assets/images/scribo/icons/folder-git-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-git.svg +1 -0
- data/app/assets/images/scribo/icons/folder-github-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-github.svg +2 -0
- data/app/assets/images/scribo/icons/folder-gitlab-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-gitlab.svg +2 -0
- data/app/assets/images/scribo/icons/folder-global-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-global.svg +2 -0
- data/app/assets/images/scribo/icons/folder-gradle-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-gradle.svg +2 -0
- data/app/assets/images/scribo/icons/folder-graphql-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-graphql.svg +1 -0
- data/app/assets/images/scribo/icons/folder-guard-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-guard.svg +1 -0
- data/app/assets/images/scribo/icons/folder-helper-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-helper.svg +1 -0
- data/app/assets/images/scribo/icons/folder-hook-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-hook.svg +1 -0
- data/app/assets/images/scribo/icons/folder-i18n-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-i18n.svg +2 -0
- data/app/assets/images/scribo/icons/folder-images-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-images.svg +2 -0
- data/app/assets/images/scribo/icons/folder-import-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-import.svg +1 -0
- data/app/assets/images/scribo/icons/folder-include-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-include.svg +2 -0
- data/app/assets/images/scribo/icons/folder-ios-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-ios.svg +1 -0
- data/app/assets/images/scribo/icons/folder-javascript-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-javascript.svg +2 -0
- data/app/assets/images/scribo/icons/folder-jinja-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-jinja-open_light.svg +2 -0
- data/app/assets/images/scribo/icons/folder-jinja.svg +2 -0
- data/app/assets/images/scribo/icons/folder-jinja_light.svg +2 -0
- data/app/assets/images/scribo/icons/folder-job-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-job.svg +1 -0
- data/app/assets/images/scribo/icons/folder-keys-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-keys.svg +1 -0
- data/app/assets/images/scribo/icons/folder-kubernetes-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-kubernetes.svg +5 -0
- data/app/assets/images/scribo/icons/folder-layout-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-layout.svg +1 -0
- data/app/assets/images/scribo/icons/folder-less-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-less.svg +1 -0
- data/app/assets/images/scribo/icons/folder-lib-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-lib.svg +2 -0
- data/app/assets/images/scribo/icons/folder-log-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-log.svg +2 -0
- data/app/assets/images/scribo/icons/folder-mail-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-mail.svg +1 -0
- data/app/assets/images/scribo/icons/folder-mappings-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-mappings.svg +1 -0
- data/app/assets/images/scribo/icons/folder-markdown-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-markdown.svg +2 -0
- data/app/assets/images/scribo/icons/folder-messages-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-messages.svg +1 -0
- data/app/assets/images/scribo/icons/folder-meta-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-meta.svg +1 -0
- data/app/assets/images/scribo/icons/folder-middleware-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-middleware.svg +1 -0
- data/app/assets/images/scribo/icons/folder-mock-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-mock.svg +1 -0
- data/app/assets/images/scribo/icons/folder-ngrx-actions-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-ngrx-actions.svg +2 -0
- data/app/assets/images/scribo/icons/folder-ngrx-effects-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-ngrx-effects.svg +2 -0
- data/app/assets/images/scribo/icons/folder-ngrx-entities-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-ngrx-entities.svg +2 -0
- data/app/assets/images/scribo/icons/folder-ngrx-reducer-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-ngrx-reducer.svg +2 -0
- data/app/assets/images/scribo/icons/folder-ngrx-state-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-ngrx-state.svg +1 -0
- data/app/assets/images/scribo/icons/folder-ngrx-store-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-ngrx-store.svg +1 -0
- data/app/assets/images/scribo/icons/folder-node-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-node.svg +1 -0
- data/app/assets/images/scribo/icons/folder-nuxt-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-nuxt.svg +1 -0
- data/app/assets/images/scribo/icons/folder-open.svg +11 -0
- data/app/assets/images/scribo/icons/folder-other-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-other.svg +1 -0
- data/app/assets/images/scribo/icons/folder-packages-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-packages.svg +1 -0
- data/app/assets/images/scribo/icons/folder-php-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-php.svg +2 -0
- data/app/assets/images/scribo/icons/folder-phpmailer-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-phpmailer.svg +2 -0
- data/app/assets/images/scribo/icons/folder-pipe-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-pipe.svg +1 -0
- data/app/assets/images/scribo/icons/folder-plugin-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-plugin.svg +1 -0
- data/app/assets/images/scribo/icons/folder-prisma-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-prisma.svg +1 -0
- data/app/assets/images/scribo/icons/folder-private-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-private.svg +1 -0
- data/app/assets/images/scribo/icons/folder-public-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-public.svg +2 -0
- data/app/assets/images/scribo/icons/folder-python-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-python.svg +1 -0
- data/app/assets/images/scribo/icons/folder-react-components-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-react-components.svg +2 -0
- data/app/assets/images/scribo/icons/folder-redux-actions-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-redux-actions.svg +1 -0
- data/app/assets/images/scribo/icons/folder-redux-reducer-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-redux-reducer.svg +2 -0
- data/app/assets/images/scribo/icons/folder-redux-store-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-redux-store.svg +2 -0
- data/app/assets/images/scribo/icons/folder-resource-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-resource.svg +2 -0
- data/app/assets/images/scribo/icons/folder-review-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-review.svg +1 -0
- data/app/assets/images/scribo/icons/folder-routes-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-routes.svg +1 -0
- data/app/assets/images/scribo/icons/folder-rules-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-rules.svg +1 -0
- data/app/assets/images/scribo/icons/folder-sass-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-sass.svg +1 -0
- data/app/assets/images/scribo/icons/folder-scripts-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-scripts.svg +2 -0
- data/app/assets/images/scribo/icons/folder-secure-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-secure.svg +1 -0
- data/app/assets/images/scribo/icons/folder-server-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-server.svg +1 -0
- data/app/assets/images/scribo/icons/folder-serverless-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-serverless.svg +1 -0
- data/app/assets/images/scribo/icons/folder-shared-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-shared.svg +1 -0
- data/app/assets/images/scribo/icons/folder-src-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-src.svg +2 -0
- data/app/assets/images/scribo/icons/folder-stack-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-stack.svg +1 -0
- data/app/assets/images/scribo/icons/folder-stylus-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-stylus.svg +1 -0
- data/app/assets/images/scribo/icons/folder-sublime-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-sublime.svg +2 -0
- data/app/assets/images/scribo/icons/folder-svg-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-svg.svg +1 -0
- data/app/assets/images/scribo/icons/folder-syntax-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-syntax.svg +1 -0
- data/app/assets/images/scribo/icons/folder-tasks-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-tasks.svg +1 -0
- data/app/assets/images/scribo/icons/folder-temp-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-temp.svg +2 -0
- data/app/assets/images/scribo/icons/folder-template-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-template.svg +1 -0
- data/app/assets/images/scribo/icons/folder-test-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-test.svg +1 -0
- data/app/assets/images/scribo/icons/folder-theme-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-theme.svg +2 -0
- data/app/assets/images/scribo/icons/folder-tools-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-tools.svg +1 -0
- data/app/assets/images/scribo/icons/folder-typescript-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-typescript.svg +1 -0
- data/app/assets/images/scribo/icons/folder-upload-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-upload.svg +1 -0
- data/app/assets/images/scribo/icons/folder-utils-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-utils.svg +1 -0
- data/app/assets/images/scribo/icons/folder-video-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-video.svg +2 -0
- data/app/assets/images/scribo/icons/folder-views-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-views.svg +1 -0
- data/app/assets/images/scribo/icons/folder-vm-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-vm.svg +1 -0
- data/app/assets/images/scribo/icons/folder-vscode-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-vscode.svg +2 -0
- data/app/assets/images/scribo/icons/folder-vue-directives-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-vue-directives.svg +1 -0
- data/app/assets/images/scribo/icons/folder-vue-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-vue.svg +1 -0
- data/app/assets/images/scribo/icons/folder-vuex-store-open.svg +1 -0
- data/app/assets/images/scribo/icons/folder-vuex-store.svg +1 -0
- data/app/assets/images/scribo/icons/folder-wakatime-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-wakatime.svg +2 -0
- data/app/assets/images/scribo/icons/folder-webpack-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-webpack.svg +2 -0
- data/app/assets/images/scribo/icons/folder-wordpress-open.svg +2 -0
- data/app/assets/images/scribo/icons/folder-wordpress.svg +1 -0
- data/app/assets/images/scribo/icons/folder.svg +11 -0
- data/app/assets/images/scribo/icons/font.svg +3 -0
- data/app/assets/images/scribo/icons/foxpro.svg +1 -0
- data/app/assets/images/scribo/icons/fsharp.svg +7 -0
- data/app/assets/images/scribo/icons/fusebox.svg +20 -0
- data/app/assets/images/scribo/icons/gatsby.svg +5 -0
- data/app/assets/images/scribo/icons/gemfile.svg +1 -0
- data/app/assets/images/scribo/icons/git.svg +4 -0
- data/app/assets/images/scribo/icons/gitlab.svg +43 -0
- data/app/assets/images/scribo/icons/gitpod.svg +1 -0
- data/app/assets/images/scribo/icons/go-mod.svg +8 -0
- data/app/assets/images/scribo/icons/go.svg +8 -0
- data/app/assets/images/scribo/icons/go_gopher.svg +25 -0
- data/app/assets/images/scribo/icons/godot-assets.svg +1 -0
- data/app/assets/images/scribo/icons/godot.svg +1 -0
- data/app/assets/images/scribo/icons/gradle.svg +3 -0
- data/app/assets/images/scribo/icons/graphcool.svg +6 -0
- data/app/assets/images/scribo/icons/graphql.svg +11 -0
- data/app/assets/images/scribo/icons/groovy.svg +3 -0
- data/app/assets/images/scribo/icons/grunt.svg +1 -0
- data/app/assets/images/scribo/icons/gulp.svg +3 -0
- data/app/assets/images/scribo/icons/h.svg +6 -0
- data/app/assets/images/scribo/icons/hack.svg +2 -0
- data/app/assets/images/scribo/icons/haml.svg +5 -0
- data/app/assets/images/scribo/icons/handlebars.svg +3 -0
- data/app/assets/images/scribo/icons/haskell.svg +8 -0
- data/app/assets/images/scribo/icons/haxe.svg +17 -0
- data/app/assets/images/scribo/icons/hcl.svg +1 -0
- data/app/assets/images/scribo/icons/hcl_light.svg +1 -0
- data/app/assets/images/scribo/icons/helm.svg +1 -0
- data/app/assets/images/scribo/icons/heroku.svg +1 -0
- data/app/assets/images/scribo/icons/hpp.svg +7 -0
- data/app/assets/images/scribo/icons/html.svg +3 -0
- data/app/assets/images/scribo/icons/http.svg +3 -0
- data/app/assets/images/scribo/icons/i18n.svg +1 -0
- data/app/assets/images/scribo/icons/image.svg +3 -0
- data/app/assets/images/scribo/icons/ionic.svg +1 -0
- data/app/assets/images/scribo/icons/istanbul.svg +1 -0
- data/app/assets/images/scribo/icons/java.svg +3 -0
- data/app/assets/images/scribo/icons/javascript-map.svg +6 -0
- data/app/assets/images/scribo/icons/javascript.svg +3 -0
- data/app/assets/images/scribo/icons/jenkins.svg +1 -0
- data/app/assets/images/scribo/icons/jest.svg +1 -0
- data/app/assets/images/scribo/icons/jinja.svg +17 -0
- data/app/assets/images/scribo/icons/jinja_light.svg +17 -0
- data/app/assets/images/scribo/icons/json.svg +1 -0
- data/app/assets/images/scribo/icons/julia.svg +9 -0
- data/app/assets/images/scribo/icons/jupyter.svg +1 -0
- data/app/assets/images/scribo/icons/karma.svg +8 -0
- data/app/assets/images/scribo/icons/key.svg +3 -0
- data/app/assets/images/scribo/icons/kivy.svg +9 -0
- data/app/assets/images/scribo/icons/kl.svg +8 -0
- data/app/assets/images/scribo/icons/kotlin.svg +14 -0
- data/app/assets/images/scribo/icons/laravel.svg +5 -0
- data/app/assets/images/scribo/icons/less.svg +1 -0
- data/app/assets/images/scribo/icons/lib.svg +3 -0
- data/app/assets/images/scribo/icons/livescript.svg +18 -0
- data/app/assets/images/scribo/icons/lock.svg +3 -0
- data/app/assets/images/scribo/icons/log.svg +4 -0
- data/app/assets/images/scribo/icons/lua.svg +7 -0
- data/app/assets/images/scribo/icons/makefile.svg +1 -0
- data/app/assets/images/scribo/icons/markdown.svg +3 -0
- data/app/assets/images/scribo/icons/markojs.svg +12 -0
- data/app/assets/images/scribo/icons/mathematica.svg +3 -0
- data/app/assets/images/scribo/icons/matlab.svg +8 -0
- data/app/assets/images/scribo/icons/mdx.svg +1 -0
- data/app/assets/images/scribo/icons/merlin.svg +5 -0
- data/app/assets/images/scribo/icons/mint.svg +1 -0
- data/app/assets/images/scribo/icons/mjml.svg +4 -0
- data/app/assets/images/scribo/icons/mocha.svg +2 -0
- data/app/assets/images/scribo/icons/moonscript.svg +1 -0
- data/app/assets/images/scribo/icons/mxml.svg +3 -0
- data/app/assets/images/scribo/icons/nest-controller.svg +8 -0
- data/app/assets/images/scribo/icons/nest-decorator.svg +8 -0
- data/app/assets/images/scribo/icons/nest-filter.svg +8 -0
- data/app/assets/images/scribo/icons/nest-gateway.svg +8 -0
- data/app/assets/images/scribo/icons/nest-guard.svg +8 -0
- data/app/assets/images/scribo/icons/nest-middleware.svg +8 -0
- data/app/assets/images/scribo/icons/nest-module.svg +8 -0
- data/app/assets/images/scribo/icons/nest-pipe.svg +8 -0
- data/app/assets/images/scribo/icons/nest-service.svg +8 -0
- data/app/assets/images/scribo/icons/nest.svg +8 -0
- data/app/assets/images/scribo/icons/netlify.svg +1 -0
- data/app/assets/images/scribo/icons/ngrx-actions.svg +4 -0
- data/app/assets/images/scribo/icons/ngrx-effects.svg +4 -0
- data/app/assets/images/scribo/icons/ngrx-entity.svg +4 -0
- data/app/assets/images/scribo/icons/ngrx-reducer.svg +4 -0
- data/app/assets/images/scribo/icons/ngrx-state.svg +4 -0
- data/app/assets/images/scribo/icons/nim.svg +1 -0
- data/app/assets/images/scribo/icons/nix.svg +6 -0
- data/app/assets/images/scribo/icons/nodejs.svg +3 -0
- data/app/assets/images/scribo/icons/nodejs_alt.svg +1 -0
- data/app/assets/images/scribo/icons/nodemon.svg +7 -0
- data/app/assets/images/scribo/icons/now.svg +1 -0
- data/app/assets/images/scribo/icons/now_light.svg +1 -0
- data/app/assets/images/scribo/icons/npm.svg +8 -0
- data/app/assets/images/scribo/icons/nunjucks.svg +3 -0
- data/app/assets/images/scribo/icons/nuxt.svg +1 -0
- data/app/assets/images/scribo/icons/ocaml.svg +1 -0
- data/app/assets/images/scribo/icons/pdf.svg +1 -0
- data/app/assets/images/scribo/icons/percy.svg +1 -0
- data/app/assets/images/scribo/icons/perl.svg +3 -0
- data/app/assets/images/scribo/icons/php.svg +1 -0
- data/app/assets/images/scribo/icons/php_elephant.svg +4 -0
- data/app/assets/images/scribo/icons/postcss.svg +9 -0
- data/app/assets/images/scribo/icons/powerpoint.svg +3 -0
- data/app/assets/images/scribo/icons/powershell.svg +1 -0
- data/app/assets/images/scribo/icons/prettier.svg +35 -0
- data/app/assets/images/scribo/icons/prisma.svg +1 -0
- data/app/assets/images/scribo/icons/processing.svg +5 -0
- data/app/assets/images/scribo/icons/processing_light.svg +5 -0
- data/app/assets/images/scribo/icons/protractor.svg +1 -0
- data/app/assets/images/scribo/icons/pug.svg +22 -0
- data/app/assets/images/scribo/icons/puppet.svg +13 -0
- data/app/assets/images/scribo/icons/purescript.svg +1 -0
- data/app/assets/images/scribo/icons/python-misc.svg +1 -0
- data/app/assets/images/scribo/icons/python.svg +8 -0
- data/app/assets/images/scribo/icons/r.svg +4 -0
- data/app/assets/images/scribo/icons/racket.svg +1 -0
- data/app/assets/images/scribo/icons/raml.svg +1 -0
- data/app/assets/images/scribo/icons/razor.svg +1 -0
- data/app/assets/images/scribo/icons/react.svg +3 -0
- data/app/assets/images/scribo/icons/react_ts.svg +1 -0
- data/app/assets/images/scribo/icons/readme.svg +3 -0
- data/app/assets/images/scribo/icons/reason.svg +3 -0
- data/app/assets/images/scribo/icons/red.svg +8 -0
- data/app/assets/images/scribo/icons/redux-action.svg +1 -0
- data/app/assets/images/scribo/icons/redux-reducer.svg +1 -0
- data/app/assets/images/scribo/icons/redux-store.svg +1 -0
- data/app/assets/images/scribo/icons/restql.svg +60 -0
- data/app/assets/images/scribo/icons/riot.svg +1 -0
- data/app/assets/images/scribo/icons/robot.svg +1 -0
- data/app/assets/images/scribo/icons/rollup.svg +50 -0
- data/app/assets/images/scribo/icons/routing.svg +3 -0
- data/app/assets/images/scribo/icons/ruby.svg +3 -0
- data/app/assets/images/scribo/icons/rust.svg +3 -0
- data/app/assets/images/scribo/icons/san.svg +1 -0
- data/app/assets/images/scribo/icons/sass.svg +1 -0
- data/app/assets/images/scribo/icons/sbt.svg +6 -0
- data/app/assets/images/scribo/icons/scala.svg +1 -0
- data/app/assets/images/scribo/icons/scheme.svg +1 -0
- data/app/assets/images/scribo/icons/semantic-release.svg +1 -0
- data/app/assets/images/scribo/icons/semantic-release_light.svg +1 -0
- data/app/assets/images/scribo/icons/sequelize.svg +31 -0
- data/app/assets/images/scribo/icons/settings.svg +3 -0
- data/app/assets/images/scribo/icons/shaderlab.svg +3 -0
- data/app/assets/images/scribo/icons/silverstripe.svg +1 -0
- data/app/assets/images/scribo/icons/slim.svg +4 -0
- data/app/assets/images/scribo/icons/smarty.svg +3 -0
- data/app/assets/images/scribo/icons/snyk.svg +23 -0
- data/app/assets/images/scribo/icons/solidity.svg +7 -0
- data/app/assets/images/scribo/icons/stencil.svg +1 -0
- data/app/assets/images/scribo/icons/stencil_light.svg +1 -0
- data/app/assets/images/scribo/icons/storybook.svg +1 -0
- data/app/assets/images/scribo/icons/stylelint.svg +12 -0
- data/app/assets/images/scribo/icons/stylelint_light.svg +12 -0
- data/app/assets/images/scribo/icons/stylus.svg +1 -0
- data/app/assets/images/scribo/icons/sublime.svg +1 -0
- data/app/assets/images/scribo/icons/svelte.svg +1 -0
- data/app/assets/images/scribo/icons/svg.svg +1 -0
- data/app/assets/images/scribo/icons/swc.svg +12 -0
- data/app/assets/images/scribo/icons/swift.svg +1 -0
- data/app/assets/images/scribo/icons/table.svg +3 -0
- data/app/assets/images/scribo/icons/tailwindcss.svg +1 -0
- data/app/assets/images/scribo/icons/terraform.svg +12 -0
- data/app/assets/images/scribo/icons/test-js.svg +1 -0
- data/app/assets/images/scribo/icons/test-jsx.svg +4 -0
- data/app/assets/images/scribo/icons/test-ts.svg +1 -0
- data/app/assets/images/scribo/icons/tex.svg +1 -0
- data/app/assets/images/scribo/icons/todo.svg +1 -0
- data/app/assets/images/scribo/icons/travis.svg +13 -0
- data/app/assets/images/scribo/icons/tune.svg +7 -0
- data/app/assets/images/scribo/icons/twig.svg +3 -0
- data/app/assets/images/scribo/icons/typescript-def.svg +6 -0
- data/app/assets/images/scribo/icons/typescript.svg +3 -0
- data/app/assets/images/scribo/icons/url.svg +3 -0
- data/app/assets/images/scribo/icons/vagrant.svg +1 -0
- data/app/assets/images/scribo/icons/velocity.svg +1 -0
- data/app/assets/images/scribo/icons/verilog.svg +3 -0
- data/app/assets/images/scribo/icons/vfl.svg +16 -0
- data/app/assets/images/scribo/icons/video.svg +4 -0
- data/app/assets/images/scribo/icons/vim.svg +1 -0
- data/app/assets/images/scribo/icons/virtual.svg +1 -0
- data/app/assets/images/scribo/icons/visualstudio.svg +4 -0
- data/app/assets/images/scribo/icons/vscode.svg +9 -0
- data/app/assets/images/scribo/icons/vue-config.svg +1 -0
- data/app/assets/images/scribo/icons/vue.svg +1 -0
- data/app/assets/images/scribo/icons/vuex-store.svg +1 -0
- data/app/assets/images/scribo/icons/wakatime.svg +21 -0
- data/app/assets/images/scribo/icons/wakatime_light.svg +21 -0
- data/app/assets/images/scribo/icons/wallaby.svg +1 -0
- data/app/assets/images/scribo/icons/watchman.svg +4 -0
- data/app/assets/images/scribo/icons/webassembly.svg +1 -0
- data/app/assets/images/scribo/icons/webhint.svg +5 -0
- data/app/assets/images/scribo/icons/webpack.svg +6 -0
- data/app/assets/images/scribo/icons/wepy.svg +1 -0
- data/app/assets/images/scribo/icons/wolframlanguage.svg +13 -0
- data/app/assets/images/scribo/icons/word.svg +3 -0
- data/app/assets/images/scribo/icons/xaml.svg +3 -0
- data/app/assets/images/scribo/icons/xml.svg +4 -0
- data/app/assets/images/scribo/icons/yaml.svg +1 -0
- data/app/assets/images/scribo/icons/yang.svg +1 -0
- data/app/assets/images/scribo/icons/yarn.svg +3 -0
- data/app/assets/images/scribo/icons/zip.svg +3 -0
- data/app/assets/stylesheets/scribo/application.css +108 -0
- data/app/assets/stylesheets/scribo/components/file-icons.css +158 -0
- data/app/assets/stylesheets/scribo/components/open-editors.css +83 -0
- data/app/assets/stylesheets/scribo/components/tree-view.css +312 -0
- data/app/javascript/scribo/application.js +2 -0
- data/app/javascript/scribo/controllers/application.js +12 -0
- data/app/javascript/scribo/controllers/image_editor_controller.js +72 -0
- data/app/javascript/scribo/controllers/index.js +4 -0
- data/app/javascript/scribo/controllers/open_editors_controller.js +291 -0
- data/app/javascript/scribo/controllers/text_editor_controller.js +39 -0
- data/app/javascript/scribo/controllers/tree_view_controller.js +378 -0
- data/app/javascript/scribo/controllers/upload_controller.js +81 -0
- data/app/views/scribo/admin/sites/contents/_form.html.slim +11 -12
- data/app/views/scribo/shared/_ide.html.slim +1 -1
- data/app/views/scribo/shared/_tree-view.html.slim +3 -3
- data/bin/importmap +4 -0
- data/bin/rails +14 -0
- data/bin/rake +29 -0
- data/bin/rubocop +29 -0
- data/cli/.gitignore +2 -0
- data/cli/scribo.cr +103 -0
- data/cli/shard.lock +6 -0
- data/cli/shard.yml +18 -0
- data/config/importmap.rb +8 -0
- data/docs/content.md +33 -0
- data/docs/editor.png +0 -0
- data/docs/features.md +71 -0
- data/docs/ide.md +17 -0
- data/docs/import_export.md +7 -0
- data/docs/liquid.md +59 -0
- data/favicon.ico +0 -0
- data/frontend/images/.DS_Store +0 -0
- data/icon.png +0 -0
- data/lib/generators/scribo/install_generator.rb +22 -0
- data/lib/generators/scribo/tailwind_config_generator.rb +24 -0
- data/lib/generators/scribo/templates/config/initializers/scribo.rb +16 -0
- data/lib/scribo/engine.rb +19 -8
- data/lib/scribo/version.rb +1 -1
- data/lib/tasks/scribo_tasks.rake +13 -0
- data/logo.svg +1 -0
- data/scribo.gemspec +54 -0
- data/vendor/javascript/@hotwired--stimulus.js +2 -0
- data/vendor/javascript/painterro.js +2 -0
- data/vendor/javascript/sortablejs.js +134 -0
- data/yarn.lock +6775 -0
- metadata +683 -15
- data/app/assets/javascripts/scribo/scribo.js +0 -1
- data/app/assets/stylesheets/scribo/scribo.css +0 -1
- data/lib/scribo/liquid/tags/editable_url_tag.rb +0 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2038388c9a53be7434cab9d09df117b3f6754bb2b58caa6725fb90e1dcc5f850
|
4
|
+
data.tar.gz: 481ba9937602ced2dbde21c2082707e6f2b49af8eeb0847d473dd5b4bc01a05b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c19a2c507c6c58f2591e638f87015d12e2394e7185ba5271fc0f70f899cf44d61f70f81faed86a190fb84a1676e460252ba6b0d7093e842104a8e39b7a958d38
|
7
|
+
data.tar.gz: 6296a79e4e9d8a1a519bd4d1139f1a70329b9d6e67694e69784a4d4f3abb7ca375692dd124927b977a4192c2d3919a8f80c69fc3433f1e05d3de564da1fba92f
|
data/.gitignore
ADDED
data/.reek.yml
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
inherit_from: .rubocop_todo.yml
|
2
|
+
AllCops:
|
3
|
+
NewCops: enable
|
4
|
+
TargetRubyVersion: 2.5
|
5
|
+
Exclude:
|
6
|
+
- 'bin/**/*'
|
7
|
+
- 'db/**/*'
|
8
|
+
- 'vagrant/**/*'
|
9
|
+
- 'vendor/**/*'
|
10
|
+
- 'spec/**/*'
|
11
|
+
- 'lib/generators/**/*'
|
12
|
+
- 'node_modules/**/*'
|
13
|
+
- 'test/dummy/**/*'
|
14
|
+
- 'test/dummy/config/**/*'
|
15
|
+
|
16
|
+
Metrics:
|
17
|
+
Enabled: false
|
18
|
+
|
19
|
+
Style/PercentLiteralDelimiters:
|
20
|
+
PreferredDelimiters:
|
21
|
+
'%': '[]'
|
22
|
+
'%i': '[]'
|
23
|
+
'%q': '[]'
|
24
|
+
'%Q': '[]'
|
25
|
+
'%r': '[]'
|
26
|
+
'%s': '[]'
|
27
|
+
'%w': '[]'
|
28
|
+
'%W': '[]'
|
29
|
+
'%x': '[]'
|
30
|
+
|
31
|
+
Style/Documentation:
|
32
|
+
Enabled: false
|
33
|
+
|
34
|
+
Style/GuardClause:
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
Style/ClassAndModuleChildren:
|
38
|
+
Enabled: false
|
39
|
+
|
40
|
+
Layout/TrailingEmptyLines:
|
41
|
+
Enabled: true
|
42
|
+
|
43
|
+
Layout/LineLength:
|
44
|
+
Max: 1000
|
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,129 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2019-08-17 08:02:27 +0000 using RuboCop version 0.74.0.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 8
|
10
|
+
# Cop supports --auto-correct.
|
11
|
+
# Configuration parameters: AllowMultipleStyles, EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle.
|
12
|
+
# SupportedHashRocketStyles: key, separator, table
|
13
|
+
# SupportedColonStyles: key, separator, table
|
14
|
+
# SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit
|
15
|
+
Layout/HashAlignment:
|
16
|
+
Exclude:
|
17
|
+
- 'lib/scribo/configuration.rb'
|
18
|
+
|
19
|
+
# Offense count: 2
|
20
|
+
# Cop supports --auto-correct.
|
21
|
+
Layout/ElseAlignment:
|
22
|
+
Exclude:
|
23
|
+
- 'app/controllers/scribo/admin/sites_controller.rb'
|
24
|
+
- 'lib/scribo/action_controller_renderers.rb'
|
25
|
+
|
26
|
+
# Offense count: 4
|
27
|
+
# Cop supports --auto-correct.
|
28
|
+
Layout/EmptyLineAfterGuardClause:
|
29
|
+
Exclude:
|
30
|
+
- 'app/models/scribo/content.rb'
|
31
|
+
- 'lib/scribo/action_controller_helpers.rb'
|
32
|
+
|
33
|
+
# Offense count: 3
|
34
|
+
# Cop supports --auto-correct.
|
35
|
+
# Configuration parameters: EnforcedStyle.
|
36
|
+
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
|
37
|
+
Layout/EmptyLinesAroundClassBody:
|
38
|
+
Exclude:
|
39
|
+
- 'app/models/scribo/site.rb'
|
40
|
+
- 'app/services/scribo/site_export_service.rb'
|
41
|
+
- 'app/services/scribo/site_import_service.rb'
|
42
|
+
|
43
|
+
# Offense count: 2
|
44
|
+
# Cop supports --auto-correct.
|
45
|
+
# Configuration parameters: EnforcedStyleAlignWith, AutoCorrect, Severity.
|
46
|
+
# SupportedStylesAlignWith: keyword, variable, start_of_line
|
47
|
+
Layout/EndAlignment:
|
48
|
+
Exclude:
|
49
|
+
- 'app/controllers/scribo/admin/sites_controller.rb'
|
50
|
+
- 'lib/scribo/action_controller_renderers.rb'
|
51
|
+
|
52
|
+
# Offense count: 1
|
53
|
+
# Cop supports --auto-correct.
|
54
|
+
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
55
|
+
# SupportedStyles: special_inside_parentheses, consistent, align_braces
|
56
|
+
Layout/FirstHashElementIndentation:
|
57
|
+
Exclude:
|
58
|
+
- 'lib/scribo/configuration.rb'
|
59
|
+
|
60
|
+
# Offense count: 3
|
61
|
+
# Cop supports --auto-correct.
|
62
|
+
# Configuration parameters: Width, IgnoredPatterns.
|
63
|
+
Layout/IndentationWidth:
|
64
|
+
Exclude:
|
65
|
+
- 'app/controllers/scribo/admin/sites_controller.rb'
|
66
|
+
- 'lib/scribo/action_controller_renderers.rb'
|
67
|
+
- 'lib/scribo/liquid/parser.rb'
|
68
|
+
|
69
|
+
# Offense count: 1
|
70
|
+
# Cop supports --auto-correct.
|
71
|
+
# Configuration parameters: AllowForAlignment.
|
72
|
+
Layout/SpaceAroundOperators:
|
73
|
+
Exclude:
|
74
|
+
- 'app/controllers/scribo/admin/sites/contents_controller.rb'
|
75
|
+
|
76
|
+
# Offense count: 1
|
77
|
+
# Cop supports --auto-correct.
|
78
|
+
# Configuration parameters: EnforcedStyle.
|
79
|
+
# SupportedStyles: final_newline, final_blank_line
|
80
|
+
Layout/TrailingEmptyLines:
|
81
|
+
Exclude:
|
82
|
+
- 'app/services/scribo/site_import_service.rb'
|
83
|
+
|
84
|
+
# Offense count: 1
|
85
|
+
# Cop supports --auto-correct.
|
86
|
+
Style/Encoding:
|
87
|
+
Exclude:
|
88
|
+
- 'app/inputs/code_mirror_input.rb'
|
89
|
+
|
90
|
+
# Offense count: 6
|
91
|
+
# Cop supports --auto-correct.
|
92
|
+
Style/ExpandPathArguments:
|
93
|
+
Exclude:
|
94
|
+
- 'Rakefile'
|
95
|
+
- 'scribo.gemspec'
|
96
|
+
- 'test/test_helper.rb'
|
97
|
+
|
98
|
+
# Offense count: 2
|
99
|
+
# Cop supports --auto-correct.
|
100
|
+
# Configuration parameters: EnforcedStyle.
|
101
|
+
# SupportedStyles: always, never
|
102
|
+
Style/FrozenStringLiteralComment:
|
103
|
+
Exclude:
|
104
|
+
- 'lib/scribo/configuration.rb'
|
105
|
+
- 'lib/scribo/liquid/parser.rb'
|
106
|
+
|
107
|
+
# Offense count: 2
|
108
|
+
Style/IdenticalConditionalBranches:
|
109
|
+
Exclude:
|
110
|
+
- 'lib/scribo/action_controller_renderers.rb'
|
111
|
+
|
112
|
+
# Offense count: 1
|
113
|
+
# Cop supports --auto-correct.
|
114
|
+
Style/IfUnlessModifier:
|
115
|
+
Exclude:
|
116
|
+
- 'lib/scribo/action_controller_helpers.rb'
|
117
|
+
|
118
|
+
# Offense count: 1
|
119
|
+
Style/MissingRespondToMissing:
|
120
|
+
Exclude:
|
121
|
+
- 'app/helpers/scribo/application_helper.rb'
|
122
|
+
|
123
|
+
# Offense count: 2
|
124
|
+
# Cop supports --auto-correct.
|
125
|
+
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
126
|
+
# SupportedStyles: single_quotes, double_quotes
|
127
|
+
Style/StringLiterals:
|
128
|
+
Exclude:
|
129
|
+
- 'app/models/scribo/content.rb'
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at tom@degrunt.nl. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
git_source(:github) { |repo_name| "git@github.com:#{repo_name}" }
|
5
|
+
git_source(:entdec) { |repo_name| "git@github.com:entdec/#{repo_name}" }
|
6
|
+
|
7
|
+
# Declare your gem's dependencies in scribo.gemspec.
|
8
|
+
# Bundler will treat runtime dependencies like base dependencies, and
|
9
|
+
# development dependencies will be added by default to the :development group.
|
10
|
+
gemspec
|
11
|
+
|
12
|
+
# Declare any dependencies that are still in development here instead of in
|
13
|
+
# your gemspec. These might include edge Rails or gems from your path or
|
14
|
+
# Git. Remember to move these dependencies to your gemspec before releasing
|
15
|
+
# your gem to rubygems.org.
|
16
|
+
|
17
|
+
# To use a debugger
|
18
|
+
# gem 'byebug', group: [:development, :test]
|
19
|
+
|
20
|
+
# bundle config --delete local.liquidum
|
21
|
+
# bundle config local.liquidum ../../components/liquidum
|
22
|
+
|
23
|
+
gem 'auxilium', '~> 3.0'
|
24
|
+
gem 'key_path', github: 'entdec/keypath-ruby.git', branch: 'master'
|
25
|
+
|
26
|
+
gem 'rubocop'
|
27
|
+
gem 'signum'
|
28
|
+
|
29
|
+
group :test do
|
30
|
+
gem 'pry-rails'
|
31
|
+
end
|