🏡 index : github.com/captn3m0/ruby-deb-version.git

author Nemo <me@captnemo.in> 2023-05-07 13:45:56.0 +05:30:00
committer Nemo <me@captnemo.in> 2023-05-07 13:45:56.0 +05:30:00
commit
358e77726c159f99a78dd14d485735580e3f0a18 [patch]
tree
b70ec84651b1dfd19783cb715b9cd2b7acbb43ed
parent
31b88bba8850215f2891cbefdd12e3b8ae9e38d7
download
358e77726c159f99a78dd14d485735580e3f0a18.tar.gz

[doc] Mention gem name in README



Diff

 .gitignore |  3 ++-
 README.md  | 12 ++++++++----
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/.gitignore b/.gitignore
index 917c0bd..ff5ce29 100644
--- a/.gitignore
+++ a/.gitignore
@@ -6,4 +6,5 @@
/pkg/
/spec/reports/
/tmp/
/vendor
/vendor
*.gem
diff --git a/README.md b/README.md
index f5bb2cf..df00443 100644
--- a/README.md
+++ a/README.md
@@ -1,4 +1,4 @@
# Debian Version
# Debian Version (Ruby)

A port of "Debian Version" comparison function to Ruby. This is based on 
[Debian Policy Manual v4.6.20, Section 5.6.12](https://www.debian.org/doc/debian-policy/ch-controlfields.html#version).
@@ -7,15 +7,13 @@

## Installation

TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.

Install the gem and add to the application's Gemfile by executing:

    $ bundle add UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG

    $ bundle add deb_version


If bundler is not being used to manage dependencies, install the gem by executing:

    $ gem install UPDATE_WITH_YOUR_GEM_NAME_PRIOR_TO_RELEASE_TO_RUBYGEMS_ORG

    $ gem install deb_version


## Usage

@@ -31,6 +29,10 @@
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).

Run `bundle exec rake rubocop` to check for style violations.

Run `bundle exec rake test` to run tests.

## Contributing