biblio_alu0100845235 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (96) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +9 -0
  4. data/.travis.yml +6 -0
  5. data/= +0 -0
  6. data/CODE_OF_CONDUCT.md +13 -0
  7. data/Gemfile +6 -0
  8. data/Guardfile +82 -0
  9. data/LICENSE.txt +21 -0
  10. data/README.md +7 -0
  11. data/Rakefile +7 -0
  12. data/biblio.gemspec +34 -0
  13. data/biblio.rb +12 -0
  14. data/biblio_spec.1.rb +478 -0
  15. data/biblio_spec.rb +535 -0
  16. data/bin/console +14 -0
  17. data/bin/setup +7 -0
  18. data/doc/=.html +97 -0
  19. data/doc/Biblio.html +109 -0
  20. data/doc/CODE_OF_CONDUCT_md.html +127 -0
  21. data/doc/Cita.html +278 -0
  22. data/doc/Edocumento.html +275 -0
  23. data/doc/Gemfile.html +104 -0
  24. data/doc/Gemfile_lock.html +204 -0
  25. data/doc/Guardfile.html +182 -0
  26. data/doc/LICENSE_txt.html +119 -0
  27. data/doc/Libro.html +391 -0
  28. data/doc/List.html +591 -0
  29. data/doc/Object.html +116 -0
  30. data/doc/Periodico.html +218 -0
  31. data/doc/Publicacion.html +321 -0
  32. data/doc/README_md.html +115 -0
  33. data/doc/Rakefile.html +103 -0
  34. data/doc/Referencia.html +467 -0
  35. data/doc/Revista.html +275 -0
  36. data/doc/biblio_gemspec.html +132 -0
  37. data/doc/bin/setup.html +103 -0
  38. data/doc/created.rid +30 -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 +125 -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/table_of_contents.html +294 -0
  83. data/lib/biblio/cita.rb +30 -0
  84. data/lib/biblio/edocumento.rb +34 -0
  85. data/lib/biblio/libro.rb +62 -0
  86. data/lib/biblio/list.rb +133 -0
  87. data/lib/biblio/node.rb +2 -0
  88. data/lib/biblio/periodico.rb +28 -0
  89. data/lib/biblio/publicacion.rb +23 -0
  90. data/lib/biblio/referencia.rb +84 -0
  91. data/lib/biblio/revista.rb +34 -0
  92. data/lib/biblio/version.rb +3 -0
  93. data/lib/biblio.rb +17 -0
  94. data/spec_helper.1.rb +2 -0
  95. data/spec_helper.rb +4 -0
  96. metadata +228 -0
@@ -0,0 +1,182 @@
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="./=.html">=</a>
62
+
63
+ <li><a href="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
64
+
65
+ <li><a href="./Gemfile.html">Gemfile</a>
66
+
67
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
68
+
69
+ <li><a href="./Guardfile.html">Guardfile</a>
70
+
71
+ <li><a href="./LICENSE_txt.html">LICENSE</a>
72
+
73
+ <li><a href="./README_md.html">README</a>
74
+
75
+ <li><a href="./Rakefile.html">Rakefile</a>
76
+
77
+ <li><a href="./biblio_gemspec.html">biblio.gemspec</a>
78
+
79
+ <li><a href="./bin/setup.html">setup</a>
80
+
81
+ </ul>
82
+ </div>
83
+
84
+ </div>
85
+ </nav>
86
+
87
+ <main role="main" aria-label="Page Guardfile">
88
+
89
+ <p># A sample <a href="Guardfile.html">Guardfile</a> # More info at <a
90
+ href="https://github.com/guard/guard#readme">github.com/guard/guard#readme</a></p>
91
+
92
+ <p>## Uncomment and set this to only include directories you want to watch #
93
+ directories %w(app lib config test spec features) \ # .select{|d|
94
+ Dir.exists?(d) ? d : UI.warning(“Directory #{d} does not exist”)}</p>
95
+
96
+ <p>## Note: if you are using the `directories` clause above and you are not ##
97
+ watching the project directory (&#39;.&#39;), then you will want to move ##
98
+ the <a href="Guardfile.html">Guardfile</a> to a watched dir and symlink it
99
+ back, e.g. # # $ mkdir config # $ mv <a
100
+ href="Guardfile.html">Guardfile</a> config/ # $ ln -s config/Guardfile . #
101
+ # and, you&#39;ll have to watch “config/Guardfile” instead of “Guardfile”</p>
102
+
103
+ <p>guard :bundler do</p>
104
+
105
+ <pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">&#39;guard/bundler&#39;</span>
106
+ <span class="ruby-identifier">require</span> <span class="ruby-string">&#39;guard/bundler/verify&#39;</span>
107
+ <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>
108
+
109
+ <span class="ruby-identifier">files</span> = [<span class="ruby-string">&#39;Gemfile&#39;</span>]
110
+ <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>) }
111
+
112
+ <span class="ruby-comment"># Assume files are symlinked from somewhere</span>
113
+ <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>)) }
114
+ </pre>
115
+
116
+ <p>end</p>
117
+
118
+ <p># Note: The cmd option is now required due to the increasing number of ways
119
+ # rspec may be run, below are examples of the most common uses. # *
120
+ bundler: &#39;bundle exec rspec&#39; # * bundler binstubs:
121
+ &#39;bin/rspec&#39; # * spring: &#39;bin/rspec&#39; (This will use spring
122
+ if running and you have # installed the spring
123
+ binstubs per the docs) # * zeus: &#39;zeus rspec&#39; (requires the server
124
+ to be started separately) # * &#39;just&#39; rspec: &#39;rspec&#39;</p>
125
+
126
+ <p>guard :rspec, cmd: “bundle exec rspec” do</p>
127
+
128
+ <pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">&quot;guard/rspec/dsl&quot;</span>
129
+ <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>)
130
+
131
+ <span class="ruby-comment"># Feel free to open issues for suggestions and improvements</span>
132
+
133
+ <span class="ruby-comment"># RSpec files</span>
134
+ <span class="ruby-identifier">rspec</span> = <span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">rspec</span>
135
+ <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> }
136
+ <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> }
137
+ <span class="ruby-identifier">watch</span>(<span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec_files</span>)
138
+
139
+ <span class="ruby-comment"># Ruby files</span>
140
+ <span class="ruby-identifier">ruby</span> = <span class="ruby-identifier">dsl</span>.<span class="ruby-identifier">ruby</span>
141
+ <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>)
142
+
143
+ <span class="ruby-comment"># Rails files</span>
144
+ <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>)
145
+ <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>)
146
+ <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>)
147
+
148
+ <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>
149
+ [
150
+ <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.(<span class="ruby-node">&quot;routing/#{m[1]}_routing&quot;</span>),
151
+ <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.(<span class="ruby-node">&quot;controllers/#{m[1]}_controller&quot;</span>),
152
+ <span class="ruby-identifier">rspec</span>.<span class="ruby-identifier">spec</span>.(<span class="ruby-node">&quot;acceptance/#{m[1]}&quot;</span>)
153
+ ]
154
+ <span class="ruby-keyword">end</span>
155
+
156
+ <span class="ruby-comment"># Rails config changes</span>
157
+ <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> }
158
+ <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> }
159
+ <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> }
160
+
161
+ <span class="ruby-comment"># Capybara features specs</span>
162
+ <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>) }
163
+ <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>) }
164
+
165
+ <span class="ruby-comment"># Turnip features and steps</span>
166
+ <span class="ruby-identifier">watch</span>(<span class="ruby-regexp">%r{^spec/acceptance/(.+)\.feature$}</span>)
167
+ <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>
168
+ <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>
169
+ <span class="ruby-keyword">end</span>
170
+ </pre>
171
+
172
+ <p>end</p>
173
+ </main>
174
+
175
+
176
+
177
+ <footer id="validator-badges" role="contentinfo">
178
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
179
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
180
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
181
+ </footer>
182
+
@@ -0,0 +1,119 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>LICENSE - 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="./=.html">=</a>
62
+
63
+ <li><a href="./CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
64
+
65
+ <li><a href="./Gemfile.html">Gemfile</a>
66
+
67
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
68
+
69
+ <li><a href="./Guardfile.html">Guardfile</a>
70
+
71
+ <li><a href="./LICENSE_txt.html">LICENSE</a>
72
+
73
+ <li><a href="./README_md.html">README</a>
74
+
75
+ <li><a href="./Rakefile.html">Rakefile</a>
76
+
77
+ <li><a href="./biblio_gemspec.html">biblio.gemspec</a>
78
+
79
+ <li><a href="./bin/setup.html">setup</a>
80
+
81
+ </ul>
82
+ </div>
83
+
84
+ </div>
85
+ </nav>
86
+
87
+ <main role="main" aria-label="Page LICENSE.txt">
88
+
89
+ <p>The MIT License (MIT)</p>
90
+
91
+ <p>Copyright © 2015 alu0100845235</p>
92
+
93
+ <p>Permission is hereby granted, free of charge, to any person obtaining a
94
+ copy of this software and associated documentation files (the “Software”),
95
+ to deal in the Software without restriction, including without limitation
96
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
97
+ and/or sell copies of the Software, and to permit persons to whom the
98
+ Software is furnished to do so, subject to the following conditions:</p>
99
+
100
+ <p>The above copyright notice and this permission notice shall be included in
101
+ all copies or substantial portions of the Software.</p>
102
+
103
+ <p>THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
104
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
105
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
106
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
107
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
108
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
109
+ DEALINGS IN THE SOFTWARE.</p>
110
+ </main>
111
+
112
+
113
+
114
+ <footer id="validator-badges" role="contentinfo">
115
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
116
+ <p>Generated by <a href="http://docs.seattlerb.org/rdoc/">RDoc</a> 4.2.0.
117
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
118
+ </footer>
119
+