Permalink
Browse files

Moving from GitHub to Gemcutter for gem hosting.

  • Loading branch information...
1 parent a393eb1 commit c0bd13a1f57a94830885c4889cd82820baa039b7 @pk committed Oct 4, 2009
Showing with 34 additions and 15 deletions.
  1. +29 −10 README.rdoc
  2. +2 −2 Rakefile
  3. +3 −3 merb_sequel.gemspec → pk-merb_sequel.gemspec
View
@@ -14,37 +14,56 @@ higher including 2.x.x and <b>3.x.x</b>.
== Install
+Since version 1.0.6 I've moved gem hosting to Gemcutter. So now you need
+to install gem with:
- gem install pk-merb_sequel --source http://gems.github.com
+gem install pk-merb_sequel --source http://gemcutter.org
-In Merb, add it as a dependency to your config/dependencies.rb:
-
- dependency 'pk-merb_sequel', :require_as => 'merb_sequel'
+For versions <= 1.0.5 I used GitHub:
+
+gem install pk-merb_sequel --source http://gems.github.com
+
+
+=== Merb < 1.1
+Add pk-merb_sequel as a dependency to your <b>config/dependencies.rb</b>:
+
+dependency 'pk-merb_sequel', :require_as => 'merb_sequel'
-<b>Because of Merb ORM plugin loading mechanism you neeed to change init.rb</b>:
+<b>Because of Merb < 1.1 ORM plugin loading mechanism you neeed to change init.rb</b>:
- use_orm :sequel
+use_orm :sequel
to
- Merb.orm = :sequel
+Merb.orm = :sequel
If you don't do this Merb will complain that there is no merb_sequel gem also
if you have merb_sequel installed it will load your system wide gem instead of
the pk-merb_sequel gem.
+=== Merb >= 1.1, add it as a dependency to your <b>Gemfile</b>:
+
+gem 'pk-merb_sequel', :require_as => 'merb_sequel'
+
+Add Sequel as you ORM of choice to init.rb:
+
+use_orm :sequel
+
+
== Compatibility
===Ruby 1.8.7:
Sequel 2.11.0:: All pass
Sequel 2.12.0:: All pass
Sequel 3.0.0:: All pass
+Sequel 3.5.0:: All pass
===Ruby 1.9.1:
Sequel 2.11.0:: All pass except session spec failing due to Marshall issues.
Sequel 2.12.0:: All pass except session spec failing due to Marshall issues.
Sequel 3.0.0:: All pass except session spec failing due to Marshall issues.
+Sequel 3.5.0:: All pass except session spec failing due to Marshall issues.
== RSpec transactional examples
@@ -65,13 +84,13 @@ Merb Sequel plug-in uses config/database.yml for connection configuration.
Options are:
* adapter. :sqlite is assumed by default.
-* database, default is "hey_dude_configure_your_database". This should be
- either :memory: or file path for SQLite.
+* database, default is "hey_dude_configure_your_database". In case of SQLite this
+ should be either :memory: or file path for SQLite.
* db_type: default is nil. Use "mssql" to connect to MSSQL using ODBC.
* encoding or charset, default is utf8.
* host. localhost is assumed by default.
* logger default is Merb.logger
-* password. WARNING: default password is an empty string.
+* password. <b>WARNING: default password is an empty string</b>.
* socket Use socket to connect to DB.
* username or user, default is an empty string
View
@@ -7,15 +7,15 @@ require "spec/rake/spectask"
##############################################################################
# Package && release
##############################################################################
-RUBY_FORGE_PROJECT = "merb_sequel"
+RUBY_FORGE_PROJECT = "pk-merb_sequel"
PROJECT_URL = "http://github.com/pk/merb_sequel"
PROJECT_SUMMARY = "Merb plugin that provides support for Sequel and Sequel::Model"
PROJECT_DESCRIPTION = PROJECT_SUMMARY
GEM_AUTHOR = "Wayne E. Seguin, Lance Carlson, Lori Holden, Pavel Kunc"
GEM_EMAIL = "wayneeseguin@gmail.com, lancecarlson@gmail.com, email@loriholden.com, pavel.kunc@gmail.com"
-GEM_NAME = "merb_sequel"
+GEM_NAME = "pk-merb_sequel"
PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : ''
GEM_VERSION = "1.0.6" + PKG_BUILD
@@ -1,19 +1,19 @@
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
- s.name = %q{merb_sequel}
+ s.name = %q{pk-merb_sequel}
s.version = "1.0.6"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Wayne E. Seguin, Lance Carlson, Lori Holden, Pavel Kunc"]
- s.date = %q{2009-10-01}
+ s.date = %q{2009-10-04}
s.description = %q{Merb plugin that provides support for Sequel and Sequel::Model}
s.email = %q{wayneeseguin@gmail.com, lancecarlson@gmail.com, email@loriholden.com, pavel.kunc@gmail.com}
s.extra_rdoc_files = ["README.rdoc", "LICENSE", "TODO"]
s.files = ["LICENSE", "README.rdoc", "Rakefile", "TODO", "Generators", "lib/generators", "lib/generators/migration.rb", "lib/generators/model.rb", "lib/generators/resource_controller.rb", "lib/generators/session_migration.rb", "lib/generators/templates", "lib/generators/templates/migration", "lib/generators/templates/migration/schema", "lib/generators/templates/migration/schema/migrations", "lib/generators/templates/migration/schema/migrations/%file_name%.rb", "lib/generators/templates/model", "lib/generators/templates/model/app", "lib/generators/templates/model/app/models", "lib/generators/templates/model/app/models/%file_name%.rb", "lib/generators/templates/resource_controller", "lib/generators/templates/resource_controller/app", "lib/generators/templates/resource_controller/app/controllers", "lib/generators/templates/resource_controller/app/controllers/%file_name%.rb", "lib/generators/templates/resource_controller/app/views", "lib/generators/templates/resource_controller/app/views/%file_name%", "lib/generators/templates/resource_controller/app/views/%file_name%/edit.html.erb", "lib/generators/templates/resource_controller/app/views/%file_name%/index.html.erb", "lib/generators/templates/resource_controller/app/views/%file_name%/new.html.erb", "lib/generators/templates/resource_controller/app/views/%file_name%/show.html.erb", "lib/generators/templates/session_migration", "lib/generators/templates/session_migration/schema", "lib/generators/templates/session_migration/schema/migrations", "lib/generators/templates/session_migration/schema/migrations/%version%_sessions.rb", "lib/merb", "lib/merb/orms", "lib/merb/orms/sequel", "lib/merb/orms/sequel/connection.rb", "lib/merb/orms/sequel/database.yml.sample", "lib/merb/session", "lib/merb/session/sequel_session.rb", "lib/merb_sequel", "lib/merb_sequel/merbtasks.rb", "lib/merb_sequel/rspec", "lib/merb_sequel/rspec/sequel.rb", "lib/merb_sequel.rb", "lib/sequel_ext", "lib/sequel_ext/model.rb"]
s.homepage = %q{http://github.com/pk/merb_sequel}
s.require_paths = ["lib"]
- s.rubyforge_project = %q{merb_sequel}
+ s.rubyforge_project = %q{pk-merb_sequel}
s.rubygems_version = %q{1.3.5}
s.summary = %q{Merb plugin that provides support for Sequel and Sequel::Model}

0 comments on commit c0bd13a

Please sign in to comment.