mohiam-merb_couchrest 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/lib/merb/orms/couchrest/connection.rb +3 -0
- metadata +4 -4
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ require 'merb-core'
|
|
5
5
|
require 'merb-core/tasks/merb'
|
6
6
|
|
7
7
|
GEM_NAME = "merb_couchrest"
|
8
|
-
GEM_VERSION = "0.1.
|
8
|
+
GEM_VERSION = "0.1.6"
|
9
9
|
AUTHOR = "Alexander Veenendaal"
|
10
10
|
EMAIL = "odogono@gmail.com"
|
11
11
|
HOMEPAGE = "http://github.com/mohiam/merb_couchrest"
|
@@ -23,7 +23,7 @@ spec = Gem::Specification.new do |s|
|
|
23
23
|
s.email = EMAIL
|
24
24
|
s.homepage = HOMEPAGE
|
25
25
|
s.add_dependency('merb', '>= 1.0.9')
|
26
|
-
s.add_dependency("mattetti-couchrest", ">= 0.
|
26
|
+
s.add_dependency("mattetti-couchrest", ">= 0.20")
|
27
27
|
s.require_path = 'lib'
|
28
28
|
s.files = %w(LICENSE README Rakefile TODO Generators) + Dir.glob("{lib,spec}/**/*")
|
29
29
|
|
@@ -63,6 +63,9 @@ module Merb
|
|
63
63
|
|
64
64
|
# set the default database
|
65
65
|
::CouchRest::Document.use_database( database_connection )
|
66
|
+
|
67
|
+
# also store this config ?
|
68
|
+
Merb::Config[:couchrest_default_database] = database_connection
|
66
69
|
|
67
70
|
# we are done - return with the result
|
68
71
|
return database_connection
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mohiam-merb_couchrest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Veenendaal
|
@@ -9,11 +9,11 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-03-10 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
name: merb
|
16
|
+
name: merb-core
|
17
17
|
type: :runtime
|
18
18
|
version_requirement:
|
19
19
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: "0.
|
33
|
+
version: "0.20"
|
34
34
|
version:
|
35
35
|
description: Merb ORM plugin that provides support for CouchRest Models
|
36
36
|
email: odogono@gmail.com
|