Skip to content

Commit 2acdec7

Browse files
committed
Merge pull request #68 from paazmaya/master
Dependency version status badges
2 parents 3d38696 + 98e9e00 commit 2acdec7

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Diff for: README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# mysql-to-postgres - MySQL to PostgreSQL Data Translation
22

3+
[![Build Status](https://travis-ci.org/maxlapshin/mysql2postgres.svg)](https://travis-ci.org/maxlapshin/mysql2postgres)
4+
[![Dependency Status](https://gemnasium.com/maxlapshin/mysql2postgres.svg)](https://gemnasium.com/maxlapshin/mysql2postgres)
5+
36
MRI or jruby supported.
47

58
With a bit of a modified rails database.yml configuration, you can integrate mysql-to-postgres into a project.

Diff for: lib/mysql2psql/config_base.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def method_missing(name, *args)
3030
else
3131
value = config[token]
3232
end
33-
value.nil? ? ( must_be_defined ? (fail Mysql2psql::UninitializedValueError.new("no value and no default for #{name}")) : default) : value
33+
value.nil? ? (must_be_defined ? (fail Mysql2psql::UninitializedValueError.new("no value and no default for #{name}")) : default) : value
3434
end
3535
end
3636
end

Diff for: lib/mysql2psql/converter.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ def initialize(reader, writer, options)
1818

1919
def convert
2020
tables = reader.tables
21-
.reject { |table| @exclude_tables.include?(table.name) }
22-
.select { |table| @only_tables ? @only_tables.include?(table.name) : true }
21+
.reject { |table| @exclude_tables.include?(table.name) }
22+
.select { |table| @only_tables ? @only_tables.include?(table.name) : true }
2323

2424
if @preserve_order
2525

0 commit comments

Comments
 (0)