psql-cm 0.0.8 → 0.0.9

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/History.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.0.9 - 2012-04-23
2
+
3
+ Dump now uses --no-privileges, privileges should be handled separately.
4
+
1
5
  # 0.0.8 - 2012-04-23
2
6
 
3
7
  Corrected error message.
data/README.md CHANGED
@@ -62,7 +62,7 @@ technique tailored to your needs.
62
62
  Once the prerequisites have been satisfied on your system, using the
63
63
  'gem' command from Ruby 1.9.3 do:
64
64
 
65
- $ gem install psql-scm
65
+ $ gem install psql-cm
66
66
 
67
67
  ## Setup
68
68
 
data/lib/psql-cm/dump.rb CHANGED
@@ -14,9 +14,9 @@ module PSQLCM
14
14
 
15
15
  cm_file = File.join(sql_path,database,"#{schema}.sql")
16
16
 
17
- sh %W[ pg_dump #{db(database).psql_args}
18
- --no-owner --schema=#{schema} --file=#{cm_file} --table=#{config.cm_table}
19
- #{database} ].join(' ')
17
+ sh %W[ pg_dump #{db(database).psql_args} --no-privileges --no-owner
18
+ --schema=#{schema} --file=#{cm_file} --table=#{config.cm_table}
19
+ #{database} ].join(' ')
20
20
  end
21
21
  end
22
22
 
@@ -1,4 +1,4 @@
1
1
  module PSQLCM
2
- Version = '0.0.8'
2
+ Version = '0.0.9'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: psql-cm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
68
68
  version: 1.3.6
69
69
  requirements: []
70
70
  rubyforge_project:
71
- rubygems_version: 1.8.23
71
+ rubygems_version: 1.8.22
72
72
  signing_key:
73
73
  specification_version: 3
74
74
  summary: PostgreSQL CM