exam_LPP_T_5 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.coveralls.yml +2 -0
- data/.gitignore +20 -0
- data/.rspec +2 -0
- data/.travis.yml +7 -0
- data/Gemfile +4 -0
- data/Guardfile +38 -0
- data/LICENSE.txt +22 -0
- data/README.md +7 -0
- data/README.rdoc +3 -0
- data/Rakefile +13 -0
- data/exam.gemspec +32 -0
- data/html/Exam.html +112 -0
- data/html/Exam/DList.html +569 -0
- data/html/Exam/Examen.html +335 -0
- data/html/Exam/Interfaz.html +333 -0
- data/html/Exam/List.html +323 -0
- data/html/Exam/Test.html +384 -0
- data/html/Exam/ToF.html +164 -0
- data/html/Inversor.html +112 -0
- data/html/Inverter.html +164 -0
- data/html/Object.html +119 -0
- data/html/README_rdoc.html +86 -0
- data/html/created.rid +13 -0
- data/html/fonts.css +167 -0
- data/html/fonts/Lato-Light.ttf +0 -0
- data/html/fonts/Lato-LightItalic.ttf +0 -0
- data/html/fonts/Lato-Regular.ttf +0 -0
- data/html/fonts/Lato-RegularItalic.ttf +0 -0
- data/html/fonts/SourceCodePro-Bold.ttf +0 -0
- data/html/fonts/SourceCodePro-Regular.ttf +0 -0
- data/html/images/add.png +0 -0
- data/html/images/arrow_up.png +0 -0
- data/html/images/brick.png +0 -0
- data/html/images/brick_link.png +0 -0
- data/html/images/bug.png +0 -0
- data/html/images/bullet_black.png +0 -0
- data/html/images/bullet_toggle_minus.png +0 -0
- data/html/images/bullet_toggle_plus.png +0 -0
- data/html/images/date.png +0 -0
- data/html/images/delete.png +0 -0
- data/html/images/find.png +0 -0
- data/html/images/loadingAnimation.gif +0 -0
- data/html/images/macFFBgHack.png +0 -0
- data/html/images/package.png +0 -0
- data/html/images/page_green.png +0 -0
- data/html/images/page_white_text.png +0 -0
- data/html/images/page_white_width.png +0 -0
- data/html/images/plugin.png +0 -0
- data/html/images/ruby.png +0 -0
- data/html/images/tag_blue.png +0 -0
- data/html/images/tag_green.png +0 -0
- data/html/images/transparent.png +0 -0
- data/html/images/wrench.png +0 -0
- data/html/images/wrench_orange.png +0 -0
- data/html/images/zoom.png +0 -0
- data/html/index.html +108 -0
- data/html/js/darkfish.js +140 -0
- data/html/js/jquery.js +4 -0
- data/html/js/navigation.js +142 -0
- data/html/js/search.js +109 -0
- data/html/js/search_index.js +1 -0
- data/html/js/searcher.js +228 -0
- data/html/rdoc.css +580 -0
- data/html/table_of_contents.html +222 -0
- data/lib/exam.rb +8 -0
- data/lib/exam/d_list.rb +124 -0
- data/lib/exam/examen.rb +38 -0
- data/lib/exam/interfaz.rb +34 -0
- data/lib/exam/list.rb +57 -0
- data/lib/exam/quiz.rb +39 -0
- data/lib/exam/test.rb +37 -0
- data/lib/exam/tof.rb +9 -0
- data/lib/exam/version.rb +3 -0
- data/lib/inverter.rb +1 -0
- data/lib/inverter/reverse.rb +10 -0
- data/lib/inverter/version.rb +3 -0
- data/rspec_results.html +339 -0
- data/spec/exam_spec.rb +346 -0
- data/spec/spec_helper.rb +19 -0
- metadata +225 -0
data/spec/exam_spec.rb
ADDED
@@ -0,0 +1,346 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require "exam.rb"
|
3
|
+
require "inverter.rb"
|
4
|
+
|
5
|
+
module Exam
|
6
|
+
describe Test do
|
7
|
+
before :each do
|
8
|
+
@p1=Test.new("CCAA de Espanya", "17", ["15","16","18"], 1)
|
9
|
+
@p2=Test.new("CCAA de Espanya", "17", ["15","16","18"], 2)
|
10
|
+
@p3=Test.new("CCAA de Espanya", "18", ["15","16","18"], 3)
|
11
|
+
end
|
12
|
+
|
13
|
+
context "Pregunta" do
|
14
|
+
it "Pregunta correctamente hecha" do
|
15
|
+
@p1.pregunta.should eq("CCAA de Espanya")
|
16
|
+
@p1.correcta.should eq('17')
|
17
|
+
@p1.respuestas.should =~ ['15','16','18']
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
|
22
|
+
context "Comparable" do
|
23
|
+
it "Se puede comparar" do
|
24
|
+
(@p1==@p2).should eq(true)
|
25
|
+
(@p1==@p3).should eq(false)
|
26
|
+
|
27
|
+
(@p1<@p3).should eq(true)
|
28
|
+
(@p3<@p1).should eq(false)
|
29
|
+
|
30
|
+
(@p1<=@p3).should eq(true)
|
31
|
+
(@p3<=@p1).should eq(false)
|
32
|
+
|
33
|
+
(@p3>@p1).should eq(true)
|
34
|
+
(@p1>@p3).should eq(false)
|
35
|
+
|
36
|
+
(@p3>=@p1).should eq(true)
|
37
|
+
(@p1>=@p3).should eq(false)
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
|
43
|
+
describe ToF do
|
44
|
+
before :each do
|
45
|
+
@p1=ToF.new("Hoy es viernes","V")
|
46
|
+
@p2=ToF.new("Hoy es jueves","F")
|
47
|
+
end
|
48
|
+
context "Verdadero o Falso" do
|
49
|
+
it "Preguntas verdadero o falso correctamente realizadas" do
|
50
|
+
@p1.pregunta.should eq("Hoy es viernes")
|
51
|
+
@p1.correcta.should eq("V")
|
52
|
+
@p1.respuestas.should =~ ["V","F"]
|
53
|
+
|
54
|
+
@p2.pregunta.should eq("Hoy es jueves")
|
55
|
+
@p2.correcta.should eq("F")
|
56
|
+
@p2.respuestas.should =~ ["V","F"]
|
57
|
+
end
|
58
|
+
|
59
|
+
it "Hereda de Test" do #Dos alternativas para comprobar la herencia
|
60
|
+
@p1.class.should be < Test
|
61
|
+
expect(@p1).to be_kind_of(Test)
|
62
|
+
end
|
63
|
+
|
64
|
+
it "Hereda de Test" do
|
65
|
+
expect(@p1.is_a? Test).to be(true)
|
66
|
+
end
|
67
|
+
|
68
|
+
it "No es una instancia de Test" do
|
69
|
+
expect(@p1.instance_of? Test).to be(false)
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
end
|
74
|
+
|
75
|
+
describe Node do
|
76
|
+
|
77
|
+
before :each do
|
78
|
+
@n2 = Node.new("tail",nil)
|
79
|
+
@n1 = Node.new("head",@n2)
|
80
|
+
end
|
81
|
+
|
82
|
+
describe "Node" do
|
83
|
+
it "#Debe existir un Nodo de la lista con sus datos y su siguiente" do
|
84
|
+
@n1[:value].should eql "head"
|
85
|
+
@n1[:next].should eql @n2
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
describe List do
|
91
|
+
|
92
|
+
before :each do
|
93
|
+
@l1 = List.new([3,4,5])
|
94
|
+
|
95
|
+
respuestas1 = ["nil","#<Xyz:0xa000208>", "0", "Ninguna de las anteriores"]
|
96
|
+
respuestas3 = ["HEY","1", "bob", "Ninguna de las anteriores"]
|
97
|
+
respuestas4 = ["Una instancia de la clase Class","Una constante", "Un objeto", "Ninguna de las anteriores"]
|
98
|
+
|
99
|
+
@p1 = Test.new("Cual es la salida del siguiente codigo Ruby? \n class Xyz \n def pots \n @nice \n end \n end \n xyz = Xyz.new \n p xyz.pots", "nil", respuestas1)
|
100
|
+
@p2 = ToF.new("La siguiente definicion de un hash en Ruby es valida: \n hash_raro = { \n [1, 2, 3] => Object.new(), \n Hash.new => :toto \n }","V")
|
101
|
+
@p3 = Test.new("Cual es la salida del siguiente codigo Ruby?","HEY!", respuestas3)
|
102
|
+
@p4 = Test.new("Cual es el tipo del objeto en el siguiente codigo Ruby? \n class Objeto \n end","Una instancia de la clase Class", respuestas4)
|
103
|
+
@p5 = ToF.new("Es apropiado que una clase Tablero herede de una clase Juego","V")
|
104
|
+
|
105
|
+
@l2 = List.new([@p1,@p2,@p3,@p4,@p5])
|
106
|
+
|
107
|
+
@l3 = List.new(3)
|
108
|
+
|
109
|
+
end
|
110
|
+
|
111
|
+
describe "Preguntas" do
|
112
|
+
it "#Se almacenan las preguntas en la lista" do
|
113
|
+
@l2.to_s.should eql "Lista: #{@p1.to_s} -> #{@p2.to_s} -> #{@p3.to_s} -> #{@p4.to_s} -> #{@p5.to_s}"
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
describe "List" do
|
118
|
+
it "#Se extrae el primer elemento de la lista" do
|
119
|
+
@l1.popHead
|
120
|
+
@l1.head[:value].should eql 4
|
121
|
+
end
|
122
|
+
|
123
|
+
it "#Se puede insertar un elemento" do
|
124
|
+
@l1.push("nuevo")
|
125
|
+
@l1.to_s.should eql "Lista: 3 -> 4 -> 5 -> nuevo"
|
126
|
+
@l3.push([2,1])
|
127
|
+
@l3.to_s.should eql "Lista: 3 -> 2 -> 1"
|
128
|
+
end
|
129
|
+
|
130
|
+
it "#Se pueden insertar varios elementos" do
|
131
|
+
@l1.push([6,7,8])
|
132
|
+
@l1.to_s.should eql "Lista: 3 -> 4 -> 5 -> 6 -> 7 -> 8"
|
133
|
+
end
|
134
|
+
|
135
|
+
it "#Debe existir una Lista con su cabeza" do
|
136
|
+
@l1.head[:value].should eql 3
|
137
|
+
end
|
138
|
+
|
139
|
+
end
|
140
|
+
|
141
|
+
end
|
142
|
+
|
143
|
+
describe DList do
|
144
|
+
|
145
|
+
before :each do
|
146
|
+
@l1 = DList.new([5,4,3])
|
147
|
+
|
148
|
+
respuestas1 = ["#<Xyz:0xa000208>", "0", "Ninguna de las anteriores"]
|
149
|
+
respuestas3 = ["1", "bob", "Ninguna de las anteriores"]
|
150
|
+
respuestas4 = ["Una constante", "Un objeto", "Ninguna de las anteriores"]
|
151
|
+
|
152
|
+
@p1 = Test.new("Cual es la salida del siguiente codigo Ruby? \n class Xyz \n def pots \n @nice \n end \n end \n xyz = Xyz.new \n p xyz.pots", "nil", respuestas1, 1)
|
153
|
+
@p2 = ToF.new("La siguiente definicion de un hash en Ruby es valida: \n hash_raro = { \n [1, 2, 3] => Object.new(), \n Hash.new => :toto \n }","V", 2)
|
154
|
+
@p3 = Test.new("Cual es la salida del siguiente codigo Ruby?","HEY!", respuestas3, 3)
|
155
|
+
@p4 = Test.new("Cual es el tipo del objeto en el siguiente codigo Ruby? \n class Objeto \n end","Una instancia de la clase Class", respuestas4, 4)
|
156
|
+
@p5 = ToF.new("Es apropiado que una clase Tablero herede de una clase Juego","V", 5)
|
157
|
+
|
158
|
+
@p6 = ToF.new("Es una pregunta sin sentido","V")
|
159
|
+
|
160
|
+
@l2 = DList.new([@p5,@p4,@p3,@p2,@p1])
|
161
|
+
|
162
|
+
@l3 = DList.new(1)
|
163
|
+
|
164
|
+
end
|
165
|
+
|
166
|
+
describe "Preguntas" do
|
167
|
+
it "#Se almacenan las preguntas en la lista" do
|
168
|
+
@l2.to_s.should eql "#{@p1.to_s} #{@p2.to_s} #{@p3.to_s} #{@p4.to_s} #{@p5.to_s}"
|
169
|
+
end
|
170
|
+
it "#Se almacenan las preguntas en la lista" do
|
171
|
+
@l2.to_is.should eql "#{@p5.to_s} #{@p4.to_s} #{@p3.to_s} #{@p2.to_s} #{@p1.to_s}"
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
describe "List" do
|
176
|
+
it "#Se extrae el primer elemento de la lista" do
|
177
|
+
@l1.popHead
|
178
|
+
@l1.head[:value].should eql 4
|
179
|
+
end
|
180
|
+
|
181
|
+
it "#Se extrae el ultimo elemento de la lista" do
|
182
|
+
@l1.popTail
|
183
|
+
@l1.to_s.should eql "3 4"
|
184
|
+
end
|
185
|
+
|
186
|
+
it "#Se puede insertar un elemento" do
|
187
|
+
@l1.pushHead("nuevo")
|
188
|
+
@l1.to_s.should eql "nuevo 3 4 5"
|
189
|
+
@l1.to_is.should eql "5 4 3 nuevo"
|
190
|
+
|
191
|
+
@l3.pushTail(2)
|
192
|
+
@l3.to_s.should eql "1 2"
|
193
|
+
@l3.to_is.should eql "2 1"
|
194
|
+
|
195
|
+
@l3.pushTail(3)
|
196
|
+
@l3.to_s.should eql "1 2 3"
|
197
|
+
@l3.to_is.should eql "3 2 1"
|
198
|
+
end
|
199
|
+
|
200
|
+
it "#Se pueden insertar varios elementos" do
|
201
|
+
@l1.pushHead([2,1,0])
|
202
|
+
@l1.to_s.should eql "0 1 2 3 4 5"
|
203
|
+
@l1.to_is.should eql "5 4 3 2 1 0"
|
204
|
+
|
205
|
+
@l3.pushTail([2,3,4])
|
206
|
+
@l3.to_s.should eql "1 2 3 4"
|
207
|
+
@l3.to_is.should eql "4 3 2 1"
|
208
|
+
end
|
209
|
+
|
210
|
+
it "#Debe existir una Lista con su cabeza" do
|
211
|
+
@l1.head[:value].should eql 3
|
212
|
+
end
|
213
|
+
|
214
|
+
it "#Funciona enumerable" do
|
215
|
+
@l1.find {|i| i == 3}.should eq(3)
|
216
|
+
@l1.find {|i| i == 2}.should eq(nil)
|
217
|
+
@l1.count.should eq(3)
|
218
|
+
@l1.all?.should eq(true)
|
219
|
+
@l1.max.should eq(5)
|
220
|
+
end
|
221
|
+
|
222
|
+
it "#Funciona enumerable con lista de preguntas" do
|
223
|
+
@l2.find {|i| i == @p1}.should eq(@p1)
|
224
|
+
@l2.find {|i| i == @p6}.should eq(nil)
|
225
|
+
@l2.count.should eq(5)
|
226
|
+
@l2.all?.should eq(true)
|
227
|
+
@l2.max.should eq(@p5)
|
228
|
+
end
|
229
|
+
|
230
|
+
end
|
231
|
+
|
232
|
+
end
|
233
|
+
|
234
|
+
|
235
|
+
describe Examen do
|
236
|
+
before :each do
|
237
|
+
respuestas1 = ["#<Xyz:0xa000208>", "0", "Ninguna de las anteriores"]
|
238
|
+
respuestas3 = ["1", "bob", "Ninguna de las anteriores"]
|
239
|
+
respuestas4 = ["Una constante", "Un objeto", "Ninguna de las anteriores"]
|
240
|
+
|
241
|
+
@p1 = Test.new("Cual es la salida del siguiente codigo Ruby? \n class Xyz \n def pots \n @nice \n end \n end \n xyz = Xyz.new \n p xyz.pots", "nil", respuestas1, 1)
|
242
|
+
@p2 = ToF.new("La siguiente definicion de un hash en Ruby es valida: \n hash_raro = { \n [1, 2, 3] => Object.new(), \n Hash.new => :toto \n }","V", 2)
|
243
|
+
@p3 = Test.new("Cual es la salida del siguiente codigo Ruby?","HEY!", respuestas3, 3)
|
244
|
+
@p4 = Test.new("Cual es el tipo del objeto en el siguiente codigo Ruby? \n class Objeto \n end","Una instancia de la clase Class", respuestas4, 4)
|
245
|
+
@p5 = ToF.new("Es apropiado que una clase Tablero herede de una clase Juego","V", 5)
|
246
|
+
|
247
|
+
@l1 = DList.new([@p5,@p4,@p3,@p2,@p1])
|
248
|
+
|
249
|
+
@e1=Examen.new(@l1)
|
250
|
+
end
|
251
|
+
|
252
|
+
context "Pruebas de la clase Examen" do
|
253
|
+
it "Comprobacion de preguntas hecha" do
|
254
|
+
@e1.check_exam(["nil","V","HEY!","Una instancia de la clase Class","V"]).should eq("5/5")
|
255
|
+
@e1.check_exam(["n","V","HEY!","Una instancia de la clase Class","V"]).should eq("4/5")
|
256
|
+
@e1.check_exam(["n","F","HEY!","Una instancia de la clase Class","V"]).should eq("3/5")
|
257
|
+
@e1.check_exam(["n","F","HEY","Una instancia de la clase Class","V"]).should eq("2/5")
|
258
|
+
@e1.check_exam(["n","F","HEY","Una instancia de la clase String","V"]).should eq("1/5")
|
259
|
+
@e1.check_exam(["n","F","HEY","Una instancia de la clase String","F"]).should eq("0/5")
|
260
|
+
end
|
261
|
+
it "Comprobacion de longitud" do
|
262
|
+
@e1.size.should eq(5)
|
263
|
+
end
|
264
|
+
it "Comprobacion de longitud" do
|
265
|
+
@e1.to_s.should eq("#{@p1.to_s} #{@p2.to_s} #{@p3.to_s} #{@p4.to_s} #{@p5.to_s}")
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
|
270
|
+
end
|
271
|
+
|
272
|
+
describe Interfaz do
|
273
|
+
before :each do
|
274
|
+
respuestas1 = ["#<Xyz:0xa000208>", "0", "Ninguna de las anteriores"]
|
275
|
+
respuestas3 = ["1", "bob", "Ninguna de las anteriores"]
|
276
|
+
respuestas4 = ["Una constante", "Un objeto", "Ninguna de las anteriores"]
|
277
|
+
|
278
|
+
@p1 = Test.new("Cual es la salida del siguiente codigo Ruby? \n class Xyz \n def pots \n @nice \n end \n end \n xyz = Xyz.new \n p xyz.pots", "nil", respuestas1, 1)
|
279
|
+
@p2 = ToF.new("La siguiente definicion de un hash en Ruby es valida: \n hash_raro = { \n [1, 2, 3] => Object.new(), \n Hash.new => :toto \n }","V", 2)
|
280
|
+
@p3 = Test.new("Cual es la salida del siguiente codigo Ruby?","HEY!", respuestas3, 3)
|
281
|
+
@p4 = Test.new("Cual es el tipo del objeto en el siguiente codigo Ruby? \n class Objeto \n end","Una instancia de la clase Class", respuestas4, 4)
|
282
|
+
@p5 = ToF.new("Es apropiado que una clase Tablero herede de una clase Juego","V", 5)
|
283
|
+
|
284
|
+
@l1 = DList.new([@p5,@p4,@p3,@p2,@p1])
|
285
|
+
|
286
|
+
@e1=Examen.new(@l1)
|
287
|
+
|
288
|
+
@i1=Interfaz.new(@e1)
|
289
|
+
|
290
|
+
end
|
291
|
+
|
292
|
+
context "Pruebas de la clase Interfaz" do
|
293
|
+
|
294
|
+
it "Se muestran las preguntas" do
|
295
|
+
@i1.mostrar.should eq(puts @examen.to_s)
|
296
|
+
end
|
297
|
+
|
298
|
+
it "Se realizan las preguntas" do
|
299
|
+
@i1.stub(:gets).and_return("nil\n","V\n","HEY!\n","Una instancia de la clase Class\n","V\n")
|
300
|
+
@i1.responder.should eq("5/5")
|
301
|
+
end
|
302
|
+
|
303
|
+
it "Se puede examinar" do
|
304
|
+
@i1.stub(:gets).and_return("nil\n","V\n","HEY!\n","Una instancia de la clase Class\n","V\n")
|
305
|
+
@i1.examinar.should eq("5/5")
|
306
|
+
end
|
307
|
+
|
308
|
+
it "Se pueden invertir las preguntas" do
|
309
|
+
@i1.invertir_examen
|
310
|
+
@i1.stub(:gets).and_return("V\n","Una instancia de la clase Class\n","HEY!\n","V\n","nil\n")
|
311
|
+
@i1.examinar.should eq("5/5")
|
312
|
+
end
|
313
|
+
end
|
314
|
+
end
|
315
|
+
|
316
|
+
describe Quiz do
|
317
|
+
|
318
|
+
before :each do
|
319
|
+
@quiz = Quiz.new("Cuestionario de PFS 10/12/2011") do |e|
|
320
|
+
e.question '¿En que año Cristobal Colón descubrió América?',
|
321
|
+
:right =>'1492',
|
322
|
+
:wrong =>'1942',
|
323
|
+
:wrong =>'1808',
|
324
|
+
:wrong =>'1914'
|
325
|
+
|
326
|
+
a = 5
|
327
|
+
b = 6
|
328
|
+
e.question "#{a}+#{b} = ",
|
329
|
+
:right =>"#{a + b}",
|
330
|
+
:wrong =>"44",
|
331
|
+
:wrong =>"#{a + b + 2}",
|
332
|
+
:wrong =>"#{a + b - 2}"
|
333
|
+
end
|
334
|
+
|
335
|
+
end
|
336
|
+
|
337
|
+
context "Pruebas de DSL" do
|
338
|
+
|
339
|
+
it "Existe el metodo run" do
|
340
|
+
expect(@quiz).to respond_to :run
|
341
|
+
end
|
342
|
+
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# Require this file using `require "spec_helper"` to ensure that it is only
|
4
|
+
# loaded once.
|
5
|
+
#
|
6
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
7
|
+
require 'coveralls'
|
8
|
+
Coveralls.wear!
|
9
|
+
RSpec.configure do |config|
|
10
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
11
|
+
config.run_all_when_everything_filtered = true
|
12
|
+
config.filter_run :focus
|
13
|
+
|
14
|
+
# Run specs in random order to surface order dependencies. If you find an
|
15
|
+
# order dependency and want to debug it, you can fix the order by providing
|
16
|
+
# the seed, which is printed after each run.
|
17
|
+
# --seed 1234
|
18
|
+
config.order = 'random'
|
19
|
+
end
|
metadata
ADDED
@@ -0,0 +1,225 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: exam_LPP_T_5
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jonathan Expósito
|
8
|
+
- Sergio Rodríguez
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-12-12 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: bundler
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - ~>
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1.3'
|
21
|
+
type: :development
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ~>
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '1.3'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: rake
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - '>='
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - '>='
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rspec
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ~>
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '2.11'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ~>
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '2.11'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: guard
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: guard-rspec
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - '>='
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: guard-bundler
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - '>='
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: '0'
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - '>='
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: '0'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: coveralls
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - '>='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - '>='
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
112
|
+
description: Gema para realizar tests
|
113
|
+
email:
|
114
|
+
- alu0100696455@ull.edu.es
|
115
|
+
- alu0100699968@ull.edu.es
|
116
|
+
executables: []
|
117
|
+
extensions: []
|
118
|
+
extra_rdoc_files: []
|
119
|
+
files:
|
120
|
+
- .coveralls.yml
|
121
|
+
- .gitignore
|
122
|
+
- .rspec
|
123
|
+
- .travis.yml
|
124
|
+
- Gemfile
|
125
|
+
- Guardfile
|
126
|
+
- LICENSE.txt
|
127
|
+
- README.md
|
128
|
+
- README.rdoc
|
129
|
+
- Rakefile
|
130
|
+
- exam.gemspec
|
131
|
+
- html/Exam.html
|
132
|
+
- html/Exam/DList.html
|
133
|
+
- html/Exam/Examen.html
|
134
|
+
- html/Exam/Interfaz.html
|
135
|
+
- html/Exam/List.html
|
136
|
+
- html/Exam/Test.html
|
137
|
+
- html/Exam/ToF.html
|
138
|
+
- html/Inversor.html
|
139
|
+
- html/Inverter.html
|
140
|
+
- html/Object.html
|
141
|
+
- html/README_rdoc.html
|
142
|
+
- html/created.rid
|
143
|
+
- html/fonts.css
|
144
|
+
- html/fonts/Lato-Light.ttf
|
145
|
+
- html/fonts/Lato-LightItalic.ttf
|
146
|
+
- html/fonts/Lato-Regular.ttf
|
147
|
+
- html/fonts/Lato-RegularItalic.ttf
|
148
|
+
- html/fonts/SourceCodePro-Bold.ttf
|
149
|
+
- html/fonts/SourceCodePro-Regular.ttf
|
150
|
+
- html/images/add.png
|
151
|
+
- html/images/arrow_up.png
|
152
|
+
- html/images/brick.png
|
153
|
+
- html/images/brick_link.png
|
154
|
+
- html/images/bug.png
|
155
|
+
- html/images/bullet_black.png
|
156
|
+
- html/images/bullet_toggle_minus.png
|
157
|
+
- html/images/bullet_toggle_plus.png
|
158
|
+
- html/images/date.png
|
159
|
+
- html/images/delete.png
|
160
|
+
- html/images/find.png
|
161
|
+
- html/images/loadingAnimation.gif
|
162
|
+
- html/images/macFFBgHack.png
|
163
|
+
- html/images/package.png
|
164
|
+
- html/images/page_green.png
|
165
|
+
- html/images/page_white_text.png
|
166
|
+
- html/images/page_white_width.png
|
167
|
+
- html/images/plugin.png
|
168
|
+
- html/images/ruby.png
|
169
|
+
- html/images/tag_blue.png
|
170
|
+
- html/images/tag_green.png
|
171
|
+
- html/images/transparent.png
|
172
|
+
- html/images/wrench.png
|
173
|
+
- html/images/wrench_orange.png
|
174
|
+
- html/images/zoom.png
|
175
|
+
- html/index.html
|
176
|
+
- html/js/darkfish.js
|
177
|
+
- html/js/jquery.js
|
178
|
+
- html/js/navigation.js
|
179
|
+
- html/js/search.js
|
180
|
+
- html/js/search_index.js
|
181
|
+
- html/js/searcher.js
|
182
|
+
- html/rdoc.css
|
183
|
+
- html/table_of_contents.html
|
184
|
+
- lib/exam.rb
|
185
|
+
- lib/exam/d_list.rb
|
186
|
+
- lib/exam/examen.rb
|
187
|
+
- lib/exam/interfaz.rb
|
188
|
+
- lib/exam/list.rb
|
189
|
+
- lib/exam/quiz.rb
|
190
|
+
- lib/exam/test.rb
|
191
|
+
- lib/exam/tof.rb
|
192
|
+
- lib/exam/version.rb
|
193
|
+
- lib/inverter.rb
|
194
|
+
- lib/inverter/reverse.rb
|
195
|
+
- lib/inverter/version.rb
|
196
|
+
- rspec_results.html
|
197
|
+
- spec/exam_spec.rb
|
198
|
+
- spec/spec_helper.rb
|
199
|
+
homepage: https://github.com/alu0100699968/LPP_T_5_prct08
|
200
|
+
licenses:
|
201
|
+
- MIT
|
202
|
+
metadata: {}
|
203
|
+
post_install_message:
|
204
|
+
rdoc_options: []
|
205
|
+
require_paths:
|
206
|
+
- lib
|
207
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - '>='
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '0'
|
212
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
213
|
+
requirements:
|
214
|
+
- - '>='
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: '0'
|
217
|
+
requirements: []
|
218
|
+
rubyforge_project:
|
219
|
+
rubygems_version: 2.2.2
|
220
|
+
signing_key:
|
221
|
+
specification_version: 4
|
222
|
+
summary: Gema para realizar tests
|
223
|
+
test_files:
|
224
|
+
- spec/exam_spec.rb
|
225
|
+
- spec/spec_helper.rb
|