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 +1 -1
- data/Rakefile +2 -1
- data/VERSION +1 -1
- data/dm-migrations.gemspec +5 -4
- data/lib/dm-migrations/adapters/dm-sqlserver-adapter.rb +1 -1
- data/lib/dm-migrations/sql/table_modifier.rb +1 -1
- metadata +5 -5
data/Gemfile
CHANGED
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.
|
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.0.2
|
data/dm-migrations.gemspec
CHANGED
@@ -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.
|
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.
|
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.
|
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.
|
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
|
@@ -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
|
-
|
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
|
-
-
|
9
|
-
version: 1.0.
|
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
|
-
-
|
32
|
-
version: 1.0.
|
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:
|
117
|
+
has_rdoc: yard
|
118
118
|
homepage: http://github.com/datamapper/dm-migrations
|
119
119
|
licenses: []
|
120
120
|
|