examenJoaquinAngelica 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +1 -0
- data/.gitignore +13 -0
- data/.rspec +2 -0
- data/.travis.yml +16 -0
- data/Gemfile +5 -0
- data/Guardfile +30 -0
- data/LICENSE.txt +22 -0
- data/README.md +20 -0
- data/Rakefile +5 -0
- data/doc/Examen.html +129 -0
- data/doc/Examen/EleccionSimple.html +163 -0
- data/doc/Examen/Exam.html +363 -0
- data/doc/Examen/Examen.html +163 -0
- data/doc/Examen/Interfaz.html +359 -0
- data/doc/Examen/Pregunta.html +385 -0
- data/doc/Examen/Verdaderofalso.html +161 -0
- data/doc/Gemfile.html +100 -0
- data/doc/Gemfile_lock.html +190 -0
- data/doc/Guardfile.html +121 -0
- data/doc/LICENSE_txt.html +116 -0
- data/doc/Lista.html +527 -0
- data/doc/Object.html +130 -0
- data/doc/README_md.html +112 -0
- data/doc/Rakefile.html +99 -0
- data/doc/created.rid +19 -0
- data/doc/examen_gemspec.html +134 -0
- data/doc/fonts.css +167 -0
- data/doc/fonts/Lato-Light.ttf +0 -0
- data/doc/fonts/Lato-LightItalic.ttf +0 -0
- data/doc/fonts/Lato-Regular.ttf +0 -0
- data/doc/fonts/Lato-RegularItalic.ttf +0 -0
- data/doc/fonts/SourceCodePro-Bold.ttf +0 -0
- data/doc/fonts/SourceCodePro-Regular.ttf +0 -0
- data/doc/images/add.png +0 -0
- data/doc/images/arrow_up.png +0 -0
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/delete.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_blue.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/transparent.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +118 -0
- data/doc/js/darkfish.js +140 -0
- data/doc/js/jquery.js +4 -0
- data/doc/js/navigation.js +142 -0
- data/doc/js/search.js +109 -0
- data/doc/js/search_index.js +1 -0
- data/doc/js/searcher.js +228 -0
- data/doc/rdoc.css +580 -0
- data/doc/table_of_contents.html +238 -0
- data/examen.gemspec +40 -0
- data/lib/examen.rb +13 -0
- data/lib/examen/eleccionsimple.rb +16 -0
- data/lib/examen/exam.rb +109 -0
- data/lib/examen/examen.rb +17 -0
- data/lib/examen/interfaz.rb +45 -0
- data/lib/examen/lista.rb +92 -0
- data/lib/examen/pregunta.rb +53 -0
- data/lib/examen/verdaderofalso.rb +13 -0
- data/lib/examen/version.rb +3 -0
- data/spec/examen_spec.rb +624 -0
- data/spec/spec_helper.rb +32 -0
- 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
|
+
|
data/doc/README_md.html
ADDED
@@ -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 'rspec/core/rake_task' RSpec::Core::RakeTask.new task
|
89
|
+
:default => :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('../lib', __FILE__) $LOAD_PATH.unshift(lib)
|
87
|
+
unless $LOAD_PATH.include?(lib) require 'examen/version'</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">"examen"</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">"alu0100837094"</span>]
|
94
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">email</span> = [<span class="ruby-string">"alu0100837094@ull.edu.es"</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">""</span>
|
98
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">license</span> = <span class="ruby-string">"MIT"</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">"\x0"</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">"lib"</span>]
|
104
|
+
|
105
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">"bundler"</span>, <span class="ruby-string">"~> 1.6"</span>
|
106
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">"rake"</span>, <span class="ruby-string">"~> 10.0"</span>
|
107
|
+
|
108
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">'rspec'</span>, <span class="ruby-string">'~>2.11'</span>
|
109
|
+
|
110
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">"guard"</span>
|
111
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">"guard-rspec"</span>
|
112
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">"guard-bundler"</span>
|
113
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">"coveralls"</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'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">"mime-types"</span>, <span class="ruby-string">'~> 1.16'</span>
|
119
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">"celluloid"</span>, <span class="ruby-string">'0.16.0'</span>
|
120
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">"rest-client"</span>, <span class="ruby-string">'~> 1.7.2'</span>
|
121
|
+
<span class="ruby-identifier">spec</span>.<span class="ruby-identifier">add_development_dependency</span> <span class="ruby-string">"listen"</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
|
+
|