shingara-merb_mongomapper 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Rakefile +1 -12
- data/VERSION +1 -1
- data/lib/merb/orms/mongomapper/connection.rb +1 -1
- data/merb_mongomapper.gemspec +5 -5
- metadata +3 -3
data/Rakefile
CHANGED
@@ -5,7 +5,6 @@ require 'merb-core'
|
|
5
5
|
require 'merb-core/tasks/merb'
|
6
6
|
|
7
7
|
GEM_NAME = "merb_mongomapper"
|
8
|
-
GEM_VERSION = "0.1.1"
|
9
8
|
AUTHOR = "Cyril Mougel"
|
10
9
|
EMAIL = "cyril.mougelo@gmail.com"
|
11
10
|
HOMEPAGE = "http://github.com/shingara/merb_mongomapper"
|
@@ -22,20 +21,10 @@ begin
|
|
22
21
|
gem.rubyforge_project = "merb_mongomapper"
|
23
22
|
|
24
23
|
gem.add_dependency('merb-core', '>= 1.0.9')
|
25
|
-
gem.add_dependency("mongomapper", "~>0.3.
|
24
|
+
gem.add_dependency("mongomapper", "~>0.3.5")
|
26
25
|
end
|
27
26
|
|
28
27
|
Jeweler::RubyforgeTasks.new
|
29
28
|
rescue LoadError
|
30
29
|
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
31
30
|
end
|
32
|
-
|
33
|
-
desc "install the plugin as a gem"
|
34
|
-
task :install do
|
35
|
-
Merb::RakeHelper.install(GEM_NAME, :version => GEM_VERSION)
|
36
|
-
end
|
37
|
-
|
38
|
-
desc "Uninstall the gem"
|
39
|
-
task :uninstall do
|
40
|
-
Merb::RakeHelper.uninstall(GEM_NAME, :version => GEM_VERSION)
|
41
|
-
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
@@ -42,7 +42,7 @@ module Merb
|
|
42
42
|
port = config[:port] || 27017
|
43
43
|
begin
|
44
44
|
Merb.logger.info!("Attempting connection to the '#{database}' database on '#{host}' ...")
|
45
|
-
::MongoMapper.connection =
|
45
|
+
::MongoMapper.connection = Mongo::Connection.new(host, port)
|
46
46
|
Merb.logger.info!("Connected to '#{host}'")
|
47
47
|
::MongoMapper.database = database
|
48
48
|
return true
|
data/merb_mongomapper.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{merb_mongomapper}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Cyril Mougel"]
|
12
|
-
s.date = %q{2009-09-
|
12
|
+
s.date = %q{2009-09-21}
|
13
13
|
s.email = %q{cyril.mougelo@gmail.com}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"LICENSE",
|
@@ -53,13 +53,13 @@ Gem::Specification.new do |s|
|
|
53
53
|
|
54
54
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
55
55
|
s.add_runtime_dependency(%q<merb-core>, [">= 1.0.9"])
|
56
|
-
s.add_runtime_dependency(%q<mongomapper>, ["~> 0.3.
|
56
|
+
s.add_runtime_dependency(%q<mongomapper>, ["~> 0.3.5"])
|
57
57
|
else
|
58
58
|
s.add_dependency(%q<merb-core>, [">= 1.0.9"])
|
59
|
-
s.add_dependency(%q<mongomapper>, ["~> 0.3.
|
59
|
+
s.add_dependency(%q<mongomapper>, ["~> 0.3.5"])
|
60
60
|
end
|
61
61
|
else
|
62
62
|
s.add_dependency(%q<merb-core>, [">= 1.0.9"])
|
63
|
-
s.add_dependency(%q<mongomapper>, ["~> 0.3.
|
63
|
+
s.add_dependency(%q<mongomapper>, ["~> 0.3.5"])
|
64
64
|
end
|
65
65
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shingara-merb_mongomapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cyril Mougel
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-09-
|
12
|
+
date: 2009-09-21 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.3.
|
33
|
+
version: 0.3.5
|
34
34
|
version:
|
35
35
|
description:
|
36
36
|
email: cyril.mougelo@gmail.com
|