pgdiff 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.rdoc +3 -0
  3. data/bin/pgdiff +0 -3
  4. data/lib/diff.rb +2 -2
  5. metadata +10 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 0ed8304d8136891ddc01a5de766d293ef7b95534
4
- data.tar.gz: 955748783f3ee852a7fe09cff074c4f2e42808c6
2
+ SHA256:
3
+ metadata.gz: 68b437ba9b29ffad626470871d071797eb01db9e0ef80e46036ac894cd389ee7
4
+ data.tar.gz: ab86aaa142d6e7f5f8f883c249edf46054524e820c589c10c5b9066a207bbb9c
5
5
  SHA512:
6
- metadata.gz: 7907cd30ec595f41d7a8ab10faa38cf0b54cde413d9ed7e34ef6a3ec1d73037334cd82acf160c25387e0f3e117feb98e68590f293261a06c3d84dcc00a5ad8e7
7
- data.tar.gz: aae251d848b7d31af3082850ca4e9e482577cb081dcf246bfa458aa5bae0cbb10f37cd273207ed2034066b095994bd69f20b983dd610f3fdcf868cc4bb60c6a2
6
+ metadata.gz: dbf27f416b4aa28071de9754ad81d626ce3d3f1680b5db41bc4779042cf01fc1b51609b68be93dc0be29fc503e67d2a89b31fd96a0d26926595683795de222d5
7
+ data.tar.gz: 2e6ab376273507606fa28a70e8116d9522353524129d63b4d98137aead8c9855d772a0b09dda218049db16f64aa4fa490a5ed6e0ded28292a01a96cbf8e2968f
@@ -1,5 +1,8 @@
1
1
  = Changelog
2
2
 
3
+ === 1.0.1 (May 16, 2018)
4
+ * Stop using deprecated PGConn class
5
+
3
6
  === 1.0.0 (January 31, 2015)
4
7
  * Improve constraint checking
5
8
  * Change output ordering
data/bin/pgdiff CHANGED
@@ -23,9 +23,6 @@ if ARGV.length != 2
23
23
  "more information about how to format connection strings see http://www.rubydoc.info/gems/pg/PG/Connection:initialize")
24
24
  end
25
25
 
26
- source_db = ARGV[0]
27
- target_db = ARGV[1]
28
-
29
26
  diff = PgDiff::Diff.new(ARGV[0], ARGV[1])
30
27
  diff.run_compare
31
28
  puts diff.output
@@ -1,8 +1,8 @@
1
1
  module PgDiff
2
2
  class Diff
3
3
  def initialize(old_db_spec, new_db_spec)
4
- @old_conn = PGconn.new(old_db_spec)
5
- @new_conn = PGconn.new(new_db_spec)
4
+ @old_conn = PG::Connection.new(old_db_spec)
5
+ @new_conn = PG::Connection.new(new_db_spec)
6
6
  @sections = [
7
7
  :domains_drop,
8
8
  :domains_create,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgdiff
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie Savage
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-31 00:00:00.000000000 Z
11
+ date: 2018-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pg
@@ -16,16 +16,18 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.17.0
19
+ version: 0.18.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.17.0
27
- description: |
28
- Compares two PostgreSQL databases and generates the SQL statements needed to make their structure the same.
26
+ version: 0.18.0
27
+ description: 'Compares two PostgreSQL databases and generates the SQL statements needed
28
+ to make their structure the same.
29
+
30
+ '
29
31
  email:
30
32
  executables:
31
33
  - pgdiff
@@ -58,7 +60,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
58
60
  requirements:
59
61
  - - ">="
60
62
  - !ruby/object:Gem::Version
61
- version: 1.9.3
63
+ version: 2.1.0
62
64
  required_rubygems_version: !ruby/object:Gem::Requirement
63
65
  requirements:
64
66
  - - ">="
@@ -66,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
68
  version: '0'
67
69
  requirements: []
68
70
  rubyforge_project:
69
- rubygems_version: 2.4.5
71
+ rubygems_version: 2.7.6
70
72
  signing_key:
71
73
  specification_version: 4
72
74
  summary: Provides a ruby script that compares two PostgreSQL databases and generates