dm-is-list 1.0.0.rc3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -71,7 +71,7 @@
71
71
  source 'http://rubygems.org'
72
72
 
73
73
  DATAMAPPER = 'git://github.com/datamapper'
74
- DM_VERSION = '~> 1.0.0.rc3'
74
+ DM_VERSION = '~> 1.0.0'
75
75
 
76
76
  group :runtime do # Runtime dependencies (as in the gemspec)
77
77
 
data/Rakefile CHANGED
@@ -15,8 +15,8 @@ begin
15
15
 
16
16
  gem.rubyforge_project = 'datamapper'
17
17
 
18
- gem.add_dependency 'dm-core', '~> 1.0.0.rc3'
19
- gem.add_dependency 'dm-adjust', '~> 1.0.0.rc3'
18
+ gem.add_dependency 'dm-core', '~> 1.0.0'
19
+ gem.add_dependency 'dm-adjust', '~> 1.0.0'
20
20
 
21
21
  gem.add_development_dependency 'rspec', '~> 1.3'
22
22
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0.rc3
1
+ 1.0.0
data/dm-is-list.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dm-is-list}
8
- s.version = "1.0.0.rc3"
8
+ s.version = "1.0.0"
9
9
 
10
- s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
10
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sindre Aarsaether"]
12
- s.date = %q{2010-05-27}
12
+ s.date = %q{2010-06-08}
13
13
  s.description = %q{DataMapper plugin for creating and organizing lists}
14
14
  s.email = %q{sindre [a] identu [d] no}
15
15
  s.extra_rdoc_files = [
@@ -53,17 +53,17 @@ Gem::Specification.new do |s|
53
53
  s.specification_version = 3
54
54
 
55
55
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
56
- s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.0.rc3"])
57
- s.add_runtime_dependency(%q<dm-adjust>, ["~> 1.0.0.rc3"])
56
+ s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.0"])
57
+ s.add_runtime_dependency(%q<dm-adjust>, ["~> 1.0.0"])
58
58
  s.add_development_dependency(%q<rspec>, ["~> 1.3"])
59
59
  else
60
- s.add_dependency(%q<dm-core>, ["~> 1.0.0.rc3"])
61
- s.add_dependency(%q<dm-adjust>, ["~> 1.0.0.rc3"])
60
+ s.add_dependency(%q<dm-core>, ["~> 1.0.0"])
61
+ s.add_dependency(%q<dm-adjust>, ["~> 1.0.0"])
62
62
  s.add_dependency(%q<rspec>, ["~> 1.3"])
63
63
  end
64
64
  else
65
- s.add_dependency(%q<dm-core>, ["~> 1.0.0.rc3"])
66
- s.add_dependency(%q<dm-adjust>, ["~> 1.0.0.rc3"])
65
+ s.add_dependency(%q<dm-core>, ["~> 1.0.0"])
66
+ s.add_dependency(%q<dm-adjust>, ["~> 1.0.0"])
67
67
  s.add_dependency(%q<rspec>, ["~> 1.3"])
68
68
  end
69
69
  end
@@ -252,8 +252,8 @@ module DataMapper
252
252
  extend DataMapper::Is::List::ClassMethods
253
253
  include DataMapper::Is::List::InstanceMethods
254
254
 
255
- unless properties.any? { |p| p.kind_of?(Property::Integer) && p.name == :position }
256
- property :position, Integer, :min => options[:first], :required => true
255
+ unless properties.any? { |p| p.name == :position && p.primitive == Integer }
256
+ property :position, Integer
257
257
  end
258
258
 
259
259
  @list_options = options
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm-is-list
3
3
  version: !ruby/object:Gem::Version
4
- hash: 977940572
5
- prerelease: true
4
+ hash: 23
5
+ prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
9
  - 0
10
- - rc3
11
- version: 1.0.0.rc3
10
+ version: 1.0.0
12
11
  platform: ruby
13
12
  authors:
14
13
  - Sindre Aarsaether
@@ -16,7 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2010-05-27 00:00:00 -07:00
18
+ date: 2010-06-08 00:00:00 -07:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
@@ -27,13 +26,12 @@ dependencies:
27
26
  requirements:
28
27
  - - ~>
29
28
  - !ruby/object:Gem::Version
30
- hash: 977940572
29
+ hash: 23
31
30
  segments:
32
31
  - 1
33
32
  - 0
34
33
  - 0
35
- - rc3
36
- version: 1.0.0.rc3
34
+ version: 1.0.0
37
35
  type: :runtime
38
36
  version_requirements: *id001
39
37
  - !ruby/object:Gem::Dependency
@@ -44,13 +42,12 @@ dependencies:
44
42
  requirements:
45
43
  - - ~>
46
44
  - !ruby/object:Gem::Version
47
- hash: 977940572
45
+ hash: 23
48
46
  segments:
49
47
  - 1
50
48
  - 0
51
49
  - 0
52
- - rc3
53
- version: 1.0.0.rc3
50
+ version: 1.0.0
54
51
  type: :runtime
55
52
  version_requirements: *id002
56
53
  - !ruby/object:Gem::Dependency
@@ -118,14 +115,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
118
115
  required_rubygems_version: !ruby/object:Gem::Requirement
119
116
  none: false
120
117
  requirements:
121
- - - ">"
118
+ - - ">="
122
119
  - !ruby/object:Gem::Version
123
- hash: 25
120
+ hash: 3
124
121
  segments:
125
- - 1
126
- - 3
127
- - 1
128
- version: 1.3.1
122
+ - 0
123
+ version: "0"
129
124
  requirements: []
130
125
 
131
126
  rubyforge_project: datamapper