Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cleanup.

  • Loading branch information...
commit 213829911e7fff97e92e9da1d96c0e239d41e644 1 parent 8122f1a
@nmerouze nmerouze authored
View
2  LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2009 Yeasty Mobs
+Copyright (c) 2009 Nicolas Mérouze
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
View
4 README.md
@@ -20,6 +20,4 @@ It is far from complete! It'd be very helpful to have some help.
## Contributors
-* Nicolas Mérouze
-* Mathieu Fosse
-* Vincent Hellot
+* Nicolas Mérouze
View
12 Rakefile
@@ -5,14 +5,14 @@ require 'spec/rake/spectask'
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
- gem.name = "remarkable_mongomapper"
- gem.summary = %Q{MongoMapper Remarkable Matchers}
- gem.email = "dev@yeastymobs.com"
- gem.homepage = "http://github.com/yeastymobs/remarkable_mongomapper"
- gem.authors = ["Nicolas Mérouze", "Vincent Hellot", "Mathieu Fosse"]
+ gem.name = "remarkable_mongo"
+ gem.summary = %Q{Remarkable Matchers for MongoDB ORMs}
+ gem.email = "nicolas.merouze@gmail.com"
+ gem.homepage = "http://github.com/nmerouze/remarkable_mongo"
+ gem.authors = ["Nicolas Mérouze"]
gem.add_dependency('remarkable', '~> 3.1.8')
- gem.add_dependency('mongomapper', '~> 0.3.1')
+ gem.add_dependency('mongo_mapper', '~> 0.6.1')
end
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
View
8 lib/remarkable_mongomapper.rb → lib/remarkable/mongo_mapper.rb
@@ -11,14 +11,14 @@
# Add locale
dir = File.dirname(__FILE__)
-Remarkable.add_locale File.join(dir, '..', 'locales', 'en.yml')
+Remarkable.add_locale File.join(dir, '..', '..', 'locales', 'en.yml')
-require File.join(dir, 'remarkable_mongomapper', 'base')
-require File.join(dir, 'remarkable_mongomapper', 'describe')
+require File.join(dir, 'mongo_mapper', 'base')
+require File.join(dir, 'mongo_mapper', 'describe')
# require File.join(dir, 'remarkable_mongomapper', 'human_names')
# Add matchers
-Dir[File.join(dir, 'remarkable_mongomapper', 'matchers', '*.rb')].each do |file|
+Dir[File.join(dir, 'mongo_mapper', 'matchers', '*.rb')].each do |file|
require file
end
View
0  lib/remarkable_mongomapper/base.rb → lib/remarkable/mongo_mapper/base.rb
File renamed without changes
View
0  lib/remarkable_mongomapper/describe.rb → lib/remarkable/mongo_mapper/describe.rb
File renamed without changes
View
0  lib/remarkable_mongomapper/human_names.rb → lib/remarkable/mongo_mapper/human_names.rb
File renamed without changes
View
0  ..._mongomapper/matchers/allow_values_for_matcher.rb → ...mongo_mapper/matchers/allow_values_for_matcher.rb
File renamed without changes
View
0  ...kable_mongomapper/matchers/association_matcher.rb → ...able/mongo_mapper/matchers/association_matcher.rb
File renamed without changes
View
0  ...markable_mongomapper/matchers/have_key_matcher.rb → ...arkable/mongo_mapper/matchers/have_key_matcher.rb
File renamed without changes
View
0  ...pper/matchers/validate_confirmation_of_matcher.rb → ...pper/matchers/validate_confirmation_of_matcher.rb
File renamed without changes
View
0  ...ongomapper/matchers/validate_length_of_matcher.rb → ...ngo_mapper/matchers/validate_length_of_matcher.rb
File renamed without changes
View
0  ...gomapper/matchers/validate_presence_of_matcher.rb → ...o_mapper/matchers/validate_presence_of_matcher.rb
File renamed without changes
View
70 remarkable_mongomapper.gemspec
@@ -1,70 +0,0 @@
-# -*- encoding: utf-8 -*-
-
-Gem::Specification.new do |s|
- s.name = %q{remarkable_mongomapper}
- s.version = "0.1.1"
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Nicolas M\303\251rouze", "Vincent Hellot", "Mathieu Fosse"]
- s.date = %q{2009-07-31}
- s.email = %q{dev@yeastymobs.com}
- s.extra_rdoc_files = [
- "LICENSE",
- "README.md"
- ]
- s.files = [
- ".gitignore",
- "LICENSE",
- "README.md",
- "Rakefile",
- "VERSION",
- "lib/remarkable_mongomapper.rb",
- "lib/remarkable_mongomapper/base.rb",
- "lib/remarkable_mongomapper/describe.rb",
- "lib/remarkable_mongomapper/human_names.rb",
- "lib/remarkable_mongomapper/matchers/allow_values_for_matcher.rb",
- "lib/remarkable_mongomapper/matchers/association_matcher.rb",
- "lib/remarkable_mongomapper/matchers/have_key_matcher.rb",
- "lib/remarkable_mongomapper/matchers/validate_presence_of_matcher.rb",
- "locales/en.yml",
- "remarkable_mongomapper.gemspec",
- "spec/matchers/allow_values_for_matcher_spec.rb",
- "spec/matchers/association_matcher_spec.rb",
- "spec/matchers/have_key_matcher_spec.rb",
- "spec/matchers/validate_presence_of_matcher_spec.rb",
- "spec/model_builder.rb",
- "spec/models.rb",
- "spec/spec.opts",
- "spec/spec_helper.rb"
- ]
- s.homepage = %q{http://github.com/yeastymobs/remarkable_mongomapper}
- s.rdoc_options = ["--charset=UTF-8"]
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.5}
- s.summary = %q{MongoMapper Remarkable Matchers}
- s.test_files = [
- "spec/matchers/allow_values_for_matcher_spec.rb",
- "spec/matchers/association_matcher_spec.rb",
- "spec/matchers/have_key_matcher_spec.rb",
- "spec/matchers/validate_presence_of_matcher_spec.rb",
- "spec/model_builder.rb",
- "spec/models.rb",
- "spec/spec_helper.rb"
- ]
-
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
-
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<remarkable>, ["~> 3.1.8"])
- s.add_runtime_dependency(%q<mongomapper>, ["~> 0.3.1"])
- else
- s.add_dependency(%q<remarkable>, ["~> 3.1.8"])
- s.add_dependency(%q<mongomapper>, ["~> 0.3.1"])
- end
- else
- s.add_dependency(%q<remarkable>, ["~> 3.1.8"])
- s.add_dependency(%q<mongomapper>, ["~> 0.3.1"])
- end
-end
View
6 spec/spec_helper.rb
@@ -1,7 +1,5 @@
require "rubygems"
-
-gem "mongomapper", "~> 0.3.1"
-require "mongomapper"
+require "mongo_mapper"
MongoMapper.database = "remarkable_mongomapper"
@@ -14,6 +12,6 @@ def reset_test_db!
config.after(:all) { reset_test_db! }
end
-require File.join(File.dirname(__FILE__), "..", "lib", "remarkable_mongomapper")
+require File.join(File.dirname(__FILE__), "..", "lib", "remarkable/mongo_mapper")
require File.join(File.dirname(__FILE__), "models")
require File.join(File.dirname(__FILE__), "model_builder")
Please sign in to comment.
Something went wrong with that request. Please try again.