sqlite3-ruby 1.2.5 → 1.3.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. data/API_CHANGES.rdoc +48 -0
  2. data/{History.txt → CHANGELOG.rdoc} +24 -0
  3. data/Manifest.txt +14 -14
  4. data/{README.txt → README.rdoc} +1 -6
  5. data/Rakefile +8 -3
  6. data/ext/sqlite3/database.c +687 -0
  7. data/ext/sqlite3/database.h +15 -0
  8. data/ext/sqlite3/exception.c +94 -0
  9. data/ext/sqlite3/exception.h +8 -0
  10. data/ext/sqlite3/extconf.rb +26 -0
  11. data/ext/sqlite3/sqlite3.c +33 -0
  12. data/ext/sqlite3/sqlite3_ruby.h +43 -0
  13. data/ext/sqlite3/statement.c +412 -0
  14. data/ext/sqlite3/statement.h +16 -0
  15. data/lib/sqlite3.rb +9 -0
  16. data/lib/sqlite3/database.rb +94 -302
  17. data/lib/sqlite3/errors.rb +0 -24
  18. data/lib/sqlite3/pragmas.rb +16 -7
  19. data/lib/sqlite3/resultset.rb +25 -81
  20. data/lib/sqlite3/statement.rb +22 -107
  21. data/lib/sqlite3/version.rb +4 -4
  22. data/setup.rb +2 -2
  23. data/tasks/native.rake +13 -17
  24. data/tasks/vendor_sqlite3.rake +10 -7
  25. data/test/helper.rb +1 -65
  26. data/test/test_database.rb +239 -189
  27. data/test/test_encoding.rb +115 -0
  28. data/test/test_integration.rb +38 -35
  29. data/test/test_integration_open_close.rb +1 -1
  30. data/test/test_integration_pending.rb +6 -4
  31. data/test/test_integration_resultset.rb +20 -8
  32. data/test/test_integration_statement.rb +1 -2
  33. data/test/test_sqlite3.rb +9 -0
  34. data/test/test_statement.rb +193 -0
  35. metadata +82 -48
  36. data/ext/sqlite3_api/extconf.rb +0 -10
  37. data/ext/sqlite3_api/sqlite3_api.i +0 -362
  38. data/ext/sqlite3_api/sqlite3_api_wrap.c +0 -5018
  39. data/lib/sqlite3/driver/dl/api.rb +0 -152
  40. data/lib/sqlite3/driver/dl/driver.rb +0 -307
  41. data/lib/sqlite3/driver/native/driver.rb +0 -219
  42. data/tasks/benchmark.rake +0 -9
  43. data/tasks/gem.rake +0 -32
  44. data/test/bm.rb +0 -140
  45. data/test/driver/dl/tc_driver.rb +0 -292
  46. data/test/native-vs-dl.rb +0 -126
  47. data/test/test_errors.rb +0 -17

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.