dm-active_model 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -7,7 +7,7 @@ REPO_POSTFIX = SOURCE == :path ? '' : '.git'
7
7
  DATAMAPPER = SOURCE == :path ? Pathname(__FILE__).dirname.parent : 'http://github.com/datamapper'
8
8
  DM_VERSION = '~> 1.2.0'
9
9
  CURRENT_BRANCH = ENV.fetch('GIT_BRANCH', 'master')
10
- RAILS_VERSION = '~> 3.1.0'
10
+ RAILS_VERSION = '~> 3.0'
11
11
 
12
12
  gem 'dm-core', DM_VERSION,
13
13
  SOURCE => "#{DATAMAPPER}/dm-core#{REPO_POSTFIX}",
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.2.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "dm-active_model"
8
- s.version = "1.2.0"
8
+ s.version = "1.2.1"
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 = "2011-10-09"
12
+ s.date = "2012-02-15"
13
13
  s.description = "A datamapper plugin for active_model compliance and thus rails 3 compatibility."
14
14
  s.email = "gamsnjaga [a] gmail [d] com"
15
15
  s.extra_rdoc_files = [
@@ -51,7 +51,7 @@ Gem::Specification.new do |s|
51
51
 
52
52
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
53
53
  s.add_runtime_dependency(%q<dm-core>, ["~> 1.2.0"])
54
- s.add_runtime_dependency(%q<activemodel>, ["~> 3.1.0"])
54
+ s.add_runtime_dependency(%q<activemodel>, ["~> 3.0"])
55
55
  s.add_development_dependency(%q<dm-validations>, ["~> 1.2.0"])
56
56
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.4"])
57
57
  s.add_development_dependency(%q<rake>, ["~> 0.9.2"])
@@ -59,7 +59,7 @@ Gem::Specification.new do |s|
59
59
  s.add_development_dependency(%q<test-unit>, ["= 1.2.3"])
60
60
  else
61
61
  s.add_dependency(%q<dm-core>, ["~> 1.2.0"])
62
- s.add_dependency(%q<activemodel>, ["~> 3.1.0"])
62
+ s.add_dependency(%q<activemodel>, ["~> 3.0"])
63
63
  s.add_dependency(%q<dm-validations>, ["~> 1.2.0"])
64
64
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
65
65
  s.add_dependency(%q<rake>, ["~> 0.9.2"])
@@ -68,7 +68,7 @@ Gem::Specification.new do |s|
68
68
  end
69
69
  else
70
70
  s.add_dependency(%q<dm-core>, ["~> 1.2.0"])
71
- s.add_dependency(%q<activemodel>, ["~> 3.1.0"])
71
+ s.add_dependency(%q<activemodel>, ["~> 3.0"])
72
72
  s.add_dependency(%q<dm-validations>, ["~> 1.2.0"])
73
73
  s.add_dependency(%q<jeweler>, ["~> 1.6.4"])
74
74
  s.add_dependency(%q<rake>, ["~> 0.9.2"])
@@ -1,5 +1,6 @@
1
1
  require 'spec/test/unit'
2
2
  require 'active_model/lint'
3
+ require 'active_support/core_ext/string'
3
4
 
4
5
  # This must be kept in sync with active_model/lint tests
5
6
  # at least for as long as
metadata CHANGED
@@ -1,145 +1,102 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: dm-active_model
3
- version: !ruby/object:Gem::Version
4
- hash: 31
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.1
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 2
9
- - 0
10
- version: 1.2.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Martin Gamsjaeger (snusnu)
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-10-09 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-02-15 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: dm-core
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70148444541300 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 31
29
- segments:
30
- - 1
31
- - 2
32
- - 0
20
+ - !ruby/object:Gem::Version
33
21
  version: 1.2.0
34
22
  type: :runtime
35
- version_requirements: *id001
36
- - !ruby/object:Gem::Dependency
37
- name: activemodel
38
23
  prerelease: false
39
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70148444541300
25
+ - !ruby/object:Gem::Dependency
26
+ name: activemodel
27
+ requirement: &70148444540820 !ruby/object:Gem::Requirement
40
28
  none: false
41
- requirements:
29
+ requirements:
42
30
  - - ~>
43
- - !ruby/object:Gem::Version
44
- hash: 3
45
- segments:
46
- - 3
47
- - 1
48
- - 0
49
- version: 3.1.0
31
+ - !ruby/object:Gem::Version
32
+ version: '3.0'
50
33
  type: :runtime
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: dm-validations
54
34
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70148444540820
36
+ - !ruby/object:Gem::Dependency
37
+ name: dm-validations
38
+ requirement: &70148444540340 !ruby/object:Gem::Requirement
56
39
  none: false
57
- requirements:
40
+ requirements:
58
41
  - - ~>
59
- - !ruby/object:Gem::Version
60
- hash: 31
61
- segments:
62
- - 1
63
- - 2
64
- - 0
42
+ - !ruby/object:Gem::Version
65
43
  version: 1.2.0
66
44
  type: :development
67
- version_requirements: *id003
68
- - !ruby/object:Gem::Dependency
69
- name: jeweler
70
45
  prerelease: false
71
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *70148444540340
47
+ - !ruby/object:Gem::Dependency
48
+ name: jeweler
49
+ requirement: &70148444539860 !ruby/object:Gem::Requirement
72
50
  none: false
73
- requirements:
51
+ requirements:
74
52
  - - ~>
75
- - !ruby/object:Gem::Version
76
- hash: 7
77
- segments:
78
- - 1
79
- - 6
80
- - 4
53
+ - !ruby/object:Gem::Version
81
54
  version: 1.6.4
82
55
  type: :development
83
- version_requirements: *id004
84
- - !ruby/object:Gem::Dependency
85
- name: rake
86
56
  prerelease: false
87
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *70148444539860
58
+ - !ruby/object:Gem::Dependency
59
+ name: rake
60
+ requirement: &70148444539380 !ruby/object:Gem::Requirement
88
61
  none: false
89
- requirements:
62
+ requirements:
90
63
  - - ~>
91
- - !ruby/object:Gem::Version
92
- hash: 63
93
- segments:
94
- - 0
95
- - 9
96
- - 2
64
+ - !ruby/object:Gem::Version
97
65
  version: 0.9.2
98
66
  type: :development
99
- version_requirements: *id005
100
- - !ruby/object:Gem::Dependency
101
- name: rspec
102
67
  prerelease: false
103
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *70148444539380
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: &70148444538900 !ruby/object:Gem::Requirement
104
72
  none: false
105
- requirements:
73
+ requirements:
106
74
  - - ~>
107
- - !ruby/object:Gem::Version
108
- hash: 31
109
- segments:
110
- - 1
111
- - 3
112
- - 2
75
+ - !ruby/object:Gem::Version
113
76
  version: 1.3.2
114
77
  type: :development
115
- version_requirements: *id006
116
- - !ruby/object:Gem::Dependency
117
- name: test-unit
118
78
  prerelease: false
119
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *70148444538900
80
+ - !ruby/object:Gem::Dependency
81
+ name: test-unit
82
+ requirement: &70148444538420 !ruby/object:Gem::Requirement
120
83
  none: false
121
- requirements:
122
- - - "="
123
- - !ruby/object:Gem::Version
124
- hash: 25
125
- segments:
126
- - 1
127
- - 2
128
- - 3
84
+ requirements:
85
+ - - =
86
+ - !ruby/object:Gem::Version
129
87
  version: 1.2.3
130
88
  type: :development
131
- version_requirements: *id007
89
+ prerelease: false
90
+ version_requirements: *70148444538420
132
91
  description: A datamapper plugin for active_model compliance and thus rails 3 compatibility.
133
92
  email: gamsnjaga [a] gmail [d] com
134
93
  executables: []
135
-
136
94
  extensions: []
137
-
138
- extra_rdoc_files:
95
+ extra_rdoc_files:
139
96
  - LICENSE
140
97
  - README.rdoc
141
98
  - TODO
142
- files:
99
+ files:
143
100
  - .document
144
101
  - CHANGELOG
145
102
  - Gemfile
@@ -163,36 +120,26 @@ files:
163
120
  - tasks/yardstick.rake
164
121
  homepage: http://github.com/datamapper/dm-active_model
165
122
  licenses: []
166
-
167
123
  post_install_message:
168
124
  rdoc_options: []
169
-
170
- require_paths:
125
+ require_paths:
171
126
  - lib
172
- required_ruby_version: !ruby/object:Gem::Requirement
127
+ required_ruby_version: !ruby/object:Gem::Requirement
173
128
  none: false
174
- requirements:
175
- - - ">="
176
- - !ruby/object:Gem::Version
177
- hash: 3
178
- segments:
179
- - 0
180
- version: "0"
181
- required_rubygems_version: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ! '>='
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ required_rubygems_version: !ruby/object:Gem::Requirement
182
134
  none: false
183
- requirements:
184
- - - ">="
185
- - !ruby/object:Gem::Version
186
- hash: 3
187
- segments:
188
- - 0
189
- version: "0"
135
+ requirements:
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
190
139
  requirements: []
191
-
192
140
  rubyforge_project: datamapper
193
141
  rubygems_version: 1.8.11
194
142
  signing_key:
195
143
  specification_version: 3
196
144
  summary: active_model compliance for datamapper
197
145
  test_files: []
198
-