dm-is-nested_set 1.0.1 → 1.0.2

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.1'
74
+ DM_VERSION = '~> 1.0.2'
75
75
 
76
76
  group :runtime do # Runtime dependencies (as in the gemspec)
77
77
 
data/Rakefile CHANGED
@@ -12,11 +12,12 @@ begin
12
12
  gem.email = 'sindre [a] identu [d] no'
13
13
  gem.homepage = 'http://github.com/datamapper/%s' % gem.name
14
14
  gem.authors = [ 'Sindre Aarsaether' ]
15
+ gem.has_rdoc = 'yard'
15
16
 
16
17
  gem.rubyforge_project = 'datamapper'
17
18
 
18
- gem.add_dependency 'dm-core', '~> 1.0.1'
19
- gem.add_dependency 'dm-adjust', '~> 1.0.1'
19
+ gem.add_dependency 'dm-core', '~> 1.0.2'
20
+ gem.add_dependency 'dm-adjust', '~> 1.0.2'
20
21
 
21
22
  gem.add_development_dependency 'rspec', '~> 1.3'
22
23
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dm-is-nested_set}
8
- s.version = "1.0.1"
8
+ s.version = "1.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Sindre Aarsaether"]
@@ -37,6 +37,7 @@ Gem::Specification.new do |s|
37
37
  "tasks/yard.rake",
38
38
  "tasks/yardstick.rake"
39
39
  ]
40
+ s.has_rdoc = %q{yard}
40
41
  s.homepage = %q{http://github.com/datamapper/dm-is-nested_set}
41
42
  s.rdoc_options = ["--charset=UTF-8"]
42
43
  s.require_paths = ["lib"]
@@ -53,17 +54,17 @@ Gem::Specification.new do |s|
53
54
  s.specification_version = 3
54
55
 
55
56
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
56
- s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.1"])
57
- s.add_runtime_dependency(%q<dm-adjust>, ["~> 1.0.1"])
57
+ s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.2"])
58
+ s.add_runtime_dependency(%q<dm-adjust>, ["~> 1.0.2"])
58
59
  s.add_development_dependency(%q<rspec>, ["~> 1.3"])
59
60
  else
60
- s.add_dependency(%q<dm-core>, ["~> 1.0.1"])
61
- s.add_dependency(%q<dm-adjust>, ["~> 1.0.1"])
61
+ s.add_dependency(%q<dm-core>, ["~> 1.0.2"])
62
+ s.add_dependency(%q<dm-adjust>, ["~> 1.0.2"])
62
63
  s.add_dependency(%q<rspec>, ["~> 1.3"])
63
64
  end
64
65
  else
65
- s.add_dependency(%q<dm-core>, ["~> 1.0.1"])
66
- s.add_dependency(%q<dm-adjust>, ["~> 1.0.1"])
66
+ s.add_dependency(%q<dm-core>, ["~> 1.0.2"])
67
+ s.add_dependency(%q<dm-adjust>, ["~> 1.0.2"])
67
68
  s.add_dependency(%q<rspec>, ["~> 1.3"])
68
69
  end
69
70
  end
@@ -326,8 +326,6 @@ module DataMapper
326
326
  ##
327
327
  # check if this node is a leaf (does not have subnodes).
328
328
  # use this instead ofdescendants.empty?
329
- #
330
- # @par
331
329
  def leaf?
332
330
  rgt - lft == 1
333
331
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 0
8
- - 1
9
- version: 1.0.1
8
+ - 2
9
+ version: 1.0.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Sindre Aarsaether
@@ -28,8 +28,8 @@ dependencies:
28
28
  segments:
29
29
  - 1
30
30
  - 0
31
- - 1
32
- version: 1.0.1
31
+ - 2
32
+ version: 1.0.2
33
33
  type: :runtime
34
34
  version_requirements: *id001
35
35
  - !ruby/object:Gem::Dependency
@@ -43,8 +43,8 @@ dependencies:
43
43
  segments:
44
44
  - 1
45
45
  - 0
46
- - 1
47
- version: 1.0.1
46
+ - 2
47
+ version: 1.0.2
48
48
  type: :runtime
49
49
  version_requirements: *id002
50
50
  - !ruby/object:Gem::Dependency
@@ -90,7 +90,7 @@ files:
90
90
  - tasks/spec.rake
91
91
  - tasks/yard.rake
92
92
  - tasks/yardstick.rake
93
- has_rdoc: true
93
+ has_rdoc: yard
94
94
  homepage: http://github.com/datamapper/dm-is-nested_set
95
95
  licenses: []
96
96