README.adoc in versionaire-8.2.0 vs README.adoc in versionaire-8.3.0
- old
+ new
@@ -29,12 +29,10 @@
. https://www.ruby-lang.org[Ruby].
== Setup
-=== Production
-
To install, run:
[source,bash]
----
gem install versionaire
@@ -45,28 +43,10 @@
[source,ruby]
----
gem "versionaire"
----
-=== Development
-
-To contribute, run:
-
-[source,bash]
-----
-git clone https://github.com/bkuhlmann/versionaire.git
-cd versionaire
-bin/setup
-----
-
-You can also use the IRB console for direct access to all objects:
-
-[source,bash]
-----
-bin/console
-----
-
== Usage
=== Initialization
A new version can be initialized in a variety of ways:
@@ -211,9 +191,27 @@
version_1 - version_2 # "0.1.2"
version_1 = Versionaire::Version[major: 1]
version_2 = Versionaire::Version[major: 5]
version_1 - version_2 # Fails with a Versionaire::Errors::NegativeNumber
+----
+
+== Development
+
+To contribute, run:
+
+[source,bash]
+----
+git clone https://github.com/bkuhlmann/versionaire.git
+cd versionaire
+bin/setup
+----
+
+You can also use the IRB console for direct access to all objects:
+
+[source,bash]
+----
+bin/console
----
== Tests
To test, run: