nom 0.1.0pre2 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -4
- data/lib/nom/nom.plt.erb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03c808c1d39fe596bb628f6fcf0a92e55da05866
|
4
|
+
data.tar.gz: d086b0299a0a6257d725fc9094bc187ce4eb8040
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ebeb2ab3fad16648f96a734e84b939a2350713d6c18b44893927f45619b59999dcc451305949ed9b01ade7aee05b0bf852c187f18eaddd48fb512702d798a4b
|
7
|
+
data.tar.gz: b6d2b21ec45bfc29af2324d2094abccd55cad40cde0fa6ebe6215d74aaeb7aa908752ed73aec3fb248efe6b3ea8c918e1d1ac883f217eae936a389ec0f535ae4
|
data/README.md
CHANGED
@@ -4,11 +4,9 @@
|
|
4
4
|
|
5
5
|
# Installation
|
6
6
|
|
7
|
-
You'll need Ruby and gnuplot
|
7
|
+
You'll need Ruby, Rubygems and gnuplot >= 5.0. Then run this command:
|
8
8
|
|
9
|
-
$ gem install
|
10
|
-
|
11
|
-
Then clone this repository, and put the `nom` executable in your `PATH`.
|
9
|
+
$ gem install --prerelease nom
|
12
10
|
|
13
11
|
When you run `nom` for the first time, it will ask for your current and your desired weight, as well as a target "weight loss per week" (0.5 is a good value).
|
14
12
|
|
data/lib/nom/nom.plt.erb
CHANGED
@@ -26,7 +26,7 @@ set obj 2 fillstyle solid 0.2 fillcolor rgb "green" linewidth 0
|
|
26
26
|
plot <%= goal %> t "Goal" lc rgb "forest-green" lw 2, \
|
27
27
|
"<%= weight_dat.path %>" using 1:2 w points t "Weight" pt 13 ps 0.3 lc rgb "navy", \
|
28
28
|
"<%= weight_dat.path %>" using 1:3 w l t "" lt 1 lw 2 lc rgb "navy", \
|
29
|
-
"<%= weight_dat.path %>" using 1:4 w
|
29
|
+
"<%= weight_dat.path %>" using 1:4 w points t "" lc rgb "navy" pt 7 ps 0.2
|
30
30
|
|
31
31
|
unset obj 1
|
32
32
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Morr
|
@@ -57,11 +57,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
57
57
|
version: '0'
|
58
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - "
|
60
|
+
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
62
|
+
version: '0'
|
63
63
|
requirements:
|
64
|
-
- gnuplot
|
64
|
+
- gnuplot
|
65
65
|
rubyforge_project:
|
66
66
|
rubygems_version: 2.4.5
|
67
67
|
signing_key:
|