dm-observer 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 CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.9.10 / 2009-01-19
2
+
3
+ * No changes this version
4
+
1
5
  === 0.9.9 / 2009-01-04
2
6
 
3
7
  * No changes this version
@@ -1,5 +1,5 @@
1
1
  module DataMapper
2
2
  module Observer
3
- VERSION = '0.9.9'
3
+ VERSION = '0.9.10'
4
4
  end
5
5
  end
data/lib/dm-observer.rb CHANGED
@@ -55,7 +55,7 @@ end # DataMapper
55
55
  if $0 == __FILE__
56
56
  require 'rubygems'
57
57
 
58
- gem 'dm-core', '~>0.9.9'
58
+ gem 'dm-core', '~>0.9.10'
59
59
  require 'dm-core'
60
60
 
61
61
  FileUtils.touch(File.join(Dir.pwd, "migration_test.db"))
@@ -3,7 +3,7 @@ require Pathname(__FILE__).dirname.expand_path.parent + 'spec_helper'
3
3
 
4
4
  describe DataMapper::Observer do
5
5
  before :all do
6
- class Adam
6
+ class ::Adam
7
7
  include DataMapper::Resource
8
8
 
9
9
  property :id, Integer, :serial => true
@@ -33,7 +33,7 @@ describe DataMapper::Observer do
33
33
  end
34
34
  Adam.auto_migrate!
35
35
 
36
- module Alcohol
36
+ module ::Alcohol
37
37
  class Beer
38
38
  include DataMapper::Resource
39
39
 
@@ -53,7 +53,7 @@ describe DataMapper::Observer do
53
53
  Alcohol::Beer.auto_migrate!
54
54
 
55
55
 
56
- class AdamObserver
56
+ class ::AdamObserver
57
57
  include DataMapper::Observer
58
58
 
59
59
  observe Adam
@@ -72,7 +72,7 @@ describe DataMapper::Observer do
72
72
 
73
73
  end
74
74
 
75
- class DrinkingObserver
75
+ class ::DrinkingObserver
76
76
  include DataMapper::Observer
77
77
 
78
78
  observe Adam, Alcohol::Beer
data/spec/spec_helper.rb CHANGED
@@ -4,7 +4,7 @@ require 'rubygems'
4
4
  gem 'rspec', '~>1.1.11'
5
5
  require 'spec'
6
6
 
7
- gem 'dm-core', '~>0.9.9'
7
+ gem 'dm-core', '~>0.9.10'
8
8
  require 'dm-core'
9
9
 
10
10
  require Pathname(__FILE__).dirname.parent.expand_path + 'lib/dm-observer'
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-observer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.9
4
+ version: 0.9.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Bates
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-04 00:00:00 -08:00
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.9
23
+ version: 0.9.10
24
24
  version:
25
25
  description: DataMapper plugin for observing Resource Models
26
26
  email: