lpp_Grupo3 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.travis.yml +6 -0
  4. data/CODE_OF_CONDUCT.md +13 -0
  5. data/Gemfile +4 -0
  6. data/Gemfile.lock +104 -0
  7. data/Guardfile +87 -0
  8. data/LICENSE.txt +21 -0
  9. data/README.md +41 -0
  10. data/Rakefile +5 -0
  11. data/bin/console +14 -0
  12. data/bin/setup +7 -0
  13. data/coverage/.last_run.json +5 -0
  14. data/coverage/.resultset.json +7 -0
  15. data/coverage/.resultset.json.lock +0 -0
  16. data/doc/Articulo.html +289 -0
  17. data/doc/Bibliografia.html +306 -0
  18. data/doc/CODE_OF_CONDUCT_md.html +125 -0
  19. data/doc/Cita.html +348 -0
  20. data/doc/CitaArticulo.html +286 -0
  21. data/doc/CitaCapitulo.html +333 -0
  22. data/doc/CitaEdoc.html +334 -0
  23. data/doc/CitaLibro.html +333 -0
  24. data/doc/Citayanoexiste.html +113 -0
  25. data/doc/G03ref.html +417 -0
  26. data/doc/Gemfile.html +100 -0
  27. data/doc/Gemfile_lock.html +206 -0
  28. data/doc/Guardfile.html +185 -0
  29. data/doc/LICENSE_txt.html +117 -0
  30. data/doc/Libro.html +365 -0
  31. data/doc/List.html +379 -0
  32. data/doc/LppGrupo3.html +109 -0
  33. data/doc/Lpp_Grupo3.html +95 -0
  34. data/doc/Object.html +161 -0
  35. data/doc/README_md.html +163 -0
  36. data/doc/Rakefile.html +99 -0
  37. data/doc/bin/setup.html +101 -0
  38. data/doc/created.rid +20 -0
  39. data/doc/css/fonts.css +167 -0
  40. data/doc/css/rdoc.css +590 -0
  41. data/doc/fonts/Lato-Light.ttf +0 -0
  42. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  43. data/doc/fonts/Lato-Regular.ttf +0 -0
  44. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  45. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  46. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  47. data/doc/images/add.png +0 -0
  48. data/doc/images/arrow_up.png +0 -0
  49. data/doc/images/brick.png +0 -0
  50. data/doc/images/brick_link.png +0 -0
  51. data/doc/images/bug.png +0 -0
  52. data/doc/images/bullet_black.png +0 -0
  53. data/doc/images/bullet_toggle_minus.png +0 -0
  54. data/doc/images/bullet_toggle_plus.png +0 -0
  55. data/doc/images/date.png +0 -0
  56. data/doc/images/delete.png +0 -0
  57. data/doc/images/find.png +0 -0
  58. data/doc/images/loadingAnimation.gif +0 -0
  59. data/doc/images/macFFBgHack.png +0 -0
  60. data/doc/images/package.png +0 -0
  61. data/doc/images/page_green.png +0 -0
  62. data/doc/images/page_white_text.png +0 -0
  63. data/doc/images/page_white_width.png +0 -0
  64. data/doc/images/plugin.png +0 -0
  65. data/doc/images/ruby.png +0 -0
  66. data/doc/images/tag_blue.png +0 -0
  67. data/doc/images/tag_green.png +0 -0
  68. data/doc/images/transparent.png +0 -0
  69. data/doc/images/wrench.png +0 -0
  70. data/doc/images/wrench_orange.png +0 -0
  71. data/doc/images/zoom.png +0 -0
  72. data/doc/index.html +131 -0
  73. data/doc/js/darkfish.js +161 -0
  74. data/doc/js/jquery.js +4 -0
  75. data/doc/js/navigation.js +142 -0
  76. data/doc/js/navigation.js.gz +0 -0
  77. data/doc/js/search.js +109 -0
  78. data/doc/js/search_index.js +1 -0
  79. data/doc/js/search_index.js.gz +0 -0
  80. data/doc/js/searcher.js +228 -0
  81. data/doc/js/searcher.js.gz +0 -0
  82. data/doc/lpp_Grupo3_gemspec.html +134 -0
  83. data/doc/table_of_contents.html +332 -0
  84. data/lib/lpp_Grupo3.rb +8 -0
  85. data/lib/lpp_Grupo3/bibliografia.rb +38 -0
  86. data/lib/lpp_Grupo3/cita.rb +232 -0
  87. data/lib/lpp_Grupo3/list.rb +61 -0
  88. data/lib/lpp_Grupo3/reference.rb +110 -0
  89. data/lib/lpp_Grupo3/version.rb +3 -0
  90. data/lpp_Grupo3.gemspec +37 -0
  91. metadata +232 -0
@@ -0,0 +1,100 @@
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="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
62
+
63
+ <li><a href="./Gemfile.html">Gemfile</a>
64
+
65
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
66
+
67
+ <li><a href="./Guardfile.html">Guardfile</a>
68
+
69
+ <li><a href="./LICENSE_txt.html">LICENSE</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="./lpp_Grupo3_gemspec.html">lpp_Grupo3.gemspec</a>
78
+
79
+ </ul>
80
+ </div>
81
+
82
+ </div>
83
+ </nav>
84
+
85
+ <main role="main" aria-label="Page Gemfile">
86
+
87
+ <p>source &#39;<a href="https://rubygems.org">rubygems.org</a>&#39;</p>
88
+
89
+ <p># Specify your gem&#39;s dependencies in <a
90
+ href="lpp_Grupo3_gemspec.html">lpp_Grupo3.gemspec</a> gemspec</p>
91
+ </main>
92
+
93
+
94
+
95
+ <footer id="validator-badges" role="contentinfo">
96
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
97
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
98
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
99
+ </footer>
100
+
@@ -0,0 +1,206 @@
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="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
62
+
63
+ <li><a href="./Gemfile.html">Gemfile</a>
64
+
65
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
66
+
67
+ <li><a href="./Guardfile.html">Guardfile</a>
68
+
69
+ <li><a href="./LICENSE_txt.html">LICENSE</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="./lpp_Grupo3_gemspec.html">lpp_Grupo3.gemspec</a>
78
+
79
+ </ul>
80
+ </div>
81
+
82
+ </div>
83
+ </nav>
84
+
85
+ <main role="main" aria-label="Page Gemfile.lock">
86
+
87
+ <p>PATH</p>
88
+
89
+ <pre>remote: .
90
+ specs:
91
+ lpp_Grupo3 (0.1.0)</pre>
92
+
93
+ <p>GEM</p>
94
+
95
+ <pre>remote: https://rubygems.org/
96
+ specs:
97
+ coderay (1.1.0)
98
+ coveralls (0.8.10)
99
+ json (~&gt; 1.8)
100
+ rest-client (&gt;= 1.6.8, &lt; 2)
101
+ simplecov (~&gt; 0.11.0)
102
+ term-ansicolor (~&gt; 1.3)
103
+ thor (~&gt; 0.19.1)
104
+ tins (~&gt; 1.6.0)
105
+ diff-lcs (1.2.5)
106
+ docile (1.1.5)
107
+ domain_name (0.5.25)
108
+ unf (&gt;= 0.0.5, &lt; 1.0.0)
109
+ ffi (1.9.10)
110
+ formatador (0.2.5)
111
+ guard (2.13.0)
112
+ formatador (&gt;= 0.2.4)
113
+ listen (&gt;= 2.7, &lt;= 4.0)
114
+ lumberjack (~&gt; 1.0)
115
+ nenv (~&gt; 0.1)
116
+ notiffany (~&gt; 0.0)
117
+ pry (&gt;= 0.9.12)
118
+ shellany (~&gt; 0.0)
119
+ thor (&gt;= 0.18.1)
120
+ guard-bundler (2.1.0)
121
+ bundler (~&gt; 1.0)
122
+ guard (~&gt; 2.2)
123
+ guard-compat (~&gt; 1.1)
124
+ guard-compat (1.2.1)
125
+ guard-rspec (4.6.4)
126
+ guard (~&gt; 2.1)
127
+ guard-compat (~&gt; 1.1)
128
+ rspec (&gt;= 2.99.0, &lt; 4.0)
129
+ http-cookie (1.0.2)
130
+ domain_name (~&gt; 0.5)
131
+ json (1.8.3)
132
+ listen (3.0.5)
133
+ rb-fsevent (&gt;= 0.9.3)
134
+ rb-inotify (&gt;= 0.9)
135
+ lumberjack (1.0.9)
136
+ method_source (0.8.2)
137
+ mime-types (2.99)
138
+ nenv (0.2.0)
139
+ netrc (0.11.0)
140
+ notiffany (0.0.8)
141
+ nenv (~&gt; 0.1)
142
+ shellany (~&gt; 0.0)
143
+ pry (0.10.3)
144
+ coderay (~&gt; 1.1.0)
145
+ method_source (~&gt; 0.8.1)
146
+ slop (~&gt; 3.4)
147
+ rake (10.4.2)
148
+ rb-fsevent (0.9.6)
149
+ rb-inotify (0.9.5)
150
+ ffi (&gt;= 0.5.0)
151
+ rest-client (1.8.0)
152
+ http-cookie (&gt;= 1.0.2, &lt; 2.0)
153
+ mime-types (&gt;= 1.16, &lt; 3.0)
154
+ netrc (~&gt; 0.7)
155
+ rspec (2.99.0)
156
+ rspec-core (~&gt; 2.99.0)
157
+ rspec-expectations (~&gt; 2.99.0)
158
+ rspec-mocks (~&gt; 2.99.0)
159
+ rspec-core (2.99.2)
160
+ rspec-expectations (2.99.2)
161
+ diff-lcs (&gt;= 1.1.3, &lt; 2.0)
162
+ rspec-mocks (2.99.4)
163
+ shellany (0.0.1)
164
+ simplecov (0.11.1)
165
+ docile (~&gt; 1.1.0)
166
+ json (~&gt; 1.8)
167
+ simplecov-html (~&gt; 0.10.0)
168
+ simplecov-html (0.10.0)
169
+ slop (3.6.0)
170
+ term-ansicolor (1.3.2)
171
+ tins (~&gt; 1.0)
172
+ thor (0.19.1)
173
+ tins (1.6.0)
174
+ unf (0.1.4)
175
+ unf_ext
176
+ unf_ext (0.0.7.1)</pre>
177
+
178
+ <p>PLATFORMS</p>
179
+
180
+ <pre class="ruby"><span class="ruby-identifier">ruby</span>
181
+ </pre>
182
+
183
+ <p>DEPENDENCIES</p>
184
+
185
+ <pre>bundler (~&gt; 1.10)
186
+ coveralls
187
+ guard
188
+ guard-bundler
189
+ guard-rspec
190
+ lpp_Grupo3!
191
+ rake (~&gt; 10.0)
192
+ rspec (~&gt; 2.11)</pre>
193
+
194
+ <p>BUNDLED WITH</p>
195
+
196
+ <pre>1.10.6</pre>
197
+ </main>
198
+
199
+
200
+
201
+ <footer id="validator-badges" role="contentinfo">
202
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
203
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
204
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
205
+ </footer>
206
+
@@ -0,0 +1,185 @@
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="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
62
+
63
+ <li><a href="./Gemfile.html">Gemfile</a>
64
+
65
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
66
+
67
+ <li><a href="./Guardfile.html">Guardfile</a>
68
+
69
+ <li><a href="./LICENSE_txt.html">LICENSE</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="./lpp_Grupo3_gemspec.html">lpp_Grupo3.gemspec</a>
78
+
79
+ </ul>
80
+ </div>
81
+
82
+ </div>
83
+ </nav>
84
+
85
+ <main role="main" aria-label="Page Guardfile">
86
+
87
+ <p># A sample <a href="Guardfile.html">Guardfile</a> # More info at <a
88
+ href="https://github.com/guard/guard#readme">github.com/guard/guard#readme</a></p>
89
+
90
+ <p>## Uncomment and set this to only include directories you want to watch #
91
+ directories %w(app lib config test spec features) \ # .select{|d|
92
+ Dir.exists?(d) ? d : UI.warning(“Directory #{d} does not exist”)}</p>
93
+
94
+ <p>## Note: if you are using the `directories` clause above and you are not ##
95
+ watching the project directory (&#39;.&#39;), then you will want to move ##
96
+ the <a href="Guardfile.html">Guardfile</a> to a watched dir and symlink it
97
+ back, e.g. # # $ mkdir config # $ mv <a
98
+ href="Guardfile.html">Guardfile</a> config/ # $ ln -s config/Guardfile . #
99
+ # and, you&#39;ll have to watch “config/Guardfile” instead of “Guardfile”</p>
100
+
101
+ <p>guard :bundler do</p>
102
+
103
+ <pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">&#39;guard/bundler&#39;</span>
104
+ <span class="ruby-identifier">require</span> <span class="ruby-string">&#39;guard/bundler/verify&#39;</span>
105
+ <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>
106
+
107
+ <span class="ruby-identifier">files</span> = [<span class="ruby-string">&#39;Gemfile&#39;</span>]
108
+ <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>) }
109
+
110
+ <span class="ruby-comment"># Assume files are symlinked from somewhere</span>
111
+ <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>)) }
112
+ </pre>
113
+
114
+ <p>end</p>
115
+
116
+ <p># Note: The cmd option is now required due to the increasing number of ways
117
+ # rspec may be run, below are examples of the most common uses. # *
118
+ bundler: &#39;bundle exec rspec&#39; # * bundler binstubs:
119
+ &#39;bin/rspec&#39; # * spring: &#39;bin/rspec&#39; (This will use spring
120
+ if running and you have # installed the spring
121
+ binstubs per the docs) # * zeus: &#39;zeus rspec&#39; (requires the server
122
+ to be started separately) # * &#39;just&#39; rspec: &#39;rspec&#39;</p>
123
+
124
+ <p>guard :rspec, cmd: “bundle exec rspec” do</p>
125
+
126
+ <pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">&quot;guard/rspec/dsl&quot;</span>
127
+ <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>)
128
+
129
+ <span class="ruby-comment">#ficheros introducidos por mi</span>
130
+ <span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/.+_spec\.rb$}</span>)
131
+ <span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^lib/(.+)\.rb$}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">m</span><span class="ruby-operator">|</span> <span class="ruby-node">&quot;spec/#{m[1]}_spec.rb&quot;</span> }
132
+ <span class="ruby-identifier">watch</span>(<span class="ruby-string">&#39;spec/spec_helper.rb&#39;</span>) { <span class="ruby-string">&quot;spec&quot;</span> }
133
+ <span class="ruby-comment">#fin de fichero introdicidos por mi</span>
134
+ <span class="ruby-comment"># Feel free to open issues for suggestions and improvements</span>
135
+
136
+ <span class="ruby-comment"># RSpec files</span>
137
+ <span class="ruby-identifier">rspec</span> = <span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">rspec</span>
138
+ <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> }
139
+ <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> }
140
+ <span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_files</span>)
141
+
142
+ <span class="ruby-comment"># Ruby files</span>
143
+ <span class="ruby-identifier">ruby</span> = <span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">ruby</span>
144
+ <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>)
145
+
146
+ <span class="ruby-comment"># Rails files</span>
147
+ <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>)
148
+ <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>)
149
+ <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>)
150
+
151
+ <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>
152
+ [
153
+ <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.(<span class="ruby-node">&quot;routing/#{m[1]}_routing&quot;</span>),
154
+ <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.(<span class="ruby-node">&quot;controllers/#{m[1]}_controller&quot;</span>),
155
+ <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.(<span class="ruby-node">&quot;acceptance/#{m[1]}&quot;</span>)
156
+ ]
157
+ <span class="ruby-keyword">end</span>
158
+
159
+ <span class="ruby-comment"># Rails config changes</span>
160
+ <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> }
161
+ <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> }
162
+ <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> }
163
+
164
+ <span class="ruby-comment"># Capybara features specs</span>
165
+ <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-node">&quot;features/#{m[1]}&quot;</span>) }
166
+ <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-node">&quot;features/#{m[1]}&quot;</span>) }
167
+
168
+ <span class="ruby-comment"># Turnip features and steps</span>
169
+ <span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/acceptance/(.+)\.feature$}</span>)
170
+ <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>
171
+ <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>
172
+ <span class="ruby-keyword">end</span>
173
+ </pre>
174
+
175
+ <p>end</p>
176
+ </main>
177
+
178
+
179
+
180
+ <footer id="validator-badges" role="contentinfo">
181
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
182
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
183
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
184
+ </footer>
185
+