Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

==0.1.28

  *Updated to latest versions of MongoMapper, Mongo & BSON
  • Loading branch information...
commit 594e7fb76e3333ae3fafbe0ebb0cd57d2a032483 1 parent 0fe6ba2
@PlasticLizard authored
View
2  CHANGELOG.rdoc
@@ -1,3 +1,5 @@
+==0.1.28
+ *Updated to latest versions of MongoMapper, Mongo & BSON
==0.1.26,0.1.27
*Included mustache dependency in gem (whoops) and fixed a bug where an error in cube processing would replace
useful error information with nonsensical error information.
View
2  LICENSE.txt
@@ -1,6 +1,6 @@
The MIT LICENSE
-Copyright (c) 2010 Gabriel Horner
+Copyright (c) 2010 Nathan Stults
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
View
4 cubicle.gemspec
@@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = %q{cubicle}
- s.version = "0.1.27"
+ s.version = "0.1.28"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Nathan Stults"]
- s.date = %q{2010-05-27}
+ s.date = %q{2010-06-23}
s.description = %q{Cubicle provides a dsl and aggregation caching framework for automating the generation, execution and caching of map reduce queries when using MongoDB in Ruby. Cubicle also includes a MongoMapper plugin for quickly performing ad-hoc, multi-level group-by queries against a MongoMapper model.}
s.email = %q{hereiam@sonic.net}
s.extra_rdoc_files = [
View
2  lib/cubicle/aggregation/aggregation_manager.rb
@@ -242,7 +242,7 @@ def map_reduce(source_collection_name,map, reduce, opts={})
map = BSON::Code.new(map) unless map.is_a?(BSON::Code)
reduce = BSON::Code.new(reduce) unless reduce.is_a?(BSON::Code)
- hash = OrderedHash.new
+ hash = BSON::OrderedHash.new
hash['mapreduce'] = source_collection_name
hash['map'] = map
hash['reduce'] = reduce
View
2  lib/cubicle/ordered_hash_with_indifferent_access.rb
@@ -1,4 +1,4 @@
-class OrderedHashWithIndifferentAccess < OrderedHash
+class OrderedHashWithIndifferentAccess < BSON::OrderedHash
def initialize(initial_data={})
merge!(initial_data.stringify_keys)
end
View
2  lib/cubicle/version.rb
@@ -1,3 +1,3 @@
module Cubicle
- VERSION = '0.1.27'
+ VERSION = '0.1.28'
end
View
2  test/test_helper.rb
@@ -22,7 +22,7 @@ def setup
end
def teardown
Cubicle.mongo.database.collections.each do |coll|
- coll.drop
+ coll.drop unless coll.name =~ /(.*\.)?system\..*/
end
Time.reset #Return Time.now to its original state
end
Please sign in to comment.
Something went wrong with that request. Please try again.