prct06-TDD 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.
Files changed (85) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.rspec +3 -0
  4. data/.travis.yml +7 -0
  5. data/Changelog.md +275 -0
  6. data/Gemfile +5 -0
  7. data/Gemfile.lock +93 -0
  8. data/Guardfile +83 -0
  9. data/README.md +39 -0
  10. data/Rakefile +6 -0
  11. data/bin/console +14 -0
  12. data/bin/setup +8 -0
  13. data/docs/Alimento.html +1039 -0
  14. data/docs/Changelog_md.html +280 -0
  15. data/docs/Dieta.html +272 -0
  16. data/docs/Gema.html +110 -0
  17. data/docs/Gema/Error.html +103 -0
  18. data/docs/Gemfile.html +100 -0
  19. data/docs/Gemfile_lock.html +179 -0
  20. data/docs/Guardfile.html +171 -0
  21. data/docs/ListaDobleEnlazada.html +542 -0
  22. data/docs/Object.html +117 -0
  23. data/docs/Plato.html +567 -0
  24. data/docs/Plato/CompareMode.html +117 -0
  25. data/docs/PlatoEficienciaEnergetica.html +316 -0
  26. data/docs/README_md.html +143 -0
  27. data/docs/Rakefile.html +102 -0
  28. data/docs/bin/setup.html +102 -0
  29. data/docs/created.rid +23 -0
  30. data/docs/css/fonts.css +167 -0
  31. data/docs/css/rdoc.css +590 -0
  32. data/docs/fonts/Lato-Light.ttf +0 -0
  33. data/docs/fonts/Lato-LightItalic.ttf +0 -0
  34. data/docs/fonts/Lato-Regular.ttf +0 -0
  35. data/docs/fonts/Lato-RegularItalic.ttf +0 -0
  36. data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
  37. data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
  38. data/docs/images/add.png +0 -0
  39. data/docs/images/arrow_up.png +0 -0
  40. data/docs/images/brick.png +0 -0
  41. data/docs/images/brick_link.png +0 -0
  42. data/docs/images/bug.png +0 -0
  43. data/docs/images/bullet_black.png +0 -0
  44. data/docs/images/bullet_toggle_minus.png +0 -0
  45. data/docs/images/bullet_toggle_plus.png +0 -0
  46. data/docs/images/date.png +0 -0
  47. data/docs/images/delete.png +0 -0
  48. data/docs/images/find.png +0 -0
  49. data/docs/images/loadingAnimation.gif +0 -0
  50. data/docs/images/macFFBgHack.png +0 -0
  51. data/docs/images/package.png +0 -0
  52. data/docs/images/page_green.png +0 -0
  53. data/docs/images/page_white_text.png +0 -0
  54. data/docs/images/page_white_width.png +0 -0
  55. data/docs/images/plugin.png +0 -0
  56. data/docs/images/ruby.png +0 -0
  57. data/docs/images/tag_blue.png +0 -0
  58. data/docs/images/tag_green.png +0 -0
  59. data/docs/images/transparent.png +0 -0
  60. data/docs/images/wrench.png +0 -0
  61. data/docs/images/wrench_orange.png +0 -0
  62. data/docs/images/zoom.png +0 -0
  63. data/docs/index.html +123 -0
  64. data/docs/js/darkfish.js +161 -0
  65. data/docs/js/jquery.js +4 -0
  66. data/docs/js/navigation.js +141 -0
  67. data/docs/js/navigation.js.gz +0 -0
  68. data/docs/js/search.js +109 -0
  69. data/docs/js/search_index.js +1 -0
  70. data/docs/js/search_index.js.gz +0 -0
  71. data/docs/js/searcher.js +229 -0
  72. data/docs/js/searcher.js.gz +0 -0
  73. data/docs/prct06-TDD_gemspec.html +134 -0
  74. data/docs/table_of_contents.html +381 -0
  75. data/lib/Alimento.rb +205 -0
  76. data/lib/Dieta.rb +28 -0
  77. data/lib/Menu.rb +61 -0
  78. data/lib/Plato.rb +138 -0
  79. data/lib/Plato.rb.save +110 -0
  80. data/lib/PlatoEficienciaEnergetica.rb +32 -0
  81. data/lib/gema.rb +12 -0
  82. data/lib/gema/ListaDobleEnlazada.rb +103 -0
  83. data/lib/gema/version.rb +3 -0
  84. data/prct06-TDD.gemspec +37 -0
  85. metadata +214 -0
@@ -0,0 +1,280 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>Changelog - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ var index_rel_prefix = "./";
12
+ </script>
13
+
14
+ <script src="./js/jquery.js"></script>
15
+ <script src="./js/darkfish.js"></script>
16
+
17
+ <link href="./css/fonts.css" rel="stylesheet">
18
+ <link href="./css/rdoc.css" rel="stylesheet">
19
+
20
+
21
+
22
+
23
+ <body id="top" role="document" class="file">
24
+ <nav role="navigation">
25
+ <div id="project-navigation">
26
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
27
+ <h2>
28
+ <a href="./index.html" rel="home">Home</a>
29
+ </h2>
30
+
31
+ <div id="table-of-contents-navigation">
32
+ <a href="./table_of_contents.html#pages">Pages</a>
33
+ <a href="./table_of_contents.html#classes">Classes</a>
34
+ <a href="./table_of_contents.html#methods">Methods</a>
35
+ </div>
36
+ </div>
37
+
38
+ <div id="search-section" role="search" class="project-section initially-hidden">
39
+ <form action="#" method="get" accept-charset="utf-8">
40
+ <div id="search-field-wrapper">
41
+ <input id="search-field" role="combobox" aria-label="Search"
42
+ aria-autocomplete="list" aria-controls="search-results"
43
+ type="text" name="search" placeholder="Search" spellcheck="false"
44
+ title="Type to search, Up and Down to navigate, Enter to load">
45
+ </div>
46
+
47
+ <ul id="search-results" aria-label="Search Results"
48
+ aria-busy="false" aria-expanded="false"
49
+ aria-atomic="false" class="initially-hidden"></ul>
50
+ </form>
51
+ </div>
52
+
53
+ </div>
54
+
55
+
56
+
57
+ <div id="project-metadata">
58
+ <div id="fileindex-section" class="nav-section">
59
+ <h3>Pages</h3>
60
+
61
+ <ul class="link-list">
62
+
63
+ <li><a href="./Changelog_md.html">Changelog</a>
64
+
65
+ <li><a href="./Gemfile.html">Gemfile</a>
66
+
67
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
68
+
69
+ <li><a href="./Guardfile.html">Guardfile</a>
70
+
71
+ <li><a href="./README_md.html">README</a>
72
+
73
+ <li><a href="./Rakefile.html">Rakefile</a>
74
+
75
+ <li><a href="./bin/setup.html">setup</a>
76
+
77
+ <li><a href="./prct06-TDD_gemspec.html">prct06-TDD.gemspec</a>
78
+
79
+ </ul>
80
+ </div>
81
+
82
+ </div>
83
+ </nav>
84
+
85
+ <main role="main" aria-label="Page Changelog.md">
86
+
87
+ <p>commit cc3846de10271b57f58b881e233657d490a28444 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Fri Nov 29 11:43:23 2019 +0000</p>
88
+
89
+ <pre>C17.1: Hotfix en &#39;bin/console&#39;</pre>
90
+
91
+ <p>commit 83d595dfae7bb772463d5e1b6d2f6408629f5225 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Wed Nov 27 13:18:59 2019 +0000</p>
92
+
93
+ <pre>C17: Finalizado Practica 8</pre>
94
+
95
+ <p>commit 0ffede8239c4264bb29a7560c59c137062f08a95 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Tue Nov 26 10:40:08 2019 +0000</p>
96
+
97
+ <pre>C16.1: Implementado codigo clase &#39;PlatoEficienciaEnergetica&#39;</pre>
98
+
99
+ <p>commit 7c2e47511cd7cde881060fae9d5214a50f1b9ec9 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Tue Nov 26 10:19:33 2019 +0000</p>
100
+
101
+ <pre>C16: Añadido pruebas para la futura clase &#39;PlatoEficienciaEnergetica&#39;</pre>
102
+
103
+ <p>commit 2ac20c0e552a6330245062e5309f5bdcc8149e78 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Tue Nov 26 09:52:25 2019 +0000</p>
104
+
105
+ <pre>15.2: Arreglado un error en &#39;Plato_spec.rb&#39;</pre>
106
+
107
+ <p>commit 9e996550962866f898c6d09398363aaf274fb2ba Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Tue Nov 26 09:40:58 2019 +0000</p>
108
+
109
+ <pre>C15.1: Implementado codigo clase &#39;Plato&#39;. Pruebas ejecutadas con exito</pre>
110
+
111
+ <p>commit d31735165b71faf6ae54d1c574b403fb7399e0de Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Mon Nov 25 11:47:19 2019 +0000</p>
112
+
113
+ <pre>C15: Añadido pruebas unitarias en &#39;Plato_spec.rb&#39; para futura clase &#39;Plato&#39;</pre>
114
+
115
+ <p>commit 4413ac68e7cb0c63a53e06abfe1d5e732b8a3328 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Mon Nov 25 11:08:16 2019 +0000</p>
116
+
117
+ <pre>C14.3: Implementado codigo para pasar las pruebas unitarias desarrolladas en C14.2</pre>
118
+
119
+ <p>commit 772b5ce320df581464ee776eca2c112e0f806c2b Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Mon Nov 25 11:03:19 2019 +0000</p>
120
+
121
+ <pre>C14.2: Implementado pruebas unitarias para comprobar correcta implementación del modulo &#39;Enumerable&#39; en ListaDobleEnlazada</pre>
122
+
123
+ <p>commit 53126b425995407f52e8a280804fdc3bae37adcb Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Mon Nov 25 10:44:43 2019 +0000</p>
124
+
125
+ <pre>C14.1: Implementado codigo en &#39;ListaDobleEnlazada&#39; para pasar prueba</pre>
126
+
127
+ <p>commit 6e5f56f6478d23c400cbd13106f5c0d4879a0f1d Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Mon Nov 25 10:20:35 2019 +0000</p>
128
+
129
+ <pre>C14: Añadido prueba ubitaria para &#39;to_s&#39; de &#39;ListaDobleEnlazada&#39;</pre>
130
+
131
+ <p>commit 9a369b429d3c91ca29fd8d62ed929bbe4a9571df Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Mon Nov 25 10:00:08 2019 +0000</p>
132
+
133
+ <pre>C13.1: Implementado codigo para el mixin con modulo &#39;Comparable&#39; en &#39;Alimento.rb&#39;</pre>
134
+
135
+ <p>commit 7c3cc2dbd3150c9c2d02dc4deb85bbaa6620ce5f Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Mon Nov 25 09:55:06 2019 +0000</p>
136
+
137
+ <pre>C13: Añadido pruebas unitarias en &#39;Alimento_spec.rb&#39; para incorporación modulo &#39;Comparable&#39;</pre>
138
+
139
+ <p>commit ca0429d5cbeb3b68d5b66c2b800c88b834b3337b Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Thu Nov 21 13:10:58 2019 +0000</p>
140
+
141
+ <pre>C12.2 : Aumentado robustez de las pruebas unitarias de &#39;Dieta&#39; con mas casos</pre>
142
+
143
+ <p>commit d1021c0764207dd54ece8d7a5e54b33ebdf183db Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Thu Nov 21 12:32:23 2019 +0000</p>
144
+
145
+ <pre>C12.1 : Implementado codigo clase &#39;Dieta&#39; para pasar (exitosamente) las pruebas unitarias en &#39;Dieta_spec.rb&#39;</pre>
146
+
147
+ <p>commit 644050d2a18c0bdac80d45294f33f0bd2931483b Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Thu Nov 21 11:36:33 2019 +0000</p>
148
+
149
+ <pre>C12: Añadido pruebas unitarias en &#39;Dieta_spec.rb&#39; para la clase &#39;Dieta&#39;</pre>
150
+
151
+ <p>commit 7152e5e386b699dfa54fa32b9b1c3b35742cd032 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Thu Nov 21 11:20:40 2019 +0000</p>
152
+
153
+ <pre>C11.3: Implementado codigo en &#39;Alimento.rb&#39; para construir fila apartir de input de fichero</pre>
154
+
155
+ <p>commit 20cebfb7c608b37177de07fa7bd77381a4b87cc2 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Thu Nov 21 11:13:11 2019 +0000</p>
156
+
157
+ <pre>C11.2 : Añadido pruebas unitarias en &#39;Alimento_spec.rb&#39; para crear un Hash apartir del input de un fichero</pre>
158
+
159
+ <p>commit 81b33aec4e4ff916bccf19d5e68a67263c542c11 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Thu Nov 21 10:59:03 2019 +0000</p>
160
+
161
+ <pre>C11.1: Implementado codigo en &#39;Alimento.rb&#39; para la prueba unitaria generado en C11</pre>
162
+
163
+ <p>commit 35e24cf502011f3607217e5238d2c1ae069ce460 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Thu Nov 21 10:57:02 2019 +0000</p>
164
+
165
+ <pre>C11: Añadido prueba unitaria para crear una lista de comidas apartir de un input de un fichero</pre>
166
+
167
+ <p>commit 77d66d0a883715d94f9e5c72c6656ebd77792f7a Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Tue Nov 19 11:36:30 2019 +0000</p>
168
+
169
+ <pre>C10.4: Aumentado la robustez de las pruebas unitarias en &#39;ListaDobleEnlazada_spec.rb&#39;</pre>
170
+
171
+ <p>commit df7fff3a9bfff48c54697bd5f1f405de432b85c3 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Tue Nov 19 10:13:03 2019 +0000</p>
172
+
173
+ <pre>C10.3: Implementado más pruebas unitarias para aumentar eficacia de estas</pre>
174
+
175
+ <p>commit e24e4bf1657916ab41972712b9468b9748d927c6 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Tue Nov 19 09:57:57 2019 +0000</p>
176
+
177
+ <pre>C10.2: Implementado el restante codigo de &#39;ListaDobleEnlazada&#39;</pre>
178
+
179
+ <p>commit 2b1b8ab98955f6e122cfc7a0c9da2bfcbff16834 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Tue Nov 19 09:44:22 2019 +0000</p>
180
+
181
+ <pre>C10.1: Implementación parcial del codigo para clase &#39;ListaDobleEnlazada&#39;.</pre>
182
+
183
+ <p>commit 97abaef143fce75b97917a8977ed3686dc3d02de Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Tue Nov 19 09:34:37 2019 +0000</p>
184
+
185
+ <pre>C10:Añadido pruebas unitarias para ListaDobleEnlazada</pre>
186
+
187
+ <p>commit 20e69db2580142ec5f04620f7d6a45f9100e6fc4 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Tue Nov 19 09:29:03 2019 +0000</p>
188
+
189
+ <pre>C9.1: Instalado &#39;Guard&#39; dependencia</pre>
190
+
191
+ <p>commit a8f5b5d59f5df09981693b5d9bcfe167bf7da575 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Tue Nov 19 09:15:59 2019 +0000</p>
192
+
193
+ <pre>C9: Arreglado estructura de la gema para respetar Bundle</pre>
194
+
195
+ <p>commit bc70bfb988ee4e8ce61121a30cc3ca712aebfb59 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Fri Nov 15 12:03:10 2019 +0000</p>
196
+
197
+ <pre>C8.4 : Implementado codigo para suma de 2 alimentos</pre>
198
+
199
+ <p>commit ba28001a4f8e1f32917c42998e41edf298cb218d Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Fri Nov 15 11:58:49 2019 +0000</p>
200
+
201
+ <pre>C8.3: Añadido prueba unitaria para suma de alimentos</pre>
202
+
203
+ <p>commit 8f91e16d186a27ac87383bb1bb1fb8f9fd043430 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Fri Nov 15 10:22:17 2019 +0000</p>
204
+
205
+ <pre>C8.2.1 : Modificado una parte del README.md</pre>
206
+
207
+ <p>commit 8ef206f960453f6e8d552598f2b2b403a70e8a26 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Fri Nov 15 10:17:26 2019 +0000</p>
208
+
209
+ <pre>C8.2: Mejorado el caso de prueba del &#39;==&#39; en &#39;Alimento_spec.rb</pre>
210
+
211
+ <p>commit 42698eb6decbcd1511fd096c4a2183a406b75b2e Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Fri Nov 15 10:01:09 2019 +0000</p>
212
+
213
+ <pre>C8.1 : Implementado codigo para &#39;&lt;=&gt;&#39; y &#39;==&#39; para pruebas unitarias</pre>
214
+
215
+ <p>commit 6c484d528268e15289acd71d68e30dc8ee8c0279 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Fri Nov 15 09:50:37 2019 +0000</p>
216
+
217
+ <pre>C8: Añadido pruebas unitarias para el modulo &#39;Comparable&#39; en &#39;Alimento_spec&#39;</pre>
218
+
219
+ <p>commit 53ab3805544dae775181586a94ee81f44746e10d Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Thu Nov 14 11:08:01 2019 +0000</p>
220
+
221
+ <pre>C7.4: Implementado el codigo &#39;impactoAmbiental&#39; en &#39;Alimento.rb&#39;</pre>
222
+
223
+ <p>commit 3c743ffb4d2f20dfe73abb91a97db3ca5cd0d0b8 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Thu Nov 14 11:05:52 2019 +0000</p>
224
+
225
+ <pre>C7.3.1: Hotfix para error en sintaxis de pruebas unitarias</pre>
226
+
227
+ <p>commit 4b8105184aaf0eb3587a3d0c613047a9bb6bfbe7 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Thu Nov 14 11:04:45 2019 +0000</p>
228
+
229
+ <pre>C7.3: Añadido prueba funcional para calculo impacto ambiental de un hombre y mujer de 20-39 años</pre>
230
+
231
+ <p>commit d1ca2ea6c93fe70c000b63f5a92ed4ffa2808e75 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Thu Nov 14 10:48:56 2019 +0000</p>
232
+
233
+ <pre>C7.2 : Implementado codigo &#39;terrenoUsado&#39; en &#39;Alimento.rb&#39; y pruebas funcionales ejecutadas con exito</pre>
234
+
235
+ <p>commit 575af8b2b9f39ff7597186bb40ec3c90649ac384 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Thu Nov 14 10:47:06 2019 +0000</p>
236
+
237
+ <pre>C7.1 : Añadido prueba funcional para &#39;terrenoUsado&#39; en &#39;Alimento_spec.rb&#39;</pre>
238
+
239
+ <p>commit 561bd4124ee281db1be9e8e4e64b73d4fed52ecf Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Thu Nov 14 10:44:31 2019 +0000</p>
240
+
241
+ <pre>C7: Añadido pruebas unitarias a metodos en &#39;Alimento_spect.rb&#39; y la posterior implementación de metodos en &#39;Alimento.rb&#39;</pre>
242
+
243
+ <p>commit 14d50b3c3679736b3697198bf0a8086b452c3dbb Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Wed Nov 13 12:28:47 2019 +0000</p>
244
+
245
+ <pre>C6.1: Hotfix de un codigo mal escrito en &#39;Alimento_spec&#39;</pre>
246
+
247
+ <p>commit d57361017cdf2eff20933316c148797d33415f26 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Wed Nov 13 12:25:47 2019 +0000</p>
248
+
249
+ <pre>C6: Añadida las pruebas unitarias para los metodos de la clase Alimento</pre>
250
+
251
+ <p>commit 1cce37dc81d74a8964e9bb2fe3e0cdf7410e7255 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Wed Nov 13 11:57:06 2019 +0000</p>
252
+
253
+ <pre>C5: Definido builder de Alimento y su constructor con las propiedades basicas</pre>
254
+
255
+ <p>commit 9b23347a11a603b911e074c73269455cdf93a24c Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Wed Nov 13 10:53:35 2019 +0000</p>
256
+
257
+ <pre>C4: Fixes y añadido estructura basica para poder empezar desarrollo</pre>
258
+
259
+ <p>commit 2e31aad58b40ae1032abe4f437910acd72577b07 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Tue Nov 12 10:31:09 2019 +0000</p>
260
+
261
+ <pre>C3: Estructura directorio y fichero preparada para empezar el desarrollo TDD</pre>
262
+
263
+ <p>commit facea662db66010340a8bb17523126d1ceec0d9d Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Tue Nov 12 10:17:19 2019 +0000</p>
264
+
265
+ <pre>C2: Borrado todo el codigo autogenerado para cumplir con la condición &#39;no reutilizar codigo&#39; que la practica solitica</pre>
266
+
267
+ <p>commit f3f8ff29ba107abde391a9c8745ac94279614449 Author: Javier Duque Melguizo <a href="mailto:alu0101160337@ull.edu.es">alu0101160337@ull.edu.es</a> Date: Tue Nov 12 10:15:41 2019 +0000</p>
268
+
269
+ <pre>C1 : Estructura autogenerada con &#39;bundler gem prct06-TDD&#39;</pre>
270
+
271
+ </main>
272
+
273
+
274
+
275
+ <footer id="validator-badges" role="contentinfo">
276
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
277
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.0.
278
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
279
+ </footer>
280
+
data/docs/Dieta.html ADDED
@@ -0,0 +1,272 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Dieta - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ var index_rel_prefix = "./";
12
+ </script>
13
+
14
+ <script src="./js/jquery.js"></script>
15
+ <script src="./js/darkfish.js"></script>
16
+
17
+ <link href="./css/fonts.css" rel="stylesheet">
18
+ <link href="./css/rdoc.css" rel="stylesheet">
19
+
20
+
21
+
22
+
23
+ <body id="top" role="document" class="class">
24
+ <nav role="navigation">
25
+ <div id="project-navigation">
26
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
27
+ <h2>
28
+ <a href="./index.html" rel="home">Home</a>
29
+ </h2>
30
+
31
+ <div id="table-of-contents-navigation">
32
+ <a href="./table_of_contents.html#pages">Pages</a>
33
+ <a href="./table_of_contents.html#classes">Classes</a>
34
+ <a href="./table_of_contents.html#methods">Methods</a>
35
+ </div>
36
+ </div>
37
+
38
+ <div id="search-section" role="search" class="project-section initially-hidden">
39
+ <form action="#" method="get" accept-charset="utf-8">
40
+ <div id="search-field-wrapper">
41
+ <input id="search-field" role="combobox" aria-label="Search"
42
+ aria-autocomplete="list" aria-controls="search-results"
43
+ type="text" name="search" placeholder="Search" spellcheck="false"
44
+ title="Type to search, Up and Down to navigate, Enter to load">
45
+ </div>
46
+
47
+ <ul id="search-results" aria-label="Search Results"
48
+ aria-busy="false" aria-expanded="false"
49
+ aria-atomic="false" class="initially-hidden"></ul>
50
+ </form>
51
+ </div>
52
+
53
+ </div>
54
+
55
+
56
+
57
+ <div id="class-metadata">
58
+
59
+ <div id="parent-class-section" class="nav-section">
60
+ <h3>Parent</h3>
61
+
62
+
63
+ <p class="link"><a href="ListaDobleEnlazada.html">ListaDobleEnlazada</a>
64
+
65
+ </div>
66
+
67
+
68
+
69
+ <!-- Method Quickref -->
70
+ <div id="method-list-section" class="nav-section">
71
+ <h3>Methods</h3>
72
+
73
+ <ul class="link-list" role="directory">
74
+
75
+ <li ><a href="#method-c-alimentos">::alimentos</a>
76
+
77
+ <li ><a href="#method-i-calculoEmisiones">#calculoEmisiones</a>
78
+
79
+ <li ><a href="#method-i-emisiones">#emisiones</a>
80
+
81
+ <li ><a href="#method-i-terreno">#terreno</a>
82
+
83
+ </ul>
84
+ </div>
85
+
86
+ </div>
87
+ </nav>
88
+
89
+ <main role="main" aria-labelledby="class-Dieta">
90
+ <h1 id="class-Dieta" class="class">
91
+ class Dieta
92
+ </h1>
93
+
94
+ <section class="description">
95
+
96
+ </section>
97
+
98
+
99
+ <section id="5Buntitled-5D" class="documentation-section">
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+ <section id="public-class-5Buntitled-5D-method-details" class="method-section">
110
+ <header>
111
+ <h3>Public Class Methods</h3>
112
+ </header>
113
+
114
+
115
+ <div id="method-c-alimentos" class="method-detail ">
116
+
117
+ <div class="method-heading">
118
+ <span class="method-name">alimentos</span><span
119
+ class="method-args">()</span>
120
+
121
+ <span class="method-click-advice">click to toggle source</span>
122
+
123
+ </div>
124
+
125
+
126
+ <div class="method-description">
127
+
128
+
129
+
130
+
131
+
132
+
133
+ <div class="method-source-code" id="alimentos-source">
134
+ <pre><span class="ruby-comment"># File lib/Dieta.rb, line 6</span>
135
+ <span class="ruby-keyword">def</span> <span class="ruby-constant">Dieta</span>.<span class="ruby-identifier ruby-title">alimentos</span>
136
+ <span class="ruby-keyword">return</span> <span class="ruby-identifier">@@alimentos</span>
137
+ <span class="ruby-keyword">end</span></pre>
138
+ </div>
139
+
140
+ </div>
141
+
142
+
143
+
144
+
145
+ </div>
146
+
147
+
148
+ </section>
149
+
150
+ <section id="public-instance-5Buntitled-5D-method-details" class="method-section">
151
+ <header>
152
+ <h3>Public Instance Methods</h3>
153
+ </header>
154
+
155
+
156
+ <div id="method-i-calculoEmisiones" class="method-detail ">
157
+
158
+ <div class="method-heading">
159
+ <span class="method-name">calculoEmisiones</span><span
160
+ class="method-args">(dias)</span>
161
+
162
+ <span class="method-click-advice">click to toggle source</span>
163
+
164
+ </div>
165
+
166
+
167
+ <div class="method-description">
168
+
169
+
170
+
171
+
172
+
173
+
174
+ <div class="method-source-code" id="calculoEmisiones-source">
175
+ <pre><span class="ruby-comment"># File lib/Dieta.rb, line 24</span>
176
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">calculoEmisiones</span>(<span class="ruby-identifier">dias</span>)
177
+ <span class="ruby-keyword">return</span> <span class="ruby-identifier">emisiones</span>()<span class="ruby-operator">*</span><span class="ruby-identifier">dias</span>
178
+ <span class="ruby-keyword">end</span></pre>
179
+ </div>
180
+
181
+ </div>
182
+
183
+
184
+
185
+
186
+ </div>
187
+
188
+
189
+ <div id="method-i-emisiones" class="method-detail ">
190
+
191
+ <div class="method-heading">
192
+ <span class="method-name">emisiones</span><span
193
+ class="method-args">()</span>
194
+
195
+ <span class="method-click-advice">click to toggle source</span>
196
+
197
+ </div>
198
+
199
+
200
+ <div class="method-description">
201
+
202
+
203
+
204
+
205
+
206
+
207
+ <div class="method-source-code" id="emisiones-source">
208
+ <pre><span class="ruby-comment"># File lib/Dieta.rb, line 11</span>
209
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">emisiones</span>
210
+ <span class="ruby-identifier">result</span> = <span class="ruby-value">0</span>
211
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">each</span>(){<span class="ruby-operator">|</span><span class="ruby-identifier">value</span><span class="ruby-operator">|</span> <span class="ruby-identifier">result</span><span class="ruby-operator">+=</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">gei</span> }
212
+ <span class="ruby-keyword">return</span> <span class="ruby-identifier">result</span>
213
+ <span class="ruby-keyword">end</span></pre>
214
+ </div>
215
+
216
+ </div>
217
+
218
+
219
+
220
+
221
+ </div>
222
+
223
+
224
+ <div id="method-i-terreno" class="method-detail ">
225
+
226
+ <div class="method-heading">
227
+ <span class="method-name">terreno</span><span
228
+ class="method-args">()</span>
229
+
230
+ <span class="method-click-advice">click to toggle source</span>
231
+
232
+ </div>
233
+
234
+
235
+ <div class="method-description">
236
+
237
+
238
+
239
+
240
+
241
+
242
+ <div class="method-source-code" id="terreno-source">
243
+ <pre><span class="ruby-comment"># File lib/Dieta.rb, line 17</span>
244
+ <span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">terreno</span>
245
+ <span class="ruby-identifier">result</span> = <span class="ruby-value">0</span>
246
+ <span class="ruby-keyword">self</span>.<span class="ruby-identifier">each</span>(){<span class="ruby-operator">|</span><span class="ruby-identifier">value</span><span class="ruby-operator">|</span> <span class="ruby-identifier">result</span><span class="ruby-operator">+=</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">terreno</span> }
247
+ <span class="ruby-keyword">return</span> <span class="ruby-identifier">result</span>
248
+
249
+ <span class="ruby-keyword">end</span></pre>
250
+ </div>
251
+
252
+ </div>
253
+
254
+
255
+
256
+
257
+ </div>
258
+
259
+
260
+ </section>
261
+
262
+ </section>
263
+
264
+ </main>
265
+
266
+
267
+ <footer id="validator-badges" role="contentinfo">
268
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
269
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.1.0.
270
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
271
+ </footer>
272
+