molo 0.7.2 → 0.7.3
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/Molo.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{molo}
|
8
|
-
s.version = "0.7.
|
8
|
+
s.version = "0.7.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Joel Moss", "Todd Huss", "Michael Grosser"]
|
data/README.markdown
CHANGED
@@ -5,8 +5,8 @@ Molo provides Rails database migrations for non-Rails and non-Ruby projects. By
|
|
5
5
|
|
6
6
|
The following tasks are provided:
|
7
7
|
|
8
|
-
rake db:data:dump # Dump contents of database to db/data.extension (defaults to yaml)
|
9
|
-
rake db:data:dump_dir # Dump contents of database to db/data/tablename.extension (defaults to yaml)
|
8
|
+
rake db:data:dump # Dump contents of database to db/data.extension (defaults to yaml; ignore tables with 'except' or ignore all those woth 'only')
|
9
|
+
rake db:data:dump_dir # Dump contents of database to db/data/tablename.extension (defaults to yaml; ignore tables with 'except' or ignore all those woth 'only')
|
10
10
|
rake db:data:load # Load contents of db/data.extension (defaults to yaml) into database
|
11
11
|
rake db:data:load_dir # Load contents of db/data/* into database
|
12
12
|
rake db:dump # Dump schema and data to db/schema.rb and db/data.yml
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.3
|
@@ -1,9 +1,13 @@
|
|
1
1
|
module RailsSqlViews
|
2
2
|
module ConnectionAdapters
|
3
3
|
module Mysql2Adapter
|
4
|
+
REQUIRED_METHODS = [:supports_views?]
|
5
|
+
|
4
6
|
def self.included(base)
|
5
|
-
|
6
|
-
|
7
|
+
base.class_eval do
|
8
|
+
def self.method_added(method)
|
9
|
+
public(method) if REQUIRED_METHODS.include?(method) && !self.public_method_defined?(method)
|
10
|
+
end
|
7
11
|
end
|
8
12
|
end
|
9
13
|
|
metadata
CHANGED