nerd_quiz 0.2.1 → 0.2.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.
Files changed (29) hide show
  1. data/NerdPursuit/questions/about_haskell.json +16 -0
  2. data/NerdPursuit/questions/all_the.json +16 -0
  3. data/NerdPursuit/questions/asset_pipeline_in_rails_3.json +16 -0
  4. data/NerdPursuit/questions/binary.json +16 -0
  5. data/NerdPursuit/questions/creatures.json +15 -0
  6. data/NerdPursuit/questions/{fastes_sorting_algorithm.json → fastest_sorting_algorithm.json} +2 -2
  7. data/NerdPursuit/questions/gorby.json +16 -0
  8. data/NerdPursuit/questions/haskell_name.json +16 -0
  9. data/NerdPursuit/questions/identity_map_in_rails_3.json +16 -0
  10. data/NerdPursuit/questions/inherit_from_how_many.json +16 -0
  11. data/NerdPursuit/questions/{method_used_for_comparisions.json → method_used_for_comparisons.json} +0 -0
  12. data/NerdPursuit/questions/mixins_in_call_chain.json +16 -0
  13. data/NerdPursuit/questions/nyan.json +16 -0
  14. data/NerdPursuit/questions/r_correlation.json +16 -0
  15. data/NerdPursuit/questions/r_variance.json +16 -0
  16. data/NerdPursuit/questions/r_vector.json +16 -0
  17. data/NerdPursuit/questions/rack.json +16 -0
  18. data/NerdPursuit/questions/regex_globals.json +16 -0
  19. data/NerdPursuit/questions/ruby_goto.json +16 -0
  20. data/NerdPursuit/questions/ruby_parser.json +16 -0
  21. data/NerdPursuit/questions/sinatra.json +16 -0
  22. data/NerdPursuit/questions/sort_algorithm_dances.json +16 -0
  23. data/NerdPursuit/questions/whos_mustache_is_awesome.json +16 -0
  24. data/lib/nerd_quiz/version.rb +1 -1
  25. data/nerd_quiz.gemspec +196 -2
  26. metadata +32 -14
  27. data/NerdPursuit/questions/array_all_but_the_first_and_last .json +0 -15
  28. data/NerdPursuit/questions/array_get_and remove_first_element.json +0 -15
  29. data/NerdPursuit/questions/array_get_and remove_last_element.json +0 -15
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "haskell",
3
+ "category": "programming",
4
+ "nerd_level": 1,
5
+ "text":"What is Haskell?",
6
+ "a1": "An object oriented language",
7
+ "a2": "A functional programming language",
8
+ "a3": "A logical programming language",
9
+ "a4": "An imperative programming language",
10
+ "right_answer":"a2",
11
+ "created_at": "2012-04-29",
12
+ "creator": "Lucas Dohmen",
13
+ "creator_github": "moonglum",
14
+ "creator_twitter": "moonbeamlabs"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "category": "culture",
3
+ "sub_category": "culture",
4
+ "nerd_level": 2,
5
+ "text":"Which meme picture is appropriate for FIX ALL THE BUGS?",
6
+ "a1": "Success Kid",
7
+ "a2": "Trollface",
8
+ "a3": "Stick Figure with Broom",
9
+ "a4": "Fry from Futurama",
10
+ "right_answer":"a3",
11
+ "created_at": "2011-06-07",
12
+ "creator": "moonglum",
13
+ "creator_twitter": "moonbeamlabs",
14
+ "creator_github": "moonglum"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "rails",
3
+ "category": "backend",
4
+ "nerd_level": 3,
5
+ "text": "Rails 3.1 introduced:",
6
+ "a1": "The asset pipeline",
7
+ "a2": "The asset derrick",
8
+ "a3": "DataMapper",
9
+ "a4": "Sinatra",
10
+ "right_answer": "a1",
11
+ "created_at": "2012-04-29",
12
+ "creator": "Felix @thegcat",
13
+ "creator_github": "thegcat",
14
+ "creator_twitter": "thegcat"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 3,
5
+ "text":"what is the result of 11 ^ 3",
6
+ "a1": "7",
7
+ "a2": "8",
8
+ "a3": "9",
9
+ "a4": "14",
10
+ "right_answer":"a2",
11
+ "created_at": "2012-04-28",
12
+ "creator": "Daniel Harrington",
13
+ "creator_github": "rubiii",
14
+ "creator_twitter": "rubiii"
15
+ }
16
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "question": {
3
+ "nerd_level": 3,
4
+ "sub_category": "culture",
5
+ "category": "culture",
6
+ "text": "The title of the c64 classic CREATURES stands for...",
7
+ "a1": "Crafty Reasonable External Abbreviations Top Ugly Resident Evil Speedboats",
8
+ "a2": "Creatures Rule Earth And The Terror Unleashes Raging Evil Slime",
9
+ "a3": "Cylons Reach Earth And The Universe Riots Each Star",
10
+ "a4": "Clyde Radcliff Exterminates All The Unfriendly Repulsive Earthridden Slime",
11
+ "right_answer": "a4",
12
+ "created_at": "2012-04-29",
13
+ "creator": "Tobias Eilert"
14
+ }
15
+ }
@@ -5,9 +5,9 @@
5
5
  "text":"Which one is the fastest sorting algorithm?",
6
6
  "a1": "Selection Sort",
7
7
  "a2": "Quick Sort",
8
- "a3": "Bubble Sort",
8
+ "a3": "Merge Sort",
9
9
  "a4": "All the same",
10
- "right_answer":"a2",
10
+ "right_answer":"a3",
11
11
  "created_at": "2011-06-20",
12
12
  "creator": "eray"
13
13
  }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "culture",
4
+ "nerd_level": 5,
5
+ "text": "Gorbachev Thunderhorse is",
6
+ "a1": "@tendermeat's dog",
7
+ "a2": "@tenderlove's cat",
8
+ "a3": "a USSR rock idol",
9
+ "a4": "a lightning fast string parser",
10
+ "right_answer": "a2",
11
+ "created_at": "2012-04-29",
12
+ "creator": "Felix @thegcat",
13
+ "creator_github": "thegcat",
14
+ "creator_twitter": "thegcat"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "haskell",
3
+ "category": "programming",
4
+ "nerd_level": 2,
5
+ "text":"Haskell is named after?",
6
+ "a1": "Haskell Carlson",
7
+ "a2": "General Haskell",
8
+ "a3": "Haskell Curry",
9
+ "a4": "H.A. Skell",
10
+ "right_answer":"a3",
11
+ "created_at": "2012-04-29",
12
+ "creator": "Lucas Dohmen",
13
+ "creator_github": "moonglum",
14
+ "creator_twitter": "moonbeamlabs"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "rails",
3
+ "category": "backend",
4
+ "nerd_level": 4,
5
+ "text": "The Identity Map introduced to ActiveRecord in Rails 3.1:",
6
+ "a1": "Adds a standard way to store user identities",
7
+ "a2": "Allows for easy multi-tenant Web Apps",
8
+ "a3": "Provides an interface to system keychains",
9
+ "a4": "Keeps a map of instantiated records to avoid refetching them again",
10
+ "right_answer": "a4",
11
+ "created_at": "2012-05-03",
12
+ "creator": "Felix @thegcat",
13
+ "creator_github": "thegcat",
14
+ "creator_twitter": "thegcat"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 2,
5
+ "text": "Up to how many classes can a ruby class inherit from?",
6
+ "a1": "1",
7
+ "a2": "2",
8
+ "a3": "42",
9
+ "a4": "∞",
10
+ "right_answer": "a1",
11
+ "created_at": "2012-04-29",
12
+ "creator": "Felix @thegcat",
13
+ "creator_github": "thegcat",
14
+ "creator_twitter": "thegcat"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 4,
5
+ "text": "Where in the call chain do included modules get inserted?",
6
+ "a1": "Before the class",
7
+ "a2": "Directly after the class (before other modules)",
8
+ "a3": "Directly before the superclass (after other modules)",
9
+ "a4": "At the very end of the call chain",
10
+ "right_answer": "a2",
11
+ "created_at": "2012-04-29",
12
+ "creator": "Felix @thegcat",
13
+ "creator_github": "thegcat",
14
+ "creator_twitter": "thegcat"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "culture",
3
+ "category": "culture",
4
+ "nerd_level": 1,
5
+ "text": "Nyan…",
6
+ "a1": "dog!",
7
+ "a2": "cat!",
8
+ "a3": "mouse!",
9
+ "a4": "unicorn!",
10
+ "right_answer": "a2",
11
+ "created_at": "2012-04-29",
12
+ "creator": "Felix @thegcat",
13
+ "creator_github": "thegcat",
14
+ "creator_twitter": "thegcat"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "category": "programming",
3
+ "sub_category": "data",
4
+ "nerd_level": 2,
5
+ "text":"How can you compute (in R) the correlation coefficient of the vectors A and B?",
6
+ "a1": "corr(A,B);",
7
+ "a2": "cor(A+B)",
8
+ "a3": "cor(A,B)",
9
+ "a4": "cor(A:B)",
10
+ "right_answer":"a3",
11
+ "created_at": "2012-04-29",
12
+ "creator": "DonSchado",
13
+ "creator_twitter": "donschado",
14
+ "creator_github": "donschado"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "category": "programming",
3
+ "sub_category": "data",
4
+ "nerd_level": 3,
5
+ "text":"Do you speak R? Given you have an vector Y. What's the result of 'var(Y)'?",
6
+ "a1": "Deletes Y and set it as empty variable",
7
+ "a2": "Calculates sample variance",
8
+ "a3": "Y is in global scope",
9
+ "a4": "There is no var function in R",
10
+ "right_answer":"a2",
11
+ "created_at": "2012-04-29",
12
+ "creator": "DonSchado",
13
+ "creator_twitter": "donschado",
14
+ "creator_github": "donschado"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "category": "programming",
3
+ "sub_category": "data",
4
+ "nerd_level": 1,
5
+ "text":"Do you speak R? What's the result of 'x <- c(1,2,3)'?",
6
+ "a1": "nothing... the syntax is not valid",
7
+ "a2": "three variables from x1 to x3",
8
+ "a3": "x = 6 (the sum of the digits)",
9
+ "a4": "creates a vector x",
10
+ "right_answer":"a4",
11
+ "created_at": "2012-04-29",
12
+ "creator": "DonSchado",
13
+ "creator_twitter": "donschado",
14
+ "creator_github": "donschado"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 1,
5
+ "text": "What is rack?",
6
+ "a1": "Boobs!",
7
+ "a2": "A webserver interface",
8
+ "a3": "A storage interface",
9
+ "a4": "A linked list implementation",
10
+ "right_answer": "a2",
11
+ "created_at": "2012-04-29",
12
+ "creator": "Felix @thegcat",
13
+ "creator_github": "thegcat",
14
+ "creator_twitter": "thegcat"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 2,
5
+ "text":"'hola_senor' =~ /(.*)_(.*)/",
6
+ "a1": "$0 is 'hola'",
7
+ "a2": "$1 is 'hola'",
8
+ "a3": "$2 is 'hola'",
9
+ "a4": "$3 is 'senor'",
10
+ "right_answer":"a1",
11
+ "created_at": "2012-04-28",
12
+ "creator": "Daniel Harrington",
13
+ "creator_github": "rubiii",
14
+ "creator_twitter": "rubiii"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 3,
5
+ "text": "Does ruby support goto statements?",
6
+ "a1": "No",
7
+ "a2": "Only on Christmas Days with a full moon",
8
+ "a3": "Only on YARV compiled with the joke option set",
9
+ "a4": "lolwhat goto? gtfo now, kthxbye!",
10
+ "right_answer": "a3",
11
+ "created_at": "2012-04-29",
12
+ "creator": "Felix @thegcat",
13
+ "creator_github": "thegcat",
14
+ "creator_twitter": "thegcat"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 4,
5
+ "text":"foo = :nups if false; foo",
6
+ "a1": "foo is :nups",
7
+ "a2": "foo is undefined",
8
+ "a3": "raises a NameError",
9
+ "a4": "foo is nil",
10
+ "right_answer":"a4",
11
+ "created_at": "2012-04-28",
12
+ "creator": "Daniel Harrington",
13
+ "creator_github": "rubiii",
14
+ "creator_twitter": "rubiii"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "backend",
4
+ "nerd_level": 2,
5
+ "text": "Who is the current maintainer of Sinatra?",
6
+ "a1": "Konstantin Haase",
7
+ "a2": "Werner von Schmidt",
8
+ "a3": "Guido van Rossum",
9
+ "a4": "Aaron Petersen",
10
+ "right_answer": "a1",
11
+ "created_at": "2012-04-29",
12
+ "creator": "Felix @thegcat",
13
+ "creator_github": "thegcat",
14
+ "creator_twitter": "thegcat"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "culture",
3
+ "category": "culture",
4
+ "nerd_level": 5,
5
+ "text": "The sort algorithms as folk dances were recorded in:",
6
+ "a1": "Hungary",
7
+ "a2": "Romania",
8
+ "a3": "Bulgaria",
9
+ "a4": "Moldova",
10
+ "right_answer": "a2",
11
+ "created_at": "2012-04-30",
12
+ "creator": "Felix @thegcat",
13
+ "creator_github": "thegcat",
14
+ "creator_twitter": "thegcat"
15
+ }
16
+ }
@@ -0,0 +1,16 @@
1
+ { "question" : {
2
+ "sub_category": "ruby",
3
+ "category": "culture",
4
+ "nerd_level": 4,
5
+ "text": "Who has an awesome mustache?",
6
+ "a1": "Sven Fuchs",
7
+ "a2": "Corey Haines",
8
+ "a3": "Aaron Patterson",
9
+ "a4": "Monty Burns",
10
+ "right_answer": "a1",
11
+ "created_at": "2012-04-29",
12
+ "creator": "Felix @thegcat",
13
+ "creator_github": "thegcat",
14
+ "creator_twitter": "thegcat"
15
+ }
16
+ }
@@ -1,3 +1,3 @@
1
1
  module NerdQuiz
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -37,8 +37,202 @@ Gem::Specification.new do |s|
37
37
  "spec/nerd_quiz/scorecard_spec.rb",
38
38
  "spec/spec_helper.rb",
39
39
  # `ls NerdPursuit/questions/*.json`.split("\n")
40
- "NerdPursuit/questions/2_seconds.json", "NerdPursuit/questions/HTCPCP.json", "NerdPursuit/questions/about_ruby.json", "NerdPursuit/questions/absolute_superclass_1.8.json", "NerdPursuit/questions/absolute_superclass_1.9.json", "NerdPursuit/questions/active_record_base.json", "NerdPursuit/questions/all_ur_base.json", "NerdPursuit/questions/answer_to_everything.json", "NerdPursuit/questions/array_all_but_the_first.json", "NerdPursuit/questions/array_all_but_the_first_and_last .json", "NerdPursuit/questions/array_all_but_the_last.json", "NerdPursuit/questions/array_ampersand.json", "NerdPursuit/questions/array_get_and remove_first_element.json", "NerdPursuit/questions/array_get_and remove_last_element.json", "NerdPursuit/questions/array_pipe.json", "NerdPursuit/questions/array_splat.json", "NerdPursuit/questions/array_to_csv_string.json", "NerdPursuit/questions/attribute_selectors.json", "NerdPursuit/questions/background_image.json", "NerdPursuit/questions/backticks_in_ruby.json", "NerdPursuit/questions/base_object.json", "NerdPursuit/questions/best_language.json", "NerdPursuit/questions/bind.json", "NerdPursuit/questions/bindtypesignature.json", "NerdPursuit/questions/bitwise_and.json", "NerdPursuit/questions/bitwise_or.json", "NerdPursuit/questions/chrome_v8.json", "NerdPursuit/questions/class_inheritance.json", "NerdPursuit/questions/club_mate_caffeine.json", "NerdPursuit/questions/collect_alternative.json", "NerdPursuit/questions/comparsion.json", "NerdPursuit/questions/constants.json", "NerdPursuit/questions/controller_action.json", "NerdPursuit/questions/date_format_month.json", "NerdPursuit/questions/divmod.json", "NerdPursuit/questions/emails.json", "NerdPursuit/questions/encoding.json", "NerdPursuit/questions/enumerable.json", "NerdPursuit/questions/equality.json", "NerdPursuit/questions/falsy.json", "NerdPursuit/questions/fastes_sorting_algorithm.json", "NerdPursuit/questions/fizzbuzz.json", "NerdPursuit/questions/float_left.json", "NerdPursuit/questions/folders.json", "NerdPursuit/questions/fps.json", "NerdPursuit/questions/fptr.json", "NerdPursuit/questions/fun_with_brackets.json", "NerdPursuit/questions/garbarge_collector_in_19.json", "NerdPursuit/questions/global_variable_character.json", "NerdPursuit/questions/half_a_byte.json", "NerdPursuit/questions/hash_with_indifferent_access.json", "NerdPursuit/questions/hexadecimal_code.json", "NerdPursuit/questions/how_can_you_access_the_data_pas.json", "NerdPursuit/questions/how_do_you_specify_html5_doctyp.json", "NerdPursuit/questions/how_do_you_use_multiple_box_sha.json", "NerdPursuit/questions/how_is_ruby_licensed.json", "NerdPursuit/questions/how_many_gems.json", "NerdPursuit/questions/how_many_pypi_packages.json", "NerdPursuit/questions/how_to_concatenate_list_python.json", "NerdPursuit/questions/how_to_delete_variable_python.json", "NerdPursuit/questions/how_to_indent_python.json", "NerdPursuit/questions/how_to_open_python_main.json", "NerdPursuit/questions/img_tag.json", "NerdPursuit/questions/instance_exec.json", "NerdPursuit/questions/invited-php.json", "NerdPursuit/questions/jquery_sizzle.json", "NerdPursuit/questions/json.json", "NerdPursuit/questions/jsonp.json", "NerdPursuit/questions/kanji_converter.json", "NerdPursuit/questions/kernel-sprintf-2.json", "NerdPursuit/questions/kernel-sprintf.json", "NerdPursuit/questions/kernel.json", "NerdPursuit/questions/last_cmd_sub.json", "NerdPursuit/questions/last_directory.json", "NerdPursuit/questions/laziness.json", "NerdPursuit/questions/lazy.json", "NerdPursuit/questions/list_comprehension_python.json", "NerdPursuit/questions/map_parseInt.json", "NerdPursuit/questions/matz.json", "NerdPursuit/questions/media.json", "NerdPursuit/questions/method_used_for_comparisions.json", "NerdPursuit/questions/min_max_quantifier.json", "NerdPursuit/questions/mixins_are_what.json", "NerdPursuit/questions/monads.json", "NerdPursuit/questions/monadsvsmonoids.json", "NerdPursuit/questions/monoids.json", "NerdPursuit/questions/mutable_data_type.json", "NerdPursuit/questions/name_of_python_module_rep.json", "NerdPursuit/questions/negative_look_ahead.json", "NerdPursuit/questions/new_database.json", "NerdPursuit/questions/new_lambda_calling_syntax.json", "NerdPursuit/questions/new_lambda_constructing_syntax.json", "NerdPursuit/questions/nil.json", "NerdPursuit/questions/nil_id.json", "NerdPursuit/questions/nilclass.json", "NerdPursuit/questions/nodetype_of_text_node.json", "NerdPursuit/questions/numeric_types.json", "NerdPursuit/questions/ook_ook.json", "NerdPursuit/questions/optional_html_tags.json", "NerdPursuit/questions/oreilly_Antelope.json", "NerdPursuit/questions/oreilly_Camel.json", "NerdPursuit/questions/oreilly_Cow.json", "NerdPursuit/questions/oreilly_Insects.json", "NerdPursuit/questions/oreilly_Octopus.json", "NerdPursuit/questions/oreilly_Pidgeon.json", "NerdPursuit/questions/oreilly_Rat.json", "NerdPursuit/questions/oreilly_Rhinocerous.json", "NerdPursuit/questions/oreilly_Salmon.json", "NerdPursuit/questions/pluralize_person.json", "NerdPursuit/questions/png.json", "NerdPursuit/questions/position_fixed_support.json", "NerdPursuit/questions/position_property.json", "NerdPursuit/questions/prediction_gates.json", "NerdPursuit/questions/prefix_last_command.json", "NerdPursuit/questions/prime.json", "NerdPursuit/questions/private_method_in_ruby.json", "NerdPursuit/questions/protected_method_in_ruby.json", "NerdPursuit/questions/ps_save_for_web.json", "NerdPursuit/questions/quo.json", "NerdPursuit/questions/rails_first_shown.json", "NerdPursuit/questions/rails_inventor.json", "NerdPursuit/questions/rake_about.json", "NerdPursuit/questions/ranges_three_dots.json", "NerdPursuit/questions/release_date.json", "NerdPursuit/questions/rest.json", "NerdPursuit/questions/rest_about.json", "NerdPursuit/questions/return_value_or.json", "NerdPursuit/questions/roses.json", "NerdPursuit/questions/rspec_controller_render_views.json", "NerdPursuit/questions/run_time_of_bst.json", "NerdPursuit/questions/same_origin_policy.json", "NerdPursuit/questions/screen_image_resolution.json", "NerdPursuit/questions/simple_format.json", "NerdPursuit/questions/size_t_header.json", "NerdPursuit/questions/spaceship_operator.json", "NerdPursuit/questions/square_numbers_in_list.json", "NerdPursuit/questions/strict_doctype.json", "NerdPursuit/questions/string_clean_whitespace.json", "NerdPursuit/questions/string_object_coercion_internals.json", "NerdPursuit/questions/sum_things_up.json", "NerdPursuit/questions/symbol_identity_01.json", "NerdPursuit/questions/symbol_identity_02.json", "NerdPursuit/questions/symbol_identity_03.json", "NerdPursuit/questions/symbol_string_ids.json", "NerdPursuit/questions/symbols.json", "NerdPursuit/questions/the_cake.json", "NerdPursuit/questions/the_difference_between_and_operators.json", "NerdPursuit/questions/to_which_year_marty_mcfly_wants.json", "NerdPursuit/questions/trace_something_in_as3.json", "NerdPursuit/questions/typeof_arguments.json", "NerdPursuit/questions/unless_wtf.json", "NerdPursuit/questions/valid_function_expression.json", "NerdPursuit/questions/weakref.json", "NerdPursuit/questions/what_did_matz_say_about_ruby.json", "NerdPursuit/questions/what_do_array.json", "NerdPursuit/questions/what_do_string.json", "NerdPursuit/questions/what_does_gil_stands_for.json", "NerdPursuit/questions/what_does_negate_regexp_operator_do.json", "NerdPursuit/questions/what_is_a_mixin.json", "NerdPursuit/questions/what_is_a_traditional_vulcan_sa.json", "NerdPursuit/questions/what_is_node_js.json", "NerdPursuit/questions/what_s_4_2.json", "NerdPursuit/questions/what_s_typeof_null.json", "NerdPursuit/questions/when_life_gives_you_lemons.json", "NerdPursuit/questions/where_are_the_characters_of_daw.json", "NerdPursuit/questions/which_character_in_star_trek_se.json", "NerdPursuit/questions/which_is_not_a_python_framework.json", "NerdPursuit/questions/which_version_of_ecmascript_doe.json", "NerdPursuit/questions/who_created_jquery.json", "NerdPursuit/questions/who_created_python.json", "NerdPursuit/questions/who_invented_node_js.json", "NerdPursuit/questions/who_is_the_first_character_to_b.json", "NerdPursuit/questions/yo_dawg.json", "NerdPursuit/questions/z-index_property.json"
41
- ]
40
+ "NerdPursuit/questions/2_seconds.json",
41
+ "NerdPursuit/questions/HTCPCP.json",
42
+ "NerdPursuit/questions/about_haskell.json",
43
+ "NerdPursuit/questions/about_ruby.json",
44
+ "NerdPursuit/questions/absolute_superclass_1.8.json",
45
+ "NerdPursuit/questions/absolute_superclass_1.9.json",
46
+ "NerdPursuit/questions/active_record_base.json",
47
+ "NerdPursuit/questions/all_the.json",
48
+ "NerdPursuit/questions/all_ur_base.json",
49
+ "NerdPursuit/questions/answer_to_everything.json",
50
+ "NerdPursuit/questions/array_all_but_the_first.json",
51
+ #"NerdPursuit/questions/array_all_but_the_first_and_last .json",
52
+ "NerdPursuit/questions/array_all_but_the_last.json",
53
+ "NerdPursuit/questions/array_ampersand.json",
54
+ #"NerdPursuit/questions/array_get_and remove_first_element.json",
55
+ #"NerdPursuit/questions/array_get_and remove_last_element.json",
56
+ "NerdPursuit/questions/array_pipe.json",
57
+ "NerdPursuit/questions/array_splat.json",
58
+ "NerdPursuit/questions/array_to_csv_string.json",
59
+ "NerdPursuit/questions/asset_pipeline_in_rails_3.json",
60
+ "NerdPursuit/questions/attribute_selectors.json",
61
+ "NerdPursuit/questions/background_image.json",
62
+ "NerdPursuit/questions/backticks_in_ruby.json",
63
+ "NerdPursuit/questions/base_object.json",
64
+ "NerdPursuit/questions/best_language.json",
65
+ "NerdPursuit/questions/binary.json",
66
+ "NerdPursuit/questions/bind.json",
67
+ "NerdPursuit/questions/bindtypesignature.json",
68
+ "NerdPursuit/questions/bitwise_and.json",
69
+ "NerdPursuit/questions/bitwise_or.json",
70
+ "NerdPursuit/questions/chrome_v8.json",
71
+ "NerdPursuit/questions/class_inheritance.json",
72
+ "NerdPursuit/questions/club_mate_caffeine.json",
73
+ "NerdPursuit/questions/collect_alternative.json",
74
+ "NerdPursuit/questions/comparsion.json",
75
+ "NerdPursuit/questions/constants.json",
76
+ "NerdPursuit/questions/controller_action.json",
77
+ "NerdPursuit/questions/creatures.json",
78
+ "NerdPursuit/questions/date_format_month.json",
79
+ "NerdPursuit/questions/divmod.json",
80
+ "NerdPursuit/questions/emails.json",
81
+ "NerdPursuit/questions/encoding.json",
82
+ "NerdPursuit/questions/enumerable.json",
83
+ "NerdPursuit/questions/equality.json",
84
+ "NerdPursuit/questions/falsy.json",
85
+ "NerdPursuit/questions/fastest_sorting_algorithm.json",
86
+ "NerdPursuit/questions/fizzbuzz.json",
87
+ "NerdPursuit/questions/float_left.json",
88
+ "NerdPursuit/questions/folders.json",
89
+ "NerdPursuit/questions/fps.json",
90
+ "NerdPursuit/questions/fptr.json",
91
+ "NerdPursuit/questions/fun_with_brackets.json",
92
+ "NerdPursuit/questions/garbarge_collector_in_19.json",
93
+ "NerdPursuit/questions/global_variable_character.json",
94
+ "NerdPursuit/questions/gorby.json",
95
+ "NerdPursuit/questions/half_a_byte.json",
96
+ "NerdPursuit/questions/hash_with_indifferent_access.json",
97
+ "NerdPursuit/questions/haskell_name.json",
98
+ "NerdPursuit/questions/hexadecimal_code.json",
99
+ "NerdPursuit/questions/how_can_you_access_the_data_pas.json",
100
+ "NerdPursuit/questions/how_do_you_specify_html5_doctyp.json",
101
+ "NerdPursuit/questions/how_do_you_use_multiple_box_sha.json",
102
+ "NerdPursuit/questions/how_is_ruby_licensed.json",
103
+ "NerdPursuit/questions/how_many_gems.json",
104
+ "NerdPursuit/questions/how_many_pypi_packages.json",
105
+ "NerdPursuit/questions/how_to_concatenate_list_python.json",
106
+ "NerdPursuit/questions/how_to_delete_variable_python.json",
107
+ "NerdPursuit/questions/how_to_indent_python.json",
108
+ "NerdPursuit/questions/how_to_open_python_main.json",
109
+ "NerdPursuit/questions/identity_map_in_rails_3.json",
110
+ "NerdPursuit/questions/img_tag.json",
111
+ "NerdPursuit/questions/inherit_from_how_many.json",
112
+ "NerdPursuit/questions/instance_exec.json",
113
+ "NerdPursuit/questions/invited-php.json",
114
+ "NerdPursuit/questions/jquery_sizzle.json",
115
+ "NerdPursuit/questions/json.json",
116
+ "NerdPursuit/questions/jsonp.json",
117
+ "NerdPursuit/questions/kanji_converter.json",
118
+ "NerdPursuit/questions/kernel-sprintf-2.json",
119
+ "NerdPursuit/questions/kernel-sprintf.json",
120
+ "NerdPursuit/questions/kernel.json",
121
+ "NerdPursuit/questions/last_cmd_sub.json",
122
+ "NerdPursuit/questions/last_directory.json",
123
+ "NerdPursuit/questions/laziness.json",
124
+ "NerdPursuit/questions/lazy.json",
125
+ "NerdPursuit/questions/list_comprehension_python.json",
126
+ "NerdPursuit/questions/map_parseInt.json",
127
+ "NerdPursuit/questions/matz.json",
128
+ "NerdPursuit/questions/media.json",
129
+ "NerdPursuit/questions/method_used_for_comparisons.json",
130
+ "NerdPursuit/questions/min_max_quantifier.json",
131
+ "NerdPursuit/questions/mixins_are_what.json",
132
+ "NerdPursuit/questions/mixins_in_call_chain.json",
133
+ "NerdPursuit/questions/monads.json",
134
+ "NerdPursuit/questions/monadsvsmonoids.json",
135
+ "NerdPursuit/questions/monoids.json",
136
+ "NerdPursuit/questions/mutable_data_type.json",
137
+ "NerdPursuit/questions/name_of_python_module_rep.json",
138
+ "NerdPursuit/questions/negative_look_ahead.json",
139
+ "NerdPursuit/questions/new_database.json",
140
+ "NerdPursuit/questions/new_lambda_calling_syntax.json",
141
+ "NerdPursuit/questions/new_lambda_constructing_syntax.json",
142
+ "NerdPursuit/questions/nil.json",
143
+ "NerdPursuit/questions/nil_id.json",
144
+ "NerdPursuit/questions/nilclass.json",
145
+ "NerdPursuit/questions/nodetype_of_text_node.json",
146
+ "NerdPursuit/questions/numeric_types.json",
147
+ "NerdPursuit/questions/nyan.json",
148
+ "NerdPursuit/questions/ook_ook.json",
149
+ "NerdPursuit/questions/optional_html_tags.json",
150
+ "NerdPursuit/questions/oreilly_Antelope.json",
151
+ "NerdPursuit/questions/oreilly_Camel.json",
152
+ "NerdPursuit/questions/oreilly_Cow.json",
153
+ "NerdPursuit/questions/oreilly_Insects.json",
154
+ "NerdPursuit/questions/oreilly_Octopus.json",
155
+ "NerdPursuit/questions/oreilly_Pidgeon.json",
156
+ "NerdPursuit/questions/oreilly_Rat.json",
157
+ "NerdPursuit/questions/oreilly_Rhinocerous.json",
158
+ "NerdPursuit/questions/oreilly_Salmon.json",
159
+ "NerdPursuit/questions/pluralize_person.json",
160
+ "NerdPursuit/questions/png.json",
161
+ "NerdPursuit/questions/position_fixed_support.json",
162
+ "NerdPursuit/questions/position_property.json",
163
+ "NerdPursuit/questions/prediction_gates.json",
164
+ "NerdPursuit/questions/prefix_last_command.json",
165
+ "NerdPursuit/questions/prime.json",
166
+ "NerdPursuit/questions/private_method_in_ruby.json",
167
+ "NerdPursuit/questions/protected_method_in_ruby.json",
168
+ "NerdPursuit/questions/ps_save_for_web.json",
169
+ "NerdPursuit/questions/quo.json",
170
+ "NerdPursuit/questions/r_correlation.json",
171
+ "NerdPursuit/questions/r_variance.json",
172
+ "NerdPursuit/questions/r_vector.json",
173
+ "NerdPursuit/questions/rack.json",
174
+ "NerdPursuit/questions/rails_first_shown.json",
175
+ "NerdPursuit/questions/rails_inventor.json",
176
+ "NerdPursuit/questions/rake_about.json",
177
+ "NerdPursuit/questions/ranges_three_dots.json",
178
+ "NerdPursuit/questions/regex_globals.json",
179
+ "NerdPursuit/questions/release_date.json",
180
+ "NerdPursuit/questions/rest.json",
181
+ "NerdPursuit/questions/rest_about.json",
182
+ "NerdPursuit/questions/return_value_or.json",
183
+ "NerdPursuit/questions/roses.json",
184
+ "NerdPursuit/questions/rspec_controller_render_views.json",
185
+ "NerdPursuit/questions/ruby_goto.json",
186
+ "NerdPursuit/questions/ruby_parser.json",
187
+ "NerdPursuit/questions/run_time_of_bst.json",
188
+ "NerdPursuit/questions/same_origin_policy.json",
189
+ "NerdPursuit/questions/screen_image_resolution.json",
190
+ "NerdPursuit/questions/simple_format.json",
191
+ "NerdPursuit/questions/sinatra.json",
192
+ "NerdPursuit/questions/size_t_header.json",
193
+ "NerdPursuit/questions/sort_algorithm_dances.json",
194
+ "NerdPursuit/questions/spaceship_operator.json",
195
+ "NerdPursuit/questions/square_numbers_in_list.json",
196
+ "NerdPursuit/questions/strict_doctype.json",
197
+ "NerdPursuit/questions/string_clean_whitespace.json",
198
+ "NerdPursuit/questions/string_object_coercion_internals.json",
199
+ "NerdPursuit/questions/sum_things_up.json",
200
+ "NerdPursuit/questions/symbol_identity_01.json",
201
+ "NerdPursuit/questions/symbol_identity_02.json",
202
+ "NerdPursuit/questions/symbol_identity_03.json",
203
+ "NerdPursuit/questions/symbol_string_ids.json",
204
+ "NerdPursuit/questions/symbols.json",
205
+ "NerdPursuit/questions/the_cake.json",
206
+ "NerdPursuit/questions/the_difference_between_and_operators.json",
207
+ "NerdPursuit/questions/to_which_year_marty_mcfly_wants.json",
208
+ "NerdPursuit/questions/trace_something_in_as3.json",
209
+ "NerdPursuit/questions/typeof_arguments.json",
210
+ "NerdPursuit/questions/unless_wtf.json",
211
+ "NerdPursuit/questions/valid_function_expression.json",
212
+ "NerdPursuit/questions/weakref.json",
213
+ "NerdPursuit/questions/what_did_matz_say_about_ruby.json",
214
+ "NerdPursuit/questions/what_do_array.json",
215
+ "NerdPursuit/questions/what_do_string.json",
216
+ "NerdPursuit/questions/what_does_gil_stands_for.json",
217
+ "NerdPursuit/questions/what_does_negate_regexp_operator_do.json",
218
+ "NerdPursuit/questions/what_is_a_mixin.json",
219
+ "NerdPursuit/questions/what_is_a_traditional_vulcan_sa.json",
220
+ "NerdPursuit/questions/what_is_node_js.json",
221
+ "NerdPursuit/questions/what_s_4_2.json",
222
+ "NerdPursuit/questions/what_s_typeof_null.json",
223
+ "NerdPursuit/questions/when_life_gives_you_lemons.json",
224
+ "NerdPursuit/questions/where_are_the_characters_of_daw.json",
225
+ "NerdPursuit/questions/which_character_in_star_trek_se.json",
226
+ "NerdPursuit/questions/which_is_not_a_python_framework.json",
227
+ "NerdPursuit/questions/which_version_of_ecmascript_doe.json",
228
+ "NerdPursuit/questions/who_created_jquery.json",
229
+ "NerdPursuit/questions/who_created_python.json",
230
+ "NerdPursuit/questions/who_invented_node_js.json",
231
+ "NerdPursuit/questions/who_is_the_first_character_to_b.json",
232
+ "NerdPursuit/questions/whos_mustache_is_awesome.json",
233
+ "NerdPursuit/questions/yo_dawg.json",
234
+ "NerdPursuit/questions/z-index_property.json"
235
+ ]
42
236
  s.test_files = [".rspec",
43
237
  "spec/nerd_quiz/question_spec.rb",
44
238
  "spec/nerd_quiz/questions_spec.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nerd_quiz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-19 00:00:00.000000000 Z
12
+ date: 2012-12-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: yajl-ruby
16
- requirement: &70271390761360 !ruby/object:Gem::Requirement
16
+ requirement: &70232144694500 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70271390761360
24
+ version_requirements: *70232144694500
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &70271390760620 !ruby/object:Gem::Requirement
27
+ requirement: &70232144692520 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70271390760620
35
+ version_requirements: *70232144692520
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rspec
38
- requirement: &70271390759980 !ruby/object:Gem::Requirement
38
+ requirement: &70232144690020 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70271390759980
46
+ version_requirements: *70232144690020
47
47
  description: Test your nerd skills by answering NerdPursuit questions!
48
48
  email:
49
49
  - sfw@simeonfosterwillbanks.com
@@ -77,26 +77,27 @@ files:
77
77
  - spec/spec_helper.rb
78
78
  - NerdPursuit/questions/2_seconds.json
79
79
  - NerdPursuit/questions/HTCPCP.json
80
+ - NerdPursuit/questions/about_haskell.json
80
81
  - NerdPursuit/questions/about_ruby.json
81
82
  - NerdPursuit/questions/absolute_superclass_1.8.json
82
83
  - NerdPursuit/questions/absolute_superclass_1.9.json
83
84
  - NerdPursuit/questions/active_record_base.json
85
+ - NerdPursuit/questions/all_the.json
84
86
  - NerdPursuit/questions/all_ur_base.json
85
87
  - NerdPursuit/questions/answer_to_everything.json
86
88
  - NerdPursuit/questions/array_all_but_the_first.json
87
- - NerdPursuit/questions/array_all_but_the_first_and_last .json
88
89
  - NerdPursuit/questions/array_all_but_the_last.json
89
90
  - NerdPursuit/questions/array_ampersand.json
90
- - NerdPursuit/questions/array_get_and remove_first_element.json
91
- - NerdPursuit/questions/array_get_and remove_last_element.json
92
91
  - NerdPursuit/questions/array_pipe.json
93
92
  - NerdPursuit/questions/array_splat.json
94
93
  - NerdPursuit/questions/array_to_csv_string.json
94
+ - NerdPursuit/questions/asset_pipeline_in_rails_3.json
95
95
  - NerdPursuit/questions/attribute_selectors.json
96
96
  - NerdPursuit/questions/background_image.json
97
97
  - NerdPursuit/questions/backticks_in_ruby.json
98
98
  - NerdPursuit/questions/base_object.json
99
99
  - NerdPursuit/questions/best_language.json
100
+ - NerdPursuit/questions/binary.json
100
101
  - NerdPursuit/questions/bind.json
101
102
  - NerdPursuit/questions/bindtypesignature.json
102
103
  - NerdPursuit/questions/bitwise_and.json
@@ -108,6 +109,7 @@ files:
108
109
  - NerdPursuit/questions/comparsion.json
109
110
  - NerdPursuit/questions/constants.json
110
111
  - NerdPursuit/questions/controller_action.json
112
+ - NerdPursuit/questions/creatures.json
111
113
  - NerdPursuit/questions/date_format_month.json
112
114
  - NerdPursuit/questions/divmod.json
113
115
  - NerdPursuit/questions/emails.json
@@ -115,7 +117,7 @@ files:
115
117
  - NerdPursuit/questions/enumerable.json
116
118
  - NerdPursuit/questions/equality.json
117
119
  - NerdPursuit/questions/falsy.json
118
- - NerdPursuit/questions/fastes_sorting_algorithm.json
120
+ - NerdPursuit/questions/fastest_sorting_algorithm.json
119
121
  - NerdPursuit/questions/fizzbuzz.json
120
122
  - NerdPursuit/questions/float_left.json
121
123
  - NerdPursuit/questions/folders.json
@@ -124,8 +126,10 @@ files:
124
126
  - NerdPursuit/questions/fun_with_brackets.json
125
127
  - NerdPursuit/questions/garbarge_collector_in_19.json
126
128
  - NerdPursuit/questions/global_variable_character.json
129
+ - NerdPursuit/questions/gorby.json
127
130
  - NerdPursuit/questions/half_a_byte.json
128
131
  - NerdPursuit/questions/hash_with_indifferent_access.json
132
+ - NerdPursuit/questions/haskell_name.json
129
133
  - NerdPursuit/questions/hexadecimal_code.json
130
134
  - NerdPursuit/questions/how_can_you_access_the_data_pas.json
131
135
  - NerdPursuit/questions/how_do_you_specify_html5_doctyp.json
@@ -137,7 +141,9 @@ files:
137
141
  - NerdPursuit/questions/how_to_delete_variable_python.json
138
142
  - NerdPursuit/questions/how_to_indent_python.json
139
143
  - NerdPursuit/questions/how_to_open_python_main.json
144
+ - NerdPursuit/questions/identity_map_in_rails_3.json
140
145
  - NerdPursuit/questions/img_tag.json
146
+ - NerdPursuit/questions/inherit_from_how_many.json
141
147
  - NerdPursuit/questions/instance_exec.json
142
148
  - NerdPursuit/questions/invited-php.json
143
149
  - NerdPursuit/questions/jquery_sizzle.json
@@ -155,9 +161,10 @@ files:
155
161
  - NerdPursuit/questions/map_parseInt.json
156
162
  - NerdPursuit/questions/matz.json
157
163
  - NerdPursuit/questions/media.json
158
- - NerdPursuit/questions/method_used_for_comparisions.json
164
+ - NerdPursuit/questions/method_used_for_comparisons.json
159
165
  - NerdPursuit/questions/min_max_quantifier.json
160
166
  - NerdPursuit/questions/mixins_are_what.json
167
+ - NerdPursuit/questions/mixins_in_call_chain.json
161
168
  - NerdPursuit/questions/monads.json
162
169
  - NerdPursuit/questions/monadsvsmonoids.json
163
170
  - NerdPursuit/questions/monoids.json
@@ -172,6 +179,7 @@ files:
172
179
  - NerdPursuit/questions/nilclass.json
173
180
  - NerdPursuit/questions/nodetype_of_text_node.json
174
181
  - NerdPursuit/questions/numeric_types.json
182
+ - NerdPursuit/questions/nyan.json
175
183
  - NerdPursuit/questions/ook_ook.json
176
184
  - NerdPursuit/questions/optional_html_tags.json
177
185
  - NerdPursuit/questions/oreilly_Antelope.json
@@ -194,21 +202,30 @@ files:
194
202
  - NerdPursuit/questions/protected_method_in_ruby.json
195
203
  - NerdPursuit/questions/ps_save_for_web.json
196
204
  - NerdPursuit/questions/quo.json
205
+ - NerdPursuit/questions/r_correlation.json
206
+ - NerdPursuit/questions/r_variance.json
207
+ - NerdPursuit/questions/r_vector.json
208
+ - NerdPursuit/questions/rack.json
197
209
  - NerdPursuit/questions/rails_first_shown.json
198
210
  - NerdPursuit/questions/rails_inventor.json
199
211
  - NerdPursuit/questions/rake_about.json
200
212
  - NerdPursuit/questions/ranges_three_dots.json
213
+ - NerdPursuit/questions/regex_globals.json
201
214
  - NerdPursuit/questions/release_date.json
202
215
  - NerdPursuit/questions/rest.json
203
216
  - NerdPursuit/questions/rest_about.json
204
217
  - NerdPursuit/questions/return_value_or.json
205
218
  - NerdPursuit/questions/roses.json
206
219
  - NerdPursuit/questions/rspec_controller_render_views.json
220
+ - NerdPursuit/questions/ruby_goto.json
221
+ - NerdPursuit/questions/ruby_parser.json
207
222
  - NerdPursuit/questions/run_time_of_bst.json
208
223
  - NerdPursuit/questions/same_origin_policy.json
209
224
  - NerdPursuit/questions/screen_image_resolution.json
210
225
  - NerdPursuit/questions/simple_format.json
226
+ - NerdPursuit/questions/sinatra.json
211
227
  - NerdPursuit/questions/size_t_header.json
228
+ - NerdPursuit/questions/sort_algorithm_dances.json
212
229
  - NerdPursuit/questions/spaceship_operator.json
213
230
  - NerdPursuit/questions/square_numbers_in_list.json
214
231
  - NerdPursuit/questions/strict_doctype.json
@@ -247,6 +264,7 @@ files:
247
264
  - NerdPursuit/questions/who_created_python.json
248
265
  - NerdPursuit/questions/who_invented_node_js.json
249
266
  - NerdPursuit/questions/who_is_the_first_character_to_b.json
267
+ - NerdPursuit/questions/whos_mustache_is_awesome.json
250
268
  - NerdPursuit/questions/yo_dawg.json
251
269
  - NerdPursuit/questions/z-index_property.json
252
270
  homepage: http://simeonwillbanks.github.com/nerd_quiz/
@@ -270,7 +288,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
270
288
  version: '0'
271
289
  segments:
272
290
  - 0
273
- hash: -61159159520021561
291
+ hash: -3923723494139625719
274
292
  requirements: []
275
293
  rubyforge_project: nerd_quiz
276
294
  rubygems_version: 1.8.11
@@ -1,15 +0,0 @@
1
- {
2
- "question": {
3
- "nerd_level": 3,
4
- "text": "How to get all but the first and last elements of an array.",
5
- "a1": "ary[1..-1]",
6
- "a2": "ary.pop",
7
- "a3": "ary[1...-1]",
8
- "a4": "ary.size-2",
9
- "sub_category": "ruby",
10
- "category": "backend",
11
- "right_answer": "a1",
12
- "creator": "Georg Leciejewski",
13
- "created_at": "2011-06-23"
14
- }
15
- }
@@ -1,15 +0,0 @@
1
- {
2
- "question": {
3
- "nerd_level": 1,
4
- "text": "How to get and remove the first element of an array.",
5
- "a1": "[1,2,3].pop",
6
- "a2": "[1,2,3].shift",
7
- "a3": "[1,2,3].first",
8
- "a4": "[1,2,3].index(1)",
9
- "sub_category": "ruby",
10
- "category": "backend",
11
- "right_answer": "a2",
12
- "creator": "Georg Leciejewski",
13
- "created_at": "2011-06-23"
14
- }
15
- }
@@ -1,15 +0,0 @@
1
- {
2
- "question": {
3
- "nerd_level": 1,
4
- "text": "How to get and remove the last element of an array.",
5
- "a1": "[1,2,3].pop",
6
- "a2": "[1,2,3].last",
7
- "a3": "[1,2,3].shift",
8
- "a4": "[1,2,3].index(3)",
9
- "sub_category": "ruby",
10
- "category": "backend",
11
- "right_answer": "a1",
12
- "creator": "Georg Leciejewski",
13
- "created_at": "2011-06-23"
14
- }
15
- }