Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Latest commit

 

History

History
87 lines (63 loc) · 3.4 KB

CONTRIBUTING.md

File metadata and controls

87 lines (63 loc) · 3.4 KB

Contributing

Help us to make this project better by contributing. Whether it's new features, bug fixes, or simply improving documentation, your contributions are welcome. Please start with logging a github issue or submit a pull request.

Before you contribute, please review these guidelines to help ensure a smooth process for everyone.

Thanks.

Issue Reporting

  • Please browse our existing issues before logging new issues.
  • Check that the issue has not already been fixed in the master branch.
  • Open an issue with a descriptive title and a summary.
  • Please be as clear and explicit as you can in your description of the problem.
  • Please state the version of {technical dependencies} and inspec_delta you are using in the description.
  • Include any relevant code in the issue summary.

Pull Requests

Dependencies

Installation (Window Platform)

For development and testing in window, please follow below steps after installation,

  1. Download rubyinstaller and DevKit from this link rubyinstaller. Please make sure you download appropriate versions for your operating system.
  2. Follow below commands
  Extract DevKit to path C:{ruby-installation-folder}\DevKit
  > cd C:{ruby-installation-folder}\DevKit

  > ruby dk.rb init

  > ruby dk.rb review

  > ruby dk.rb install

  > gem install json --platform=ruby

Development and Testing

After performing installation(ruby) steps described on readme, perform below steps for development.

Linux & Window

  > bundle exec rspec   # Generates  directory "coverage" with unit test report

  > rake rubocop    # Generates directory "lint_report"

  > gem build inspec_delta.gemspec   # Builds the gem for project

  > gem install inspec_delta(-version).gem    # Installs inspec_delta gem on computer.

  > inspec_delta    # Runs gem