examenJoaquinAngelica 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +13 -0
  4. data/.rspec +2 -0
  5. data/.travis.yml +16 -0
  6. data/Gemfile +5 -0
  7. data/Guardfile +30 -0
  8. data/LICENSE.txt +22 -0
  9. data/README.md +20 -0
  10. data/Rakefile +5 -0
  11. data/doc/Examen.html +129 -0
  12. data/doc/Examen/EleccionSimple.html +163 -0
  13. data/doc/Examen/Exam.html +363 -0
  14. data/doc/Examen/Examen.html +163 -0
  15. data/doc/Examen/Interfaz.html +359 -0
  16. data/doc/Examen/Pregunta.html +385 -0
  17. data/doc/Examen/Verdaderofalso.html +161 -0
  18. data/doc/Gemfile.html +100 -0
  19. data/doc/Gemfile_lock.html +190 -0
  20. data/doc/Guardfile.html +121 -0
  21. data/doc/LICENSE_txt.html +116 -0
  22. data/doc/Lista.html +527 -0
  23. data/doc/Object.html +130 -0
  24. data/doc/README_md.html +112 -0
  25. data/doc/Rakefile.html +99 -0
  26. data/doc/created.rid +19 -0
  27. data/doc/examen_gemspec.html +134 -0
  28. data/doc/fonts.css +167 -0
  29. data/doc/fonts/Lato-Light.ttf +0 -0
  30. data/doc/fonts/Lato-LightItalic.ttf +0 -0
  31. data/doc/fonts/Lato-Regular.ttf +0 -0
  32. data/doc/fonts/Lato-RegularItalic.ttf +0 -0
  33. data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
  34. data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
  35. data/doc/images/add.png +0 -0
  36. data/doc/images/arrow_up.png +0 -0
  37. data/doc/images/brick.png +0 -0
  38. data/doc/images/brick_link.png +0 -0
  39. data/doc/images/bug.png +0 -0
  40. data/doc/images/bullet_black.png +0 -0
  41. data/doc/images/bullet_toggle_minus.png +0 -0
  42. data/doc/images/bullet_toggle_plus.png +0 -0
  43. data/doc/images/date.png +0 -0
  44. data/doc/images/delete.png +0 -0
  45. data/doc/images/find.png +0 -0
  46. data/doc/images/loadingAnimation.gif +0 -0
  47. data/doc/images/macFFBgHack.png +0 -0
  48. data/doc/images/package.png +0 -0
  49. data/doc/images/page_green.png +0 -0
  50. data/doc/images/page_white_text.png +0 -0
  51. data/doc/images/page_white_width.png +0 -0
  52. data/doc/images/plugin.png +0 -0
  53. data/doc/images/ruby.png +0 -0
  54. data/doc/images/tag_blue.png +0 -0
  55. data/doc/images/tag_green.png +0 -0
  56. data/doc/images/transparent.png +0 -0
  57. data/doc/images/wrench.png +0 -0
  58. data/doc/images/wrench_orange.png +0 -0
  59. data/doc/images/zoom.png +0 -0
  60. data/doc/index.html +118 -0
  61. data/doc/js/darkfish.js +140 -0
  62. data/doc/js/jquery.js +4 -0
  63. data/doc/js/navigation.js +142 -0
  64. data/doc/js/search.js +109 -0
  65. data/doc/js/search_index.js +1 -0
  66. data/doc/js/searcher.js +228 -0
  67. data/doc/rdoc.css +580 -0
  68. data/doc/table_of_contents.html +238 -0
  69. data/examen.gemspec +40 -0
  70. data/lib/examen.rb +13 -0
  71. data/lib/examen/eleccionsimple.rb +16 -0
  72. data/lib/examen/exam.rb +109 -0
  73. data/lib/examen/examen.rb +17 -0
  74. data/lib/examen/interfaz.rb +45 -0
  75. data/lib/examen/lista.rb +92 -0
  76. data/lib/examen/pregunta.rb +53 -0
  77. data/lib/examen/verdaderofalso.rb +13 -0
  78. data/lib/examen/version.rb +3 -0
  79. data/spec/examen_spec.rb +624 -0
  80. data/spec/spec_helper.rb +32 -0
  81. metadata +280 -0
data/doc/Object.html ADDED
@@ -0,0 +1,130 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>class Object - RDoc Documentation</title>
8
+
9
+ <link href="./fonts.css" rel="stylesheet">
10
+ <link href="./rdoc.css" rel="stylesheet">
11
+
12
+ <script type="text/javascript">
13
+ var rdoc_rel_prefix = "./";
14
+ </script>
15
+
16
+ <script src="./js/jquery.js"></script>
17
+ <script src="./js/navigation.js"></script>
18
+ <script src="./js/search_index.js"></script>
19
+ <script src="./js/search.js"></script>
20
+ <script src="./js/searcher.js"></script>
21
+ <script src="./js/darkfish.js"></script>
22
+
23
+
24
+ <body id="top" role="document" class="class">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="./index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="./table_of_contents.html#pages">Pages</a>
34
+ <a href="./table_of_contents.html#classes">Classes</a>
35
+ <a href="./table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="class-metadata">
59
+
60
+ <div id="parent-class-section" class="nav-section">
61
+ <h3>Parent</h3>
62
+
63
+
64
+ <p class="link">BasicObject
65
+
66
+ </div>
67
+
68
+ <div id="includes-section" class="nav-section">
69
+ <h3>Included Modules</h3>
70
+
71
+ <ul class="link-list">
72
+
73
+
74
+ <li><span class="include">Enumerable</span>
75
+
76
+
77
+ </ul>
78
+ </div>
79
+
80
+
81
+
82
+ </div>
83
+ </nav>
84
+
85
+ <main role="main" aria-labelledby="class-Object">
86
+ <h1 id="class-Object" class="class">
87
+ class Object
88
+ </h1>
89
+
90
+ <section class="description">
91
+
92
+ </section>
93
+
94
+
95
+
96
+
97
+ <section id="5Buntitled-5D" class="documentation-section">
98
+
99
+
100
+
101
+
102
+
103
+ <section class="constants-list">
104
+ <header>
105
+ <h3>Constants</h3>
106
+ </header>
107
+ <dl>
108
+
109
+ <dt id="Nodo">Nodo
110
+
111
+ <dd>
112
+
113
+
114
+ </dl>
115
+ </section>
116
+
117
+
118
+
119
+
120
+
121
+ </section>
122
+ </main>
123
+
124
+
125
+ <footer id="validator-badges" role="contentinfo">
126
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
127
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.2.
128
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
129
+ </footer>
130
+
@@ -0,0 +1,112 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>README - RDoc Documentation</title>
8
+
9
+ <link href="./fonts.css" rel="stylesheet">
10
+ <link href="./rdoc.css" rel="stylesheet">
11
+
12
+ <script type="text/javascript">
13
+ var rdoc_rel_prefix = "./";
14
+ </script>
15
+
16
+ <script src="./js/jquery.js"></script>
17
+ <script src="./js/navigation.js"></script>
18
+ <script src="./js/search_index.js"></script>
19
+ <script src="./js/search.js"></script>
20
+ <script src="./js/searcher.js"></script>
21
+ <script src="./js/darkfish.js"></script>
22
+
23
+
24
+ <body id="top" role="document" class="file">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="./index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="./table_of_contents.html#pages">Pages</a>
34
+ <a href="./table_of_contents.html#classes">Classes</a>
35
+ <a href="./table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="project-metadata">
59
+ <div id="fileindex-section" class="nav-section">
60
+ <h3>Pages</h3>
61
+
62
+ <ul class="link-list">
63
+
64
+ <li><a href="./Gemfile.html">Gemfile</a>
65
+
66
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
67
+
68
+ <li><a href="./Guardfile.html">Guardfile</a>
69
+
70
+ <li><a href="./LICENSE_txt.html">LICENSE</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="./examen_gemspec.html">examen.gemspec</a>
77
+
78
+ </ul>
79
+ </div>
80
+
81
+ </div>
82
+ </nav>
83
+
84
+ <main role="main" aria-label="Page README.md">
85
+
86
+ <p><a href="https://travis-ci.org/alu0100505092/prct08"><img
87
+ src="https://travis-ci.org/alu0100505092/prct08.svg?branch=des"></a> <a
88
+ href="https://coveralls.io/r/alu0100505092/prct08"><img
89
+ src="https://img.shields.io/coveralls/alu0100505092/prct08.svg"></a> <a
90
+ href="https://coveralls.io/r/alu0100505092/prct08"><img
91
+ src="https://coveralls.io/repos/alu0100505092/prct08/badge.png"></a> <a
92
+ href="https://travis-ci.org/alu0100505092/prct08.svg?branch=des">travis-ci.org/alu0100505092/prct08.svg?branch=des</a>
93
+ <a
94
+ href="https://travis-ci.org/alu0100505092/prct08.svg?branch=master">travis-ci.org/alu0100505092/prct08.svg?branch=master</a></p>
95
+
96
+ <p>Practica 9 LPP</p>
97
+
98
+ <p>Integrantes LPP_T_13 Angelica Ravelo Joaquin Escobar</p>
99
+
100
+ <p>Practica sobre Clase <a href="Examen.html">Examen</a>, y creacion clase
101
+ Interfaz, en la clase Interfaz se comprueban las respuestas ingresadas por
102
+ el usuario , con sus expectativas.</p>
103
+ </main>
104
+
105
+
106
+
107
+ <footer id="validator-badges" role="contentinfo">
108
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
109
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.2.
110
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
111
+ </footer>
112
+
data/doc/Rakefile.html ADDED
@@ -0,0 +1,99 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>Rakefile - RDoc Documentation</title>
8
+
9
+ <link href="./fonts.css" rel="stylesheet">
10
+ <link href="./rdoc.css" rel="stylesheet">
11
+
12
+ <script type="text/javascript">
13
+ var rdoc_rel_prefix = "./";
14
+ </script>
15
+
16
+ <script src="./js/jquery.js"></script>
17
+ <script src="./js/navigation.js"></script>
18
+ <script src="./js/search_index.js"></script>
19
+ <script src="./js/search.js"></script>
20
+ <script src="./js/searcher.js"></script>
21
+ <script src="./js/darkfish.js"></script>
22
+
23
+
24
+ <body id="top" role="document" class="file">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="./index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="./table_of_contents.html#pages">Pages</a>
34
+ <a href="./table_of_contents.html#classes">Classes</a>
35
+ <a href="./table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="project-metadata">
59
+ <div id="fileindex-section" class="nav-section">
60
+ <h3>Pages</h3>
61
+
62
+ <ul class="link-list">
63
+
64
+ <li><a href="./Gemfile.html">Gemfile</a>
65
+
66
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
67
+
68
+ <li><a href="./Guardfile.html">Guardfile</a>
69
+
70
+ <li><a href="./LICENSE_txt.html">LICENSE</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="./examen_gemspec.html">examen.gemspec</a>
77
+
78
+ </ul>
79
+ </div>
80
+
81
+ </div>
82
+ </nav>
83
+
84
+ <main role="main" aria-label="Page Rakefile">
85
+
86
+ <p>require “bundler/gem_tasks”</p>
87
+
88
+ <p>require &#39;rspec/core/rake_task&#39; RSpec::Core::RakeTask.new task
89
+ :default =&gt; :spec</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://rdoc.rubyforge.org">RDoc</a> 4.1.2.
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
+
data/doc/created.rid ADDED
@@ -0,0 +1,19 @@
1
+ Thu, 27 Nov 2014 13:41:21 +0000
2
+ ./Gemfile Thu, 27 Nov 2014 12:27:44 +0000
3
+ ./LICENSE.txt Tue, 28 Oct 2014 14:58:51 +0000
4
+ ./spec/spec_helper.rb Thu, 27 Nov 2014 12:27:44 +0000
5
+ ./spec/examen_spec.rb Thu, 27 Nov 2014 13:39:40 +0000
6
+ ./Gemfile.lock Thu, 27 Nov 2014 12:27:46 +0000
7
+ ./Guardfile Thu, 27 Nov 2014 12:28:52 +0000
8
+ ./Rakefile Tue, 28 Oct 2014 15:22:12 +0000
9
+ ./examen.gemspec Thu, 27 Nov 2014 12:27:44 +0000
10
+ ./lib/examen.rb Thu, 27 Nov 2014 12:27:44 +0000
11
+ ./lib/examen/exam.rb Thu, 27 Nov 2014 13:39:57 +0000
12
+ ./lib/examen/eleccionsimple.rb Thu, 27 Nov 2014 13:39:45 +0000
13
+ ./lib/examen/examen.rb Thu, 27 Nov 2014 12:27:44 +0000
14
+ ./lib/examen/pregunta.rb Thu, 27 Nov 2014 13:40:21 +0000
15
+ ./lib/examen/version.rb Tue, 28 Oct 2014 14:58:52 +0000
16
+ ./lib/examen/lista.rb Thu, 27 Nov 2014 13:39:47 +0000
17
+ ./lib/examen/verdaderofalso.rb Thu, 27 Nov 2014 13:38:52 +0000
18
+ ./lib/examen/interfaz.rb Thu, 27 Nov 2014 13:39:41 +0000
19
+ ./README.md Thu, 27 Nov 2014 12:27:44 +0000
@@ -0,0 +1,134 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>examen.gemspec - RDoc Documentation</title>
8
+
9
+ <link href="./fonts.css" rel="stylesheet">
10
+ <link href="./rdoc.css" rel="stylesheet">
11
+
12
+ <script type="text/javascript">
13
+ var rdoc_rel_prefix = "./";
14
+ </script>
15
+
16
+ <script src="./js/jquery.js"></script>
17
+ <script src="./js/navigation.js"></script>
18
+ <script src="./js/search_index.js"></script>
19
+ <script src="./js/search.js"></script>
20
+ <script src="./js/searcher.js"></script>
21
+ <script src="./js/darkfish.js"></script>
22
+
23
+
24
+ <body id="top" role="document" class="file">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="./index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="./table_of_contents.html#pages">Pages</a>
34
+ <a href="./table_of_contents.html#classes">Classes</a>
35
+ <a href="./table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search" spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="project-metadata">
59
+ <div id="fileindex-section" class="nav-section">
60
+ <h3>Pages</h3>
61
+
62
+ <ul class="link-list">
63
+
64
+ <li><a href="./Gemfile.html">Gemfile</a>
65
+
66
+ <li><a href="./Gemfile_lock.html">Gemfile.lock</a>
67
+
68
+ <li><a href="./Guardfile.html">Guardfile</a>
69
+
70
+ <li><a href="./LICENSE_txt.html">LICENSE</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="./examen_gemspec.html">examen.gemspec</a>
77
+
78
+ </ul>
79
+ </div>
80
+
81
+ </div>
82
+ </nav>
83
+
84
+ <main role="main" aria-label="Page examen.gemspec">
85
+
86
+ <p>lib = File.expand_path(&#39;../lib&#39;, __FILE__) $LOAD_PATH.unshift(lib)
87
+ unless $LOAD_PATH.include?(lib) require &#39;examen/version&#39;</p>
88
+
89
+ <p>Gem::Specification.new do |spec|</p>
90
+
91
+ <pre class="ruby"><span class="ruby-identifier">spec</span>.<span class="ruby-identifier">name</span> = <span class="ruby-string">&quot;examen&quot;</span>
92
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">version</span> = <span class="ruby-constant">Examen</span><span class="ruby-operator">::</span><span class="ruby-constant">VERSION</span>
93
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">authors</span> = [<span class="ruby-string">&quot;alu0100837094&quot;</span>]
94
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">email</span> = [<span class="ruby-string">&quot;alu0100837094@ull.edu.es&quot;</span>]
95
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">summary</span> = <span class="ruby-string">%q{TODO: Write a short summary. Required.}</span>
96
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">description</span> = <span class="ruby-string">%q{TODO: Write a longer description. Optional.}</span>
97
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">homepage</span> = <span class="ruby-string">&quot;&quot;</span>
98
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">license</span> = <span class="ruby-string">&quot;MIT&quot;</span>
99
+
100
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">files</span> = <span class="ruby-value">%xgit ls-files -z`</span>.<span class="ruby-identifier">split</span>(<span class="ruby-string">&quot;\x0&quot;</span>)
101
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">executables</span> = <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">files</span>.<span class="ruby-identifier">grep</span>(<span class="ruby-regexp">%r{^bin/}</span>) { <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">basename</span>(<span class="ruby-identifier">f</span>) }
102
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">test_files</span> = <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">files</span>.<span class="ruby-identifier">grep</span>(<span class="ruby-regexp">%r{^(test|spec|features)/}</span>)
103
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">require_paths</span> = [<span class="ruby-string">&quot;lib&quot;</span>]
104
+
105
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&quot;bundler&quot;</span>, <span class="ruby-string">&quot;~&gt; 1.6&quot;</span>
106
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&quot;rake&quot;</span>, <span class="ruby-string">&quot;~&gt; 10.0&quot;</span>
107
+
108
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&#39;rspec&#39;</span>, <span class="ruby-string">&#39;~&gt;2.11&#39;</span>
109
+
110
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&quot;guard&quot;</span>
111
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&quot;guard-rspec&quot;</span>
112
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&quot;guard-bundler&quot;</span>
113
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&quot;coveralls&quot;</span>
114
+ <span class="ruby-comment"># rest-client has an unbounded dependency on mime-types.</span>
115
+ <span class="ruby-comment"># mime-types 2.0 removes support for ruby 1.8.7 (gemspec requires ruby</span>
116
+ <span class="ruby-comment"># 1.9.2+), so we have to add an additional pin. 1.16 is chosen just becuase</span>
117
+ <span class="ruby-comment"># it&#39;s the version I had when I tested.</span>
118
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_dependency</span> <span class="ruby-string">&quot;mime-types&quot;</span>, <span class="ruby-string">&#39;~&gt; 1.16&#39;</span>
119
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&quot;celluloid&quot;</span>, <span class="ruby-string">&#39;0.16.0&#39;</span>
120
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&quot;rest-client&quot;</span>, <span class="ruby-string">&#39;~&gt; 1.7.2&#39;</span>
121
+ <span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">&quot;listen&quot;</span>
122
+ </pre>
123
+
124
+ <p>end</p>
125
+ </main>
126
+
127
+
128
+
129
+ <footer id="validator-badges" role="contentinfo">
130
+ <p><a href="http://validator.w3.org/check/referer">Validate</a>
131
+ <p>Generated by <a href="http://rdoc.rubyforge.org">RDoc</a> 4.1.2.
132
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
133
+ </footer>
134
+