pg_dumper 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -3,5 +3,5 @@ rvm:
3
3
  - 1.8.7
4
4
  - 1.9.2
5
5
  - 1.9.3
6
- script: rspec spec
7
- bundler_args: --without darwin development
6
+ script: bundle exec rspec spec
7
+ bundler_args: --without guard
data/Gemfile CHANGED
@@ -1,7 +1,8 @@
1
- source "http://rubygems.org"
1
+ source :rubygems
2
2
 
3
- # Specify your gem's dependencies in pg_dumper.gemspec
4
3
  gemspec
5
4
 
6
- gem 'guard-rspec'
7
- gem 'guard-bundler'
5
+ group :guard do
6
+ gem 'guard-rspec'
7
+ gem 'guard-bundler'
8
+ end
data/README.md CHANGED
@@ -18,3 +18,8 @@ Dumps database schema **without data**.
18
18
  # Credits
19
19
  PgDumper uses awesome [Escape](https://github.com/akr/escape) library so thanks to [Tanaka Akira](https://github.com/akr).
20
20
 
21
+ # Tests
22
+
23
+ Huge TODO!
24
+
25
+ But is tested on Travis against 1.8.7, ree, 1.9.2 and 1.9.3.
@@ -1,3 +1,3 @@
1
1
  class PgDumper
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
@@ -11,7 +11,7 @@ namespace :db do
11
11
  end
12
12
 
13
13
  dump = PgDumper.new db["database"]
14
- dump.recreate!
14
+ dump.clear!
15
15
  dump.connection = db
16
16
  dump.output = backup_file
17
17
  dump.verbose! if ENV['VERBOSE'].present?
@@ -60,4 +60,4 @@ namespace :db do
60
60
  @backup_file = file
61
61
  end
62
62
  end
63
- end
63
+ end
data/pg_dumper.gemspec CHANGED
@@ -17,5 +17,5 @@ Gem::Specification.new do |s|
17
17
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
18
  s.require_paths = ["lib"]
19
19
 
20
- s.add_development_dependency 'rspec', '~> 2.7'
20
+ s.add_development_dependency 'rspec', '~> 2.8.0'
21
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_dumper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,19 +9,24 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-06 00:00:00.000000000Z
12
+ date: 2012-10-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70199057823320 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '2.7'
21
+ version: 2.8.0
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70199057823320
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 2.8.0
25
30
  description: Provides abstraction layer between pg_dump utility and ruby. Also adds
26
31
  rake task to easily dump database with or without data.
27
32
  email:
@@ -64,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
69
  version: '0'
65
70
  requirements: []
66
71
  rubyforge_project:
67
- rubygems_version: 1.8.10
72
+ rubygems_version: 1.8.24
68
73
  signing_key:
69
74
  specification_version: 3
70
75
  summary: Adds Rake tasks to easily dump postgresql database with or without data