dm-migrations 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 = 'psadauskas [a] gmail [d] com'
13
13
  gem.homepage = 'http://github.com/datamapper/%s' % gem.name
14
14
  gem.authors = [ 'Paul Sadauskas' ]
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{dm-migrations}
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 = ["Paul Sadauskas"]
@@ -76,6 +76,7 @@ Gem::Specification.new do |s|
76
76
  "tasks/yard.rake",
77
77
  "tasks/yardstick.rake"
78
78
  ]
79
+ s.has_rdoc = %q{yard}
79
80
  s.homepage = %q{http://github.com/datamapper/dm-migrations}
80
81
  s.rdoc_options = ["--charset=UTF-8"]
81
82
  s.require_paths = ["lib"]
@@ -108,14 +109,14 @@ Gem::Specification.new do |s|
108
109
  s.specification_version = 3
109
110
 
110
111
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
111
- s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.1"])
112
+ s.add_runtime_dependency(%q<dm-core>, ["~> 1.0.2"])
112
113
  s.add_development_dependency(%q<rspec>, ["~> 1.3"])
113
114
  else
114
- s.add_dependency(%q<dm-core>, ["~> 1.0.1"])
115
+ s.add_dependency(%q<dm-core>, ["~> 1.0.2"])
115
116
  s.add_dependency(%q<rspec>, ["~> 1.3"])
116
117
  end
117
118
  else
118
- s.add_dependency(%q<dm-core>, ["~> 1.0.1"])
119
+ s.add_dependency(%q<dm-core>, ["~> 1.0.2"])
119
120
  s.add_dependency(%q<rspec>, ["~> 1.3"])
120
121
  end
121
122
  end
@@ -47,7 +47,7 @@ module DataMapper
47
47
 
48
48
  # TODO: update dkubb/dm-more/dm-migrations to use schema_name and remove this
49
49
 
50
- alias db_name schema_name
50
+ alias_method :db_name, :schema_name
51
51
 
52
52
  # @api private
53
53
  def create_table_statement(connection, model, properties)
@@ -28,7 +28,7 @@ module SQL
28
28
  @statements << "ALTER TABLE #{quoted_table_name} DROP COLUMN #{quote_column_name(name)}"
29
29
  end
30
30
  end
31
- alias drop_columns drop_column
31
+ alias_method :drop_columns, :drop_column
32
32
 
33
33
  def rename_column(name, new_name, opts = {})
34
34
  # raise NotImplemented for SQLite3
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
  - Paul Sadauskas
@@ -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
@@ -114,7 +114,7 @@ files:
114
114
  - tasks/spec.rake
115
115
  - tasks/yard.rake
116
116
  - tasks/yardstick.rake
117
- has_rdoc: true
117
+ has_rdoc: yard
118
118
  homepage: http://github.com/datamapper/dm-migrations
119
119
  licenses: []
120
120