provideal-migration-helpers 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/init.rb +1 -10
- data/lib/provideal_migration_helpers.rb +10 -0
- data/provideal-migration-helpers.gemspec +2 -2
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.1
|
data/init.rb
CHANGED
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
require '
|
|
1
|
+
require 'provideal_migration_helpers'
|
|
2
2
|
|
|
3
|
-
# Support for MySQL
|
|
4
|
-
if defined?(ActiveRecord::ConnectionAdapters::MysqlAdapter)
|
|
5
|
-
ActiveRecord::ConnectionAdapters::MysqlAdapter.send :include, Provideal::MigrationHelpers
|
|
6
|
-
end
|
|
7
|
-
|
|
8
|
-
# Support for PostgreSQL
|
|
9
|
-
if defined?(ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)
|
|
10
|
-
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.send :include, Provideal::MigrationHelpers
|
|
11
|
-
end
|
|
@@ -23,4 +23,14 @@ module Provideal
|
|
|
23
23
|
execute sql
|
|
24
24
|
end
|
|
25
25
|
end
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
# Support for MySQL
|
|
29
|
+
if defined?(::ActiveRecord::ConnectionAdapters::MysqlAdapter)
|
|
30
|
+
::ActiveRecord::ConnectionAdapters::MysqlAdapter.send :include, Provideal::MigrationHelpers
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# Support for PostgreSQL
|
|
34
|
+
if defined?(::ActiveRecord::ConnectionAdapters::PostgreSQLAdapter)
|
|
35
|
+
::ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.send :include, Provideal::MigrationHelpers
|
|
26
36
|
end
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{provideal-migration-helpers}
|
|
8
|
-
s.version = "1.1.
|
|
8
|
+
s.version = "1.1.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Ren\303\251 Sprotte"]
|
|
12
|
-
s.date = %q{2009-
|
|
12
|
+
s.date = %q{2009-10-01}
|
|
13
13
|
s.email = %q{info@provideal.net}
|
|
14
14
|
s.files = [
|
|
15
15
|
".gitignore",
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: provideal-migration-helpers
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- "Ren\xC3\xA9 Sprotte"
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-
|
|
12
|
+
date: 2009-10-01 00:00:00 +02:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|