pueri 0.11.4 → 0.11.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/Gemfile.lock +1 -1
- data/LICENSE.md +7 -3
- data/README.md +1 -1
- data/docs/Pueri.html +1 -1
- data/docs/Pueri/Age.html +1 -1
- data/docs/Pueri/DoseCalc.html +48 -16
- data/docs/Pueri/DoseCheck.html +48 -16
- data/docs/Pueri/Neuro.html +1 -1
- data/docs/Pueri/Vax.html +1 -1
- data/docs/_index.html +1 -1
- data/docs/file.README.html +14 -3
- data/docs/index.html +14 -3
- data/docs/top-level-namespace.html +1 -1
- data/lib/pueri/dosecalc.rb +1 -0
- data/lib/pueri/dosecheck.rb +1 -0
- data/lib/pueri/version.rb +1 -1
- data/package.json +2 -2
- data/pueri.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f3b838662bb2bf14a7a8ed7127507791b2b2c2d4b9f8fcc7e54fc9cfb9f5b11
|
4
|
+
data.tar.gz: 4449e5224c079ea1581c218b68a029ed216e05b0edb5c785584d89c505f8174d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2b42d09f8c722e250169168159130368f4cd219e92d258257322f8057a0666f37030750e95f7204bf89fefb6d800611ff4f24fee620967d9dd9d1427b6817de
|
7
|
+
data.tar.gz: 693f8a4f4ed833ed291bc0e41a7b3e190e9362747b0c7fa407c71b3394f1a4240341bbef3f3a23060a55f7428aebc8f16696f67cbda6fe0dbb7c175f87c8e7ff
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [0.11.5] - `2019-11-02`
|
11
|
+
|
12
|
+
### Changed
|
13
|
+
* Update Hippocratic License to `v1.2`.
|
14
|
+
* Update `Gemspec` license to `Hippocratic`.
|
15
|
+
|
10
16
|
## [0.11.4] - `2019-10-28`
|
11
17
|
|
12
18
|
### Changed
|
@@ -43,7 +49,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
43
49
|
[PNI]: http://www.saude.gov.br/saude-de-a-z/vacinacao/calendario-vacinacao
|
44
50
|
[DNPM]: https://www.fcm.unicamp.br/fcm/neuropediatria-conteudo-didatico/desenvolvimento-neuropsicomotor
|
45
51
|
|
46
|
-
[Unreleased]: https://github.com/Nereare/pueri/compare/v0.11.
|
52
|
+
[Unreleased]: https://github.com/Nereare/pueri/compare/v0.11.5...HEAD
|
53
|
+
[0.11.5]: https://github.com/Nereare/pueri/compare/v0.11.4...v0.11.5
|
47
54
|
[0.11.4]: https://github.com/Nereare/pueri/compare/v0.11.2...v0.11.4
|
48
55
|
[0.11.2]: https://github.com/Nereare/pueri/compare/v0.7.0...v0.11.2
|
49
56
|
[0.7.0]: https://github.com/Nereare/pueri/releases/tag/v0.7.0
|
data/Gemfile.lock
CHANGED
data/LICENSE.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Hippocratic License v1.2
|
2
2
|
|
3
3
|
Copyright `2019` `Igor Padoim`
|
4
4
|
|
@@ -6,8 +6,12 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
6
6
|
|
7
7
|
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
8
8
|
|
9
|
-
* The
|
9
|
+
* **No Harm:** The software may not be used by anyone for systems or activities that actively and knowingly endanger, harm, or otherwise threaten the physical, mental, economic, or general well-being of other individuals or groups, in violation of the United Nations Universal Declaration of Human Rights (https://www.un.org/en/universal-declaration-human-rights/).
|
10
|
+
|
11
|
+
* **Services:** If the Software is used to provide a service to others, the licensee shall, as a condition of use, require those others not to use the service in any way that violates the No Harm clause above.
|
12
|
+
|
13
|
+
* **Enforceability:** If any portion or provision of this License shall to any extent be declared illegal or unenforceable by a court of competent jurisdiction, then the remainder of this License, or the application of such portion or provision in circumstances other than those as to which it is so declared illegal or unenforceable, shall not be affected thereby, and each portion and provision of this Agreement shall be valid and enforceable to the fullest extent permitted by law.
|
10
14
|
|
11
15
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
12
16
|
|
13
|
-
This
|
17
|
+
This Hippocratic License is an Ethical Source license (https://ethicalsource.dev) derived from the MIT License, amended to limit the impact of the unethical use of open source software.
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
|
7
7
|
[![GitHub package.json version](https://img.shields.io/github/package-json/v/Nereare/pueri)](https://github.com/Nereare/pueri/releases)
|
8
8
|
[![Gem](https://img.shields.io/gem/v/pueri)](https://rubygems.org/gems/pueri)
|
9
|
-
[![License](https://img.shields.io/badge/license-Hippocratic%20License%20v1.
|
9
|
+
[![License](https://img.shields.io/badge/license-Hippocratic%20License%20v1.2-red)](LICENSE.md)
|
10
10
|
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](CODE-OF-CONDUCT.md)
|
11
11
|
|
12
12
|
[![Travis (.org)](https://img.shields.io/travis/Nereare/pueri)](https://travis-ci.org/Nereare/pueri)
|
data/docs/Pueri.html
CHANGED
@@ -221,7 +221,7 @@ National Program of Immunization (PNI), using the 2019 uptade.</p>
|
|
221
221
|
</div>
|
222
222
|
|
223
223
|
<div id="footer">
|
224
|
-
Generated on
|
224
|
+
Generated on Sat Nov 2 09:15:28 2019 by
|
225
225
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
226
226
|
0.9.20 (ruby-2.5.5).
|
227
227
|
</div>
|
data/docs/Pueri/Age.html
CHANGED
@@ -590,7 +590,7 @@ given day.</p>
|
|
590
590
|
</div>
|
591
591
|
|
592
592
|
<div id="footer">
|
593
|
-
Generated on
|
593
|
+
Generated on Sat Nov 2 09:15:28 2019 by
|
594
594
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
595
595
|
0.9.20 (ruby-2.5.5).
|
596
596
|
</div>
|
data/docs/Pueri/DoseCalc.html
CHANGED
@@ -442,7 +442,7 @@ presentation and the periodicity of takes in hours.</p>
|
|
442
442
|
<li class="public ">
|
443
443
|
<span class="summary_signature">
|
444
444
|
|
445
|
-
<a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> ⇒ String </a>
|
445
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong>(pretty = false) ⇒ String </a>
|
446
446
|
|
447
447
|
|
448
448
|
|
@@ -1002,12 +1002,12 @@ output the final dosage-per-taking:</p>
|
|
1002
1002
|
<pre class="lines">
|
1003
1003
|
|
1004
1004
|
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1005
|
+
48
|
1006
|
+
49
|
1007
|
+
50</pre>
|
1008
1008
|
</td>
|
1009
1009
|
<td>
|
1010
|
-
<pre class="code"><span class="info file"># File 'lib/pueri/dosecalc.rb', line
|
1010
|
+
<pre class="code"><span class="info file"># File 'lib/pueri/dosecalc.rb', line 48</span>
|
1011
1011
|
|
1012
1012
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_f'>to_f</span>
|
1013
1013
|
<span class='ivar'>@result</span>
|
@@ -1020,7 +1020,7 @@ output the final dosage-per-taking:</p>
|
|
1020
1020
|
<div class="method_details ">
|
1021
1021
|
<h3 class="signature " id="to_s-instance_method">
|
1022
1022
|
|
1023
|
-
#<strong>to_s</strong> ⇒ <tt>String</tt>
|
1023
|
+
#<strong>to_s</strong>(pretty = false) ⇒ <tt>String</tt>
|
1024
1024
|
|
1025
1025
|
|
1026
1026
|
|
@@ -1035,7 +1035,29 @@ output the final dosage-per-taking:</p>
|
|
1035
1035
|
</div>
|
1036
1036
|
</div>
|
1037
1037
|
<div class="tags">
|
1038
|
+
<p class="tag_title">Parameters:</p>
|
1039
|
+
<ul class="param">
|
1038
1040
|
|
1041
|
+
<li>
|
1042
|
+
|
1043
|
+
<span class='name'>pretty</span>
|
1044
|
+
|
1045
|
+
|
1046
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1047
|
+
|
1048
|
+
|
1049
|
+
<em class="default">(defaults to: <tt>false</tt>)</em>
|
1050
|
+
|
1051
|
+
|
1052
|
+
—
|
1053
|
+
<div class='inline'>
|
1054
|
+
<p>Whether to output a colored result or not.</p>
|
1055
|
+
</div>
|
1056
|
+
|
1057
|
+
</li>
|
1058
|
+
|
1059
|
+
</ul>
|
1060
|
+
|
1039
1061
|
<p class="tag_title">Returns:</p>
|
1040
1062
|
<ul class="return">
|
1041
1063
|
|
@@ -1061,21 +1083,31 @@ output the final dosage-per-taking:</p>
|
|
1061
1083
|
<pre class="lines">
|
1062
1084
|
|
1063
1085
|
|
1064
|
-
31
|
1065
1086
|
32
|
1066
1087
|
33
|
1067
1088
|
34
|
1068
1089
|
35
|
1069
|
-
36
|
1090
|
+
36
|
1091
|
+
37
|
1092
|
+
38
|
1093
|
+
39
|
1094
|
+
40
|
1095
|
+
41
|
1096
|
+
42</pre>
|
1070
1097
|
</td>
|
1071
1098
|
<td>
|
1072
|
-
<pre class="code"><span class="info file"># File 'lib/pueri/dosecalc.rb', line
|
1073
|
-
|
1074
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
1075
|
-
<span class='
|
1076
|
-
<span class='
|
1077
|
-
|
1078
|
-
|
1099
|
+
<pre class="code"><span class="info file"># File 'lib/pueri/dosecalc.rb', line 32</span>
|
1100
|
+
|
1101
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span><span class='lparen'>(</span><span class='id identifier rubyid_pretty'>pretty</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
1102
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_pretty'>pretty</span>
|
1103
|
+
<span class='id identifier rubyid_pretty_to_s'>pretty_to_s</span>
|
1104
|
+
<span class='kw'>else</span>
|
1105
|
+
<span class='lbracket'>[</span>
|
1106
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
1107
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>- </span><span class='embexpr_beg'>#{</span><span class='ivar'>@name</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='ivar'>@concentration</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='ivar'>@conc_unit</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/</span><span class='tstring_end'>'</span></span><span class='embexpr_end'>}</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
1108
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>Tomar </span><span class='embexpr_beg'>#{</span><span class='ivar'>@result</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='ivar'>@conc_unit</span><span class='lbracket'>[</span><span class='int'>1</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_time_to_s'>time_to_s</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_days_to_s'>days_to_s</span><span class='embexpr_end'>}</span><span class='tstring_content'>.</span><span class='tstring_end'>"</span></span>
|
1109
|
+
<span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span>
|
1110
|
+
<span class='kw'>end</span>
|
1079
1111
|
<span class='kw'>end</span></pre>
|
1080
1112
|
</td>
|
1081
1113
|
</tr>
|
@@ -1087,7 +1119,7 @@ output the final dosage-per-taking:</p>
|
|
1087
1119
|
</div>
|
1088
1120
|
|
1089
1121
|
<div id="footer">
|
1090
|
-
Generated on
|
1122
|
+
Generated on Sat Nov 2 09:15:28 2019 by
|
1091
1123
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1092
1124
|
0.9.20 (ruby-2.5.5).
|
1093
1125
|
</div>
|
data/docs/Pueri/DoseCheck.html
CHANGED
@@ -440,7 +440,7 @@ presentation and the periodicity of takes in hours.</p>
|
|
440
440
|
<li class="public ">
|
441
441
|
<span class="summary_signature">
|
442
442
|
|
443
|
-
<a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong> ⇒ String </a>
|
443
|
+
<a href="#to_s-instance_method" title="#to_s (instance method)">#<strong>to_s</strong>(pretty = false) ⇒ String </a>
|
444
444
|
|
445
445
|
|
446
446
|
|
@@ -999,12 +999,12 @@ output the final dosage-per-weight-day:</p>
|
|
999
999
|
<pre class="lines">
|
1000
1000
|
|
1001
1001
|
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1002
|
+
47
|
1003
|
+
48
|
1004
|
+
49</pre>
|
1005
1005
|
</td>
|
1006
1006
|
<td>
|
1007
|
-
<pre class="code"><span class="info file"># File 'lib/pueri/dosecheck.rb', line
|
1007
|
+
<pre class="code"><span class="info file"># File 'lib/pueri/dosecheck.rb', line 47</span>
|
1008
1008
|
|
1009
1009
|
<span class='kw'>def</span> <span class='id identifier rubyid_to_f'>to_f</span>
|
1010
1010
|
<span class='ivar'>@result</span>
|
@@ -1017,7 +1017,7 @@ output the final dosage-per-weight-day:</p>
|
|
1017
1017
|
<div class="method_details ">
|
1018
1018
|
<h3 class="signature " id="to_s-instance_method">
|
1019
1019
|
|
1020
|
-
#<strong>to_s</strong> ⇒ <tt>String</tt>
|
1020
|
+
#<strong>to_s</strong>(pretty = false) ⇒ <tt>String</tt>
|
1021
1021
|
|
1022
1022
|
|
1023
1023
|
|
@@ -1032,7 +1032,29 @@ output the final dosage-per-weight-day:</p>
|
|
1032
1032
|
</div>
|
1033
1033
|
</div>
|
1034
1034
|
<div class="tags">
|
1035
|
+
<p class="tag_title">Parameters:</p>
|
1036
|
+
<ul class="param">
|
1035
1037
|
|
1038
|
+
<li>
|
1039
|
+
|
1040
|
+
<span class='name'>pretty</span>
|
1041
|
+
|
1042
|
+
|
1043
|
+
<span class='type'>(<tt>Boolean</tt>)</span>
|
1044
|
+
|
1045
|
+
|
1046
|
+
<em class="default">(defaults to: <tt>false</tt>)</em>
|
1047
|
+
|
1048
|
+
|
1049
|
+
—
|
1050
|
+
<div class='inline'>
|
1051
|
+
<p>Whether to output a colored result or not.</p>
|
1052
|
+
</div>
|
1053
|
+
|
1054
|
+
</li>
|
1055
|
+
|
1056
|
+
</ul>
|
1057
|
+
|
1036
1058
|
<p class="tag_title">Returns:</p>
|
1037
1059
|
<ul class="return">
|
1038
1060
|
|
@@ -1058,21 +1080,31 @@ output the final dosage-per-weight-day:</p>
|
|
1058
1080
|
<pre class="lines">
|
1059
1081
|
|
1060
1082
|
|
1061
|
-
31
|
1062
1083
|
32
|
1063
1084
|
33
|
1064
1085
|
34
|
1065
1086
|
35
|
1066
|
-
36
|
1087
|
+
36
|
1088
|
+
37
|
1089
|
+
38
|
1090
|
+
39
|
1091
|
+
40
|
1092
|
+
41
|
1093
|
+
42</pre>
|
1067
1094
|
</td>
|
1068
1095
|
<td>
|
1069
|
-
<pre class="code"><span class="info file"># File 'lib/pueri/dosecheck.rb', line
|
1070
|
-
|
1071
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
1072
|
-
<span class='
|
1073
|
-
<span class='
|
1074
|
-
|
1075
|
-
|
1096
|
+
<pre class="code"><span class="info file"># File 'lib/pueri/dosecheck.rb', line 32</span>
|
1097
|
+
|
1098
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span><span class='lparen'>(</span><span class='id identifier rubyid_pretty'>pretty</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
1099
|
+
<span class='kw'>if</span> <span class='id identifier rubyid_pretty'>pretty</span>
|
1100
|
+
<span class='id identifier rubyid_pretty_to_s'>pretty_to_s</span>
|
1101
|
+
<span class='kw'>else</span>
|
1102
|
+
<span class='lbracket'>[</span>
|
1103
|
+
<span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
|
1104
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='ivar'>@name</span><span class='embexpr_end'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='ivar'>@concentration</span><span class='period'>.</span><span class='id identifier rubyid_to_i'>to_i</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='ivar'>@conc_unit</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/</span><span class='tstring_end'>'</span></span><span class='embexpr_end'>}</span><span class='tstring_content'> (</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_usage'>usage</span><span class='embexpr_end'>}</span><span class='tstring_content'>)</span><span class='tstring_end'>"</span></span><span class='comma'>,</span>
|
1105
|
+
<span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'> - Dose de </span><span class='embexpr_beg'>#{</span><span class='ivar'>@result</span><span class='embexpr_end'>}</span><span class='embexpr_beg'>#{</span><span class='ivar'>@conc_unit</span><span class='lbracket'>[</span><span class='int'>0</span><span class='rbracket'>]</span><span class='embexpr_end'>}</span><span class='tstring_content'>/kg/d.</span><span class='tstring_end'>"</span></span>
|
1106
|
+
<span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_join'>join</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>\n</span><span class='tstring_end'>"</span></span>
|
1107
|
+
<span class='kw'>end</span>
|
1076
1108
|
<span class='kw'>end</span></pre>
|
1077
1109
|
</td>
|
1078
1110
|
</tr>
|
@@ -1084,7 +1116,7 @@ output the final dosage-per-weight-day:</p>
|
|
1084
1116
|
</div>
|
1085
1117
|
|
1086
1118
|
<div id="footer">
|
1087
|
-
Generated on
|
1119
|
+
Generated on Sat Nov 2 09:15:28 2019 by
|
1088
1120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1089
1121
|
0.9.20 (ruby-2.5.5).
|
1090
1122
|
</div>
|
data/docs/Pueri/Neuro.html
CHANGED
@@ -650,7 +650,7 @@
|
|
650
650
|
</div>
|
651
651
|
|
652
652
|
<div id="footer">
|
653
|
-
Generated on
|
653
|
+
Generated on Sat Nov 2 09:15:28 2019 by
|
654
654
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
655
655
|
0.9.20 (ruby-2.5.5).
|
656
656
|
</div>
|
data/docs/Pueri/Vax.html
CHANGED
@@ -688,7 +688,7 @@ days. With this, process which vaccines are due by that age.</p>
|
|
688
688
|
</div>
|
689
689
|
|
690
690
|
<div id="footer">
|
691
|
-
Generated on
|
691
|
+
Generated on Sat Nov 2 09:15:28 2019 by
|
692
692
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
693
693
|
0.9.20 (ruby-2.5.5).
|
694
694
|
</div>
|
data/docs/_index.html
CHANGED
@@ -164,7 +164,7 @@
|
|
164
164
|
</div>
|
165
165
|
|
166
166
|
<div id="footer">
|
167
|
-
Generated on
|
167
|
+
Generated on Sat Nov 2 09:15:24 2019 by
|
168
168
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
169
169
|
0.9.20 (ruby-2.5.5).
|
170
170
|
</div>
|
data/docs/file.README.html
CHANGED
@@ -65,7 +65,7 @@
|
|
65
65
|
|
66
66
|
<p><a href="https://github.com/Nereare/pueri/releases"><img src="https://img.shields.io/github/package-json/v/Nereare/pueri" alt="GitHub package.json version" /></a>
|
67
67
|
<a href="https://rubygems.org/gems/pueri"><img src="https://img.shields.io/gem/v/pueri" alt="Gem" /></a>
|
68
|
-
<a href="LICENSE.md"><img src="https://img.shields.io/badge/license-Hippocratic%20License%20v1.
|
68
|
+
<a href="LICENSE.md"><img src="https://img.shields.io/badge/license-Hippocratic%20License%20v1.2-red" alt="License" /></a>
|
69
69
|
<a href="CODE-OF-CONDUCT.md"><img src="https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg" alt="Contributor Covenant" /></a></p>
|
70
70
|
|
71
71
|
<p><a href="https://travis-ci.org/Nereare/pueri"><img src="https://img.shields.io/travis/Nereare/pueri" alt="Travis (.org)" /></a>
|
@@ -80,9 +80,20 @@
|
|
80
80
|
<h2 id="installing">Installing</h2>
|
81
81
|
|
82
82
|
<ol>
|
83
|
-
<li>
|
83
|
+
<li>Have both <a href="https://www.ruby-lang.org/">Ruby</a> and <a href="https://bundler.io/">Bundler</a> intalled.</li>
|
84
|
+
<li>Add this line to your <code>Gemfile</code>:
|
85
|
+
<code>ruby
|
86
|
+
gem 'pueri', '~> 0.11.2'
|
87
|
+
</code></li>
|
88
|
+
<li>Then run:
|
89
|
+
<code>shell
|
90
|
+
bundle install
|
91
|
+
</code></li>
|
92
|
+
<li>You are now ready to use the gem!</li>
|
84
93
|
</ol>
|
85
94
|
|
95
|
+
<p>Read <a href="https://nereare.github.io/pueri/">the documentation</a> for how to use it!</p>
|
96
|
+
|
86
97
|
<h2 id="contributing">Contributing</h2>
|
87
98
|
|
88
99
|
<ol>
|
@@ -113,7 +124,7 @@
|
|
113
124
|
</div></div>
|
114
125
|
|
115
126
|
<div id="footer">
|
116
|
-
Generated on
|
127
|
+
Generated on Sat Nov 2 09:15:27 2019 by
|
117
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
118
129
|
0.9.20 (ruby-2.5.5).
|
119
130
|
</div>
|
data/docs/index.html
CHANGED
@@ -65,7 +65,7 @@
|
|
65
65
|
|
66
66
|
<p><a href="https://github.com/Nereare/pueri/releases"><img src="https://img.shields.io/github/package-json/v/Nereare/pueri" alt="GitHub package.json version" /></a>
|
67
67
|
<a href="https://rubygems.org/gems/pueri"><img src="https://img.shields.io/gem/v/pueri" alt="Gem" /></a>
|
68
|
-
<a href="LICENSE.md"><img src="https://img.shields.io/badge/license-Hippocratic%20License%20v1.
|
68
|
+
<a href="LICENSE.md"><img src="https://img.shields.io/badge/license-Hippocratic%20License%20v1.2-red" alt="License" /></a>
|
69
69
|
<a href="CODE-OF-CONDUCT.md"><img src="https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg" alt="Contributor Covenant" /></a></p>
|
70
70
|
|
71
71
|
<p><a href="https://travis-ci.org/Nereare/pueri"><img src="https://img.shields.io/travis/Nereare/pueri" alt="Travis (.org)" /></a>
|
@@ -80,9 +80,20 @@
|
|
80
80
|
<h2 id="installing">Installing</h2>
|
81
81
|
|
82
82
|
<ol>
|
83
|
-
<li>
|
83
|
+
<li>Have both <a href="https://www.ruby-lang.org/">Ruby</a> and <a href="https://bundler.io/">Bundler</a> intalled.</li>
|
84
|
+
<li>Add this line to your <code>Gemfile</code>:
|
85
|
+
<code>ruby
|
86
|
+
gem 'pueri', '~> 0.11.2'
|
87
|
+
</code></li>
|
88
|
+
<li>Then run:
|
89
|
+
<code>shell
|
90
|
+
bundle install
|
91
|
+
</code></li>
|
92
|
+
<li>You are now ready to use the gem!</li>
|
84
93
|
</ol>
|
85
94
|
|
95
|
+
<p>Read <a href="https://nereare.github.io/pueri/">the documentation</a> for how to use it!</p>
|
96
|
+
|
86
97
|
<h2 id="contributing">Contributing</h2>
|
87
98
|
|
88
99
|
<ol>
|
@@ -113,7 +124,7 @@
|
|
113
124
|
</div></div>
|
114
125
|
|
115
126
|
<div id="footer">
|
116
|
-
Generated on
|
127
|
+
Generated on Sat Nov 2 09:15:27 2019 by
|
117
128
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
118
129
|
0.9.20 (ruby-2.5.5).
|
119
130
|
</div>
|
@@ -100,7 +100,7 @@
|
|
100
100
|
</div>
|
101
101
|
|
102
102
|
<div id="footer">
|
103
|
-
Generated on
|
103
|
+
Generated on Sat Nov 2 09:15:27 2019 by
|
104
104
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
105
|
0.9.20 (ruby-2.5.5).
|
106
106
|
</div>
|
data/lib/pueri/dosecalc.rb
CHANGED
data/lib/pueri/dosecheck.rb
CHANGED
data/lib/pueri/version.rb
CHANGED
data/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "Pueri",
|
3
3
|
"description": "Um script em Ruby para ajudar o dia-a-dia de médicos e enfermeiros de Atenção Básica.",
|
4
|
-
"version": "0.11.
|
4
|
+
"version": "0.11.5",
|
5
5
|
"maintainers": [
|
6
6
|
{
|
7
7
|
"name": "Igor Padoim",
|
@@ -12,5 +12,5 @@
|
|
12
12
|
"bugs": {
|
13
13
|
"web": "https://github.com/Nereare/pueri/issues"
|
14
14
|
},
|
15
|
-
"license": "
|
15
|
+
"license": "Hippocratic"
|
16
16
|
}
|
data/pueri.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.version = Pueri.version
|
10
10
|
spec.authors = ['Igor Padoim']
|
11
11
|
spec.email = ['igorpadoim@gmail.com']
|
12
|
-
spec.license = '
|
12
|
+
spec.license = 'Hippocratic'
|
13
13
|
|
14
14
|
spec.summary = 'Um script em Ruby para ajudar o dia-a-dia de médicos e'\
|
15
15
|
' enfermeiros de Atenção Básica.'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pueri
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Igor Padoim
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -140,7 +140,7 @@ files:
|
|
140
140
|
- pueri.gemspec
|
141
141
|
homepage: https://nereare.github.io/pueri/
|
142
142
|
licenses:
|
143
|
-
-
|
143
|
+
- Hippocratic
|
144
144
|
metadata:
|
145
145
|
homepage_uri: https://nereare.github.io/pueri/
|
146
146
|
source_code_uri: https://github.com/Nereare/pueri
|