resque-pool 0.3.0.beta.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1084) hide show
  1. data/Changelog.md +24 -0
  2. data/README.md +3 -0
  3. data/examples/Gemfile +1 -0
  4. data/examples/Gemfile.lock +57 -44
  5. data/examples/chef_cookbook/templates/default/initd.erb +1 -1
  6. data/features/step_definitions/resque-pool_steps.rb +17 -9
  7. data/features/support/aruba_daemon_support.rb +1 -0
  8. data/features/support/env.rb +1 -1
  9. data/lib/resque/pool/cli.rb +3 -2
  10. data/lib/resque/pool/logging.rb +10 -3
  11. data/lib/resque/pool/pooled_worker.rb +7 -11
  12. data/lib/resque/pool/version.rb +1 -1
  13. data/lib/resque/pool.rb +7 -1
  14. data/man/resque-pool.1 +14 -1
  15. data/man/resque-pool.1.ronn +9 -0
  16. data/man/resque-pool.yml.5 +1 -1
  17. data/resque-pool.gemspec +1 -1
  18. data/tags +33009 -0
  19. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/Gemfile +5 -0
  20. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/History.md +769 -0
  21. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/LICENSE +20 -0
  22. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/README.md +256 -0
  23. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/Rakefile +26 -0
  24. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/build_native_gems.sh +7 -0
  25. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/cucumber.yml +4 -0
  26. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/examples/parse_and_output_json.rb +19 -0
  27. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ar/Makefile +157 -0
  28. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ar/extconf.rb +6 -0
  29. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ar/gherkin_lexer_ar.c +1432 -0
  30. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ar/gherkin_lexer_ar.o +0 -0
  31. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ar/gherkin_lexer_ar.so +0 -0
  32. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_bg/Makefile +157 -0
  33. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_bg/extconf.rb +6 -0
  34. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_bg/gherkin_lexer_bg.c +1655 -0
  35. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_bg/gherkin_lexer_bg.o +0 -0
  36. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_bg/gherkin_lexer_bg.so +0 -0
  37. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ca/Makefile +157 -0
  38. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ca/extconf.rb +6 -0
  39. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ca/gherkin_lexer_ca.c +1581 -0
  40. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ca/gherkin_lexer_ca.o +0 -0
  41. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ca/gherkin_lexer_ca.so +0 -0
  42. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_cs/Makefile +157 -0
  43. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_cs/extconf.rb +6 -0
  44. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_cs/gherkin_lexer_cs.c +1427 -0
  45. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_cs/gherkin_lexer_cs.o +0 -0
  46. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_cs/gherkin_lexer_cs.so +0 -0
  47. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_cy_gb/Makefile +157 -0
  48. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_cy_gb/extconf.rb +6 -0
  49. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.c +1282 -0
  50. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.o +0 -0
  51. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_cy_gb/gherkin_lexer_cy_gb.so +0 -0
  52. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_da/Makefile +157 -0
  53. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_da/extconf.rb +6 -0
  54. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_da/gherkin_lexer_da.c +1298 -0
  55. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_da/gherkin_lexer_da.o +0 -0
  56. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_da/gherkin_lexer_da.so +0 -0
  57. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_de/Makefile +157 -0
  58. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_de/extconf.rb +6 -0
  59. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_de/gherkin_lexer_de.c +1415 -0
  60. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_de/gherkin_lexer_de.o +0 -0
  61. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_de/gherkin_lexer_de.so +0 -0
  62. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en/Makefile +157 -0
  63. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en/extconf.rb +6 -0
  64. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en/gherkin_lexer_en.c +1265 -0
  65. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en/gherkin_lexer_en.o +0 -0
  66. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en/gherkin_lexer_en.so +0 -0
  67. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_au/Makefile +157 -0
  68. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_au/extconf.rb +6 -0
  69. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.c +1223 -0
  70. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.o +0 -0
  71. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_au/gherkin_lexer_en_au.so +0 -0
  72. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_lol/Makefile +157 -0
  73. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_lol/extconf.rb +6 -0
  74. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.c +1177 -0
  75. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.o +0 -0
  76. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_lol/gherkin_lexer_en_lol.so +0 -0
  77. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_pirate/Makefile +157 -0
  78. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_pirate/extconf.rb +6 -0
  79. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.c +1471 -0
  80. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.o +0 -0
  81. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_pirate/gherkin_lexer_en_pirate.so +0 -0
  82. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_scouse/Makefile +157 -0
  83. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_scouse/extconf.rb +6 -0
  84. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.c +1634 -0
  85. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.o +0 -0
  86. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_scouse/gherkin_lexer_en_scouse.so +0 -0
  87. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_tx/Makefile +157 -0
  88. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_tx/extconf.rb +6 -0
  89. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.c +1265 -0
  90. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.o +0 -0
  91. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_en_tx/gherkin_lexer_en_tx.so +0 -0
  92. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_eo/Makefile +157 -0
  93. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_eo/extconf.rb +6 -0
  94. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_eo/gherkin_lexer_eo.c +1241 -0
  95. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_eo/gherkin_lexer_eo.o +0 -0
  96. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_eo/gherkin_lexer_eo.so +0 -0
  97. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_es/Makefile +157 -0
  98. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_es/extconf.rb +6 -0
  99. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_es/gherkin_lexer_es.c +1399 -0
  100. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_es/gherkin_lexer_es.o +0 -0
  101. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_es/gherkin_lexer_es.so +0 -0
  102. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_et/Makefile +157 -0
  103. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_et/extconf.rb +6 -0
  104. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_et/gherkin_lexer_et.c +1236 -0
  105. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_et/gherkin_lexer_et.o +0 -0
  106. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_et/gherkin_lexer_et.so +0 -0
  107. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_fi/Makefile +157 -0
  108. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_fi/extconf.rb +6 -0
  109. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_fi/gherkin_lexer_fi.c +1215 -0
  110. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_fi/gherkin_lexer_fi.o +0 -0
  111. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_fi/gherkin_lexer_fi.so +0 -0
  112. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_fr/Makefile +157 -0
  113. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_fr/extconf.rb +6 -0
  114. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_fr/gherkin_lexer_fr.c +1493 -0
  115. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_fr/gherkin_lexer_fr.o +0 -0
  116. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_fr/gherkin_lexer_fr.so +0 -0
  117. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_he/Makefile +157 -0
  118. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_he/extconf.rb +6 -0
  119. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_he/gherkin_lexer_he.c +1374 -0
  120. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_he/gherkin_lexer_he.o +0 -0
  121. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_he/gherkin_lexer_he.so +0 -0
  122. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_hr/Makefile +157 -0
  123. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_hr/extconf.rb +6 -0
  124. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_hr/gherkin_lexer_hr.c +1323 -0
  125. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_hr/gherkin_lexer_hr.o +0 -0
  126. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_hr/gherkin_lexer_hr.so +0 -0
  127. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_hu/Makefile +157 -0
  128. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_hu/extconf.rb +6 -0
  129. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_hu/gherkin_lexer_hu.c +1376 -0
  130. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_hu/gherkin_lexer_hu.o +0 -0
  131. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_hu/gherkin_lexer_hu.so +0 -0
  132. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_id/Makefile +157 -0
  133. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_id/extconf.rb +6 -0
  134. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_id/gherkin_lexer_id.c +1208 -0
  135. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_id/gherkin_lexer_id.o +0 -0
  136. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_id/gherkin_lexer_id.so +0 -0
  137. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_is/Makefile +157 -0
  138. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_is/extconf.rb +6 -0
  139. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_is/gherkin_lexer_is.c +1376 -0
  140. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_is/gherkin_lexer_is.o +0 -0
  141. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_is/gherkin_lexer_is.so +0 -0
  142. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_it/Makefile +157 -0
  143. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_it/extconf.rb +6 -0
  144. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_it/gherkin_lexer_it.c +1340 -0
  145. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_it/gherkin_lexer_it.o +0 -0
  146. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_it/gherkin_lexer_it.so +0 -0
  147. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ja/Makefile +157 -0
  148. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ja/extconf.rb +6 -0
  149. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ja/gherkin_lexer_ja.c +1699 -0
  150. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ja/gherkin_lexer_ja.o +0 -0
  151. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ja/gherkin_lexer_ja.so +0 -0
  152. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ko/Makefile +157 -0
  153. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ko/extconf.rb +6 -0
  154. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ko/gherkin_lexer_ko.c +1360 -0
  155. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ko/gherkin_lexer_ko.o +0 -0
  156. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ko/gherkin_lexer_ko.so +0 -0
  157. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_lt/Makefile +157 -0
  158. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_lt/extconf.rb +6 -0
  159. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_lt/gherkin_lexer_lt.c +1296 -0
  160. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_lt/gherkin_lexer_lt.o +0 -0
  161. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_lt/gherkin_lexer_lt.so +0 -0
  162. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_lu/Makefile +157 -0
  163. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_lu/extconf.rb +6 -0
  164. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_lu/gherkin_lexer_lu.c +1389 -0
  165. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_lu/gherkin_lexer_lu.o +0 -0
  166. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_lu/gherkin_lexer_lu.so +0 -0
  167. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_lv/Makefile +157 -0
  168. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_lv/extconf.rb +6 -0
  169. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_lv/gherkin_lexer_lv.c +1425 -0
  170. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_lv/gherkin_lexer_lv.o +0 -0
  171. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_lv/gherkin_lexer_lv.so +0 -0
  172. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_nl/Makefile +157 -0
  173. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_nl/extconf.rb +6 -0
  174. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_nl/gherkin_lexer_nl.c +1368 -0
  175. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_nl/gherkin_lexer_nl.o +0 -0
  176. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_nl/gherkin_lexer_nl.so +0 -0
  177. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_no/Makefile +157 -0
  178. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_no/extconf.rb +6 -0
  179. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_no/gherkin_lexer_no.c +1311 -0
  180. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_no/gherkin_lexer_no.o +0 -0
  181. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_no/gherkin_lexer_no.so +0 -0
  182. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_pl/Makefile +157 -0
  183. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_pl/extconf.rb +6 -0
  184. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_pl/gherkin_lexer_pl.c +1477 -0
  185. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_pl/gherkin_lexer_pl.o +0 -0
  186. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_pl/gherkin_lexer_pl.so +0 -0
  187. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_pt/Makefile +157 -0
  188. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_pt/extconf.rb +6 -0
  189. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_pt/gherkin_lexer_pt.c +1350 -0
  190. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_pt/gherkin_lexer_pt.o +0 -0
  191. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_pt/gherkin_lexer_pt.so +0 -0
  192. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ro/Makefile +157 -0
  193. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ro/extconf.rb +6 -0
  194. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ro/gherkin_lexer_ro.c +1427 -0
  195. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ro/gherkin_lexer_ro.o +0 -0
  196. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ro/gherkin_lexer_ro.so +0 -0
  197. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ru/Makefile +157 -0
  198. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ru/extconf.rb +6 -0
  199. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ru/gherkin_lexer_ru.c +2058 -0
  200. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ru/gherkin_lexer_ru.o +0 -0
  201. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_ru/gherkin_lexer_ru.so +0 -0
  202. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sk/Makefile +157 -0
  203. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sk/extconf.rb +6 -0
  204. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sk/gherkin_lexer_sk.c +1298 -0
  205. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sk/gherkin_lexer_sk.o +0 -0
  206. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sk/gherkin_lexer_sk.so +0 -0
  207. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sr_cyrl/Makefile +157 -0
  208. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sr_cyrl/extconf.rb +6 -0
  209. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.c +2112 -0
  210. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.o +0 -0
  211. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sr_cyrl/gherkin_lexer_sr_cyrl.so +0 -0
  212. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sr_latn/Makefile +157 -0
  213. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sr_latn/extconf.rb +6 -0
  214. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.c +1567 -0
  215. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.o +0 -0
  216. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sr_latn/gherkin_lexer_sr_latn.so +0 -0
  217. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sv/Makefile +157 -0
  218. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sv/extconf.rb +6 -0
  219. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sv/gherkin_lexer_sv.c +1324 -0
  220. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sv/gherkin_lexer_sv.o +0 -0
  221. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_sv/gherkin_lexer_sv.so +0 -0
  222. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_tr/Makefile +157 -0
  223. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_tr/extconf.rb +6 -0
  224. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_tr/gherkin_lexer_tr.c +1347 -0
  225. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_tr/gherkin_lexer_tr.o +0 -0
  226. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_tr/gherkin_lexer_tr.so +0 -0
  227. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_uk/Makefile +157 -0
  228. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_uk/extconf.rb +6 -0
  229. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_uk/gherkin_lexer_uk.c +1941 -0
  230. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_uk/gherkin_lexer_uk.o +0 -0
  231. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_uk/gherkin_lexer_uk.so +0 -0
  232. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_uz/Makefile +157 -0
  233. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_uz/extconf.rb +6 -0
  234. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_uz/gherkin_lexer_uz.c +1651 -0
  235. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_uz/gherkin_lexer_uz.o +0 -0
  236. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_uz/gherkin_lexer_uz.so +0 -0
  237. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_vi/Makefile +157 -0
  238. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_vi/extconf.rb +6 -0
  239. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_vi/gherkin_lexer_vi.c +1458 -0
  240. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_vi/gherkin_lexer_vi.o +0 -0
  241. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_vi/gherkin_lexer_vi.so +0 -0
  242. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_zh_cn/Makefile +157 -0
  243. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_zh_cn/extconf.rb +6 -0
  244. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.c +1314 -0
  245. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.o +0 -0
  246. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_zh_cn/gherkin_lexer_zh_cn.so +0 -0
  247. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_zh_tw/Makefile +157 -0
  248. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_zh_tw/extconf.rb +6 -0
  249. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.c +1307 -0
  250. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.o +0 -0
  251. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ext/gherkin_lexer_zh_tw/gherkin_lexer_zh_tw.so +0 -0
  252. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/features/escaped_pipes.feature +8 -0
  253. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/features/feature_parser.feature +237 -0
  254. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/features/json_formatter.feature +498 -0
  255. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/features/json_parser.feature +331 -0
  256. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/features/native_lexer.feature +19 -0
  257. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/features/parser_with_native_lexer.feature +205 -0
  258. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/features/pretty_formatter.feature +16 -0
  259. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/features/step_definitions/eyeball_steps.rb +3 -0
  260. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/features/step_definitions/gherkin_steps.rb +29 -0
  261. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/features/step_definitions/json_formatter_steps.rb +30 -0
  262. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/features/step_definitions/json_parser_steps.rb +20 -0
  263. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/features/step_definitions/pretty_formatter_steps.rb +85 -0
  264. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/features/steps_parser.feature +46 -0
  265. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/features/support/env.rb +42 -0
  266. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/gherkin.gemspec +77 -0
  267. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/c_lexer.rb +17 -0
  268. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/formatter/ansi_escapes.rb +97 -0
  269. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/formatter/argument.rb +16 -0
  270. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/formatter/escaping.rb +15 -0
  271. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/formatter/filter_formatter.rb +146 -0
  272. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/formatter/hashable.rb +19 -0
  273. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/formatter/json_formatter.rb +107 -0
  274. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/formatter/line_filter.rb +26 -0
  275. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/formatter/model.rb +281 -0
  276. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/formatter/pretty_formatter.rb +244 -0
  277. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/formatter/regexp_filter.rb +21 -0
  278. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/formatter/step_printer.rb +17 -0
  279. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/formatter/tag_count_formatter.rb +47 -0
  280. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/formatter/tag_filter.rb +19 -0
  281. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/i18n.rb +180 -0
  282. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/i18n.yml +600 -0
  283. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/js_lexer.rb +20 -0
  284. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/json_parser.rb +144 -0
  285. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/lexer/i18n_lexer.rb +46 -0
  286. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/listener/event.rb +45 -0
  287. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/listener/formatter_listener.rb +143 -0
  288. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/native/ikvm.rb +55 -0
  289. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/native/java.rb +76 -0
  290. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/native/null.rb +9 -0
  291. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/native.rb +7 -0
  292. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/parser/meta.txt +5 -0
  293. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/parser/parser.rb +164 -0
  294. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/parser/root.txt +11 -0
  295. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/parser/steps.txt +4 -0
  296. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/README.rdoc +8 -0
  297. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/ar.rb +1165 -0
  298. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/bg.rb +1377 -0
  299. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/ca.rb +1305 -0
  300. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/cs.rb +1157 -0
  301. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/cy_gb.rb +1027 -0
  302. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/da.rb +1043 -0
  303. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/de.rb +1151 -0
  304. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/en.rb +1011 -0
  305. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/en_au.rb +971 -0
  306. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/en_lol.rb +929 -0
  307. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/en_pirate.rb +1205 -0
  308. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/en_scouse.rb +1357 -0
  309. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/en_tx.rb +1011 -0
  310. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/eo.rb +990 -0
  311. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/es.rb +1135 -0
  312. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/et.rb +985 -0
  313. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/fi.rb +964 -0
  314. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/fr.rb +1223 -0
  315. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/he.rb +1113 -0
  316. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/hr.rb +1061 -0
  317. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/hu.rb +1113 -0
  318. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/id.rb +958 -0
  319. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/is.rb +1115 -0
  320. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/it.rb +1081 -0
  321. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/ja.rb +1413 -0
  322. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/ko.rb +1097 -0
  323. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/lt.rb +1040 -0
  324. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/lu.rb +1127 -0
  325. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/lv.rb +1161 -0
  326. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/nl.rb +1110 -0
  327. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/no.rb +1055 -0
  328. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/pl.rb +1209 -0
  329. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/pt.rb +1089 -0
  330. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/ro.rb +1159 -0
  331. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/ru.rb +1749 -0
  332. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/sk.rb +1041 -0
  333. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/sr_cyrl.rb +1798 -0
  334. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/sr_latn.rb +1289 -0
  335. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/sv.rb +1065 -0
  336. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/tr.rb +1087 -0
  337. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/uk.rb +1641 -0
  338. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/uz.rb +1371 -0
  339. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/vi.rb +1193 -0
  340. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/zh_cn.rb +1053 -0
  341. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer/zh_tw.rb +1047 -0
  342. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rb_lexer.rb +8 -0
  343. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/rubify.rb +24 -0
  344. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin/tag_expression.rb +62 -0
  345. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin.rb +2 -0
  346. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_ar.so +0 -0
  347. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_bg.so +0 -0
  348. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_ca.so +0 -0
  349. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_cs.so +0 -0
  350. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_cy_gb.so +0 -0
  351. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_da.so +0 -0
  352. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_de.so +0 -0
  353. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_en.so +0 -0
  354. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_en_au.so +0 -0
  355. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_en_lol.so +0 -0
  356. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_en_pirate.so +0 -0
  357. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_en_scouse.so +0 -0
  358. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_en_tx.so +0 -0
  359. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_eo.so +0 -0
  360. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_es.so +0 -0
  361. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_et.so +0 -0
  362. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_fi.so +0 -0
  363. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_fr.so +0 -0
  364. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_he.so +0 -0
  365. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_hr.so +0 -0
  366. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_hu.so +0 -0
  367. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_id.so +0 -0
  368. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_is.so +0 -0
  369. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_it.so +0 -0
  370. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_ja.so +0 -0
  371. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_ko.so +0 -0
  372. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_lt.so +0 -0
  373. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_lu.so +0 -0
  374. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_lv.so +0 -0
  375. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_nl.so +0 -0
  376. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_no.so +0 -0
  377. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_pl.so +0 -0
  378. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_pt.so +0 -0
  379. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_ro.so +0 -0
  380. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_ru.so +0 -0
  381. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_sk.so +0 -0
  382. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_sr_cyrl.so +0 -0
  383. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_sr_latn.so +0 -0
  384. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_sv.so +0 -0
  385. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_tr.so +0 -0
  386. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_uk.so +0 -0
  387. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_uz.so +0 -0
  388. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_vi.so +0 -0
  389. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_zh_cn.so +0 -0
  390. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/lib/gherkin_lexer_zh_tw.so +0 -0
  391. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ragel/lexer.c.rl.erb +454 -0
  392. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ragel/lexer.java.rl.erb +219 -0
  393. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ragel/lexer.js.rl.erb +227 -0
  394. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ragel/lexer.rb.rl.erb +174 -0
  395. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/ragel/lexer_common.rl.erb +50 -0
  396. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/c_lexer_spec.rb +22 -0
  397. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/1.feature +8 -0
  398. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/comments_in_table.feature +9 -0
  399. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/complex.feature +45 -0
  400. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/complex.json +139 -0
  401. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/complex_for_filtering.feature +60 -0
  402. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/complex_with_tags.feature +61 -0
  403. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/dos_line_endings.feature +45 -0
  404. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/examples_with_only_header.feature +14 -0
  405. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/hantu_pisang.feature +35 -0
  406. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/i18n_fr.feature +14 -0
  407. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/i18n_fr2.feature +8 -0
  408. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/i18n_no.feature +7 -0
  409. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/i18n_zh-CN.feature +9 -0
  410. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/issue_145.feature +22 -0
  411. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/scenario_outline_with_tags.feature +13 -0
  412. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/scenario_without_steps.feature +5 -0
  413. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/simple_with_comments.feature +7 -0
  414. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/simple_with_tags.feature +11 -0
  415. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/fixtures/with_bom.feature +3 -0
  416. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/formatter/ansi_escapes_spec.rb +32 -0
  417. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/formatter/filter_formatter_spec.rb +196 -0
  418. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/formatter/json_formatter_spec.rb +80 -0
  419. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/formatter/model_spec.rb +28 -0
  420. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/formatter/pretty_formatter_spec.rb +158 -0
  421. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/formatter/spaces.feature +9 -0
  422. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/formatter/step_printer_spec.rb +55 -0
  423. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/formatter/tabs.feature +9 -0
  424. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/formatter/tag_count_formatter_spec.rb +30 -0
  425. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/i18n_spec.rb +168 -0
  426. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/java_lexer_spec.rb +20 -0
  427. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/js_lexer_spec.rb +23 -0
  428. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/json_parser_spec.rb +138 -0
  429. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/lexer/i18n_lexer_spec.rb +43 -0
  430. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/output_stream_string_io.rb +20 -0
  431. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/parser/parser_spec.rb +16 -0
  432. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/rb_lexer_spec.rb +20 -0
  433. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/sexp_recorder.rb +59 -0
  434. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/shared/bom_group.rb +20 -0
  435. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/shared/doc_string_group.rb +163 -0
  436. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/shared/lexer_group.rb +591 -0
  437. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/shared/row_group.rb +125 -0
  438. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/shared/tags_group.rb +54 -0
  439. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/gherkin/tag_expression_spec.rb +142 -0
  440. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/spec/spec_helper.rb +75 -0
  441. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/bench/feature_builder.rb +49 -0
  442. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/bench/null_listener.rb +4 -0
  443. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/bench.rake +184 -0
  444. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/compile.rake +120 -0
  445. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/cucumber.rake +22 -0
  446. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/gems.rake +31 -0
  447. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/ikvm.rake +124 -0
  448. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/ragel_task.rb +98 -0
  449. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/release.rake +49 -0
  450. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/rspec.rake +8 -0
  451. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/yard/default/layout/html/bubble_32x32.png +0 -0
  452. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/yard/default/layout/html/bubble_48x48.png +0 -0
  453. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/yard/default/layout/html/footer.erb +5 -0
  454. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/yard/default/layout/html/index.erb +1 -0
  455. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/yard/default/layout/html/layout.erb +25 -0
  456. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/yard/default/layout/html/logo.erb +1 -0
  457. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/yard/default/layout/html/setup.rb +4 -0
  458. data/vendor/bundle/ruby/1.8/gems/gherkin-2.9.3/tasks/yard.rake +7 -0
  459. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/CHANGES +239 -0
  460. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/COPYING +58 -0
  461. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/COPYING-json-jruby +57 -0
  462. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/GPL +340 -0
  463. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/Gemfile +15 -0
  464. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/README-json-jruby.markdown +33 -0
  465. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/README.rdoc +358 -0
  466. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/Rakefile +398 -0
  467. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/TODO +1 -0
  468. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/VERSION +1 -0
  469. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/data/example.json +1 -0
  470. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/data/index.html +38 -0
  471. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/data/prototype.js +4184 -0
  472. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/fbuffer/fbuffer.h +156 -0
  473. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/generator/Makefile +157 -0
  474. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/generator/extconf.rb +13 -0
  475. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/generator/generator.c +1393 -0
  476. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/generator/generator.h +162 -0
  477. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/generator/generator.o +0 -0
  478. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/generator/generator.so +0 -0
  479. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/json/ext/generator.so +0 -0
  480. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/json/ext/parser.so +0 -0
  481. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/parser/Makefile +157 -0
  482. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/parser/extconf.rb +13 -0
  483. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/parser/parser.c +2203 -0
  484. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/parser/parser.h +77 -0
  485. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/parser/parser.o +0 -0
  486. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/parser/parser.rl +926 -0
  487. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/ext/json/ext/parser/parser.so +0 -0
  488. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/install.rb +23 -0
  489. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/java/src/json/ext/ByteListTranscoder.java +167 -0
  490. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/java/src/json/ext/Generator.java +437 -0
  491. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/java/src/json/ext/GeneratorMethods.java +232 -0
  492. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/java/src/json/ext/GeneratorService.java +43 -0
  493. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/java/src/json/ext/GeneratorState.java +522 -0
  494. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/java/src/json/ext/OptionsReader.java +113 -0
  495. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/java/src/json/ext/Parser.java +2640 -0
  496. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/java/src/json/ext/Parser.rl +964 -0
  497. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/java/src/json/ext/ParserService.java +35 -0
  498. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/java/src/json/ext/RuntimeInfo.java +121 -0
  499. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/java/src/json/ext/StringDecoder.java +167 -0
  500. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/java/src/json/ext/StringEncoder.java +106 -0
  501. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/java/src/json/ext/Utils.java +89 -0
  502. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/json-java.gemspec +22 -0
  503. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/json.gemspec +37 -0
  504. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/json_pure.gemspec +39 -0
  505. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/add/bigdecimal.rb +21 -0
  506. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/add/complex.rb +22 -0
  507. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/add/core.rb +11 -0
  508. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/add/date.rb +34 -0
  509. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/add/date_time.rb +50 -0
  510. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/add/exception.rb +31 -0
  511. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/add/ostruct.rb +31 -0
  512. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/add/range.rb +29 -0
  513. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/add/rational.rb +22 -0
  514. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/add/regexp.rb +30 -0
  515. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/add/struct.rb +30 -0
  516. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/add/symbol.rb +25 -0
  517. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/add/time.rb +35 -0
  518. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/common.rb +470 -0
  519. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/ext.rb +21 -0
  520. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/pure/generator.rb +472 -0
  521. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/pure/parser.rb +359 -0
  522. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/pure.rb +21 -0
  523. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json/version.rb +8 -0
  524. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/lib/json.rb +62 -0
  525. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail1.json +1 -0
  526. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail10.json +1 -0
  527. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail11.json +1 -0
  528. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail12.json +1 -0
  529. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail13.json +1 -0
  530. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail14.json +1 -0
  531. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail18.json +1 -0
  532. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail19.json +1 -0
  533. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail2.json +1 -0
  534. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail20.json +1 -0
  535. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail21.json +1 -0
  536. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail22.json +1 -0
  537. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail23.json +1 -0
  538. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail24.json +1 -0
  539. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail25.json +1 -0
  540. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail27.json +2 -0
  541. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail28.json +2 -0
  542. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail3.json +1 -0
  543. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail4.json +1 -0
  544. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail5.json +1 -0
  545. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail6.json +1 -0
  546. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail7.json +1 -0
  547. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail8.json +1 -0
  548. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/fail9.json +1 -0
  549. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/pass1.json +56 -0
  550. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/pass15.json +1 -0
  551. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/pass16.json +1 -0
  552. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/pass17.json +1 -0
  553. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/pass2.json +1 -0
  554. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/pass26.json +1 -0
  555. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/fixtures/pass3.json +6 -0
  556. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/setup_variant.rb +11 -0
  557. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/test_json.rb +527 -0
  558. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/test_json_addition.rb +188 -0
  559. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/test_json_encoding.rb +65 -0
  560. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/test_json_fixtures.rb +35 -0
  561. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/test_json_generate.rb +251 -0
  562. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/test_json_string_matching.rb +40 -0
  563. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tests/test_json_unicode.rb +72 -0
  564. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tools/fuzz.rb +139 -0
  565. data/vendor/bundle/ruby/1.8/gems/json-1.6.6/tools/server.rb +62 -0
  566. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/Gemfile +7 -0
  567. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/LICENSE.md +20 -0
  568. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/README.md +117 -0
  569. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/Rakefile +25 -0
  570. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/lib/multi_json/engines/json_common.rb +27 -0
  571. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/lib/multi_json/engines/json_gem.rb +12 -0
  572. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/lib/multi_json/engines/json_pure.rb +12 -0
  573. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/lib/multi_json/engines/nsjsonserialization.rb +34 -0
  574. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/lib/multi_json/engines/oj.rb +22 -0
  575. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/lib/multi_json/engines/ok_json.rb +48 -0
  576. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/lib/multi_json/engines/yajl.rb +18 -0
  577. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/lib/multi_json/vendor/ok_json.rb +587 -0
  578. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/lib/multi_json/version.rb +3 -0
  579. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/lib/multi_json.rb +90 -0
  580. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/multi_json.gemspec +22 -0
  581. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/spec/engine_shared_example.rb +115 -0
  582. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/spec/helper.rb +30 -0
  583. data/vendor/bundle/ruby/1.8/gems/multi_json-1.2.0/spec/multi_json_spec.rb +72 -0
  584. data/vendor/bundle/ruby/1.8/gems/rspec-2.9.0/License.txt +24 -0
  585. data/vendor/bundle/ruby/1.8/gems/rspec-2.9.0/README.markdown +47 -0
  586. data/vendor/bundle/ruby/1.8/gems/rspec-2.9.0/lib/rspec/version.rb +5 -0
  587. data/vendor/bundle/ruby/1.8/gems/rspec-2.9.0/lib/rspec.rb +4 -0
  588. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/Changelog.md +493 -0
  589. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/License.txt +24 -0
  590. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/README.md +228 -0
  591. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/exe/autospec +13 -0
  592. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/exe/rspec +25 -0
  593. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/Autotest.md +38 -0
  594. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/README.md +17 -0
  595. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/Upgrade.md +364 -0
  596. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/command_line/README.md +28 -0
  597. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/command_line/example_name_option.feature +86 -0
  598. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/command_line/exit_status.feature +83 -0
  599. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/command_line/format_option.feature +81 -0
  600. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/command_line/init.feature +18 -0
  601. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/command_line/line_number_appended_to_path.feature +140 -0
  602. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/command_line/line_number_option.feature +58 -0
  603. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/command_line/order.feature +29 -0
  604. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/command_line/pattern_option.feature +31 -0
  605. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/command_line/rake_task.feature +68 -0
  606. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/command_line/ruby.feature +22 -0
  607. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/command_line/tag.feature +91 -0
  608. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/configuration/alias_example_to.feature +48 -0
  609. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/configuration/custom_settings.feature +84 -0
  610. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/configuration/default_path.feature +38 -0
  611. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/configuration/fail_fast.feature +77 -0
  612. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/configuration/read_options_from_file.feature +87 -0
  613. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/example_groups/basic_structure.feature +55 -0
  614. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/example_groups/shared_context.feature +74 -0
  615. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/example_groups/shared_examples.feature +204 -0
  616. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/expectation_framework_integration/configure_expectation_framework.feature +73 -0
  617. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/filtering/exclusion_filters.feature +139 -0
  618. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/filtering/if_and_unless.feature +168 -0
  619. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/filtering/inclusion_filters.feature +105 -0
  620. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/filtering/run_all_when_everything_filtered.feature +46 -0
  621. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/formatters/custom_formatter.feature +36 -0
  622. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/formatters/text_formatter.feature +46 -0
  623. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/helper_methods/arbitrary_methods.feature +40 -0
  624. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/helper_methods/let.feature +50 -0
  625. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/helper_methods/modules.feature +149 -0
  626. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/hooks/around_hooks.feature +343 -0
  627. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/hooks/before_and_after_hooks.feature +423 -0
  628. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/hooks/filtering.feature +234 -0
  629. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/metadata/current_example.feature +17 -0
  630. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/metadata/described_class.feature +17 -0
  631. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/metadata/user_defined.feature +113 -0
  632. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/mock_framework_integration/use_any_framework.feature +106 -0
  633. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/mock_framework_integration/use_flexmock.feature +96 -0
  634. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/mock_framework_integration/use_mocha.feature +97 -0
  635. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/mock_framework_integration/use_rr.feature +98 -0
  636. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/mock_framework_integration/use_rspec.feature +97 -0
  637. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/pending/pending_examples.feature +229 -0
  638. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/spec_files/arbitrary_file_suffix.feature +13 -0
  639. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/step_definitions/additional_cli_steps.rb +30 -0
  640. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/subject/attribute_of_subject.feature +124 -0
  641. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/subject/explicit_subject.feature +82 -0
  642. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/subject/implicit_receiver.feature +29 -0
  643. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/subject/implicit_subject.feature +63 -0
  644. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/features/support/env.rb +12 -0
  645. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/autotest/discover.rb +1 -0
  646. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/autotest/rspec2.rb +73 -0
  647. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/autorun.rb +2 -0
  648. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/backward_compatibility.rb +65 -0
  649. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/command_line.rb +36 -0
  650. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/configuration.rb +909 -0
  651. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/configuration_options.rb +124 -0
  652. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/deprecation.rb +51 -0
  653. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/drb_command_line.rb +23 -0
  654. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/drb_options.rb +85 -0
  655. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/dsl.rb +24 -0
  656. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/example.rb +247 -0
  657. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/example_group.rb +443 -0
  658. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/extensions/instance_eval_with_args.rb +44 -0
  659. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/extensions/kernel.rb +9 -0
  660. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/extensions/module_eval_with_args.rb +38 -0
  661. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/extensions/ordered.rb +21 -0
  662. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/extensions.rb +4 -0
  663. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/filter_manager.rb +203 -0
  664. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/formatters/base_formatter.rb +174 -0
  665. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/formatters/base_text_formatter.rb +194 -0
  666. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/formatters/documentation_formatter.rb +67 -0
  667. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/formatters/helpers.rb +39 -0
  668. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/formatters/html_formatter.rb +464 -0
  669. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/formatters/progress_formatter.rb +32 -0
  670. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/formatters/snippet_extractor.rb +58 -0
  671. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/formatters/text_mate_formatter.rb +34 -0
  672. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/hooks.rb +417 -0
  673. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/let.rb +103 -0
  674. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/load_path.rb +3 -0
  675. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/metadata.rb +268 -0
  676. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/metadata_hash_builder.rb +97 -0
  677. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/mocking/with_absolutely_nothing.rb +11 -0
  678. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/mocking/with_flexmock.rb +27 -0
  679. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/mocking/with_mocha.rb +23 -0
  680. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/mocking/with_rr.rb +27 -0
  681. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/mocking/with_rspec.rb +23 -0
  682. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/option_parser.rb +180 -0
  683. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/pending.rb +101 -0
  684. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/project_initializer.rb +81 -0
  685. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/rake_task.rb +179 -0
  686. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/reporter.rb +102 -0
  687. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/ruby_project.rb +44 -0
  688. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/runner.rb +76 -0
  689. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/shared_context.rb +49 -0
  690. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/shared_example_group.rb +72 -0
  691. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/subject.rb +183 -0
  692. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/version.rb +7 -0
  693. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core/world.rb +132 -0
  694. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/lib/rspec/core.rb +107 -0
  695. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/autotest/discover_spec.rb +19 -0
  696. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/autotest/failed_results_re_spec.rb +45 -0
  697. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/autotest/rspec_spec.rb +123 -0
  698. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/command_line/order_spec.rb +137 -0
  699. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/command_line_spec.rb +166 -0
  700. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/command_line_spec_output.txt +0 -0
  701. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/configuration_options_spec.rb +355 -0
  702. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/configuration_spec.rb +1156 -0
  703. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/deprecations_spec.rb +66 -0
  704. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/drb_command_line_spec.rb +107 -0
  705. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/drb_options_spec.rb +179 -0
  706. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/example_group_spec.rb +1090 -0
  707. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/example_spec.rb +302 -0
  708. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/filter_manager_spec.rb +256 -0
  709. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/base_formatter_spec.rb +80 -0
  710. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/base_text_formatter_spec.rb +344 -0
  711. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/documentation_formatter_spec.rb +88 -0
  712. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/helpers_spec.rb +66 -0
  713. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/html_formatted-1.8.7-jruby.html +410 -0
  714. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/html_formatted-1.8.7.html +409 -0
  715. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/html_formatted-1.9.2.html +416 -0
  716. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/html_formatted-1.9.3.html +416 -0
  717. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/html_formatter_spec.rb +82 -0
  718. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/progress_formatter_spec.rb +30 -0
  719. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/snippet_extractor_spec.rb +18 -0
  720. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/text_mate_formatted-1.8.7-jruby.html +410 -0
  721. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/text_mate_formatted-1.8.7.html +409 -0
  722. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/text_mate_formatted-1.9.2.html +416 -0
  723. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/text_mate_formatted-1.9.3.html +416 -0
  724. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/formatters/text_mate_formatter_spec.rb +83 -0
  725. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/hooks_filtering_spec.rb +227 -0
  726. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/hooks_spec.rb +143 -0
  727. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/kernel_extensions_spec.rb +9 -0
  728. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/let_spec.rb +55 -0
  729. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/metadata_spec.rb +437 -0
  730. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/option_parser_spec.rb +165 -0
  731. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/pending_example_spec.rb +219 -0
  732. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/project_initializer_spec.rb +130 -0
  733. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/rake_task_spec.rb +138 -0
  734. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/reporter_spec.rb +103 -0
  735. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/resources/a_bar.rb +0 -0
  736. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/resources/a_foo.rb +0 -0
  737. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/resources/a_spec.rb +1 -0
  738. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/resources/custom_example_group_runner.rb +14 -0
  739. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/resources/formatter_specs.rb +60 -0
  740. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/resources/utf8_encoded.rb +8 -0
  741. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/rspec_matchers_spec.rb +45 -0
  742. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/ruby_project_spec.rb +24 -0
  743. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/runner_spec.rb +82 -0
  744. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/shared_context_spec.rb +67 -0
  745. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/shared_example_group_spec.rb +84 -0
  746. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/subject_spec.rb +228 -0
  747. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core/world_spec.rb +144 -0
  748. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/rspec/core_spec.rb +25 -0
  749. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/spec_helper.rb +98 -0
  750. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/support/config_options_helper.rb +27 -0
  751. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/support/matchers.rb +65 -0
  752. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/support/shared_example_groups.rb +41 -0
  753. data/vendor/bundle/ruby/1.8/gems/rspec-core-2.9.0/spec/support/spec_files.rb +44 -0
  754. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/Changelog.md +176 -0
  755. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/License.txt +23 -0
  756. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/README.md +147 -0
  757. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/README.markdown +49 -0
  758. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/Upgrade.md +53 -0
  759. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/README.md +90 -0
  760. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/be.feature +135 -0
  761. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/be_within.feature +43 -0
  762. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/cover.feature +45 -0
  763. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/equality.feature +145 -0
  764. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/exist.feature +43 -0
  765. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/expect_change.feature +59 -0
  766. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/expect_error.feature +138 -0
  767. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/have.feature +103 -0
  768. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/include.feature +121 -0
  769. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/match.feature +50 -0
  770. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/operators.feature +221 -0
  771. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/predicates.feature +128 -0
  772. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/respond_to.feature +78 -0
  773. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/satisfy.feature +31 -0
  774. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/throw_symbol.feature +85 -0
  775. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/built_in_matchers/types.feature +114 -0
  776. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/custom_matchers/access_running_example.feature +53 -0
  777. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/custom_matchers/define_diffable_matcher.feature +27 -0
  778. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/custom_matchers/define_matcher.feature +340 -0
  779. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/custom_matchers/define_matcher_outside_rspec.feature +38 -0
  780. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/custom_matchers/define_matcher_with_fluent_interface.feature +24 -0
  781. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/customized_message.feature +22 -0
  782. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/diffing.feature +85 -0
  783. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/implicit_docstrings.feature +52 -0
  784. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/step_definitions/additional_cli_steps.rb +22 -0
  785. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/support/env.rb +5 -0
  786. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/features/test_frameworks/test_unit.feature +46 -0
  787. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/expectations/deprecation.rb +38 -0
  788. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/expectations/differ.rb +76 -0
  789. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/expectations/errors.rb +9 -0
  790. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/expectations/extensions/array.rb +9 -0
  791. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/expectations/extensions/kernel.rb +26 -0
  792. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/expectations/extensions/object.rb +39 -0
  793. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/expectations/extensions.rb +3 -0
  794. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/expectations/fail_with.rb +54 -0
  795. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/expectations/handler.rb +48 -0
  796. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/expectations/version.rb +8 -0
  797. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/expectations.rb +45 -0
  798. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/be_close.rb +9 -0
  799. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/block_aliases.rb +20 -0
  800. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/base_matcher.rb +58 -0
  801. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be.rb +183 -0
  802. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_instance_of.rb +13 -0
  803. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_kind_of.rb +13 -0
  804. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/be_within.rb +39 -0
  805. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/change.rb +132 -0
  806. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/cover.rb +22 -0
  807. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/eq.rb +26 -0
  808. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/eql.rb +25 -0
  809. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/equal.rb +48 -0
  810. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/exist.rb +28 -0
  811. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/has.rb +47 -0
  812. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/have.rb +107 -0
  813. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/include.rb +52 -0
  814. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/match.rb +13 -0
  815. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/match_array.rb +52 -0
  816. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/raise_error.rb +96 -0
  817. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/respond_to.rb +73 -0
  818. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/satisfy.rb +29 -0
  819. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in/throw_symbol.rb +93 -0
  820. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/built_in.rb +33 -0
  821. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/compatibility.rb +14 -0
  822. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/dsl.rb +23 -0
  823. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/extensions/instance_eval_with_args.rb +39 -0
  824. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/generated_descriptions.rb +36 -0
  825. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/matcher.rb +298 -0
  826. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/method_missing.rb +12 -0
  827. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/operator_matcher.rb +84 -0
  828. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers/pretty.rb +60 -0
  829. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec/matchers.rb +572 -0
  830. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/lib/rspec-expectations.rb +1 -0
  831. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/expectations/differ_spec.rb +144 -0
  832. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/expectations/extensions/kernel_spec.rb +45 -0
  833. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/expectations/fail_with_spec.rb +70 -0
  834. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/expectations/handler_spec.rb +206 -0
  835. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/base_matcher_spec.rb +52 -0
  836. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/be_close_spec.rb +22 -0
  837. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/be_instance_of_spec.rb +36 -0
  838. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/be_kind_of_spec.rb +33 -0
  839. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/be_spec.rb +452 -0
  840. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/be_within_spec.rb +64 -0
  841. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/change_spec.rb +522 -0
  842. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/compatibility_spec.rb +28 -0
  843. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/cover_spec.rb +65 -0
  844. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/description_generation_spec.rb +176 -0
  845. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/dsl_spec.rb +41 -0
  846. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/eq_spec.rb +38 -0
  847. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/eql_spec.rb +37 -0
  848. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/equal_spec.rb +57 -0
  849. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/exist_spec.rb +104 -0
  850. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/has_spec.rb +113 -0
  851. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/have_spec.rb +458 -0
  852. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/include_spec.rb +351 -0
  853. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/match_array_spec.rb +108 -0
  854. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/match_spec.rb +57 -0
  855. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/matcher_spec.rb +434 -0
  856. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/matchers_spec.rb +31 -0
  857. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/method_missing_spec.rb +24 -0
  858. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/operator_matcher_spec.rb +221 -0
  859. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/raise_error_spec.rb +339 -0
  860. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/respond_to_spec.rb +292 -0
  861. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/satisfy_spec.rb +40 -0
  862. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/rspec/matchers/throw_symbol_spec.rb +111 -0
  863. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/spec_helper.rb +27 -0
  864. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/support/classes.rb +56 -0
  865. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/support/matchers.rb +22 -0
  866. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.0/spec/support/ruby_version.rb +10 -0
  867. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/Changelog.md +187 -0
  868. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/License.txt +23 -0
  869. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/README.md +147 -0
  870. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/README.markdown +49 -0
  871. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/Upgrade.md +53 -0
  872. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/README.md +90 -0
  873. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/be.feature +135 -0
  874. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/be_within.feature +43 -0
  875. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/cover.feature +45 -0
  876. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/equality.feature +145 -0
  877. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/exist.feature +43 -0
  878. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/expect_change.feature +59 -0
  879. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/expect_error.feature +138 -0
  880. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/have.feature +103 -0
  881. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/include.feature +121 -0
  882. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/match.feature +50 -0
  883. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/operators.feature +221 -0
  884. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/predicates.feature +128 -0
  885. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/respond_to.feature +78 -0
  886. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/satisfy.feature +31 -0
  887. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/throw_symbol.feature +85 -0
  888. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/built_in_matchers/types.feature +114 -0
  889. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/custom_matchers/access_running_example.feature +53 -0
  890. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/custom_matchers/define_diffable_matcher.feature +27 -0
  891. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/custom_matchers/define_matcher.feature +340 -0
  892. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/custom_matchers/define_matcher_outside_rspec.feature +38 -0
  893. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/custom_matchers/define_matcher_with_fluent_interface.feature +24 -0
  894. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/customized_message.feature +22 -0
  895. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/diffing.feature +85 -0
  896. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/implicit_docstrings.feature +52 -0
  897. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/step_definitions/additional_cli_steps.rb +22 -0
  898. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/support/env.rb +5 -0
  899. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/features/test_frameworks/test_unit.feature +46 -0
  900. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/expectations/deprecation.rb +38 -0
  901. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/expectations/differ.rb +81 -0
  902. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/expectations/errors.rb +9 -0
  903. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/expectations/extensions/array.rb +9 -0
  904. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/expectations/extensions/kernel.rb +26 -0
  905. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/expectations/extensions/object.rb +39 -0
  906. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/expectations/extensions.rb +3 -0
  907. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/expectations/fail_with.rb +55 -0
  908. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/expectations/handler.rb +48 -0
  909. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/expectations/version.rb +8 -0
  910. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/expectations.rb +45 -0
  911. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/be_close.rb +9 -0
  912. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/block_aliases.rb +21 -0
  913. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/base_matcher.rb +58 -0
  914. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be.rb +183 -0
  915. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_instance_of.rb +13 -0
  916. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_kind_of.rb +13 -0
  917. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/be_within.rb +39 -0
  918. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/change.rb +132 -0
  919. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/cover.rb +22 -0
  920. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/eq.rb +26 -0
  921. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/eql.rb +25 -0
  922. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/equal.rb +48 -0
  923. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/exist.rb +28 -0
  924. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/has.rb +47 -0
  925. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/have.rb +107 -0
  926. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/include.rb +52 -0
  927. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/match.rb +13 -0
  928. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/match_array.rb +52 -0
  929. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/raise_error.rb +96 -0
  930. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/respond_to.rb +73 -0
  931. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/satisfy.rb +29 -0
  932. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in/throw_symbol.rb +93 -0
  933. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/built_in.rb +33 -0
  934. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/compatibility.rb +14 -0
  935. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/dsl.rb +24 -0
  936. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/extensions/instance_eval_with_args.rb +39 -0
  937. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/generated_descriptions.rb +36 -0
  938. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/matcher.rb +299 -0
  939. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/method_missing.rb +12 -0
  940. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/operator_matcher.rb +84 -0
  941. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers/pretty.rb +60 -0
  942. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec/matchers.rb +572 -0
  943. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/lib/rspec-expectations.rb +1 -0
  944. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/expectations/differ_spec.rb +153 -0
  945. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/expectations/extensions/kernel_spec.rb +45 -0
  946. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/expectations/fail_with_spec.rb +70 -0
  947. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/expectations/handler_spec.rb +206 -0
  948. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/base_matcher_spec.rb +52 -0
  949. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/be_close_spec.rb +22 -0
  950. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/be_instance_of_spec.rb +36 -0
  951. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/be_kind_of_spec.rb +33 -0
  952. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/be_spec.rb +452 -0
  953. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/be_within_spec.rb +64 -0
  954. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/change_spec.rb +522 -0
  955. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/compatibility_spec.rb +28 -0
  956. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/cover_spec.rb +65 -0
  957. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/description_generation_spec.rb +176 -0
  958. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/dsl_spec.rb +57 -0
  959. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/eq_spec.rb +38 -0
  960. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/eql_spec.rb +37 -0
  961. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/equal_spec.rb +57 -0
  962. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/exist_spec.rb +104 -0
  963. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/has_spec.rb +113 -0
  964. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/have_spec.rb +458 -0
  965. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/include_spec.rb +363 -0
  966. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/match_array_spec.rb +108 -0
  967. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/match_spec.rb +57 -0
  968. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/matcher_spec.rb +434 -0
  969. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/matchers_spec.rb +31 -0
  970. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/method_missing_spec.rb +24 -0
  971. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/operator_matcher_spec.rb +221 -0
  972. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/raise_error_spec.rb +339 -0
  973. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/respond_to_spec.rb +292 -0
  974. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/satisfy_spec.rb +40 -0
  975. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/rspec/matchers/throw_symbol_spec.rb +111 -0
  976. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/spec_helper.rb +27 -0
  977. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/support/classes.rb +56 -0
  978. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/support/matchers.rb +22 -0
  979. data/vendor/bundle/ruby/1.8/gems/rspec-expectations-2.9.1/spec/support/ruby_version.rb +10 -0
  980. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/Changelog.md +147 -0
  981. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/License.txt +23 -0
  982. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/README.md +257 -0
  983. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/README.markdown +67 -0
  984. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/Scope.md +17 -0
  985. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/Upgrade.md +22 -0
  986. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/argument_matchers/README.md +27 -0
  987. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/argument_matchers/explicit.feature +60 -0
  988. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/argument_matchers/general_matchers.feature +85 -0
  989. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/argument_matchers/type_matchers.feature +25 -0
  990. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/message_expectations/README.md +58 -0
  991. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/message_expectations/any_instance.feature +21 -0
  992. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/message_expectations/block_local_expectations.feature.pending +55 -0
  993. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/message_expectations/expect_message.feature +94 -0
  994. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/message_expectations/receive_counts.feature +209 -0
  995. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/message_expectations/warn_when_expectation_is_set_on_nil.feature +50 -0
  996. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/method_stubs/README.md +43 -0
  997. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/method_stubs/any_instance.feature +133 -0
  998. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/method_stubs/as_null_object.feature +35 -0
  999. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/method_stubs/simple_return_value.feature +64 -0
  1000. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/method_stubs/stub_chain.feature +51 -0
  1001. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/method_stubs/stub_implementation.feature +26 -0
  1002. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/method_stubs/to_ary.feature +47 -0
  1003. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/outside_rspec/configuration.feature +82 -0
  1004. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/outside_rspec/standalone.feature +32 -0
  1005. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/step_definitions/additional_cli_steps.rb +4 -0
  1006. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/features/support/env.rb +6 -0
  1007. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/any_instance/chain.rb +158 -0
  1008. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/any_instance/message_chains.rb +60 -0
  1009. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/any_instance/recorder.rb +192 -0
  1010. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/any_instance.rb +45 -0
  1011. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/argument_expectation.rb +52 -0
  1012. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/argument_matchers.rb +230 -0
  1013. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/error_generator.rb +107 -0
  1014. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/errors.rb +12 -0
  1015. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/example_methods.rb +54 -0
  1016. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/extensions/instance_exec.rb +34 -0
  1017. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/extensions/marshal.rb +23 -0
  1018. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/extensions/psych.rb +23 -0
  1019. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/framework.rb +18 -0
  1020. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/message_expectation.rb +506 -0
  1021. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/method_double.rb +190 -0
  1022. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/methods.rb +151 -0
  1023. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/mock.rb +81 -0
  1024. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/order_group.rb +40 -0
  1025. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/proxy.rb +179 -0
  1026. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/serialization.rb +34 -0
  1027. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/space.rb +34 -0
  1028. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/standalone.rb +3 -0
  1029. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks/version.rb +7 -0
  1030. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/rspec/mocks.rb +39 -0
  1031. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/lib/spec/mocks.rb +2 -0
  1032. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/and_yield_spec.rb +114 -0
  1033. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/any_instance/message_chains_spec.rb +40 -0
  1034. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/any_instance_spec.rb +785 -0
  1035. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/any_number_of_times_spec.rb +30 -0
  1036. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/argument_expectation_spec.rb +34 -0
  1037. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/at_least_spec.rb +103 -0
  1038. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/at_most_spec.rb +99 -0
  1039. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/block_return_value_spec.rb +45 -0
  1040. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/bug_report_10260_spec.rb +8 -0
  1041. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/bug_report_10263_spec.rb +25 -0
  1042. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/bug_report_11545_spec.rb +32 -0
  1043. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/bug_report_496_spec.rb +17 -0
  1044. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/bug_report_600_spec.rb +22 -0
  1045. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/bug_report_7611_spec.rb +16 -0
  1046. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/bug_report_8165_spec.rb +31 -0
  1047. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/bug_report_830_spec.rb +21 -0
  1048. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/bug_report_957_spec.rb +22 -0
  1049. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/double_spec.rb +12 -0
  1050. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/failing_argument_matchers_spec.rb +95 -0
  1051. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/hash_excluding_matcher_spec.rb +67 -0
  1052. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/hash_including_matcher_spec.rb +90 -0
  1053. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/mock_ordering_spec.rb +103 -0
  1054. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/mock_space_spec.rb +58 -0
  1055. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/mock_spec.rb +715 -0
  1056. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/multiple_return_value_spec.rb +188 -0
  1057. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/nil_expectation_warning_spec.rb +62 -0
  1058. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/null_object_mock_spec.rb +78 -0
  1059. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/once_counts_spec.rb +53 -0
  1060. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/options_hash_spec.rb +35 -0
  1061. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/partial_mock_spec.rb +156 -0
  1062. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/partial_mock_using_mocks_directly_spec.rb +95 -0
  1063. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/passing_argument_matchers_spec.rb +142 -0
  1064. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/precise_counts_spec.rb +58 -0
  1065. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/record_messages_spec.rb +26 -0
  1066. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/serialization_spec.rb +110 -0
  1067. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/stash_spec.rb +27 -0
  1068. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/stub_chain_spec.rb +149 -0
  1069. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/stub_implementation_spec.rb +68 -0
  1070. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/stub_spec.rb +238 -0
  1071. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/stubbed_message_expectations_spec.rb +47 -0
  1072. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/to_ary_spec.rb +40 -0
  1073. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks/twice_counts_spec.rb +67 -0
  1074. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/rspec/mocks_spec.rb +51 -0
  1075. data/vendor/bundle/ruby/1.8/gems/rspec-mocks-2.9.0/spec/spec_helper.rb +53 -0
  1076. data/vendor/bundle/ruby/1.8/specifications/gherkin-2.9.3.gemspec +64 -0
  1077. data/vendor/bundle/ruby/1.8/specifications/json-1.6.6.gemspec +36 -0
  1078. data/vendor/bundle/ruby/1.8/specifications/multi_json-1.2.0.gemspec +40 -0
  1079. data/vendor/bundle/ruby/1.8/specifications/rspec-2.9.0.gemspec +39 -0
  1080. data/vendor/bundle/ruby/1.8/specifications/rspec-core-2.9.0.gemspec +58 -0
  1081. data/vendor/bundle/ruby/1.8/specifications/rspec-expectations-2.9.0.gemspec +40 -0
  1082. data/vendor/bundle/ruby/1.8/specifications/rspec-expectations-2.9.1.gemspec +40 -0
  1083. data/vendor/bundle/ruby/1.8/specifications/rspec-mocks-2.9.0.gemspec +37 -0
  1084. metadata +1077 -15
@@ -0,0 +1,926 @@
1
+ #include "../fbuffer/fbuffer.h"
2
+ #include "parser.h"
3
+
4
+ /* unicode */
5
+
6
+ static const char digit_values[256] = {
7
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
8
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
9
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, -1,
10
+ -1, -1, -1, -1, -1, -1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1,
11
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
12
+ 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
13
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
14
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
15
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
16
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
17
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
18
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
19
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
20
+ -1, -1, -1, -1, -1, -1, -1
21
+ };
22
+
23
+ static UTF32 unescape_unicode(const unsigned char *p)
24
+ {
25
+ char b;
26
+ UTF32 result = 0;
27
+ b = digit_values[p[0]];
28
+ if (b < 0) return UNI_REPLACEMENT_CHAR;
29
+ result = (result << 4) | b;
30
+ b = digit_values[p[1]];
31
+ result = (result << 4) | b;
32
+ if (b < 0) return UNI_REPLACEMENT_CHAR;
33
+ b = digit_values[p[2]];
34
+ result = (result << 4) | b;
35
+ if (b < 0) return UNI_REPLACEMENT_CHAR;
36
+ b = digit_values[p[3]];
37
+ result = (result << 4) | b;
38
+ if (b < 0) return UNI_REPLACEMENT_CHAR;
39
+ return result;
40
+ }
41
+
42
+ static int convert_UTF32_to_UTF8(char *buf, UTF32 ch)
43
+ {
44
+ int len = 1;
45
+ if (ch <= 0x7F) {
46
+ buf[0] = (char) ch;
47
+ } else if (ch <= 0x07FF) {
48
+ buf[0] = (char) ((ch >> 6) | 0xC0);
49
+ buf[1] = (char) ((ch & 0x3F) | 0x80);
50
+ len++;
51
+ } else if (ch <= 0xFFFF) {
52
+ buf[0] = (char) ((ch >> 12) | 0xE0);
53
+ buf[1] = (char) (((ch >> 6) & 0x3F) | 0x80);
54
+ buf[2] = (char) ((ch & 0x3F) | 0x80);
55
+ len += 2;
56
+ } else if (ch <= 0x1fffff) {
57
+ buf[0] =(char) ((ch >> 18) | 0xF0);
58
+ buf[1] =(char) (((ch >> 12) & 0x3F) | 0x80);
59
+ buf[2] =(char) (((ch >> 6) & 0x3F) | 0x80);
60
+ buf[3] =(char) ((ch & 0x3F) | 0x80);
61
+ len += 3;
62
+ } else {
63
+ buf[0] = '?';
64
+ }
65
+ return len;
66
+ }
67
+
68
+ #ifdef HAVE_RUBY_ENCODING_H
69
+ static VALUE CEncoding_ASCII_8BIT, CEncoding_UTF_8, CEncoding_UTF_16BE,
70
+ CEncoding_UTF_16LE, CEncoding_UTF_32BE, CEncoding_UTF_32LE;
71
+ static ID i_encoding, i_encode;
72
+ #else
73
+ static ID i_iconv;
74
+ #endif
75
+
76
+ static VALUE mJSON, mExt, cParser, eParserError, eNestingError;
77
+ static VALUE CNaN, CInfinity, CMinusInfinity;
78
+
79
+ static ID i_json_creatable_p, i_json_create, i_create_id, i_create_additions,
80
+ i_chr, i_max_nesting, i_allow_nan, i_symbolize_names, i_quirks_mode,
81
+ i_object_class, i_array_class, i_key_p, i_deep_const_get, i_match,
82
+ i_match_string, i_aset, i_aref, i_leftshift;
83
+
84
+ %%{
85
+ machine JSON_common;
86
+
87
+ cr = '\n';
88
+ cr_neg = [^\n];
89
+ ws = [ \t\r\n];
90
+ c_comment = '/*' ( any* - (any* '*/' any* ) ) '*/';
91
+ cpp_comment = '//' cr_neg* cr;
92
+ comment = c_comment | cpp_comment;
93
+ ignore = ws | comment;
94
+ name_separator = ':';
95
+ value_separator = ',';
96
+ Vnull = 'null';
97
+ Vfalse = 'false';
98
+ Vtrue = 'true';
99
+ VNaN = 'NaN';
100
+ VInfinity = 'Infinity';
101
+ VMinusInfinity = '-Infinity';
102
+ begin_value = [nft\"\-\[\{NI] | digit;
103
+ begin_object = '{';
104
+ end_object = '}';
105
+ begin_array = '[';
106
+ end_array = ']';
107
+ begin_string = '"';
108
+ begin_name = begin_string;
109
+ begin_number = digit | '-';
110
+ }%%
111
+
112
+ %%{
113
+ machine JSON_object;
114
+ include JSON_common;
115
+
116
+ write data;
117
+
118
+ action parse_value {
119
+ VALUE v = Qnil;
120
+ char *np = JSON_parse_value(json, fpc, pe, &v);
121
+ if (np == NULL) {
122
+ fhold; fbreak;
123
+ } else {
124
+ if (NIL_P(json->object_class)) {
125
+ rb_hash_aset(*result, last_name, v);
126
+ } else {
127
+ rb_funcall(*result, i_aset, 2, last_name, v);
128
+ }
129
+ fexec np;
130
+ }
131
+ }
132
+
133
+ action parse_name {
134
+ char *np;
135
+ json->parsing_name = 1;
136
+ np = JSON_parse_string(json, fpc, pe, &last_name);
137
+ json->parsing_name = 0;
138
+ if (np == NULL) { fhold; fbreak; } else fexec np;
139
+ }
140
+
141
+ action exit { fhold; fbreak; }
142
+
143
+ pair = ignore* begin_name >parse_name ignore* name_separator ignore* begin_value >parse_value;
144
+ next_pair = ignore* value_separator pair;
145
+
146
+ main := (
147
+ begin_object
148
+ (pair (next_pair)*)? ignore*
149
+ end_object
150
+ ) @exit;
151
+ }%%
152
+
153
+ static char *JSON_parse_object(JSON_Parser *json, char *p, char *pe, VALUE *result)
154
+ {
155
+ int cs = EVIL;
156
+ VALUE last_name = Qnil;
157
+ VALUE object_class = json->object_class;
158
+
159
+ if (json->max_nesting && json->current_nesting > json->max_nesting) {
160
+ rb_raise(eNestingError, "nesting of %d is too deep", json->current_nesting);
161
+ }
162
+
163
+ *result = NIL_P(object_class) ? rb_hash_new() : rb_class_new_instance(0, 0, object_class);
164
+
165
+ %% write init;
166
+ %% write exec;
167
+
168
+ if (cs >= JSON_object_first_final) {
169
+ if (json->create_additions) {
170
+ VALUE klassname;
171
+ if (NIL_P(json->object_class)) {
172
+ klassname = rb_hash_aref(*result, json->create_id);
173
+ } else {
174
+ klassname = rb_funcall(*result, i_aref, 1, json->create_id);
175
+ }
176
+ if (!NIL_P(klassname)) {
177
+ VALUE klass = rb_funcall(mJSON, i_deep_const_get, 1, klassname);
178
+ if (RTEST(rb_funcall(klass, i_json_creatable_p, 0))) {
179
+ *result = rb_funcall(klass, i_json_create, 1, *result);
180
+ }
181
+ }
182
+ }
183
+ return p + 1;
184
+ } else {
185
+ return NULL;
186
+ }
187
+ }
188
+
189
+
190
+ %%{
191
+ machine JSON_value;
192
+ include JSON_common;
193
+
194
+ write data;
195
+
196
+ action parse_null {
197
+ *result = Qnil;
198
+ }
199
+ action parse_false {
200
+ *result = Qfalse;
201
+ }
202
+ action parse_true {
203
+ *result = Qtrue;
204
+ }
205
+ action parse_nan {
206
+ if (json->allow_nan) {
207
+ *result = CNaN;
208
+ } else {
209
+ rb_raise(eParserError, "%u: unexpected token at '%s'", __LINE__, p - 2);
210
+ }
211
+ }
212
+ action parse_infinity {
213
+ if (json->allow_nan) {
214
+ *result = CInfinity;
215
+ } else {
216
+ rb_raise(eParserError, "%u: unexpected token at '%s'", __LINE__, p - 8);
217
+ }
218
+ }
219
+ action parse_string {
220
+ char *np = JSON_parse_string(json, fpc, pe, result);
221
+ if (np == NULL) { fhold; fbreak; } else fexec np;
222
+ }
223
+
224
+ action parse_number {
225
+ char *np;
226
+ if(pe > fpc + 9 - json->quirks_mode && !strncmp(MinusInfinity, fpc, 9)) {
227
+ if (json->allow_nan) {
228
+ *result = CMinusInfinity;
229
+ fexec p + 10;
230
+ fhold; fbreak;
231
+ } else {
232
+ rb_raise(eParserError, "%u: unexpected token at '%s'", __LINE__, p);
233
+ }
234
+ }
235
+ np = JSON_parse_float(json, fpc, pe, result);
236
+ if (np != NULL) fexec np;
237
+ np = JSON_parse_integer(json, fpc, pe, result);
238
+ if (np != NULL) fexec np;
239
+ fhold; fbreak;
240
+ }
241
+
242
+ action parse_array {
243
+ char *np;
244
+ json->current_nesting++;
245
+ np = JSON_parse_array(json, fpc, pe, result);
246
+ json->current_nesting--;
247
+ if (np == NULL) { fhold; fbreak; } else fexec np;
248
+ }
249
+
250
+ action parse_object {
251
+ char *np;
252
+ json->current_nesting++;
253
+ np = JSON_parse_object(json, fpc, pe, result);
254
+ json->current_nesting--;
255
+ if (np == NULL) { fhold; fbreak; } else fexec np;
256
+ }
257
+
258
+ action exit { fhold; fbreak; }
259
+
260
+ main := (
261
+ Vnull @parse_null |
262
+ Vfalse @parse_false |
263
+ Vtrue @parse_true |
264
+ VNaN @parse_nan |
265
+ VInfinity @parse_infinity |
266
+ begin_number >parse_number |
267
+ begin_string >parse_string |
268
+ begin_array >parse_array |
269
+ begin_object >parse_object
270
+ ) %*exit;
271
+ }%%
272
+
273
+ static char *JSON_parse_value(JSON_Parser *json, char *p, char *pe, VALUE *result)
274
+ {
275
+ int cs = EVIL;
276
+
277
+ %% write init;
278
+ %% write exec;
279
+
280
+ if (cs >= JSON_value_first_final) {
281
+ return p;
282
+ } else {
283
+ return NULL;
284
+ }
285
+ }
286
+
287
+ %%{
288
+ machine JSON_integer;
289
+
290
+ write data;
291
+
292
+ action exit { fhold; fbreak; }
293
+
294
+ main := '-'? ('0' | [1-9][0-9]*) (^[0-9]? @exit);
295
+ }%%
296
+
297
+ static char *JSON_parse_integer(JSON_Parser *json, char *p, char *pe, VALUE *result)
298
+ {
299
+ int cs = EVIL;
300
+
301
+ %% write init;
302
+ json->memo = p;
303
+ %% write exec;
304
+
305
+ if (cs >= JSON_integer_first_final) {
306
+ long len = p - json->memo;
307
+ fbuffer_clear(json->fbuffer);
308
+ fbuffer_append(json->fbuffer, json->memo, len);
309
+ fbuffer_append_char(json->fbuffer, '\0');
310
+ *result = rb_cstr2inum(FBUFFER_PTR(json->fbuffer), 10);
311
+ return p + 1;
312
+ } else {
313
+ return NULL;
314
+ }
315
+ }
316
+
317
+ %%{
318
+ machine JSON_float;
319
+ include JSON_common;
320
+
321
+ write data;
322
+
323
+ action exit { fhold; fbreak; }
324
+
325
+ main := '-'? (
326
+ (('0' | [1-9][0-9]*) '.' [0-9]+ ([Ee] [+\-]?[0-9]+)?)
327
+ | (('0' | [1-9][0-9]*) ([Ee] [+\-]?[0-9]+))
328
+ ) (^[0-9Ee.\-]? @exit );
329
+ }%%
330
+
331
+ static char *JSON_parse_float(JSON_Parser *json, char *p, char *pe, VALUE *result)
332
+ {
333
+ int cs = EVIL;
334
+
335
+ %% write init;
336
+ json->memo = p;
337
+ %% write exec;
338
+
339
+ if (cs >= JSON_float_first_final) {
340
+ long len = p - json->memo;
341
+ fbuffer_clear(json->fbuffer);
342
+ fbuffer_append(json->fbuffer, json->memo, len);
343
+ fbuffer_append_char(json->fbuffer, '\0');
344
+ *result = rb_float_new(rb_cstr_to_dbl(FBUFFER_PTR(json->fbuffer), 1));
345
+ return p + 1;
346
+ } else {
347
+ return NULL;
348
+ }
349
+ }
350
+
351
+
352
+ %%{
353
+ machine JSON_array;
354
+ include JSON_common;
355
+
356
+ write data;
357
+
358
+ action parse_value {
359
+ VALUE v = Qnil;
360
+ char *np = JSON_parse_value(json, fpc, pe, &v);
361
+ if (np == NULL) {
362
+ fhold; fbreak;
363
+ } else {
364
+ if (NIL_P(json->array_class)) {
365
+ rb_ary_push(*result, v);
366
+ } else {
367
+ rb_funcall(*result, i_leftshift, 1, v);
368
+ }
369
+ fexec np;
370
+ }
371
+ }
372
+
373
+ action exit { fhold; fbreak; }
374
+
375
+ next_element = value_separator ignore* begin_value >parse_value;
376
+
377
+ main := begin_array ignore*
378
+ ((begin_value >parse_value ignore*)
379
+ (ignore* next_element ignore*)*)?
380
+ end_array @exit;
381
+ }%%
382
+
383
+ static char *JSON_parse_array(JSON_Parser *json, char *p, char *pe, VALUE *result)
384
+ {
385
+ int cs = EVIL;
386
+ VALUE array_class = json->array_class;
387
+
388
+ if (json->max_nesting && json->current_nesting > json->max_nesting) {
389
+ rb_raise(eNestingError, "nesting of %d is too deep", json->current_nesting);
390
+ }
391
+ *result = NIL_P(array_class) ? rb_ary_new() : rb_class_new_instance(0, 0, array_class);
392
+
393
+ %% write init;
394
+ %% write exec;
395
+
396
+ if(cs >= JSON_array_first_final) {
397
+ return p + 1;
398
+ } else {
399
+ rb_raise(eParserError, "%u: unexpected token at '%s'", __LINE__, p);
400
+ return NULL;
401
+ }
402
+ }
403
+
404
+ static VALUE json_string_unescape(VALUE result, char *string, char *stringEnd)
405
+ {
406
+ char *p = string, *pe = string, *unescape;
407
+ int unescape_len;
408
+ char buf[4];
409
+
410
+ while (pe < stringEnd) {
411
+ if (*pe == '\\') {
412
+ unescape = (char *) "?";
413
+ unescape_len = 1;
414
+ if (pe > p) rb_str_buf_cat(result, p, pe - p);
415
+ switch (*++pe) {
416
+ case 'n':
417
+ unescape = (char *) "\n";
418
+ break;
419
+ case 'r':
420
+ unescape = (char *) "\r";
421
+ break;
422
+ case 't':
423
+ unescape = (char *) "\t";
424
+ break;
425
+ case '"':
426
+ unescape = (char *) "\"";
427
+ break;
428
+ case '\\':
429
+ unescape = (char *) "\\";
430
+ break;
431
+ case 'b':
432
+ unescape = (char *) "\b";
433
+ break;
434
+ case 'f':
435
+ unescape = (char *) "\f";
436
+ break;
437
+ case 'u':
438
+ if (pe > stringEnd - 4) {
439
+ return Qnil;
440
+ } else {
441
+ UTF32 ch = unescape_unicode((unsigned char *) ++pe);
442
+ pe += 3;
443
+ if (UNI_SUR_HIGH_START == (ch & 0xFC00)) {
444
+ pe++;
445
+ if (pe > stringEnd - 6) return Qnil;
446
+ if (pe[0] == '\\' && pe[1] == 'u') {
447
+ UTF32 sur = unescape_unicode((unsigned char *) pe + 2);
448
+ ch = (((ch & 0x3F) << 10) | ((((ch >> 6) & 0xF) + 1) << 16)
449
+ | (sur & 0x3FF));
450
+ pe += 5;
451
+ } else {
452
+ unescape = (char *) "?";
453
+ break;
454
+ }
455
+ }
456
+ unescape_len = convert_UTF32_to_UTF8(buf, ch);
457
+ unescape = buf;
458
+ }
459
+ break;
460
+ default:
461
+ p = pe;
462
+ continue;
463
+ }
464
+ rb_str_buf_cat(result, unescape, unescape_len);
465
+ p = ++pe;
466
+ } else {
467
+ pe++;
468
+ }
469
+ }
470
+ rb_str_buf_cat(result, p, pe - p);
471
+ return result;
472
+ }
473
+
474
+ %%{
475
+ machine JSON_string;
476
+ include JSON_common;
477
+
478
+ write data;
479
+
480
+ action parse_string {
481
+ *result = json_string_unescape(*result, json->memo + 1, p);
482
+ if (NIL_P(*result)) {
483
+ fhold;
484
+ fbreak;
485
+ } else {
486
+ FORCE_UTF8(*result);
487
+ fexec p + 1;
488
+ }
489
+ }
490
+
491
+ action exit { fhold; fbreak; }
492
+
493
+ main := '"' ((^([\"\\] | 0..0x1f) | '\\'[\"\\/bfnrt] | '\\u'[0-9a-fA-F]{4} | '\\'^([\"\\/bfnrtu]|0..0x1f))* %parse_string) '"' @exit;
494
+ }%%
495
+
496
+ static int
497
+ match_i(VALUE regexp, VALUE klass, VALUE memo)
498
+ {
499
+ if (regexp == Qundef) return ST_STOP;
500
+ if (RTEST(rb_funcall(klass, i_json_creatable_p, 0)) &&
501
+ RTEST(rb_funcall(regexp, i_match, 1, rb_ary_entry(memo, 0)))) {
502
+ rb_ary_push(memo, klass);
503
+ return ST_STOP;
504
+ }
505
+ return ST_CONTINUE;
506
+ }
507
+
508
+ static char *JSON_parse_string(JSON_Parser *json, char *p, char *pe, VALUE *result)
509
+ {
510
+ int cs = EVIL;
511
+ VALUE match_string;
512
+
513
+ *result = rb_str_buf_new(0);
514
+ %% write init;
515
+ json->memo = p;
516
+ %% write exec;
517
+
518
+ if (json->create_additions && RTEST(match_string = json->match_string)) {
519
+ VALUE klass;
520
+ VALUE memo = rb_ary_new2(2);
521
+ rb_ary_push(memo, *result);
522
+ rb_hash_foreach(match_string, match_i, memo);
523
+ klass = rb_ary_entry(memo, 1);
524
+ if (RTEST(klass)) {
525
+ *result = rb_funcall(klass, i_json_create, 1, *result);
526
+ }
527
+ }
528
+
529
+ if (json->symbolize_names && json->parsing_name) {
530
+ *result = rb_str_intern(*result);
531
+ }
532
+ if (cs >= JSON_string_first_final) {
533
+ return p + 1;
534
+ } else {
535
+ return NULL;
536
+ }
537
+ }
538
+
539
+ /*
540
+ * Document-class: JSON::Ext::Parser
541
+ *
542
+ * This is the JSON parser implemented as a C extension. It can be configured
543
+ * to be used by setting
544
+ *
545
+ * JSON.parser = JSON::Ext::Parser
546
+ *
547
+ * with the method parser= in JSON.
548
+ *
549
+ */
550
+
551
+ static VALUE convert_encoding(VALUE source)
552
+ {
553
+ char *ptr = RSTRING_PTR(source);
554
+ long len = RSTRING_LEN(source);
555
+ if (len < 2) {
556
+ rb_raise(eParserError, "A JSON text must at least contain two octets!");
557
+ }
558
+ #ifdef HAVE_RUBY_ENCODING_H
559
+ {
560
+ VALUE encoding = rb_funcall(source, i_encoding, 0);
561
+ if (encoding == CEncoding_ASCII_8BIT) {
562
+ if (len >= 4 && ptr[0] == 0 && ptr[1] == 0 && ptr[2] == 0) {
563
+ source = rb_funcall(source, i_encode, 2, CEncoding_UTF_8, CEncoding_UTF_32BE);
564
+ } else if (len >= 4 && ptr[0] == 0 && ptr[2] == 0) {
565
+ source = rb_funcall(source, i_encode, 2, CEncoding_UTF_8, CEncoding_UTF_16BE);
566
+ } else if (len >= 4 && ptr[1] == 0 && ptr[2] == 0 && ptr[3] == 0) {
567
+ source = rb_funcall(source, i_encode, 2, CEncoding_UTF_8, CEncoding_UTF_32LE);
568
+ } else if (len >= 4 && ptr[1] == 0 && ptr[3] == 0) {
569
+ source = rb_funcall(source, i_encode, 2, CEncoding_UTF_8, CEncoding_UTF_16LE);
570
+ } else {
571
+ source = rb_str_dup(source);
572
+ FORCE_UTF8(source);
573
+ }
574
+ } else {
575
+ source = rb_funcall(source, i_encode, 1, CEncoding_UTF_8);
576
+ }
577
+ }
578
+ #else
579
+ if (len >= 4 && ptr[0] == 0 && ptr[1] == 0 && ptr[2] == 0) {
580
+ source = rb_funcall(mJSON, i_iconv, 3, rb_str_new2("utf-8"), rb_str_new2("utf-32be"), source);
581
+ } else if (len >= 4 && ptr[0] == 0 && ptr[2] == 0) {
582
+ source = rb_funcall(mJSON, i_iconv, 3, rb_str_new2("utf-8"), rb_str_new2("utf-16be"), source);
583
+ } else if (len >= 4 && ptr[1] == 0 && ptr[2] == 0 && ptr[3] == 0) {
584
+ source = rb_funcall(mJSON, i_iconv, 3, rb_str_new2("utf-8"), rb_str_new2("utf-32le"), source);
585
+ } else if (len >= 4 && ptr[1] == 0 && ptr[3] == 0) {
586
+ source = rb_funcall(mJSON, i_iconv, 3, rb_str_new2("utf-8"), rb_str_new2("utf-16le"), source);
587
+ }
588
+ #endif
589
+ return source;
590
+ }
591
+
592
+ /*
593
+ * call-seq: new(source, opts => {})
594
+ *
595
+ * Creates a new JSON::Ext::Parser instance for the string _source_.
596
+ *
597
+ * Creates a new JSON::Ext::Parser instance for the string _source_.
598
+ *
599
+ * It will be configured by the _opts_ hash. _opts_ can have the following
600
+ * keys:
601
+ *
602
+ * _opts_ can have the following keys:
603
+ * * *max_nesting*: The maximum depth of nesting allowed in the parsed data
604
+ * structures. Disable depth checking with :max_nesting => false|nil|0, it
605
+ * defaults to 19.
606
+ * * *allow_nan*: If set to true, allow NaN, Infinity and -Infinity in
607
+ * defiance of RFC 4627 to be parsed by the Parser. This option defaults to
608
+ * false.
609
+ * * *symbolize_names*: If set to true, returns symbols for the names
610
+ * (keys) in a JSON object. Otherwise strings are returned, which is also
611
+ * the default.
612
+ * * *create_additions*: If set to false, the Parser doesn't create
613
+ * additions even if a matchin class and create_id was found. This option
614
+ * defaults to true.
615
+ * * *object_class*: Defaults to Hash
616
+ * * *array_class*: Defaults to Array
617
+ */
618
+ static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self)
619
+ {
620
+ VALUE source, opts;
621
+ GET_PARSER_INIT;
622
+
623
+ if (json->Vsource) {
624
+ rb_raise(rb_eTypeError, "already initialized instance");
625
+ }
626
+ rb_scan_args(argc, argv, "11", &source, &opts);
627
+ if (!NIL_P(opts)) {
628
+ opts = rb_convert_type(opts, T_HASH, "Hash", "to_hash");
629
+ if (NIL_P(opts)) {
630
+ rb_raise(rb_eArgError, "opts needs to be like a hash");
631
+ } else {
632
+ VALUE tmp = ID2SYM(i_max_nesting);
633
+ if (option_given_p(opts, tmp)) {
634
+ VALUE max_nesting = rb_hash_aref(opts, tmp);
635
+ if (RTEST(max_nesting)) {
636
+ Check_Type(max_nesting, T_FIXNUM);
637
+ json->max_nesting = FIX2INT(max_nesting);
638
+ } else {
639
+ json->max_nesting = 0;
640
+ }
641
+ } else {
642
+ json->max_nesting = 19;
643
+ }
644
+ tmp = ID2SYM(i_allow_nan);
645
+ if (option_given_p(opts, tmp)) {
646
+ json->allow_nan = RTEST(rb_hash_aref(opts, tmp)) ? 1 : 0;
647
+ } else {
648
+ json->allow_nan = 0;
649
+ }
650
+ tmp = ID2SYM(i_symbolize_names);
651
+ if (option_given_p(opts, tmp)) {
652
+ json->symbolize_names = RTEST(rb_hash_aref(opts, tmp)) ? 1 : 0;
653
+ } else {
654
+ json->symbolize_names = 0;
655
+ }
656
+ tmp = ID2SYM(i_quirks_mode);
657
+ if (option_given_p(opts, tmp)) {
658
+ VALUE quirks_mode = rb_hash_aref(opts, tmp);
659
+ json->quirks_mode = RTEST(quirks_mode) ? 1 : 0;
660
+ } else {
661
+ json->quirks_mode = 0;
662
+ }
663
+ tmp = ID2SYM(i_create_additions);
664
+ if (option_given_p(opts, tmp)) {
665
+ json->create_additions = RTEST(rb_hash_aref(opts, tmp));
666
+ } else {
667
+ json->create_additions = 1;
668
+ }
669
+ tmp = ID2SYM(i_create_id);
670
+ if (option_given_p(opts, tmp)) {
671
+ json->create_id = rb_hash_aref(opts, tmp);
672
+ } else {
673
+ json->create_id = rb_funcall(mJSON, i_create_id, 0);
674
+ }
675
+ tmp = ID2SYM(i_object_class);
676
+ if (option_given_p(opts, tmp)) {
677
+ json->object_class = rb_hash_aref(opts, tmp);
678
+ } else {
679
+ json->object_class = Qnil;
680
+ }
681
+ tmp = ID2SYM(i_array_class);
682
+ if (option_given_p(opts, tmp)) {
683
+ json->array_class = rb_hash_aref(opts, tmp);
684
+ } else {
685
+ json->array_class = Qnil;
686
+ }
687
+ tmp = ID2SYM(i_match_string);
688
+ if (option_given_p(opts, tmp)) {
689
+ VALUE match_string = rb_hash_aref(opts, tmp);
690
+ json->match_string = RTEST(match_string) ? match_string : Qnil;
691
+ } else {
692
+ json->match_string = Qnil;
693
+ }
694
+ }
695
+ } else {
696
+ json->max_nesting = 19;
697
+ json->allow_nan = 0;
698
+ json->create_additions = 1;
699
+ json->create_id = rb_funcall(mJSON, i_create_id, 0);
700
+ json->object_class = Qnil;
701
+ json->array_class = Qnil;
702
+ }
703
+ source = rb_convert_type(source, T_STRING, "String", "to_str");
704
+ if (!json->quirks_mode) {
705
+ source = convert_encoding(StringValue(source));
706
+ }
707
+ json->current_nesting = 0;
708
+ json->len = RSTRING_LEN(source);
709
+ json->source = RSTRING_PTR(source);;
710
+ json->Vsource = source;
711
+ return self;
712
+ }
713
+
714
+ %%{
715
+ machine JSON;
716
+
717
+ write data;
718
+
719
+ include JSON_common;
720
+
721
+ action parse_object {
722
+ char *np;
723
+ json->current_nesting = 1;
724
+ np = JSON_parse_object(json, fpc, pe, &result);
725
+ if (np == NULL) { fhold; fbreak; } else fexec np;
726
+ }
727
+
728
+ action parse_array {
729
+ char *np;
730
+ json->current_nesting = 1;
731
+ np = JSON_parse_array(json, fpc, pe, &result);
732
+ if (np == NULL) { fhold; fbreak; } else fexec np;
733
+ }
734
+
735
+ main := ignore* (
736
+ begin_object >parse_object |
737
+ begin_array >parse_array
738
+ ) ignore*;
739
+ }%%
740
+
741
+ static VALUE cParser_parse_strict(VALUE self)
742
+ {
743
+ char *p, *pe;
744
+ int cs = EVIL;
745
+ VALUE result = Qnil;
746
+ GET_PARSER;
747
+
748
+ %% write init;
749
+ p = json->source;
750
+ pe = p + json->len;
751
+ %% write exec;
752
+
753
+ if (cs >= JSON_first_final && p == pe) {
754
+ return result;
755
+ } else {
756
+ rb_raise(eParserError, "%u: unexpected token at '%s'", __LINE__, p);
757
+ return Qnil;
758
+ }
759
+ }
760
+
761
+
762
+ %%{
763
+ machine JSON_quirks_mode;
764
+
765
+ write data;
766
+
767
+ include JSON_common;
768
+
769
+ action parse_value {
770
+ char *np = JSON_parse_value(json, fpc, pe, &result);
771
+ if (np == NULL) { fhold; fbreak; } else fexec np;
772
+ }
773
+
774
+ main := ignore* (
775
+ begin_value >parse_value
776
+ ) ignore*;
777
+ }%%
778
+
779
+ static VALUE cParser_parse_quirks_mode(VALUE self)
780
+ {
781
+ char *p, *pe;
782
+ int cs = EVIL;
783
+ VALUE result = Qnil;
784
+ GET_PARSER;
785
+
786
+ %% write init;
787
+ p = json->source;
788
+ pe = p + json->len;
789
+ %% write exec;
790
+
791
+ if (cs >= JSON_quirks_mode_first_final && p == pe) {
792
+ return result;
793
+ } else {
794
+ rb_raise(eParserError, "%u: unexpected token at '%s'", __LINE__, p);
795
+ return Qnil;
796
+ }
797
+ }
798
+
799
+ /*
800
+ * call-seq: parse()
801
+ *
802
+ * Parses the current JSON text _source_ and returns the complete data
803
+ * structure as a result.
804
+ */
805
+ static VALUE cParser_parse(VALUE self)
806
+ {
807
+ GET_PARSER;
808
+
809
+ if (json->quirks_mode) {
810
+ return cParser_parse_quirks_mode(self);
811
+ } else {
812
+ return cParser_parse_strict(self);
813
+ }
814
+ }
815
+
816
+
817
+ static JSON_Parser *JSON_allocate()
818
+ {
819
+ JSON_Parser *json = ALLOC(JSON_Parser);
820
+ MEMZERO(json, JSON_Parser, 1);
821
+ json->fbuffer = fbuffer_alloc(0);
822
+ return json;
823
+ }
824
+
825
+ static void JSON_mark(JSON_Parser *json)
826
+ {
827
+ rb_gc_mark_maybe(json->Vsource);
828
+ rb_gc_mark_maybe(json->create_id);
829
+ rb_gc_mark_maybe(json->object_class);
830
+ rb_gc_mark_maybe(json->array_class);
831
+ rb_gc_mark_maybe(json->match_string);
832
+ }
833
+
834
+ static void JSON_free(JSON_Parser *json)
835
+ {
836
+ fbuffer_free(json->fbuffer);
837
+ ruby_xfree(json);
838
+ }
839
+
840
+ static VALUE cJSON_parser_s_allocate(VALUE klass)
841
+ {
842
+ JSON_Parser *json = JSON_allocate();
843
+ return Data_Wrap_Struct(klass, JSON_mark, JSON_free, json);
844
+ }
845
+
846
+ /*
847
+ * call-seq: source()
848
+ *
849
+ * Returns a copy of the current _source_ string, that was used to construct
850
+ * this Parser.
851
+ */
852
+ static VALUE cParser_source(VALUE self)
853
+ {
854
+ GET_PARSER;
855
+ return rb_str_dup(json->Vsource);
856
+ }
857
+
858
+ /*
859
+ * call-seq: quirks_mode?()
860
+ *
861
+ * Returns a true, if this parser is in quirks_mode, false otherwise.
862
+ */
863
+ static VALUE cParser_quirks_mode_p(VALUE self)
864
+ {
865
+ GET_PARSER;
866
+ return json->quirks_mode ? Qtrue : Qfalse;
867
+ }
868
+
869
+
870
+ void Init_parser()
871
+ {
872
+ rb_require("json/common");
873
+ mJSON = rb_define_module("JSON");
874
+ mExt = rb_define_module_under(mJSON, "Ext");
875
+ cParser = rb_define_class_under(mExt, "Parser", rb_cObject);
876
+ eParserError = rb_path2class("JSON::ParserError");
877
+ eNestingError = rb_path2class("JSON::NestingError");
878
+ rb_define_alloc_func(cParser, cJSON_parser_s_allocate);
879
+ rb_define_method(cParser, "initialize", cParser_initialize, -1);
880
+ rb_define_method(cParser, "parse", cParser_parse, 0);
881
+ rb_define_method(cParser, "source", cParser_source, 0);
882
+ rb_define_method(cParser, "quirks_mode?", cParser_quirks_mode_p, 0);
883
+
884
+ CNaN = rb_const_get(mJSON, rb_intern("NaN"));
885
+ CInfinity = rb_const_get(mJSON, rb_intern("Infinity"));
886
+ CMinusInfinity = rb_const_get(mJSON, rb_intern("MinusInfinity"));
887
+
888
+ i_json_creatable_p = rb_intern("json_creatable?");
889
+ i_json_create = rb_intern("json_create");
890
+ i_create_id = rb_intern("create_id");
891
+ i_create_additions = rb_intern("create_additions");
892
+ i_chr = rb_intern("chr");
893
+ i_max_nesting = rb_intern("max_nesting");
894
+ i_allow_nan = rb_intern("allow_nan");
895
+ i_symbolize_names = rb_intern("symbolize_names");
896
+ i_quirks_mode = rb_intern("quirks_mode");
897
+ i_object_class = rb_intern("object_class");
898
+ i_array_class = rb_intern("array_class");
899
+ i_match = rb_intern("match");
900
+ i_match_string = rb_intern("match_string");
901
+ i_key_p = rb_intern("key?");
902
+ i_deep_const_get = rb_intern("deep_const_get");
903
+ i_aset = rb_intern("[]=");
904
+ i_aref = rb_intern("[]");
905
+ i_leftshift = rb_intern("<<");
906
+ #ifdef HAVE_RUBY_ENCODING_H
907
+ CEncoding_UTF_8 = rb_funcall(rb_path2class("Encoding"), rb_intern("find"), 1, rb_str_new2("utf-8"));
908
+ CEncoding_UTF_16BE = rb_funcall(rb_path2class("Encoding"), rb_intern("find"), 1, rb_str_new2("utf-16be"));
909
+ CEncoding_UTF_16LE = rb_funcall(rb_path2class("Encoding"), rb_intern("find"), 1, rb_str_new2("utf-16le"));
910
+ CEncoding_UTF_32BE = rb_funcall(rb_path2class("Encoding"), rb_intern("find"), 1, rb_str_new2("utf-32be"));
911
+ CEncoding_UTF_32LE = rb_funcall(rb_path2class("Encoding"), rb_intern("find"), 1, rb_str_new2("utf-32le"));
912
+ CEncoding_ASCII_8BIT = rb_funcall(rb_path2class("Encoding"), rb_intern("find"), 1, rb_str_new2("ascii-8bit"));
913
+ i_encoding = rb_intern("encoding");
914
+ i_encode = rb_intern("encode");
915
+ #else
916
+ i_iconv = rb_intern("iconv");
917
+ #endif
918
+ }
919
+
920
+ /*
921
+ * Local variables:
922
+ * mode: c
923
+ * c-file-style: ruby
924
+ * indent-tabs-mode: nil
925
+ * End:
926
+ */