dm-active_model 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -70,14 +70,14 @@
70
70
 
71
71
  source 'http://rubygems.org'
72
72
 
73
- DATAMAPPER = 'git://github.com/datamapper'
73
+ DATAMAPPER = 'http://github.com/datamapper'
74
74
  DM_VERSION = '~> 1.0.2'
75
75
 
76
76
  group :runtime do # Runtime dependencies (as in the gemspec)
77
77
 
78
78
  gem 'dm-core', DM_VERSION, :git => "#{DATAMAPPER}/dm-core.git"
79
- gem 'activesupport', '~> 3.0.0', :git => 'git://github.com/rails/rails.git', :branch => '3-0-stable', :require => nil
80
- gem 'activemodel', '~> 3.0.0', :git => 'git://github.com/rails/rails.git', :branch => '3-0-stable', :require => nil
79
+ gem 'activesupport', '~> 3.0.0', :git => 'http://github.com/rails/rails.git', :branch => '3-0-stable', :require => nil
80
+ gem 'activemodel', '~> 3.0.0', :git => 'http://github.com/rails/rails.git', :branch => '3-0-stable', :require => nil
81
81
 
82
82
  end
83
83
 
@@ -86,7 +86,7 @@ group(:development) do # Development dependencies (as in the gemspec)
86
86
  gem 'dm-validations', DM_VERSION, :git => "#{DATAMAPPER}/dm-validations.git"
87
87
 
88
88
  gem 'rake', '~> 0.8.7'
89
- gem 'rspec', '~> 1.3', :git => 'git://github.com/snusnu/rspec', :branch => 'heckle_fix_plus_gemfile'
89
+ gem 'rspec', '~> 1.3', :git => 'http://github.com/snusnu/rspec.git', :branch => 'heckle_fix_plus_gemfile'
90
90
  gem 'jeweler', '~> 1.4'
91
91
  gem 'test-unit', '= 1.2.3'
92
92
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.0.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dm-active_model}
8
- s.version = "1.0.2"
8
+ s.version = "1.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Martin Gamsjaeger (snusnu)"]
12
- s.date = %q{2010-09-07}
12
+ s.date = %q{2010-10-23}
13
13
  s.description = %q{A datamapper plugin for active_model compliance and thus rails 3 compatibility.}
14
14
  s.email = %q{gamsnjaga [a] gmail [d] com}
15
15
  s.extra_rdoc_files = [
@@ -1,7 +1,7 @@
1
1
  module DataMapper
2
2
  module ActiveModel
3
3
 
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.3'
5
5
 
6
6
  end
7
7
  end
@@ -3,16 +3,6 @@ require 'active_model/naming'
3
3
  module DataMapper
4
4
  module ActiveModel
5
5
 
6
- module ClassMethods
7
-
8
- # Returns an ActiveModel::Name object for module. It can be
9
- # used to retrieve all kinds of naming-related information.
10
- def model_name
11
- @_model_name ||= ::ActiveModel::Name.new(self)
12
- end
13
-
14
- end
15
-
16
6
  module InstanceMethods
17
7
 
18
8
  def to_model
@@ -58,7 +48,7 @@ module DataMapper
58
48
 
59
49
  end
60
50
 
61
- Model.append_extensions(ActiveModel::ClassMethods)
51
+ Model.append_extensions(::ActiveModel::Naming)
62
52
  Model.append_inclusions(ActiveModel::InstanceMethods)
63
53
 
64
54
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-active_model
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 17
4
5
  prerelease: false
5
6
  segments:
6
7
  - 1
7
8
  - 0
8
- - 2
9
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
10
11
  platform: ruby
11
12
  authors:
12
13
  - Martin Gamsjaeger (snusnu)
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-09-07 00:00:00 -07:00
18
+ date: 2010-10-23 00:00:00 +02:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
@@ -25,6 +26,7 @@ dependencies:
25
26
  requirements:
26
27
  - - ~>
27
28
  - !ruby/object:Gem::Version
29
+ hash: 19
28
30
  segments:
29
31
  - 1
30
32
  - 0
@@ -40,6 +42,7 @@ dependencies:
40
42
  requirements:
41
43
  - - ~>
42
44
  - !ruby/object:Gem::Version
45
+ hash: 7
43
46
  segments:
44
47
  - 3
45
48
  - 0
@@ -55,6 +58,7 @@ dependencies:
55
58
  requirements:
56
59
  - - ~>
57
60
  - !ruby/object:Gem::Version
61
+ hash: 19
58
62
  segments:
59
63
  - 1
60
64
  - 0
@@ -70,6 +74,7 @@ dependencies:
70
74
  requirements:
71
75
  - - ~>
72
76
  - !ruby/object:Gem::Version
77
+ hash: 9
73
78
  segments:
74
79
  - 1
75
80
  - 3
@@ -84,6 +89,7 @@ dependencies:
84
89
  requirements:
85
90
  - - "="
86
91
  - !ruby/object:Gem::Version
92
+ hash: 25
87
93
  segments:
88
94
  - 1
89
95
  - 2
@@ -141,6 +147,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
141
147
  requirements:
142
148
  - - ">="
143
149
  - !ruby/object:Gem::Version
150
+ hash: 3
144
151
  segments:
145
152
  - 0
146
153
  version: "0"
@@ -149,6 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
156
  requirements:
150
157
  - - ">="
151
158
  - !ruby/object:Gem::Version
159
+ hash: 3
152
160
  segments:
153
161
  - 0
154
162
  version: "0"