alimentos_diego_algomas 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +2 -0
- data/.gitignore +12 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +97 -0
- data/Guardfile +83 -0
- data/README.md +57 -0
- data/Rakefile +6 -0
- data/alimentos.gemspec +38 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/docs/Alimentos.html +115 -0
- data/docs/Alimentos/Alimentos.html +376 -0
- data/docs/Alimentos/Error.html +106 -0
- data/docs/Gemfile.html +99 -0
- data/docs/Gemfile_lock.html +180 -0
- data/docs/Guardfile.html +166 -0
- data/docs/List.html +120 -0
- data/docs/List/Error.html +106 -0
- data/docs/List/List.html +495 -0
- data/docs/Menu.html +115 -0
- data/docs/Menu/Error.html +106 -0
- data/docs/Menu/Menu.html +512 -0
- data/docs/Object.html +199 -0
- data/docs/Plato.html +115 -0
- data/docs/Plato/Error.html +106 -0
- data/docs/Plato/Plato.html +478 -0
- data/docs/Plato/PlatoAmbiental.html +374 -0
- data/docs/README_md.html +155 -0
- data/docs/Rakefile.html +101 -0
- data/docs/bin/setup.html +101 -0
- data/docs/created.rid +17 -0
- data/docs/css/fonts.css +167 -0
- data/docs/css/rdoc.css +619 -0
- data/docs/fonts/Lato-Light.ttf +0 -0
- data/docs/fonts/Lato-LightItalic.ttf +0 -0
- data/docs/fonts/Lato-Regular.ttf +0 -0
- data/docs/fonts/Lato-RegularItalic.ttf +0 -0
- data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
- data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
- data/docs/images/add.png +0 -0
- data/docs/images/arrow_up.png +0 -0
- data/docs/images/brick.png +0 -0
- data/docs/images/brick_link.png +0 -0
- data/docs/images/bug.png +0 -0
- data/docs/images/bullet_black.png +0 -0
- data/docs/images/bullet_toggle_minus.png +0 -0
- data/docs/images/bullet_toggle_plus.png +0 -0
- data/docs/images/date.png +0 -0
- data/docs/images/delete.png +0 -0
- data/docs/images/find.png +0 -0
- data/docs/images/loadingAnimation.gif +0 -0
- data/docs/images/macFFBgHack.png +0 -0
- data/docs/images/package.png +0 -0
- data/docs/images/page_green.png +0 -0
- data/docs/images/page_white_text.png +0 -0
- data/docs/images/page_white_width.png +0 -0
- data/docs/images/plugin.png +0 -0
- data/docs/images/ruby.png +0 -0
- data/docs/images/tag_blue.png +0 -0
- data/docs/images/tag_green.png +0 -0
- data/docs/images/transparent.png +0 -0
- data/docs/images/wrench.png +0 -0
- data/docs/images/wrench_orange.png +0 -0
- data/docs/images/zoom.png +0 -0
- data/docs/index.html +132 -0
- data/docs/js/darkfish.js +84 -0
- data/docs/js/navigation.js +105 -0
- data/docs/js/navigation.js.gz +0 -0
- data/docs/js/search.js +110 -0
- data/docs/js/search_index.js +1 -0
- data/docs/js/search_index.js.gz +0 -0
- data/docs/js/searcher.js +229 -0
- data/docs/js/searcher.js.gz +0 -0
- data/docs/table_of_contents.html +345 -0
- data/lib/alimentos.rb +29 -0
- data/lib/alimentos/alimentos.rb +36 -0
- data/lib/alimentos/dsl.rb +123 -0
- data/lib/alimentos/dslmenu.rb +60 -0
- data/lib/alimentos/list.rb +104 -0
- data/lib/alimentos/menu.rb +62 -0
- data/lib/alimentos/plato.rb +93 -0
- data/lib/alimentos/platoAmbiental.rb +64 -0
- data/lib/alimentos/version.rb +15 -0
- metadata +243 -0
data/docs/Gemfile.html
ADDED
@@ -0,0 +1,99 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Gemfile - 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/navigation.js" defer></script>
|
15
|
+
<script src="./js/search.js" defer></script>
|
16
|
+
<script src="./js/search_index.js" defer></script>
|
17
|
+
<script src="./js/searcher.js" defer></script>
|
18
|
+
<script src="./js/darkfish.js" defer></script>
|
19
|
+
|
20
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
<body id="top" role="document" class="file">
|
27
|
+
<nav role="navigation">
|
28
|
+
<div id="project-navigation">
|
29
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
30
|
+
<h2>
|
31
|
+
<a href="./index.html" rel="home">Home</a>
|
32
|
+
</h2>
|
33
|
+
|
34
|
+
<div id="table-of-contents-navigation">
|
35
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
36
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
37
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
42
|
+
<form action="#" method="get" accept-charset="utf-8">
|
43
|
+
<div id="search-field-wrapper">
|
44
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
45
|
+
aria-autocomplete="list" aria-controls="search-results"
|
46
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
47
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
48
|
+
</div>
|
49
|
+
|
50
|
+
<ul id="search-results" aria-label="Search Results"
|
51
|
+
aria-busy="false" aria-expanded="false"
|
52
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
53
|
+
</form>
|
54
|
+
</div>
|
55
|
+
|
56
|
+
</div>
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
<div id="project-metadata">
|
61
|
+
<div id="fileindex-section" class="nav-section">
|
62
|
+
<h3>Pages</h3>
|
63
|
+
|
64
|
+
<ul class="link-list">
|
65
|
+
|
66
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
67
|
+
|
68
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
69
|
+
|
70
|
+
<li><a href="./Guardfile.html">Guardfile</a>
|
71
|
+
|
72
|
+
<li><a href="./README_md.html">README</a>
|
73
|
+
|
74
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
75
|
+
|
76
|
+
<li><a href="./bin/setup.html">setup</a>
|
77
|
+
|
78
|
+
</ul>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
</nav>
|
83
|
+
|
84
|
+
<main role="main" aria-label="Page Gemfile">
|
85
|
+
|
86
|
+
<p>source “<a href="https://rubygems.org">rubygems.org</a>”</p>
|
87
|
+
|
88
|
+
<p># Specify your gem's dependencies in alimentos.gemspec gemspec</p>
|
89
|
+
|
90
|
+
</main>
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
<footer id="validator-badges" role="contentinfo">
|
95
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
96
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
|
97
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
98
|
+
</footer>
|
99
|
+
|
@@ -0,0 +1,180 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Gemfile.lock - 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/navigation.js" defer></script>
|
15
|
+
<script src="./js/search.js" defer></script>
|
16
|
+
<script src="./js/search_index.js" defer></script>
|
17
|
+
<script src="./js/searcher.js" defer></script>
|
18
|
+
<script src="./js/darkfish.js" defer></script>
|
19
|
+
|
20
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
<body id="top" role="document" class="file">
|
27
|
+
<nav role="navigation">
|
28
|
+
<div id="project-navigation">
|
29
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
30
|
+
<h2>
|
31
|
+
<a href="./index.html" rel="home">Home</a>
|
32
|
+
</h2>
|
33
|
+
|
34
|
+
<div id="table-of-contents-navigation">
|
35
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
36
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
37
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
42
|
+
<form action="#" method="get" accept-charset="utf-8">
|
43
|
+
<div id="search-field-wrapper">
|
44
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
45
|
+
aria-autocomplete="list" aria-controls="search-results"
|
46
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
47
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
48
|
+
</div>
|
49
|
+
|
50
|
+
<ul id="search-results" aria-label="Search Results"
|
51
|
+
aria-busy="false" aria-expanded="false"
|
52
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
53
|
+
</form>
|
54
|
+
</div>
|
55
|
+
|
56
|
+
</div>
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
<div id="project-metadata">
|
61
|
+
<div id="fileindex-section" class="nav-section">
|
62
|
+
<h3>Pages</h3>
|
63
|
+
|
64
|
+
<ul class="link-list">
|
65
|
+
|
66
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
67
|
+
|
68
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
69
|
+
|
70
|
+
<li><a href="./Guardfile.html">Guardfile</a>
|
71
|
+
|
72
|
+
<li><a href="./README_md.html">README</a>
|
73
|
+
|
74
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
75
|
+
|
76
|
+
<li><a href="./bin/setup.html">setup</a>
|
77
|
+
|
78
|
+
</ul>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
</nav>
|
83
|
+
|
84
|
+
<main role="main" aria-label="Page Gemfile.lock">
|
85
|
+
|
86
|
+
<p>PATH</p>
|
87
|
+
|
88
|
+
<pre>remote: .
|
89
|
+
specs:
|
90
|
+
alimentos (0.1.0)</pre>
|
91
|
+
|
92
|
+
<p>GEM</p>
|
93
|
+
|
94
|
+
<pre>remote: https://rubygems.org/
|
95
|
+
specs:
|
96
|
+
coderay (1.1.2)
|
97
|
+
diff-lcs (1.3)
|
98
|
+
ffi (1.11.2)
|
99
|
+
formatador (0.2.5)
|
100
|
+
guard (2.16.1)
|
101
|
+
formatador (>= 0.2.4)
|
102
|
+
listen (>= 2.7, < 4.0)
|
103
|
+
lumberjack (>= 1.0.12, < 2.0)
|
104
|
+
nenv (~> 0.1)
|
105
|
+
notiffany (~> 0.0)
|
106
|
+
pry (>= 0.9.12)
|
107
|
+
shellany (~> 0.0)
|
108
|
+
thor (>= 0.18.1)
|
109
|
+
guard-bundler (2.2.1)
|
110
|
+
bundler (>= 1.3.0, < 3)
|
111
|
+
guard (~> 2.2)
|
112
|
+
guard-compat (~> 1.1)
|
113
|
+
guard-compat (1.2.1)
|
114
|
+
guard-rspec (4.7.3)
|
115
|
+
guard (~> 2.1)
|
116
|
+
guard-compat (~> 1.1)
|
117
|
+
rspec (>= 2.99.0, < 4.0)
|
118
|
+
listen (3.2.0)
|
119
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
120
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
121
|
+
lumberjack (1.0.13)
|
122
|
+
method_source (0.9.2)
|
123
|
+
nenv (0.3.0)
|
124
|
+
notiffany (0.1.3)
|
125
|
+
nenv (~> 0.1)
|
126
|
+
shellany (~> 0.0)
|
127
|
+
pry (0.12.2)
|
128
|
+
coderay (~> 1.1.0)
|
129
|
+
method_source (~> 0.9.0)
|
130
|
+
rake (10.5.0)
|
131
|
+
rb-fsevent (0.10.3)
|
132
|
+
rb-inotify (0.10.0)
|
133
|
+
ffi (~> 1.0)
|
134
|
+
rdoc (6.2.0)
|
135
|
+
rspec (3.9.0)
|
136
|
+
rspec-core (~> 3.9.0)
|
137
|
+
rspec-expectations (~> 3.9.0)
|
138
|
+
rspec-mocks (~> 3.9.0)
|
139
|
+
rspec-core (3.9.0)
|
140
|
+
rspec-support (~> 3.9.0)
|
141
|
+
rspec-expectations (3.9.0)
|
142
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
143
|
+
rspec-support (~> 3.9.0)
|
144
|
+
rspec-mocks (3.9.0)
|
145
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
146
|
+
rspec-support (~> 3.9.0)
|
147
|
+
rspec-support (3.9.0)
|
148
|
+
shellany (0.0.1)
|
149
|
+
thor (0.20.3)</pre>
|
150
|
+
|
151
|
+
<p>PLATFORMS</p>
|
152
|
+
|
153
|
+
<pre class="ruby"><span class="ruby-identifier">ruby</span>
|
154
|
+
</pre>
|
155
|
+
|
156
|
+
<p>DEPENDENCIES</p>
|
157
|
+
|
158
|
+
<pre>alimentos!
|
159
|
+
bundler (~> 2.0)
|
160
|
+
guard
|
161
|
+
guard-bundler
|
162
|
+
guard-rspec
|
163
|
+
rake (~> 10.0)
|
164
|
+
rdoc
|
165
|
+
rspec (~> 3.0)</pre>
|
166
|
+
|
167
|
+
<p>BUNDLED WITH</p>
|
168
|
+
|
169
|
+
<pre>2.0.2</pre>
|
170
|
+
|
171
|
+
</main>
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
<footer id="validator-badges" role="contentinfo">
|
176
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
177
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
|
178
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
179
|
+
</footer>
|
180
|
+
|
data/docs/Guardfile.html
ADDED
@@ -0,0 +1,166 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>Guardfile - 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/navigation.js" defer></script>
|
15
|
+
<script src="./js/search.js" defer></script>
|
16
|
+
<script src="./js/search_index.js" defer></script>
|
17
|
+
<script src="./js/searcher.js" defer></script>
|
18
|
+
<script src="./js/darkfish.js" defer></script>
|
19
|
+
|
20
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
<body id="top" role="document" class="file">
|
27
|
+
<nav role="navigation">
|
28
|
+
<div id="project-navigation">
|
29
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
30
|
+
<h2>
|
31
|
+
<a href="./index.html" rel="home">Home</a>
|
32
|
+
</h2>
|
33
|
+
|
34
|
+
<div id="table-of-contents-navigation">
|
35
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
36
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
37
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
42
|
+
<form action="#" method="get" accept-charset="utf-8">
|
43
|
+
<div id="search-field-wrapper">
|
44
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
45
|
+
aria-autocomplete="list" aria-controls="search-results"
|
46
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
47
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
48
|
+
</div>
|
49
|
+
|
50
|
+
<ul id="search-results" aria-label="Search Results"
|
51
|
+
aria-busy="false" aria-expanded="false"
|
52
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
53
|
+
</form>
|
54
|
+
</div>
|
55
|
+
|
56
|
+
</div>
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
<div id="project-metadata">
|
61
|
+
<div id="fileindex-section" class="nav-section">
|
62
|
+
<h3>Pages</h3>
|
63
|
+
|
64
|
+
<ul class="link-list">
|
65
|
+
|
66
|
+
<li><a href="./Gemfile.html">Gemfile</a>
|
67
|
+
|
68
|
+
<li><a href="./Gemfile_lock.html">Gemfile.lock</a>
|
69
|
+
|
70
|
+
<li><a href="./Guardfile.html">Guardfile</a>
|
71
|
+
|
72
|
+
<li><a href="./README_md.html">README</a>
|
73
|
+
|
74
|
+
<li><a href="./Rakefile.html">Rakefile</a>
|
75
|
+
|
76
|
+
<li><a href="./bin/setup.html">setup</a>
|
77
|
+
|
78
|
+
</ul>
|
79
|
+
</div>
|
80
|
+
|
81
|
+
</div>
|
82
|
+
</nav>
|
83
|
+
|
84
|
+
<main role="main" aria-label="Page Guardfile">
|
85
|
+
|
86
|
+
<p># A sample <a href="Guardfile.html">Guardfile</a> # More info at <a href="https://github.com/guard/guard#readme">github.com/guard/guard#readme</a></p>
|
87
|
+
|
88
|
+
<p>## Uncomment and set this to only include directories you want to watch # directories %w(app lib config test spec features) \ # .select{|d| Dir.exist?(d) ? d : UI.warning(“Directory #{d} does not exist”)}</p>
|
89
|
+
|
90
|
+
<p>## Note: if you are using the `directories` clause above and you are not ## watching the project directory ('.'), then you will want to move ## the <a href="Guardfile.html">Guardfile</a> to a watched dir and symlink it back, e.g. # # $ mkdir config # $ mv <a href="Guardfile.html">Guardfile</a> config/ # $ ln -s config/Guardfile . # # and, you'll have to watch “config/Guardfile” instead of “Guardfile”</p>
|
91
|
+
|
92
|
+
<p>guard :bundler do</p>
|
93
|
+
|
94
|
+
<pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">'guard/bundler'</span>
|
95
|
+
<span class="ruby-identifier">require</span> <span class="ruby-string">'guard/bundler/verify'</span>
|
96
|
+
<span class="ruby-identifier">helper</span> = <span class="ruby-constant">Guard</span><span class="ruby-operator">::</span><span class="ruby-constant">Bundler</span><span class="ruby-operator">::</span><span class="ruby-constant">Verify</span>.<span class="ruby-identifier">new</span>
|
97
|
+
|
98
|
+
<span class="ruby-identifier">files</span> = [<span class="ruby-string">'Gemfile'</span>]
|
99
|
+
<span class="ruby-identifier">files</span> <span class="ruby-operator">+=</span> <span class="ruby-constant">Dir</span>[<span class="ruby-string">'*.gemspec'</span>] <span class="ruby-keyword">if</span> <span class="ruby-identifier">files</span>.<span class="ruby-identifier">any?</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-identifier">helper</span>.<span class="ruby-identifier">uses_gemspec?</span>(<span class="ruby-identifier">f</span>) }
|
100
|
+
|
101
|
+
<span class="ruby-comment"># Assume files are symlinked from somewhere</span>
|
102
|
+
<span class="ruby-identifier">files</span>.<span class="ruby-identifier">each</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">file</span><span class="ruby-operator">|</span> <span class="ruby-identifier">watch</span>(<span class="ruby-identifier">helper</span>.<span class="ruby-identifier">real_path</span>(<span class="ruby-identifier">file</span>)) }
|
103
|
+
</pre>
|
104
|
+
|
105
|
+
<p>end</p>
|
106
|
+
|
107
|
+
<p># Note: The cmd option is now required due to the increasing number of ways # rspec may be run, below are examples of the most common uses. # * bundler: 'bundle exec rspec' # * bundler binstubs: 'bin/rspec' # * spring: 'bin/rspec' (This will use spring if running and you have # installed the spring binstubs per the docs) # * zeus: 'zeus rspec' (requires the server to be started separately) # * 'just' rspec: 'rspec'</p>
|
108
|
+
|
109
|
+
<p>guard :rspec, cmd: “bundle exec rspec” do</p>
|
110
|
+
|
111
|
+
<pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">"guard/rspec/dsl"</span>
|
112
|
+
<span class="ruby-identifier">dsl</span> = <span class="ruby-constant">Guard</span><span class="ruby-operator">::</span><span class="ruby-constant">RSpec</span><span class="ruby-operator">::</span><span class="ruby-constant">Dsl</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>)
|
113
|
+
|
114
|
+
<span class="ruby-comment"># Feel free to open issues for suggestions and improvements</span>
|
115
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^lib/alimentos/(.+)\.rb$}</span>) {<span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_dir</span>}
|
116
|
+
<span class="ruby-comment"># RSpec files</span>
|
117
|
+
<span class="ruby-identifier">rspec</span> = <span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">rspec</span>
|
118
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_helper</span>) { <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_dir</span> }
|
119
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_support</span>) { <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_dir</span> }
|
120
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_files</span>)
|
121
|
+
|
122
|
+
<span class="ruby-comment"># Ruby files</span>
|
123
|
+
<span class="ruby-identifier">ruby</span> = <span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">ruby</span>
|
124
|
+
<span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">watch_spec_files_for</span>(<span class="ruby-identifier">ruby</span>.<span class="ruby-identifier">lib_files</span>)
|
125
|
+
|
126
|
+
<span class="ruby-comment"># Rails files</span>
|
127
|
+
<span class="ruby-identifier">rails</span> = <span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">rails</span>(<span class="ruby-value">view_extensions:</span> <span class="ruby-node">%w(erb haml slim)</span>)
|
128
|
+
<span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">watch_spec_files_for</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">app_files</span>)
|
129
|
+
<span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">watch_spec_files_for</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">views</span>)
|
130
|
+
|
131
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">controllers</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span>
|
132
|
+
[
|
133
|
+
<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">call</span>(<span class="ruby-node">"routing/#{m[1]}_routing"</span>),
|
134
|
+
<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">call</span>(<span class="ruby-node">"controllers/#{m[1]}_controller"</span>),
|
135
|
+
<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">call</span>(<span class="ruby-node">"acceptance/#{m[1]}"</span>)
|
136
|
+
]
|
137
|
+
<span class="ruby-keyword">end</span>
|
138
|
+
|
139
|
+
<span class="ruby-comment"># Rails config changes</span>
|
140
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">spec_helper</span>) { <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_dir</span> }
|
141
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">routes</span>) { <span class="ruby-node">"#{rspec.spec_dir}/routing"</span> }
|
142
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">app_controller</span>) { <span class="ruby-node">"#{rspec.spec_dir}/controllers"</span> }
|
143
|
+
|
144
|
+
<span class="ruby-comment"># Capybara features specs</span>
|
145
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">view_dirs</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">call</span>(<span class="ruby-node">"features/#{m[1]}"</span>) }
|
146
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">layouts</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">call</span>(<span class="ruby-node">"features/#{m[1]}"</span>) }
|
147
|
+
|
148
|
+
<span class="ruby-comment"># Turnip features and steps</span>
|
149
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/acceptance/(.+)\.feature$}</span>)
|
150
|
+
<span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/acceptance/steps/(.+)_steps\.rb$}</span>) <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span>
|
151
|
+
<span class="ruby-constant">Dir</span>[<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-node">"**/#{m[1]}.feature"</span>)][<span class="ruby-value">0</span>] <span class="ruby-operator">||</span> <span class="ruby-string">"spec/acceptance"</span>
|
152
|
+
<span class="ruby-keyword">end</span>
|
153
|
+
</pre>
|
154
|
+
|
155
|
+
<p>end</p>
|
156
|
+
|
157
|
+
</main>
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
<footer id="validator-badges" role="contentinfo">
|
162
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
163
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
|
164
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
165
|
+
</footer>
|
166
|
+
|
data/docs/List.html
ADDED
@@ -0,0 +1,120 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<meta charset="UTF-8">
|
6
|
+
|
7
|
+
<title>module List - 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/navigation.js" defer></script>
|
15
|
+
<script src="./js/search.js" defer></script>
|
16
|
+
<script src="./js/search_index.js" defer></script>
|
17
|
+
<script src="./js/searcher.js" defer></script>
|
18
|
+
<script src="./js/darkfish.js" defer></script>
|
19
|
+
|
20
|
+
<link href="./css/fonts.css" rel="stylesheet">
|
21
|
+
<link href="./css/rdoc.css" rel="stylesheet">
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
<body id="top" role="document" class="module">
|
27
|
+
<nav role="navigation">
|
28
|
+
<div id="project-navigation">
|
29
|
+
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
30
|
+
<h2>
|
31
|
+
<a href="./index.html" rel="home">Home</a>
|
32
|
+
</h2>
|
33
|
+
|
34
|
+
<div id="table-of-contents-navigation">
|
35
|
+
<a href="./table_of_contents.html#pages">Pages</a>
|
36
|
+
<a href="./table_of_contents.html#classes">Classes</a>
|
37
|
+
<a href="./table_of_contents.html#methods">Methods</a>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
|
41
|
+
<div id="search-section" role="search" class="project-section initially-hidden">
|
42
|
+
<form action="#" method="get" accept-charset="utf-8">
|
43
|
+
<div id="search-field-wrapper">
|
44
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
45
|
+
aria-autocomplete="list" aria-controls="search-results"
|
46
|
+
type="text" name="search" placeholder="Search" spellcheck="false"
|
47
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
48
|
+
</div>
|
49
|
+
|
50
|
+
<ul id="search-results" aria-label="Search Results"
|
51
|
+
aria-busy="false" aria-expanded="false"
|
52
|
+
aria-atomic="false" class="initially-hidden"></ul>
|
53
|
+
</form>
|
54
|
+
</div>
|
55
|
+
|
56
|
+
</div>
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
<div id="class-metadata">
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</div>
|
67
|
+
</nav>
|
68
|
+
|
69
|
+
<main role="main" aria-labelledby="module-List">
|
70
|
+
<h1 id="module-List" class="module">
|
71
|
+
module List
|
72
|
+
</h1>
|
73
|
+
|
74
|
+
<section class="description">
|
75
|
+
|
76
|
+
<p>Modulo lista donde se encuentra la clase lista y el diseño de un nodo</p>
|
77
|
+
|
78
|
+
</section>
|
79
|
+
|
80
|
+
|
81
|
+
<section id="5Buntitled-5D" class="documentation-section">
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
<section class="constants-list">
|
88
|
+
<header>
|
89
|
+
<h3>Constants</h3>
|
90
|
+
</header>
|
91
|
+
<dl>
|
92
|
+
|
93
|
+
<dt id="Node">Node
|
94
|
+
|
95
|
+
<dd>
|
96
|
+
|
97
|
+
|
98
|
+
<dt id="VERSION">VERSION
|
99
|
+
|
100
|
+
<dd>
|
101
|
+
|
102
|
+
|
103
|
+
</dl>
|
104
|
+
</section>
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
</section>
|
111
|
+
|
112
|
+
</main>
|
113
|
+
|
114
|
+
|
115
|
+
<footer id="validator-badges" role="contentinfo">
|
116
|
+
<p><a href="https://validator.w3.org/check/referer">Validate</a>
|
117
|
+
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.2.0.
|
118
|
+
<p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
|
119
|
+
</footer>
|
120
|
+
|