merb_sequel 0.9.9 → 0.9.10
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -0
- data/lib/merb_sequel.rb +2 -0
- metadata +3 -3
data/Rakefile
CHANGED
@@ -4,6 +4,7 @@ require "rake/rdoctask"
|
|
4
4
|
require "extlib"
|
5
5
|
require 'merb-core/tasks/merb_rake_helper'
|
6
6
|
require "spec/rake/spectask"
|
7
|
+
require "#{File.dirname(__FILE__)}" / ".." / "version"
|
7
8
|
|
8
9
|
##############################################################################
|
9
10
|
# Package && release
|
data/lib/merb_sequel.rb
CHANGED
@@ -14,6 +14,8 @@ if defined?(Merb::Plugins)
|
|
14
14
|
Merb.logger.debug "Using Sequel sessions"
|
15
15
|
require File.join(File.dirname(__FILE__) / "merb" / "session" / "sequel_session")
|
16
16
|
end
|
17
|
+
|
18
|
+
Merb::Router.root_behavior = Merb::Router.root_behavior.identify(Sequel::Model => :id)
|
17
19
|
end
|
18
20
|
|
19
21
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: merb_sequel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wayne E. Seguin, Lance Carlson
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-10-
|
12
|
+
date: 2008-10-21 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
requirements: []
|
111
111
|
|
112
112
|
rubyforge_project: merb
|
113
|
-
rubygems_version: 1.
|
113
|
+
rubygems_version: 1.3.0
|
114
114
|
signing_key:
|
115
115
|
specification_version: 2
|
116
116
|
summary: Merb plugin that provides support for Sequel and Sequel::Model
|