alu0101166858_plato 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +12 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +5 -0
  5. data/Gemfile +6 -0
  6. data/Guardfile +82 -0
  7. data/README.md +35 -0
  8. data/Rakefile +6 -0
  9. data/bin/console +14 -0
  10. data/bin/setup +8 -0
  11. data/docs/Alimentos.html +420 -0
  12. data/docs/AlimentosCarbohidratos.html +102 -0
  13. data/docs/AlimentosGrasos.html +102 -0
  14. data/docs/Bebidas.html +102 -0
  15. data/docs/CarnesDerivados.html +102 -0
  16. data/docs/Frutas.html +102 -0
  17. data/docs/Gemfile.html +99 -0
  18. data/docs/Gemfile_lock.html +176 -0
  19. data/docs/Guardfile.html +176 -0
  20. data/docs/HuevosLacteosHelados.html +104 -0
  21. data/docs/List.html +459 -0
  22. data/docs/Node.html +203 -0
  23. data/docs/Object.html +116 -0
  24. data/docs/PescadosMariscos.html +102 -0
  25. data/docs/Prct06.html +109 -0
  26. data/docs/README_md.html +150 -0
  27. data/docs/Rakefile.html +97 -0
  28. data/docs/VerdurasHortalizas.html +102 -0
  29. data/docs/bin/setup.html +97 -0
  30. data/docs/created.rid +15 -0
  31. data/docs/css/fonts.css +167 -0
  32. data/docs/css/rdoc.css +590 -0
  33. data/docs/fonts/Lato-Light.ttf +0 -0
  34. data/docs/fonts/Lato-LightItalic.ttf +0 -0
  35. data/docs/fonts/Lato-Regular.ttf +0 -0
  36. data/docs/fonts/Lato-RegularItalic.ttf +0 -0
  37. data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
  38. data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
  39. data/docs/images/add.png +0 -0
  40. data/docs/images/arrow_up.png +0 -0
  41. data/docs/images/brick.png +0 -0
  42. data/docs/images/brick_link.png +0 -0
  43. data/docs/images/bug.png +0 -0
  44. data/docs/images/bullet_black.png +0 -0
  45. data/docs/images/bullet_toggle_minus.png +0 -0
  46. data/docs/images/bullet_toggle_plus.png +0 -0
  47. data/docs/images/date.png +0 -0
  48. data/docs/images/delete.png +0 -0
  49. data/docs/images/find.png +0 -0
  50. data/docs/images/loadingAnimation.gif +0 -0
  51. data/docs/images/macFFBgHack.png +0 -0
  52. data/docs/images/package.png +0 -0
  53. data/docs/images/page_green.png +0 -0
  54. data/docs/images/page_white_text.png +0 -0
  55. data/docs/images/page_white_width.png +0 -0
  56. data/docs/images/plugin.png +0 -0
  57. data/docs/images/ruby.png +0 -0
  58. data/docs/images/tag_blue.png +0 -0
  59. data/docs/images/tag_green.png +0 -0
  60. data/docs/images/transparent.png +0 -0
  61. data/docs/images/wrench.png +0 -0
  62. data/docs/images/wrench_orange.png +0 -0
  63. data/docs/images/zoom.png +0 -0
  64. data/docs/index.html +125 -0
  65. data/docs/js/darkfish.js +161 -0
  66. data/docs/js/jquery.js +4 -0
  67. data/docs/js/navigation.js +142 -0
  68. data/docs/js/navigation.js.gz +0 -0
  69. data/docs/js/search.js +109 -0
  70. data/docs/js/search_index.js +1 -0
  71. data/docs/js/search_index.js.gz +0 -0
  72. data/docs/js/searcher.js +228 -0
  73. data/docs/js/searcher.js.gz +0 -0
  74. data/docs/prct06_gemspec.html +130 -0
  75. data/docs/table_of_contents.html +203 -0
  76. data/lib/prct06.rb +5 -0
  77. data/lib/prct06/aibc.rb +62 -0
  78. data/lib/prct06/alimentos.rb +53 -0
  79. data/lib/prct06/list.rb +104 -0
  80. data/lib/prct06/receta.rb +134 -0
  81. data/lib/prct06/sort.rb +38 -0
  82. data/lib/prct06/version.rb +3 -0
  83. data/prct06.gemspec +29 -0
  84. metadata +209 -0
@@ -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
+ </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="./bin/setup.html">setup</a>
72
+
73
+ <li><a href="./prct06_gemspec.html">prct06.gemspec</a>
74
+
75
+ </ul>
76
+ </div>
77
+
78
+ </div>
79
+ </nav>
80
+
81
+ <main role="main" aria-label="Page Gemfile">
82
+
83
+ <p>source “<a href="https://rubygems.org">rubygems.org</a>”</p>
84
+
85
+ <p>git_source(:github) {|repo_name| “<a
86
+ href="https://github.com/#{repo_name">github.com/#{repo_name</a>}” }</p>
87
+
88
+ <p># Specify your gem&#39;s dependencies in <a
89
+ href="prct06_gemspec.html">prct06.gemspec</a> gemspec</p>
90
+ </main>
91
+
92
+
93
+
94
+ <footer id="validator-badges" role="contentinfo">
95
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
96
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
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,176 @@
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
+ </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="./bin/setup.html">setup</a>
72
+
73
+ <li><a href="./prct06_gemspec.html">prct06.gemspec</a>
74
+
75
+ </ul>
76
+ </div>
77
+
78
+ </div>
79
+ </nav>
80
+
81
+ <main role="main" aria-label="Page Gemfile.lock">
82
+
83
+ <p>PATH</p>
84
+
85
+ <pre>remote: .
86
+ specs:
87
+ prct06 (0.1.0)</pre>
88
+
89
+ <p>GEM</p>
90
+
91
+ <pre>remote: https://rubygems.org/
92
+ specs:
93
+ coderay (1.1.2)
94
+ diff-lcs (1.3)
95
+ ffi (1.9.18)
96
+ formatador (0.2.5)
97
+ guard (2.14.1)
98
+ formatador (&gt;= 0.2.4)
99
+ listen (&gt;= 2.7, &lt; 4.0)
100
+ lumberjack (~&gt; 1.0)
101
+ nenv (~&gt; 0.1)
102
+ notiffany (~&gt; 0.0)
103
+ pry (&gt;= 0.9.12)
104
+ shellany (~&gt; 0.0)
105
+ thor (&gt;= 0.18.1)
106
+ guard-bundler (2.1.0)
107
+ bundler (~&gt; 1.0)
108
+ guard (~&gt; 2.2)
109
+ guard-compat (~&gt; 1.1)
110
+ guard-compat (1.2.1)
111
+ guard-rspec (4.7.3)
112
+ guard (~&gt; 2.1)
113
+ guard-compat (~&gt; 1.1)
114
+ rspec (&gt;= 2.99.0, &lt; 4.0)
115
+ listen (3.1.5)
116
+ rb-fsevent (~&gt; 0.9, &gt;= 0.9.4)
117
+ rb-inotify (~&gt; 0.9, &gt;= 0.9.7)
118
+ ruby_dep (~&gt; 1.2)
119
+ lumberjack (1.0.12)
120
+ method_source (0.9.0)
121
+ nenv (0.3.0)
122
+ notiffany (0.1.1)
123
+ nenv (~&gt; 0.1)
124
+ shellany (~&gt; 0.0)
125
+ pry (0.11.2)
126
+ coderay (~&gt; 1.1.0)
127
+ method_source (~&gt; 0.9.0)
128
+ rake (10.5.0)
129
+ rb-fsevent (0.10.2)
130
+ rb-inotify (0.9.10)
131
+ ffi (&gt;= 0.5.0, &lt; 2)
132
+ rspec (3.7.0)
133
+ rspec-core (~&gt; 3.7.0)
134
+ rspec-expectations (~&gt; 3.7.0)
135
+ rspec-mocks (~&gt; 3.7.0)
136
+ rspec-core (3.7.0)
137
+ rspec-support (~&gt; 3.7.0)
138
+ rspec-expectations (3.7.0)
139
+ diff-lcs (&gt;= 1.2.0, &lt; 2.0)
140
+ rspec-support (~&gt; 3.7.0)
141
+ rspec-mocks (3.7.0)
142
+ diff-lcs (&gt;= 1.2.0, &lt; 2.0)
143
+ rspec-support (~&gt; 3.7.0)
144
+ rspec-support (3.7.0)
145
+ ruby_dep (1.5.0)
146
+ shellany (0.0.1)
147
+ thor (0.20.0)</pre>
148
+
149
+ <p>PLATFORMS</p>
150
+
151
+ <pre class="ruby"><span class="ruby-identifier">ruby</span>
152
+ </pre>
153
+
154
+ <p>DEPENDENCIES</p>
155
+
156
+ <pre>bundler (~&gt; 1.15)
157
+ guard
158
+ guard-bundler
159
+ guard-rspec
160
+ prct06!
161
+ rake (~&gt; 10.0)
162
+ rspec (~&gt; 3.0)</pre>
163
+
164
+ <p>BUNDLED WITH</p>
165
+
166
+ <pre>1.15.4</pre>
167
+ </main>
168
+
169
+
170
+
171
+ <footer id="validator-badges" role="contentinfo">
172
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
173
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
174
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
175
+ </footer>
176
+
@@ -0,0 +1,176 @@
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
+ </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="./bin/setup.html">setup</a>
72
+
73
+ <li><a href="./prct06_gemspec.html">prct06.gemspec</a>
74
+
75
+ </ul>
76
+ </div>
77
+
78
+ </div>
79
+ </nav>
80
+
81
+ <main role="main" aria-label="Page Guardfile">
82
+
83
+ <p># A sample <a href="Guardfile.html">Guardfile</a> # More info at <a
84
+ href="https://github.com/guard/guard#readme">github.com/guard/guard#readme</a></p>
85
+
86
+ <p>## Uncomment and set this to only include directories you want to watch #
87
+ directories %w(app lib config test spec features) \ # .select{|d|
88
+ Dir.exists?(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 ##
91
+ watching the project directory (&#39;.&#39;), then you will want to move ##
92
+ the <a href="Guardfile.html">Guardfile</a> to a watched dir and symlink it
93
+ back, e.g. # # $ mkdir config # $ mv <a
94
+ href="Guardfile.html">Guardfile</a> config/ # $ ln -s config/Guardfile . #
95
+ # and, you&#39;ll have to watch “config/Guardfile” instead of “Guardfile”</p>
96
+
97
+ <p>guard :bundler do</p>
98
+
99
+ <pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">&#39;guard/bundler&#39;</span>
100
+ <span class="ruby-identifier">require</span> <span class="ruby-string">&#39;guard/bundler/verify&#39;</span>
101
+ <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>
102
+
103
+ <span class="ruby-identifier">files</span> = [<span class="ruby-string">&#39;Gemfile&#39;</span>]
104
+ <span class="ruby-identifier">files</span> <span class="ruby-operator">+=</span> <span class="ruby-constant">Dir</span>[<span class="ruby-string">&#39;*.gemspec&#39;</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>) }
105
+
106
+ <span class="ruby-comment"># Assume files are symlinked from somewhere</span>
107
+ <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>)) }
108
+ </pre>
109
+
110
+ <p>end</p>
111
+
112
+ <p># Note: The cmd option is now required due to the increasing number of ways
113
+ # rspec may be run, below are examples of the most common uses. # *
114
+ bundler: &#39;bundle exec rspec&#39; # * bundler binstubs:
115
+ &#39;bin/rspec&#39; # * spring: &#39;bin/rspec&#39; (This will use spring
116
+ if running and you have # installed the spring
117
+ binstubs per the docs) # * zeus: &#39;zeus rspec&#39; (requires the server
118
+ to be started separately) # * &#39;just&#39; rspec: &#39;rspec&#39;</p>
119
+
120
+ <p>guard :rspec, cmd: “bundle exec rspec” do</p>
121
+
122
+ <pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">&quot;guard/rspec/dsl&quot;</span>
123
+ <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>)
124
+
125
+ <span class="ruby-comment"># Feel free to open issues for suggestions and improvements</span>
126
+
127
+ <span class="ruby-comment"># RSpec files</span>
128
+ <span class="ruby-identifier">rspec</span> = <span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">rspec</span>
129
+ <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> }
130
+ <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> }
131
+ <span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_files</span>)
132
+
133
+ <span class="ruby-comment"># Ruby files</span>
134
+ <span class="ruby-identifier">ruby</span> = <span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">ruby</span>
135
+ <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>)
136
+
137
+ <span class="ruby-comment"># Rails files</span>
138
+ <span class="ruby-identifier">rails</span> = <span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">rails</span>(<span class="ruby-identifier">view_extensions</span><span class="ruby-operator">:</span> <span class="ruby-node">%w(erb haml slim)</span>)
139
+ <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>)
140
+ <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>)
141
+
142
+ <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>
143
+ [
144
+ <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">call</span>(<span class="ruby-node">&quot;routing/#{m[1]}_routing&quot;</span>),
145
+ <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">call</span>(<span class="ruby-node">&quot;controllers/#{m[1]}_controller&quot;</span>),
146
+ <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">call</span>(<span class="ruby-node">&quot;acceptance/#{m[1]}&quot;</span>)
147
+ ]
148
+ <span class="ruby-keyword">end</span>
149
+
150
+ <span class="ruby-comment"># Rails config changes</span>
151
+ <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> }
152
+ <span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">routes</span>) { <span class="ruby-node">&quot;#{rspec.spec_dir}/routing&quot;</span> }
153
+ <span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rails</span>.<span class="ruby-identifier">app_controller</span>) { <span class="ruby-node">&quot;#{rspec.spec_dir}/controllers&quot;</span> }
154
+
155
+ <span class="ruby-comment"># Capybara features specs</span>
156
+ <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">&quot;features/#{m[1]}&quot;</span>) }
157
+ <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">&quot;features/#{m[1]}&quot;</span>) }
158
+
159
+ <span class="ruby-comment"># Turnip features and steps</span>
160
+ <span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/acceptance/(.+)\.feature$}</span>)
161
+ <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>
162
+ <span class="ruby-constant">Dir</span>[<span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-node">&quot;**/#{m[1]}.feature&quot;</span>)][<span class="ruby-value">0</span>] <span class="ruby-operator">||</span> <span class="ruby-string">&quot;spec/acceptance&quot;</span>
163
+ <span class="ruby-keyword">end</span>
164
+ </pre>
165
+
166
+ <p>end</p>
167
+ </main>
168
+
169
+
170
+
171
+ <footer id="validator-badges" role="contentinfo">
172
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
173
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.1.
174
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
175
+ </footer>
176
+