postgres-copy 0.3.1 → 0.3.2

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/README.md CHANGED
@@ -1,11 +1,11 @@
1
- # activerecord-postgres-copy
1
+ # postgres-copy
2
2
 
3
3
  This Gem will enable your AR models to use the PostgreSQL COPY command to import/export data in CSV format.
4
4
  It's still in its ealry stages of development, *not production ready*.
5
5
 
6
6
  ## Install
7
7
 
8
- gem install activerecord-postgres-copy
8
+ gem install postgres-copy
9
9
 
10
10
  ## Usage
11
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
data/lib/postgres-copy.rb CHANGED
@@ -1,6 +1,6 @@
1
- # require 'rubygems'
2
- # require 'active_record'
3
- # require 'activerecord-postgres-copy/base'
1
+ require 'rubygems'
2
+ require 'active_record'
3
+ require 'postgres-copy/active_record'
4
4
  require 'rails'
5
5
 
6
6
  class PostgresCopy < Rails::Railtie
@@ -14,4 +14,4 @@ class PostgresCopy < Rails::Railtie
14
14
  require "postgres-copy/zip_responder"
15
15
  end
16
16
  end
17
- end
17
+ end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{postgres-copy}
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Diogo Biazus"]
12
- s.date = %q{2011-02-25}
12
+ s.date = %q{2011-03-17}
13
13
  s.description = %q{Now you can use the super fast COPY for import/export data directly from your AR models.}
14
14
  s.email = %q{diogob@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -1,4 +1,4 @@
1
- require 'activerecord-postgres-copy'
1
+ require 'postgres-copy'
2
2
 
3
3
  class ExtraField < ActiveRecord::Base
4
4
  end
@@ -1,4 +1,4 @@
1
- require 'activerecord-postgres-copy'
1
+ require 'postgres-copy'
2
2
 
3
3
  class TestModel < ActiveRecord::Base
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postgres-copy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Diogo Biazus
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-25 00:00:00 -03:00
18
+ date: 2011-03-17 00:00:00 -03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency