alimentohv 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +11 -0
  4. data/.rake_tasks~ +7 -0
  5. data/.rspec +2 -0
  6. data/.travis.yml +5 -0
  7. data/Gemfile +6 -0
  8. data/Guardfile +82 -0
  9. data/README.md +3 -0
  10. data/Rakefile +6 -0
  11. data/alimento.gemspec +39 -0
  12. data/bin/console +14 -0
  13. data/bin/setup +8 -0
  14. data/doc/Alimento.html +109 -0
  15. data/doc/Alimentos.html +467 -0
  16. data/doc/Gemfile.html +99 -0
  17. data/doc/Gemfile_lock.html +176 -0
  18. data/doc/Grupo.html +383 -0
  19. data/doc/Grupo_bebidas.html +102 -0
  20. data/doc/Grupo_carbohidratos.html +102 -0
  21. data/doc/Grupo_carnes.html +102 -0
  22. data/doc/Grupo_frutas.html +102 -0
  23. data/doc/Grupo_grasos.html +102 -0
  24. data/doc/Grupo_lacteos.html +102 -0
  25. data/doc/Grupo_pescados.html +102 -0
  26. data/doc/Grupo_verduras.html +102 -0
  27. data/doc/Guardfile.html +176 -0
  28. data/doc/Lista.html +457 -0
  29. data/doc/Object.html +116 -0
  30. data/doc/README_md.html +96 -0
  31. data/doc/Rakefile.html +97 -0
  32. data/doc/alimento_gemspec.html +130 -0
  33. data/doc/bin/setup.html +97 -0
  34. data/doc/created.rid +16 -0
  35. data/doc/css/fonts.css +167 -0
  36. data/doc/css/rdoc.css +590 -0
  37. data/doc/fonts/Lato-Light.ttf +0 -0
  38. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  39. data/doc/fonts/Lato-Regular.ttf +0 -0
  40. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  41. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  42. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  43. data/doc/images/add.png +0 -0
  44. data/doc/images/arrow_up.png +0 -0
  45. data/doc/images/brick.png +0 -0
  46. data/doc/images/brick_link.png +0 -0
  47. data/doc/images/bug.png +0 -0
  48. data/doc/images/bullet_black.png +0 -0
  49. data/doc/images/bullet_toggle_minus.png +0 -0
  50. data/doc/images/bullet_toggle_plus.png +0 -0
  51. data/doc/images/date.png +0 -0
  52. data/doc/images/delete.png +0 -0
  53. data/doc/images/find.png +0 -0
  54. data/doc/images/loadingAnimation.gif +0 -0
  55. data/doc/images/macFFBgHack.png +0 -0
  56. data/doc/images/package.png +0 -0
  57. data/doc/images/page_green.png +0 -0
  58. data/doc/images/page_white_text.png +0 -0
  59. data/doc/images/page_white_width.png +0 -0
  60. data/doc/images/plugin.png +0 -0
  61. data/doc/images/ruby.png +0 -0
  62. data/doc/images/tag_blue.png +0 -0
  63. data/doc/images/tag_green.png +0 -0
  64. data/doc/images/transparent.png +0 -0
  65. data/doc/images/wrench.png +0 -0
  66. data/doc/images/wrench_orange.png +0 -0
  67. data/doc/images/zoom.png +0 -0
  68. data/doc/index.html +125 -0
  69. data/doc/js/darkfish.js +161 -0
  70. data/doc/js/jquery.js +4 -0
  71. data/doc/js/navigation.js +142 -0
  72. data/doc/js/navigation.js.gz +0 -0
  73. data/doc/js/search.js +109 -0
  74. data/doc/js/search_index.js +1 -0
  75. data/doc/js/search_index.js.gz +0 -0
  76. data/doc/js/searcher.js +228 -0
  77. data/doc/js/searcher.js.gz +0 -0
  78. data/doc/table_of_contents.html +214 -0
  79. data/docs/Alimento.html +109 -0
  80. data/docs/Alimentos.html +467 -0
  81. data/docs/Gemfile.html +99 -0
  82. data/docs/Gemfile_lock.html +176 -0
  83. data/docs/Grupo.html +383 -0
  84. data/docs/Grupo_bebidas.html +102 -0
  85. data/docs/Grupo_carbohidratos.html +102 -0
  86. data/docs/Grupo_carnes.html +102 -0
  87. data/docs/Grupo_frutas.html +102 -0
  88. data/docs/Grupo_grasos.html +102 -0
  89. data/docs/Grupo_lacteos.html +102 -0
  90. data/docs/Grupo_pescados.html +102 -0
  91. data/docs/Grupo_verduras.html +102 -0
  92. data/docs/Guardfile.html +176 -0
  93. data/docs/Lista.html +457 -0
  94. data/docs/Object.html +116 -0
  95. data/docs/README_md.html +96 -0
  96. data/docs/Rakefile.html +97 -0
  97. data/docs/alimento_gemspec.html +130 -0
  98. data/docs/bin/setup.html +97 -0
  99. data/docs/created.rid +16 -0
  100. data/docs/css/fonts.css +167 -0
  101. data/docs/css/rdoc.css +590 -0
  102. data/docs/fonts/Lato-Light.ttf +0 -0
  103. data/docs/fonts/Lato-LightItalic.ttf +0 -0
  104. data/docs/fonts/Lato-Regular.ttf +0 -0
  105. data/docs/fonts/Lato-RegularItalic.ttf +0 -0
  106. data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
  107. data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
  108. data/docs/images/add.png +0 -0
  109. data/docs/images/arrow_up.png +0 -0
  110. data/docs/images/brick.png +0 -0
  111. data/docs/images/brick_link.png +0 -0
  112. data/docs/images/bug.png +0 -0
  113. data/docs/images/bullet_black.png +0 -0
  114. data/docs/images/bullet_toggle_minus.png +0 -0
  115. data/docs/images/bullet_toggle_plus.png +0 -0
  116. data/docs/images/date.png +0 -0
  117. data/docs/images/delete.png +0 -0
  118. data/docs/images/find.png +0 -0
  119. data/docs/images/loadingAnimation.gif +0 -0
  120. data/docs/images/macFFBgHack.png +0 -0
  121. data/docs/images/package.png +0 -0
  122. data/docs/images/page_green.png +0 -0
  123. data/docs/images/page_white_text.png +0 -0
  124. data/docs/images/page_white_width.png +0 -0
  125. data/docs/images/plugin.png +0 -0
  126. data/docs/images/ruby.png +0 -0
  127. data/docs/images/tag_blue.png +0 -0
  128. data/docs/images/tag_green.png +0 -0
  129. data/docs/images/transparent.png +0 -0
  130. data/docs/images/wrench.png +0 -0
  131. data/docs/images/wrench_orange.png +0 -0
  132. data/docs/images/zoom.png +0 -0
  133. data/docs/index.html +125 -0
  134. data/docs/js/darkfish.js +161 -0
  135. data/docs/js/jquery.js +4 -0
  136. data/docs/js/navigation.js +142 -0
  137. data/docs/js/navigation.js.gz +0 -0
  138. data/docs/js/search.js +109 -0
  139. data/docs/js/search_index.js +1 -0
  140. data/docs/js/search_index.js.gz +0 -0
  141. data/docs/js/searcher.js +228 -0
  142. data/docs/js/searcher.js.gz +0 -0
  143. data/docs/table_of_contents.html +214 -0
  144. data/lib/alimento.rb +13 -0
  145. data/lib/alimento/alimentos.rb +35 -0
  146. data/lib/alimento/calculadora.rb +55 -0
  147. data/lib/alimento/comida.rb +58 -0
  148. data/lib/alimento/grupo.rb +53 -0
  149. data/lib/alimento/individuo.rb +46 -0
  150. data/lib/alimento/lista.rb +65 -0
  151. data/lib/alimento/platohardvard.rb +160 -0
  152. data/lib/alimento/version.rb +3 -0
  153. metadata +292 -0
data/docs/Object.html ADDED
@@ -0,0 +1,116 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Object - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
15
+
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
18
+
19
+
20
+
21
+ <body id="top" role="document" class="class">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="class-metadata">
56
+
57
+ <div id="parent-class-section" class="nav-section">
58
+ <h3>Parent</h3>
59
+
60
+
61
+ <p class="link">BasicObject
62
+
63
+ </div>
64
+
65
+
66
+
67
+
68
+ </div>
69
+ </nav>
70
+
71
+ <main role="main" aria-labelledby="class-Object">
72
+ <h1 id="class-Object" class="class">
73
+ class Object
74
+ </h1>
75
+
76
+ <section class="description">
77
+
78
+ </section>
79
+
80
+
81
+
82
+
83
+ <section id="5Buntitled-5D" class="documentation-section">
84
+
85
+
86
+
87
+
88
+
89
+ <section class="constants-list">
90
+ <header>
91
+ <h3>Constants</h3>
92
+ </header>
93
+ <dl>
94
+
95
+ <dt id="Nodo">Nodo
96
+
97
+ <dd>
98
+
99
+
100
+ </dl>
101
+ </section>
102
+
103
+
104
+
105
+
106
+
107
+ </section>
108
+ </main>
109
+
110
+
111
+ <footer id="validator-badges" role="contentinfo">
112
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
113
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
114
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
115
+ </footer>
116
+
@@ -0,0 +1,96 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>README - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
15
+
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
18
+
19
+
20
+
21
+ <body id="top" role="document" class="file">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="project-metadata">
56
+ <div id="fileindex-section" class="nav-section">
57
+ <h3>Pages</h3>
58
+
59
+ <ul class="link-list">
60
+
61
+ <li><a href="./Gemfile.html">Gemfile</a>
62
+
63
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
64
+
65
+ <li><a href="./Guardfile.html">Guardfile</a>
66
+
67
+ <li><a href="./README_md.html">README</a>
68
+
69
+ <li><a href="./Rakefile.html">Rakefile</a>
70
+
71
+ <li><a href="./alimento_gemspec.html">alimento.gemspec</a>
72
+
73
+ <li><a href="./bin/setup.html">setup</a>
74
+
75
+ </ul>
76
+ </div>
77
+
78
+ </div>
79
+ </nav>
80
+
81
+ <main role="main" aria-label="Page README.md">
82
+
83
+ <h1 id="label-Practica+de+Laboratorio+7">Practica de Laboratorio 7<span><a href="#label-Practica+de+Laboratorio+7">&para;</a> <a href="#top">&uarr;</a></span></h1>
84
+ <ul><li>
85
+ <p>Nombre del Alumno: Joram Real Gómez</p>
86
+ </li></ul>
87
+ </main>
88
+
89
+
90
+
91
+ <footer id="validator-badges" role="contentinfo">
92
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
93
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
94
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
95
+ </footer>
96
+
@@ -0,0 +1,97 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>Rakefile - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
15
+
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
18
+
19
+
20
+
21
+ <body id="top" role="document" class="file">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="project-metadata">
56
+ <div id="fileindex-section" class="nav-section">
57
+ <h3>Pages</h3>
58
+
59
+ <ul class="link-list">
60
+
61
+ <li><a href="./Gemfile.html">Gemfile</a>
62
+
63
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
64
+
65
+ <li><a href="./Guardfile.html">Guardfile</a>
66
+
67
+ <li><a href="./README_md.html">README</a>
68
+
69
+ <li><a href="./Rakefile.html">Rakefile</a>
70
+
71
+ <li><a href="./alimento_gemspec.html">alimento.gemspec</a>
72
+
73
+ <li><a href="./bin/setup.html">setup</a>
74
+
75
+ </ul>
76
+ </div>
77
+
78
+ </div>
79
+ </nav>
80
+
81
+ <main role="main" aria-label="Page Rakefile">
82
+
83
+ <p>require “bundler/gem_tasks” require “rspec/core/rake_task”</p>
84
+
85
+ <p>RSpec::Core::RakeTask.new(:spec)</p>
86
+
87
+ <p>task :default =&gt; :spec</p>
88
+ </main>
89
+
90
+
91
+
92
+ <footer id="validator-badges" role="contentinfo">
93
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
94
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
95
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
96
+ </footer>
97
+
@@ -0,0 +1,130 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>alimento.gemspec - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "./";
11
+ </script>
12
+
13
+ <script src="./js/jquery.js"></script>
14
+ <script src="./js/darkfish.js"></script>
15
+
16
+ <link href="./css/fonts.css" rel="stylesheet">
17
+ <link href="./css/rdoc.css" rel="stylesheet">
18
+
19
+
20
+
21
+ <body id="top" role="document" class="file">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="./index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="./table_of_contents.html#pages">Pages</a>
31
+ <a href="./table_of_contents.html#classes">Classes</a>
32
+ <a href="./table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="project-metadata">
56
+ <div id="fileindex-section" class="nav-section">
57
+ <h3>Pages</h3>
58
+
59
+ <ul class="link-list">
60
+
61
+ <li><a href="./Gemfile.html">Gemfile</a>
62
+
63
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
64
+
65
+ <li><a href="./Guardfile.html">Guardfile</a>
66
+
67
+ <li><a href="./README_md.html">README</a>
68
+
69
+ <li><a href="./Rakefile.html">Rakefile</a>
70
+
71
+ <li><a href="./alimento_gemspec.html">alimento.gemspec</a>
72
+
73
+ <li><a href="./bin/setup.html">setup</a>
74
+
75
+ </ul>
76
+ </div>
77
+
78
+ </div>
79
+ </nav>
80
+
81
+ <main role="main" aria-label="Page alimento.gemspec">
82
+
83
+ <p>lib = File.expand_path(“../lib”, __FILE__) $LOAD_PATH.unshift(lib) unless
84
+ $LOAD_PATH.include?(lib) require “alimento/version”</p>
85
+
86
+ <p>Gem::Specification.new do |spec|</p>
87
+
88
+ <pre class="ruby"><span class="ruby-identifier">spec</span>.<span class="ruby-identifier">name</span> = <span class="ruby-string">&quot;alimento&quot;</span>
89
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">version</span> = <span class="ruby-constant">Alimento</span><span class="ruby-operator">::</span><span class="ruby-constant">VERSION</span>
90
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">authors</span> = [<span class="ruby-string">&quot;Joram Real Gómez&quot;</span>]
91
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">email</span> = [<span class="ruby-string">&quot;alu0100226300@ull.edu.es&quot;</span>]
92
+
93
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">summary</span> = <span class="ruby-string">%q{sumario de la gema}</span>
94
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">description</span> = <span class="ruby-string">%q{sumario de la gema}</span>
95
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">homepage</span> = <span class="ruby-string">&quot;https://github.com/ULL-ESIT-LPP-1718/tdd-alu0100226300.git&quot;</span>
96
+
97
+ <span class="ruby-comment"># Prevent pushing this gem to RubyGems.org. To allow pushes either set the &#39;allowed_push_host&#39;</span>
98
+ <span class="ruby-comment"># to allow pushing to a single host or delete this section to allow pushing to any host.</span>
99
+ <span class="ruby-keyword">if</span> <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">respond_to?</span>(:<span class="ruby-identifier">metadata</span>)
100
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">metadata</span>[<span class="ruby-string">&quot;allowed_push_host&quot;</span>] = <span class="ruby-string">&quot;TODO: Set to &#39;http://mygemserver.com&#39;&quot;</span>
101
+ <span class="ruby-keyword">else</span>
102
+ <span class="ruby-identifier">raise</span> <span class="ruby-string">&quot;RubyGems 2.0 or newer is required to protect against &quot;</span> <span class="ruby-string">&quot;public gem pushes.&quot;</span>
103
+ <span class="ruby-keyword">end</span>
104
+
105
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">files</span> = <span class="ruby-value">%x`git ls-files -z`</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">&quot;\x0&quot;</span>).<span class="ruby-identifier">reject</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
106
+ <span class="ruby-identifier">f</span>.<span class="ruby-identifier">match</span>(<span class="ruby-regexp">%r{^(test|spec|features)/}</span>)
107
+ <span class="ruby-keyword">end</span>
108
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">bindir</span> = <span class="ruby-string">&quot;exe&quot;</span>
109
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">executables</span> = <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">files</span>.<span class="ruby-identifier">grep</span>(<span class="ruby-regexp">%r{^exe/}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">basename</span>(<span class="ruby-identifier">f</span>) }
110
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">require_paths</span> = [<span class="ruby-string">&quot;lib&quot;</span>]
111
+
112
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&quot;bundler&quot;</span>, <span class="ruby-string">&quot;~&gt; 1.15&quot;</span>
113
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&quot;rake&quot;</span>, <span class="ruby-string">&quot;~&gt; 10.0&quot;</span>
114
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&quot;rspec&quot;</span>, <span class="ruby-string">&quot;~&gt; 3.0&quot;</span>
115
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&quot;guard&quot;</span>
116
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&quot;guard-rspec&quot;</span>
117
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&quot;guard-bundler&quot;</span>
118
+ </pre>
119
+
120
+ <p>end</p>
121
+ </main>
122
+
123
+
124
+
125
+ <footer id="validator-badges" role="contentinfo">
126
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
127
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
128
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
129
+ </footer>
130
+
@@ -0,0 +1,97 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>setup - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "../";
11
+ </script>
12
+
13
+ <script src="../js/jquery.js"></script>
14
+ <script src="../js/darkfish.js"></script>
15
+
16
+ <link href="../css/fonts.css" rel="stylesheet">
17
+ <link href="../css/rdoc.css" rel="stylesheet">
18
+
19
+
20
+
21
+ <body id="top" role="document" class="file">
22
+ <nav role="navigation">
23
+ <div id="project-navigation">
24
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
25
+ <h2>
26
+ <a href="../index.html" rel="home">Home</a>
27
+ </h2>
28
+
29
+ <div id="table-of-contents-navigation">
30
+ <a href="../table_of_contents.html#pages">Pages</a>
31
+ <a href="../table_of_contents.html#classes">Classes</a>
32
+ <a href="../table_of_contents.html#methods">Methods</a>
33
+ </div>
34
+ </div>
35
+
36
+ <div id="search-section" role="search" class="project-section initially-hidden">
37
+ <form action="#" method="get" accept-charset="utf-8">
38
+ <div id="search-field-wrapper">
39
+ <input id="search-field" role="combobox" aria-label="Search"
40
+ aria-autocomplete="list" aria-controls="search-results"
41
+ type="text" name="search" placeholder="Search" spellcheck="false"
42
+ title="Type to search, Up and Down to navigate, Enter to load">
43
+ </div>
44
+
45
+ <ul id="search-results" aria-label="Search Results"
46
+ aria-busy="false" aria-expanded="false"
47
+ aria-atomic="false" class="initially-hidden"></ul>
48
+ </form>
49
+ </div>
50
+
51
+ </div>
52
+
53
+
54
+
55
+ <div id="project-metadata">
56
+ <div id="fileindex-section" class="nav-section">
57
+ <h3>Pages</h3>
58
+
59
+ <ul class="link-list">
60
+
61
+ <li><a href="../Gemfile.html">Gemfile</a>
62
+
63
+ <li><a href="../Gemfile_lock.html">Gemfile.lock</a>
64
+
65
+ <li><a href="../Guardfile.html">Guardfile</a>
66
+
67
+ <li><a href="../README_md.html">README</a>
68
+
69
+ <li><a href="../Rakefile.html">Rakefile</a>
70
+
71
+ <li><a href="../alimento_gemspec.html">alimento.gemspec</a>
72
+
73
+ <li><a href="../bin/setup.html">setup</a>
74
+
75
+ </ul>
76
+ </div>
77
+
78
+ </div>
79
+ </nav>
80
+
81
+ <main role="main" aria-label="Page bin/setup">
82
+
83
+ <p>#!/usr/bin/env bash set -euo pipefail IFS=$&#39;nt&#39; set -vx</p>
84
+
85
+ <p>bundle install</p>
86
+
87
+ <p># Do any other automated setup that you need to do here</p>
88
+ </main>
89
+
90
+
91
+
92
+ <footer id="validator-badges" role="contentinfo">
93
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
94
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
95
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
96
+ </footer>
97
+