pg_migrate 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -8,8 +8,6 @@ With this gem, there are two primary features:
8
8
 
9
9
  ## Installation
10
10
 
11
- **NOTE: this gem is not yet published**
12
-
13
11
  Add this line to your application's Gemfile:
14
12
 
15
13
  gem 'pg_migrate'
@@ -171,7 +171,9 @@ module PgMigrate
171
171
 
172
172
  migration_def = loaded_manifest_hash[manifest_name]
173
173
 
174
- create_wrapped_up_migration(migration_in_path, migration_out_path, migration_def, loaded_manifest)
174
+ unless migration_def.nil?
175
+ create_wrapped_up_migration(migration_in_path, migration_out_path, migration_def, loaded_manifest)
176
+ end
175
177
  else
176
178
  @log.debug "copying non-sql file #{migration_in_path}"
177
179
  # if not a .sql file, just copy it over
@@ -209,4 +211,4 @@ module PgMigrate
209
211
 
210
212
  end
211
213
  end
212
- end
214
+ end
@@ -38,7 +38,7 @@ module PgMigrate
38
38
  sql_reader = SqlReader.new
39
39
 
40
40
  connopts = local_options["connopts"]
41
- connopts ||= {}
41
+ connopts ||= {}
42
42
 
43
43
  if !connopts["port"].nil?
44
44
  connopts["port"] = connopts["port"].to_i
@@ -1,3 +1,3 @@
1
1
  module PgMigrate
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_migrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-23 00:00:00.000000000 Z
12
+ date: 2012-11-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: logging