retrospec | pluggable framework to automate repetitive project file

 by   nwops Ruby Version: Current License: AGPL-3.0

kandi X-RAY | retrospec Summary

kandi X-RAY | retrospec Summary

retrospec is a Ruby library. retrospec has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. You can download it from GitHub.

Retrospec is a framework that allows the automation of repetitive project file creation with just about any kind of programming project through the use of a pluggable architecture. The idea originally came from another project that performed the same function but was scoped to puppet module creation called puppet-retrospec. The goal of puppet-retrospec was to document the workflow and its best practices inside templates. This idea has now been generalized to cover any kind of project, therefore making it dead simple for anybody to get their project started with a simple command. There are two scenarios that this gem can be used for. The first scenario is to aid the creation of the project as many times information is spread across people, teams, blogs, forums and is often out of date. By keeping this information in templates we have removed the burden of finding this information from the user. However, there are many tools in existence today that already help in this area, but they are often not customizable. The second scenario it to augment an existing project that a user may have already started. When this is the case retrospec can "retrofit" an existing project with the latest workflow and best practices based on the templates inside a plugin gem. An existing project also contains information that can be used to automatically generate lots of files beyond just initial module creation. A great example of this is with puppet-retrospec, where the goal is to automaticly generate valid unit tests based on the code the author wrote. So as the user writes more code, they can easily create unit test files by just running retrospec. Furthermore, retrospec is meant to be run multiple times during a project lifecycle in order to augment it with new files. Because of the safe file creation, no file can be overwritten so the only way to overcome this is to manually delete the file and let retrospec recreate it automatically.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              retrospec has a low active ecosystem.
              It has 5 star(s) with 0 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 2 open issues and 5 have been closed. On average issues are closed in 201 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of retrospec is current.

            kandi-Quality Quality

              retrospec has 0 bugs and 0 code smells.

            kandi-Security Security

              retrospec has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              retrospec code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              retrospec is licensed under the AGPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              retrospec releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed retrospec and discovered the below as its top functions. This is intended to give you an instant insight into retrospec implemented functionality, and help decide if they suit your requirements.
            • Sets up the config file .
            • Load all plugins in the plugin class
            • Determines if the plugin is given .
            • Find plugin by name
            • get all available plugins
            • Loads all gems from the plugins .
            • Loads data from the config file .
            • Determine exception classes
            • Create a hash of plugin classes .
            • Returns the path of the gem
            Get all kandi verified functions for this library.

            retrospec Key Features

            No Key Features are available at this moment for retrospec.

            retrospec Examples and Code Snippets

            No Code Snippets are available at this moment for retrospec.

            Community Discussions

            QUESTION

            Attempting to prevent SQL injection when referencing an Oracle Package dynamically with JPA
            Asked 2019-Jan-22 at 20:39

            I've gone down a bit of a path and hit a wall with how this could be possibly achieved.

            Basically, a query is constructed using JPA and passed to an Oracle DB. On the DB there is a Package, used to generate a reference, and this is dynamically named, based on the environment. This value is user-editable, and stored as a DB property within the application. I don't have any control over the architecture of this.

            At a pre-JPA stage, a Query String is generated using the reference value for the Package, which is set as a property (again, I can't change the way this has been designed). I set this up using the Query method setParameter(), like so:

            (pseudocode replacing the irrelevant parts for focused context)

            ...

            ANSWER

            Answered 2019-Jan-22 at 20:39

            The Oracle dictionary view all_procedures contains a list of all procedures accessible to the current user.

            Specifically in the view there are columns OWNER, OBJECT_NAME (=package name), PROCEDURE_NAME.

            You may use this view to sanitize the configured input by simple adding an EXISTS subquery such as:

            Source https://stackoverflow.com/questions/53960406

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install retrospec

            You can download it from GitHub.
            On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.

            Support

            Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.Fork the project.Start a feature/bugfix branch.Commit and push until you are happy with your contribution.Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/nwops/retrospec.git

          • CLI

            gh repo clone nwops/retrospec

          • sshUrl

            git@github.com:nwops/retrospec.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link