dm-adjust 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,10 +12,11 @@ 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-core', '~> 1.0.2'
19
20
 
20
21
  gem.add_development_dependency 'rspec', '~> 1.3'
21
22
  end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
data/dm-adjust.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dm-adjust}
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"]
@@ -41,6 +41,7 @@ Gem::Specification.new do |s|
41
41
  "tasks/yard.rake",
42
42
  "tasks/yardstick.rake"
43
43
  ]
44
+ s.has_rdoc = %q{yard}
44
45
  s.homepage = %q{http://github.com/datamapper/dm-adjust}
45
46
  s.rdoc_options = ["--charset=UTF-8"]
46
47
  s.require_paths = ["lib"]
@@ -57,14 +58,14 @@ Gem::Specification.new do |s|
57
58
  s.specification_version = 3
58
59
 
59
60
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
60
- s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.1"])
61
+ s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.2"])
61
62
  s.add_development_dependency(%q<rspec>, ["~> 1.3"])
62
63
  else
63
- s.add_dependency(%q<dm-core>, ["~> 1.0.1"])
64
+ s.add_dependency(%q<dm-core>, ["~> 1.0.2"])
64
65
  s.add_dependency(%q<rspec>, ["~> 1.3"])
65
66
  end
66
67
  else
67
- s.add_dependency(%q<dm-core>, ["~> 1.0.1"])
68
+ s.add_dependency(%q<dm-core>, ["~> 1.0.2"])
68
69
  s.add_dependency(%q<rspec>, ["~> 1.3"])
69
70
  end
70
71
  end
@@ -15,7 +15,7 @@ module DataMapper
15
15
  # @param attributes <Hash> A hash of attributes to adjust, and their adjustment
16
16
  # @param reload <FalseClass,TrueClass> If true, affected objects will be reloaded
17
17
  #
18
- # @public
18
+ # @api public
19
19
  def adjust!(attributes = {}, reload = false)
20
20
  return true if attributes.empty?
21
21
 
@@ -13,7 +13,7 @@ module DataMapper
13
13
  # * Children.adjust(:allowance => -100)
14
14
  #
15
15
  # @param attributes <Hash> A hash of attributes to adjust, and their adjustment
16
- # @public
16
+ # @api public
17
17
  def adjust!(*args)
18
18
  all.adjust!(*args)
19
19
  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
@@ -79,7 +79,7 @@ files:
79
79
  - tasks/spec.rake
80
80
  - tasks/yard.rake
81
81
  - tasks/yardstick.rake
82
- has_rdoc: true
82
+ has_rdoc: yard
83
83
  homepage: http://github.com/datamapper/dm-adjust
84
84
  licenses: []
85
85