pg_comment 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module PgComment
2
- class Railtie < Rails::Railtie
2
+ class Engine < Rails::Engine
3
3
  initializer 'pg_comment.load_adapter' do
4
4
  ActiveSupport.on_load :active_record do
5
5
  ActiveRecord::ConnectionAdapters.module_eval do
@@ -1,3 +1,3 @@
1
1
  module PgComment
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/pg_comment.rb CHANGED
@@ -20,4 +20,4 @@ module PgComment
20
20
  end
21
21
  end
22
22
 
23
- require 'pg_comment/railtie' if defined?(Rails)
23
+ require 'pg_comment/engine' if defined?(Rails)
data/pg_comment.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.email = ["arthur.shagall@gmail.com"]
10
10
  s.homepage = "https://github.com/albertosaurus/pg_comment"
11
11
  s.summary = 'Postgres Comments for Rails'
12
- s.description = 'Adds helper methods to migrations and pulls out comments into schema.rb'
12
+ s.description = 'Extends Rails migrations to support setting column and table comments. Pulls out comments into schema.rb'
13
13
 
14
14
  s.rubyforge_project = "pg_comment"
15
15
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_comment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-12 00:00:00.000000000Z
12
+ date: 2011-09-29 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
16
- requirement: &18118440 !ruby/object:Gem::Requirement
16
+ requirement: &20302260 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.0.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *18118440
24
+ version_requirements: *20302260
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: test-unit
27
- requirement: &18117980 !ruby/object:Gem::Requirement
27
+ requirement: &20301640 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,8 +32,9 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *18117980
36
- description: Adds helper methods to migrations and pulls out comments into schema.rb
35
+ version_requirements: *20301640
36
+ description: Extends Rails migrations to support setting column and table comments. Pulls
37
+ out comments into schema.rb
37
38
  email:
38
39
  - arthur.shagall@gmail.com
39
40
  executables: []
@@ -49,8 +50,8 @@ files:
49
50
  - lib/pg_comment/connection_adapters/abstract/schema_definitions.rb
50
51
  - lib/pg_comment/connection_adapters/abstract/schema_statements.rb
51
52
  - lib/pg_comment/connection_adapters/postgresql_adapter.rb
53
+ - lib/pg_comment/engine.rb
52
54
  - lib/pg_comment/migration/command_recorder.rb
53
- - lib/pg_comment/railtie.rb
54
55
  - lib/pg_comment/schema_dumper.rb
55
56
  - lib/pg_comment/version.rb
56
57
  - pg_comment.gemspec