Skip to content

Commit

Permalink
Updates to versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
evanthegrayt committed Jun 25, 2020
1 parent 40d2b62 commit df47abd
Show file tree
Hide file tree
Showing 12 changed files with 259 additions and 57 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
standup_md (0.3.4)
standup_md (0.3.5)

GEM
remote: https://rubygems.org/
Expand Down
16 changes: 0 additions & 16 deletions doc/StandupMD.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,22 +102,6 @@ <h1 id="module-StandupMD" class="module">



<section class="constants-list">
<header>
<h3>Constants</h3>
</header>
<dl>

<dt id="VERSION">VERSION

<dd><p>The gem verision</p>

<p>@return [String]</p>


</dl>
</section>




Expand Down
176 changes: 176 additions & 0 deletions doc/StandupMD/Version.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
<!DOCTYPE html>

<html>
<head>
<meta charset="UTF-8">

<title>module StandupMD::Version - RDoc Documentation</title>

<script type="text/javascript">
var rdoc_rel_prefix = "../";
var index_rel_prefix = "../";
</script>

<script src="../js/navigation.js" defer></script>
<script src="../js/search.js" defer></script>
<script src="../js/search_index.js" defer></script>
<script src="../js/searcher.js" defer></script>
<script src="../js/darkfish.js" defer></script>

<link href="../css/fonts.css" rel="stylesheet">
<link href="../css/rdoc.css" rel="stylesheet">




<body id="top" role="document" class="module">
<nav role="navigation">
<div id="project-navigation">
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
<h2>
<a href="../index.html" rel="home">Home</a>
</h2>

<div id="table-of-contents-navigation">
<a href="../table_of_contents.html#pages">Pages</a>
<a href="../table_of_contents.html#classes">Classes</a>
<a href="../table_of_contents.html#methods">Methods</a>
</div>
</div>

<div id="search-section" role="search" class="project-section initially-hidden">
<form action="#" method="get" accept-charset="utf-8">
<div id="search-field-wrapper">
<input id="search-field" role="combobox" aria-label="Search"
aria-autocomplete="list" aria-controls="search-results"
type="text" name="search" placeholder="Search" spellcheck="false"
title="Type to search, Up and Down to navigate, Enter to load">
</div>

<ul id="search-results" aria-label="Search Results"
aria-busy="false" aria-expanded="false"
aria-atomic="false" class="initially-hidden"></ul>
</form>
</div>

</div>



<div id="class-metadata">




<!-- Method Quickref -->
<div id="method-list-section" class="nav-section">
<h3>Methods</h3>

<ul class="link-list" role="directory">

<li ><a href="#method-c-to_s">::to_s</a>

</ul>
</div>

</div>
</nav>

<main role="main" aria-labelledby="module-StandupMD::Version">
<h1 id="module-StandupMD::Version" class="module">
module StandupMD::Version
</h1>

<section class="description">

<p>Module that contains all gem version information. Follows semantic versioning. Read: <a href="https://semver.org">semver.org</a>/</p>

</section>


<section id="5Buntitled-5D" class="documentation-section">





<section class="constants-list">
<header>
<h3>Constants</h3>
</header>
<dl>

<dt id="MAJOR">MAJOR

<dd><p>Major version.</p>


<dt id="MINOR">MINOR

<dd><p>Minor version.</p>


<dt id="PATCH">PATCH

<dd><p>Patch version.</p>


</dl>
</section>





<section id="public-class-5Buntitled-5D-method-details" class="method-section">
<header>
<h3>Public Class Methods</h3>
</header>


<div id="method-c-to_s" class="method-detail ">

<div class="method-heading">
<span class="method-name">to_s</span><span
class="method-args">()</span>

<span class="method-click-advice">click to toggle source</span>

</div>


<div class="method-description">

<p><a href="Version.html"><code>Version</code></a> as <code>MAJOR.MINOR.PATCH</code></p>




<div class="method-source-code" id="to_s-source">
<pre><span class="ruby-comment"># File lib/standup_md/version.rb, line 24</span>
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">to_s</span>
<span class="ruby-node">&quot;#{MAJOR}.#{MINOR}.#{PATCH}&quot;</span>
<span class="ruby-keyword">end</span></pre>
</div>

</div>




</div>


</section>

</section>

</main>


<footer id="validator-badges" role="contentinfo">
<p><a href="https://validator.w3.org/check/referer">Validate</a>
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.1.
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
</footer>

10 changes: 5 additions & 5 deletions doc/created.rid
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Tue, 23 Jun 2020 14:45:39 -0500
Thu, 25 Jun 2020 17:00:48 -0500
README.md Wed, 17 Jun 2020 21:10:35 -0500
lib/standup_md.rb Wed, 17 Jun 2020 08:47:50 -0500
lib/standup_md.rb Thu, 25 Jun 2020 16:52:46 -0500
lib/standup_md/cli.rb Sun, 14 Jun 2020 22:01:32 -0500
lib/standup_md/cli/helpers.rb Tue, 23 Jun 2020 14:44:38 -0500
lib/standup_md/cli/helpers.rb Thu, 25 Jun 2020 16:53:28 -0500
lib/standup_md/config.rb Wed, 17 Jun 2020 08:47:50 -0500
lib/standup_md/config/cli.rb Wed, 17 Jun 2020 08:47:50 -0500
lib/standup_md/config/entry.rb Wed, 17 Jun 2020 08:47:50 -0500
lib/standup_md/config/entry_list.rb Wed, 17 Jun 2020 08:47:50 -0500
lib/standup_md/config/file.rb Wed, 17 Jun 2020 08:47:50 -0500
lib/standup_md/entry.rb Tue, 23 Jun 2020 14:28:00 -0500
lib/standup_md/entry_list.rb Thu, 18 Jun 2020 23:08:53 -0500
lib/standup_md/entry_list.rb Thu, 25 Jun 2020 16:06:10 -0500
lib/standup_md/file.rb Thu, 18 Jun 2020 23:09:53 -0500
lib/standup_md/file/helpers.rb Sun, 14 Jun 2020 22:06:09 -0500
lib/standup_md/version.rb Tue, 23 Jun 2020 14:45:34 -0500
lib/standup_md/version.rb Thu, 25 Jun 2020 17:00:46 -0500
2 changes: 2 additions & 0 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ <h3>Class and Module Index</h3>

<li><a href="./StandupMD/File.html">StandupMD::File</a>

<li><a href="./StandupMD/Version.html">StandupMD::Version</a>

</ul>
</div>

Expand Down
2 changes: 1 addition & 1 deletion doc/js/search_index.js

Large diffs are not rendered by default.

Binary file modified doc/js/search_index.js.gz
Binary file not shown.
62 changes: 36 additions & 26 deletions doc/table_of_contents.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,35 +156,40 @@ <h2 id="classes">Classes and Modules</h2>

</li>

<li class="module">
<a href="StandupMD/Version.html">StandupMD::Version</a>

</li>

</ul>

<h2 id="methods">Methods</h2>
<ul>

<li class="method">
<a href="StandupMD/Entry.html#method-c-config">::config</a>
<a href="StandupMD/EntryList.html#method-c-config">::config</a>
&mdash;
<span class="container">StandupMD::Entry</span>
<span class="container">StandupMD::EntryList</span>

<li class="method">
<a href="StandupMD/EntryList.html#method-c-config">::config</a>
<a href="StandupMD/Entry.html#method-c-config">::config</a>
&mdash;
<span class="container">StandupMD::EntryList</span>
<span class="container">StandupMD::Entry</span>

<li class="method">
<a href="StandupMD/Cli.html#method-c-config">::config</a>
&mdash;
<span class="container">StandupMD::Cli</span>

<li class="method">
<a href="StandupMD.html#method-c-config">::config</a>
<a href="StandupMD/File.html#method-c-config">::config</a>
&mdash;
<span class="container">StandupMD</span>
<span class="container">StandupMD::File</span>

<li class="method">
<a href="StandupMD/File.html#method-c-config">::config</a>
<a href="StandupMD.html#method-c-config">::config</a>
&mdash;
<span class="container">StandupMD::File</span>
<span class="container">StandupMD</span>

<li class="method">
<a href="StandupMD.html#method-c-config_file_loaded-3F">::config_file_loaded?</a>
Expand Down Expand Up @@ -232,50 +237,55 @@ <h2 id="methods">Methods</h2>
<span class="container">StandupMD</span>

<li class="method">
<a href="StandupMD/Config/File.html#method-c-new">::new</a>
<a href="StandupMD/Config/Cli.html#method-c-new">::new</a>
&mdash;
<span class="container">StandupMD::Config::File</span>
<span class="container">StandupMD::Config::Cli</span>

<li class="method">
<a href="StandupMD/File.html#method-c-new">::new</a>
<a href="StandupMD/Config.html#method-c-new">::new</a>
&mdash;
<span class="container">StandupMD::File</span>
<span class="container">StandupMD::Config</span>

<li class="method">
<a href="StandupMD/Config.html#method-c-new">::new</a>
<a href="StandupMD/Config/File.html#method-c-new">::new</a>
&mdash;
<span class="container">StandupMD::Config</span>
<span class="container">StandupMD::Config::File</span>

<li class="method">
<a href="StandupMD/Config/Entry.html#method-c-new">::new</a>
&mdash;
<span class="container">StandupMD::Config::Entry</span>

<li class="method">
<a href="StandupMD/Cli.html#method-c-new">::new</a>
<a href="StandupMD/File.html#method-c-new">::new</a>
&mdash;
<span class="container">StandupMD::Cli</span>
<span class="container">StandupMD::File</span>

<li class="method">
<a href="StandupMD/EntryList.html#method-c-new">::new</a>
<a href="StandupMD/Cli.html#method-c-new">::new</a>
&mdash;
<span class="container">StandupMD::EntryList</span>
<span class="container">StandupMD::Cli</span>

<li class="method">
<a href="StandupMD/Config/Cli.html#method-c-new">::new</a>
<a href="StandupMD/Entry.html#method-c-new">::new</a>
&mdash;
<span class="container">StandupMD::Config::Cli</span>
<span class="container">StandupMD::Entry</span>

<li class="method">
<a href="StandupMD/Entry.html#method-c-new">::new</a>
<a href="StandupMD/EntryList.html#method-c-new">::new</a>
&mdash;
<span class="container">StandupMD::Entry</span>
<span class="container">StandupMD::EntryList</span>

<li class="method">
<a href="StandupMD.html#method-c-reset_config">::reset_config</a>
&mdash;
<span class="container">StandupMD</span>

<li class="method">
<a href="StandupMD/Version.html#method-c-to_s">::to_s</a>
&mdash;
<span class="container">StandupMD::Version</span>

<li class="method">
<a href="StandupMD/EntryList.html#method-i-3C-3C">#&lt;&lt;</a>
&mdash;
Expand Down Expand Up @@ -372,9 +382,9 @@ <h2 id="methods">Methods</h2>
<span class="container">StandupMD::Cli::Helpers</span>

<li class="method">
<a href="StandupMD/Config/Entry.html#method-i-reset">#reset</a>
<a href="StandupMD/Config/Cli.html#method-i-reset">#reset</a>
&mdash;
<span class="container">StandupMD::Config::Entry</span>
<span class="container">StandupMD::Config::Cli</span>

<li class="method">
<a href="StandupMD/Config/File.html#method-i-reset">#reset</a>
Expand All @@ -387,9 +397,9 @@ <h2 id="methods">Methods</h2>
<span class="container">StandupMD::Config::EntryList</span>

<li class="method">
<a href="StandupMD/Config/Cli.html#method-i-reset">#reset</a>
<a href="StandupMD/Config/Entry.html#method-i-reset">#reset</a>
&mdash;
<span class="container">StandupMD::Config::Cli</span>
<span class="container">StandupMD::Config::Entry</span>

<li class="method">
<a href="StandupMD/EntryList.html#method-i-sort">#sort</a>
Expand Down
2 changes: 1 addition & 1 deletion lib/standup_md/cli/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def print(entry)
def set_preferences(options)
OptionParser.new do |opts|
opts.banner = 'The Standup Doctor'
opts.version = "[StandupMD] #{::StandupMD::VERSION}"
opts.version = "[StandupMD] #{::StandupMD::Version.to_s}"
opts.on(
'--current ARRAY', Array,
"List of current entry's tasks"
Expand Down
Loading

0 comments on commit df47abd

Please sign in to comment.