dm-aggregates 0.9.8 → 0.9.9

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.
@@ -1,3 +1,10 @@
1
+ === 0.9.9 / 2009-01-04
2
+
3
+ * 2 bug fixes:
4
+
5
+ * Removed count optimization for Model#size
6
+ * Removed count optimization for Collection#size
7
+
1
8
  === 0.9.8 / 2008-12-07
2
9
 
3
10
  * 2 minor enhancements:
@@ -3,7 +3,7 @@ require 'rubygems'
3
3
  dir = Pathname(__FILE__).dirname.expand_path + 'dm-aggregates'
4
4
 
5
5
  require dir + 'version'
6
- gem 'dm-core', '~>0.9.8'
6
+ gem 'dm-core', '~>0.9.9'
7
7
  require 'dm-core'
8
8
 
9
9
 
@@ -2,9 +2,9 @@ module DataMapper
2
2
  class Collection
3
3
  include AggregateFunctions
4
4
 
5
- def size
6
- loaded? ? super : count
7
- end
5
+ # def size
6
+ # loaded? ? super : count
7
+ # end
8
8
 
9
9
  private
10
10
 
@@ -2,9 +2,9 @@ module DataMapper
2
2
  module Model
3
3
  include AggregateFunctions
4
4
 
5
- def size
6
- count
7
- end
5
+ # def size
6
+ # count
7
+ # end
8
8
 
9
9
  private
10
10
 
@@ -1,5 +1,5 @@
1
1
  module DataMapper
2
2
  module Aggregates
3
- VERSION = '0.9.8'
3
+ VERSION = '0.9.9'
4
4
  end
5
5
  end
@@ -13,7 +13,7 @@ shared_examples_for 'It Has Setup Resources' do
13
13
 
14
14
  property :id, Serial
15
15
  property :name, String
16
- property :is_fire_breathing, TrueClass
16
+ property :is_fire_breathing, Boolean
17
17
  property :toes_on_claw, Integer
18
18
  property :birth_at, DateTime
19
19
  property :birth_on, Date
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-aggregates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
4
+ version: 0.9.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foy Savas
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-07 00:00:00 -08:00
12
+ date: 2009-01-04 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: 0.9.8
23
+ version: 0.9.9
24
24
  version:
25
25
  description: DataMapper plugin providing support for aggregates, functions on collections and datasets
26
26
  email: