lib/dm-aggregates.rb in dm-aggregates-0.9.2 vs lib/dm-aggregates.rb in dm-aggregates-0.9.3
- old
+ new
@@ -1,12 +1,15 @@
require 'rubygems'
-gem 'dm-core', '=0.9.2'
+dir = Pathname(__FILE__).dirname.expand_path + 'dm-aggregates'
+
+require dir + 'version'
+gem 'dm-core', DataMapper::More::Aggregates::VERSION
require 'dm-core'
-dir = Pathname(__FILE__).dirname.expand_path / 'dm-aggregates'
-require dir / 'functions'
-require dir / 'model'
-require dir / 'repository'
-require dir / 'collection'
-require dir / 'adapters' / 'data_objects_adapter'
+require dir + 'aggregate_functions'
+require dir + 'model'
+require dir + 'repository'
+require dir + 'collection'
+require dir + 'adapters' + 'data_objects_adapter'
+require dir + 'support' + 'symbol'