dm-aggregates 0.9.9 → 0.9.10
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/History.txt +4 -0
- data/lib/dm-aggregates.rb +1 -1
- data/lib/dm-aggregates/version.rb +1 -1
- data/spec/public/shared/aggregate_shared_spec.rb +3 -3
- data/tasks/spec.rb +1 -1
- metadata +3 -3
data/History.txt
CHANGED
data/lib/dm-aggregates.rb
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
shared_examples_for 'It Has Setup Resources' do
|
2
2
|
before :all do
|
3
3
|
# A simplistic example, using with an Integer property
|
4
|
-
class Knight
|
4
|
+
class ::Knight
|
5
5
|
include DataMapper::Resource
|
6
6
|
|
7
7
|
property :id, Serial
|
8
8
|
property :name, String
|
9
9
|
end
|
10
10
|
|
11
|
-
class Dragon
|
11
|
+
class ::Dragon
|
12
12
|
include DataMapper::Resource
|
13
13
|
|
14
14
|
property :id, Serial
|
@@ -25,7 +25,7 @@ shared_examples_for 'It Has Setup Resources' do
|
|
25
25
|
# A more complex example, with BigDecimal and Float properties
|
26
26
|
# Statistics taken from CIA World Factbook:
|
27
27
|
# https://www.cia.gov/library/publications/the-world-factbook/
|
28
|
-
class Country
|
28
|
+
class ::Country
|
29
29
|
include DataMapper::Resource
|
30
30
|
|
31
31
|
property :id, Serial
|
data/tasks/spec.rb
CHANGED
@@ -8,7 +8,7 @@ begin
|
|
8
8
|
desc 'Run specifications'
|
9
9
|
Spec::Rake::SpecTask.new(:spec) do |t|
|
10
10
|
t.spec_opts << '--options' << 'spec/spec.opts' if File.exists?('spec/spec.opts')
|
11
|
-
t.spec_files = Pathname.glob((ROOT + 'spec/**/*_spec.rb').to_s)
|
11
|
+
t.spec_files = Pathname.glob((ROOT + 'spec/**/*_spec.rb').to_s).map { |f| f.to_s }
|
12
12
|
|
13
13
|
begin
|
14
14
|
gem 'rcov', '~>0.8'
|
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.
|
4
|
+
version: 0.9.10
|
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: 2009-01-
|
12
|
+
date: 2009-01-19 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.
|
23
|
+
version: 0.9.10
|
24
24
|
version:
|
25
25
|
description: DataMapper plugin providing support for aggregates, functions on collections and datasets
|
26
26
|
email:
|