Project

impresser

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Impresser is for those who want to marry their love of Wordpress with their lust for Ruby.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

impresser

Build Status

Impresser gives your rubies the game they need to hook up with your Wordpress.

Usage

Add the following to your Gemfile.

gem "impresser"

Then, create an initializer named config/initializers/impresser.rb

Impresser.setup(:active_record, :connect => {
  :adapter  => "mysql2",
  :encoding => "utf8",
  :host     => "localhost",
  :port     => 3306,
  :database => "db_name",
  :username => "db_user",
  :password => "db_pass"
}

# This line is optional, but you can uncomment it if you want to
# pull the models into the global namespace. Don't do this if you
# have models that would cause naming conflicts with the Impresser
# models.
#
# include Impresser::ActiveRecord

Only ActiveRecord is supported now, but I want to support DataMapper and Sequel in future versions.

Todo

  • Better test coverage
  • Better support for dealing with file attachments; perhaps integration with paperclip?
  • More seamless configuration with the option to fine-tune it where needed
  • DataMapper support
  • Sequel support

Copyright

Copyright (c) 2012 Matt Mayers. See LICENSE for details.