dm-sweatshop 0.9.10 → 0.9.11

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,6 +1,10 @@
1
+ === 0.9.11 / 2009-03-29
2
+
3
+ * No changes this version
4
+
1
5
  === 0.9.10 / 2009-01-19
2
6
 
3
- * No changes this version
7
+ * No changes this version
4
8
 
5
9
  === 0.9.9 / 2009-01-04
6
10
 
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ AUTHOR = 'Ben Burkert'
12
12
  EMAIL = 'ben [a] benburkert [d] com'
13
13
  GEM_NAME = 'dm-sweatshop'
14
14
  GEM_VERSION = DataMapper::Sweatshop::VERSION
15
- GEM_DEPENDENCIES = [['dm-core', "~>#{GEM_VERSION}"], ['randexp', '~>0.1.4']]
15
+ GEM_DEPENDENCIES = [['dm-core', GEM_VERSION], ['randexp', '~>0.1.4']]
16
16
  GEM_CLEAN = %w[ log pkg coverage ]
17
17
  GEM_EXTRAS = { :has_rdoc => true, :extra_rdoc_files => %w[ README.textile LICENSE TODO History.txt ] }
18
18
 
data/lib/dm-sweatshop.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'rubygems'
2
2
 
3
- gem 'dm-core', '~>0.9.10'
3
+ gem 'dm-core', '0.9.11'
4
4
  require 'dm-core'
5
5
 
6
6
  gem 'randexp', '~>0.1.4'
@@ -57,7 +57,7 @@ module DataMapper
57
57
  MAX_TRIES = 10
58
58
 
59
59
  begin
60
- gem 'ParseTree', '~>3.0.2'
60
+ gem 'ParseTree', '~>3.0.3'
61
61
  require 'parse_tree'
62
62
  rescue LoadError
63
63
  puts "DataMapper::Sweatshop::Unique - ParseTree could not be loaded, anonymous uniques will not be allowed"
@@ -1,5 +1,5 @@
1
1
  module DataMapper
2
2
  class Sweatshop
3
- VERSION = '0.9.10'
3
+ VERSION = '0.9.11'
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@ require 'dm-validations'
3
3
 
4
4
  describe DataMapper::Model do
5
5
 
6
- class Widget
6
+ class ::Widget
7
7
  include DataMapper::Resource
8
8
  property :id, Integer, :serial => true
9
9
  property :type, Discriminator
@@ -14,11 +14,11 @@ describe DataMapper::Model do
14
14
  validates_present :price
15
15
  end
16
16
 
17
- class Wonket < Widget
17
+ class ::Wonket < Widget
18
18
  property :size, String
19
19
  end
20
20
 
21
- class Order
21
+ class ::Order
22
22
  include DataMapper::Resource
23
23
 
24
24
  property :id, Integer, :serial => true
@@ -2,7 +2,7 @@ require File.dirname(__FILE__) + '/../spec_helper'
2
2
 
3
3
  describe DataMapper::Sweatshop do
4
4
 
5
- class Parent
5
+ class ::Parent
6
6
  include DataMapper::Resource
7
7
  property :id, Integer, :serial => true
8
8
  property :type, Discriminator
@@ -10,7 +10,7 @@ describe DataMapper::Sweatshop do
10
10
  property :last_name, String
11
11
  end
12
12
 
13
- class Child < Parent
13
+ class ::Child < Parent
14
14
  property :age, Integer
15
15
  end
16
16
 
data/spec/spec_helper.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'pathname'
2
2
  require 'rubygems'
3
3
 
4
- gem 'dm-core', '~>0.9.8'
4
+ gem 'dm-core', '0.9.11'
5
5
  require 'dm-core'
6
6
 
7
7
  ROOT = Pathname(__FILE__).dirname.parent.expand_path
data/tasks/spec.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  begin
2
- gem 'rspec', '~>1.1.11'
2
+ gem 'rspec', '~>1.2'
3
3
  require 'spec'
4
4
  require 'spec/rake/spectask'
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-sweatshop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.10
4
+ version: 0.9.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Burkert
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-01-19 00:00:00 -08:00
12
+ date: 2009-03-29 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -18,9 +18,9 @@ dependencies:
18
18
  version_requirement:
19
19
  version_requirements: !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - - ~>
21
+ - - "="
22
22
  - !ruby/object:Gem::Version
23
- version: 0.9.10
23
+ version: 0.9.11
24
24
  version:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: randexp