pg_migrate 0.1.13 → 0.1.14

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 823e5a169bfee8471bfdec2b9a5f62727655b37e
4
- data.tar.gz: 7d2be625b69229328bac561fb0bbbdc4880cd5da
3
+ metadata.gz: b5f2c53f9df3ac56f4be8a15cbcaadb25f1dcd8a
4
+ data.tar.gz: b51b2c5c8044aeff8523e8274cfc9f1215b9f10c
5
5
  SHA512:
6
- metadata.gz: 5e0a8684e996c0574c55d853f442c3bfb1e4eb66b8e6af899ad1a72dd42aae9878b4e09c43e937e61dbe031586bd61599d242d7158a5a5013a715ac150d2de7e
7
- data.tar.gz: 2567076a541294d6ad2b95c69779fbf2a560de9679c0b1339de655890869e913cc66cb61e0acac67d4d24b03ea59a9e45fc0dbd0e9a7a4e2e758e0a5ce0dda5b
6
+ metadata.gz: 927a05d22d6fe48a3473608635cc2df03e786f037808e92028ea496236935660e546c1a0c5dc7d4d41c055adbe6e5bd044784b1d7ac30a3a060fffb1665597b9
7
+ data.tar.gz: 2f428ffec5c6671a9c78f4339c14a13b08df9f4e031bb0087d09e458ea67ec5f7574d50f72355bb208e17d42c42daf3171407f11671e5ae8efc4abddc882fafa
@@ -86,7 +86,7 @@ BEGIN
86
86
 
87
87
  -- one row has been found; verify ordinal is correct
88
88
  IF found_migration.ordinal <> ordinal THEN
89
- RAISE EXCEPTION 'pg_migrate: code=incorrect_ordinal, migration=%, expected_ordinal=%, actual_ordinal', migration, ordinal, found_migration.ordinal;
89
+ RAISE EXCEPTION 'pg_migrate: code=incorrect_ordinal, migration=%, expected_ordinal=%, actual_ordinal=%', migration, ordinal, found_migration.ordinal;
90
90
  END IF;
91
91
 
92
92
  END;
@@ -154,7 +154,7 @@ BEGIN
154
154
  found_pg_migrate_id = NULL;
155
155
  WHEN TOO_MANY_ROWS THEN
156
156
  -- this path should never occur because of the multi-column index on pg_migrate
157
- RAISE EXCEPTION 'pg_migrate: code=pg_migrate_uniqueness_error, migration=%, ordinal=%, template_version=%, builder_version=%, migrator_version=%, database_version', migration, ordinal, template_version, builder_version, migrator_version, (select version());
157
+ RAISE EXCEPTION 'pg_migrate: code=pg_migrate_uniqueness_error, migration=%, ordinal=%, template_version=%, builder_version=%, migrator_version=%, database_version=%', migration, ordinal, template_version, builder_version, migrator_version, (select version());
158
158
  END;
159
159
 
160
160
  IF found_pg_migrate_id IS NULL THEN
@@ -1,3 +1,3 @@
1
1
  module PgMigrate
2
- VERSION = "0.1.13"
2
+ VERSION = "0.1.14"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_migrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Call
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-18 00:00:00.000000000 Z
11
+ date: 2016-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logging
@@ -42,14 +42,14 @@ dependencies:
42
42
  name: thor
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: Simple migration tool focused on Postgresql
@@ -60,8 +60,8 @@ executables:
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - .gitignore
64
- - .gitmodules
63
+ - ".gitignore"
64
+ - ".gitmodules"
65
65
  - Gemfile
66
66
  - Gemfile.lock
67
67
  - LICENSE
@@ -83,6 +83,8 @@ files:
83
83
  - lib/pg_migrate/package_templates/lib/gem/version.rb
84
84
  - lib/pg_migrate/props.rb
85
85
  - lib/pg_migrate/sql_reader.rb
86
+ - lib/pg_migrate/templates/bootstrap.erb
87
+ - lib/pg_migrate/templates/up.erb
86
88
  - lib/pg_migrate/util.rb
87
89
  - lib/pg_migrate/version.rb
88
90
  - pg_migrate.gemspec
@@ -98,8 +100,6 @@ files:
98
100
  - spec/pg_migrate/package_spec.rb
99
101
  - spec/pg_migrate/sql_reader_spec.rb
100
102
  - spec/spec_helper.rb
101
- - lib/pg_migrate/templates/bootstrap.erb
102
- - lib/pg_migrate/templates/up.erb
103
103
  homepage: https://github.com/sethcall/pg_migrate
104
104
  licenses: []
105
105
  metadata: {}
@@ -109,17 +109,17 @@ require_paths:
109
109
  - lib
110
110
  required_ruby_version: !ruby/object:Gem::Requirement
111
111
  requirements:
112
- - - '>='
112
+ - - ">="
113
113
  - !ruby/object:Gem::Version
114
114
  version: '0'
115
115
  required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - '>='
117
+ - - ">="
118
118
  - !ruby/object:Gem::Version
119
119
  version: '0'
120
120
  requirements: []
121
121
  rubyforge_project:
122
- rubygems_version: 2.0.3
122
+ rubygems_version: 2.4.5.1
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: Create migration scripts in raw SQL that work regardless if they are run