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 +1 -1
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/dm-is-list.gemspec +9 -9
- data/lib/dm-is-list/is/list.rb +2 -2
- metadata +12 -17
data/Gemfile
CHANGED
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
|
19
|
-
gem.add_dependency 'dm-adjust', '~> 1.0.0
|
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
|
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
|
8
|
+
s.version = "1.0.0"
|
9
9
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
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-
|
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
|
57
|
-
s.add_runtime_dependency(%q<dm-adjust>, ["~> 1.0.0
|
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
|
61
|
-
s.add_dependency(%q<dm-adjust>, ["~> 1.0.0
|
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
|
66
|
-
s.add_dependency(%q<dm-adjust>, ["~> 1.0.0
|
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
|
data/lib/dm-is-list/is/list.rb
CHANGED
@@ -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.
|
256
|
-
property :position, Integer
|
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:
|
5
|
-
prerelease:
|
4
|
+
hash: 23
|
5
|
+
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- 0
|
10
|
-
|
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-
|
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:
|
29
|
+
hash: 23
|
31
30
|
segments:
|
32
31
|
- 1
|
33
32
|
- 0
|
34
33
|
- 0
|
35
|
-
|
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:
|
45
|
+
hash: 23
|
48
46
|
segments:
|
49
47
|
- 1
|
50
48
|
- 0
|
51
49
|
- 0
|
52
|
-
|
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:
|
120
|
+
hash: 3
|
124
121
|
segments:
|
125
|
-
-
|
126
|
-
|
127
|
-
- 1
|
128
|
-
version: 1.3.1
|
122
|
+
- 0
|
123
|
+
version: "0"
|
129
124
|
requirements: []
|
130
125
|
|
131
126
|
rubyforge_project: datamapper
|