0.03
No release in over 3 years
Low commit activity in last 3 years
Sprinkles some magic onto Sqlite3 gem. Sort of extracted from Scraperwiki gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0

Runtime

 Project Readme

SqliteMagic

Build Status Experimental abstraction and refactoring of sqlite utility methods from scraperwiki-ruby gem Note: Not all functionality has yet been duplicated, and this may not work for you. Developed and tested on Ruby 1.9.3

Installation

Add this line to your application's Gemfile:

gem 'sqlite_magic', :git => 'git@github.com:openc/sqlite_magic.git'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sqlite_magic

Usage

TODO: Write usage instructions here

Changes

  • Allow options to be passed when initializing connection (which will be passed to Sqlite)
  • insert_or_update now defers to #save_data when hitting error (which caused a problem when missing field)
  • busy_timeout can now be set in options

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request