Sha256: c620c2e5b6122c588238c71a73a6e1854c7f243922947673d078a54877159295

Contents?: true

Size: 1.31 KB

Versions: 6

Compression:

Stored size: 1.31 KB

Contents

module Osrcry
  class Contributing
    def self.execute
      unless Osrcry.remote
        puts "Unable to create CONTRIBUTING.md due to missing git remote.\nPlease add git remote and try again."
        return
      end

      contributing = <<-CONTRIBUTING
## Getting Involved

New contributors are always welcome, when it doubt please ask questions. We strive to be an open and welcoming community. Please be nice to one another.

### Coding

* Pick a task:
  * Offer feedback on open [pull requests](https://github.com/#{Osrcry.user}/#{Osrcry.repo}/pulls).
  * Review open [issues](https://github.com/#{Osrcry.user}/#{Osrcry.repo}/issues) for things to help on.
  * [Create an issue](https://github.com/#{Osrcry.user}/#{Osrcry.repo}/issues/new) to start a discussion on additions or features.
* Fork the project, add your changes and tests to cover them in a topic branch.
* Commit your changes and rebase against `#{Osrcry.user}/#{Osrcry.repo}` to ensure everything is up to date.
* [Submit a pull request](https://github.com/#{Osrcry.user}/#{Osrcry.repo}/compare/).

### Non-Coding

* Offer feedback on open [issues](https://github.com/#{Osrcry.user}/#{Osrcry.repo}/issues).
* Organize or volunteer at events.
CONTRIBUTING

      File.open('CONTRIBUTING.md', 'w') do |file|
        file.write(contributing)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
osrcry-0.4.0 lib/osrcry/contributing.rb
osrcry-0.3.0 lib/osrcry/contributing.rb
osrcry-0.2.3 lib/osrcry/contributing.rb
osrcry-0.2.2 lib/osrcry/contributing.rb
osrcry-0.2.1 lib/osrcry/contributing.rb
osrcry-0.2.0 lib/osrcry/contributing.rb