pg_examiner 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -13
- data/Rakefile +5 -0
- data/lib/pg_examiner.rb +2 -0
- data/lib/pg_examiner/base.rb +16 -14
- data/lib/pg_examiner/result.rb +9 -2
- data/lib/pg_examiner/result/column.rb +12 -2
- data/lib/pg_examiner/result/constraint.rb +6 -1
- data/lib/pg_examiner/result/extension.rb +9 -2
- data/lib/pg_examiner/result/function.rb +12 -2
- data/lib/pg_examiner/result/index.rb +11 -2
- data/lib/pg_examiner/result/item.rb +2 -0
- data/lib/pg_examiner/result/language.rb +5 -1
- data/lib/pg_examiner/result/schema.rb +13 -1
- data/lib/pg_examiner/result/sequence.rb +15 -0
- data/lib/pg_examiner/result/table.rb +14 -3
- data/lib/pg_examiner/result/trigger.rb +9 -2
- data/lib/pg_examiner/version.rb +3 -1
- data/pg_examiner.gemspec +3 -0
- data/spec/constraint_spec.rb +14 -12
- data/spec/extension_spec.rb +4 -2
- data/spec/function_spec.rb +7 -218
- data/spec/index_spec.rb +133 -12
- data/spec/language_spec.rb +2 -0
- data/spec/schema_spec.rb +14 -12
- data/spec/sequence_spec.rb +41 -0
- data/spec/spec_helper.rb +2 -0
- data/spec/table_spec.rb +16 -16
- data/spec/trigger_spec.rb +310 -0
- metadata +36 -3
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_examiner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Hanks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: pg
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: bundler
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +52,20 @@ dependencies:
|
|
38
52
|
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
41
69
|
- !ruby/object:Gem::Dependency
|
42
70
|
name: pry
|
43
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -77,6 +105,7 @@ files:
|
|
77
105
|
- lib/pg_examiner/result/item.rb
|
78
106
|
- lib/pg_examiner/result/language.rb
|
79
107
|
- lib/pg_examiner/result/schema.rb
|
108
|
+
- lib/pg_examiner/result/sequence.rb
|
80
109
|
- lib/pg_examiner/result/table.rb
|
81
110
|
- lib/pg_examiner/result/trigger.rb
|
82
111
|
- lib/pg_examiner/version.rb
|
@@ -87,8 +116,10 @@ files:
|
|
87
116
|
- spec/index_spec.rb
|
88
117
|
- spec/language_spec.rb
|
89
118
|
- spec/schema_spec.rb
|
119
|
+
- spec/sequence_spec.rb
|
90
120
|
- spec/spec_helper.rb
|
91
121
|
- spec/table_spec.rb
|
122
|
+
- spec/trigger_spec.rb
|
92
123
|
homepage: https://github.com/chanks/pg_examiner
|
93
124
|
licenses:
|
94
125
|
- MIT
|
@@ -109,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
140
|
version: '0'
|
110
141
|
requirements: []
|
111
142
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
143
|
+
rubygems_version: 2.5.1
|
113
144
|
signing_key:
|
114
145
|
specification_version: 4
|
115
146
|
summary: Parse the schemas of Postgres databases in detail
|
@@ -120,5 +151,7 @@ test_files:
|
|
120
151
|
- spec/index_spec.rb
|
121
152
|
- spec/language_spec.rb
|
122
153
|
- spec/schema_spec.rb
|
154
|
+
- spec/sequence_spec.rb
|
123
155
|
- spec/spec_helper.rb
|
124
156
|
- spec/table_spec.rb
|
157
|
+
- spec/trigger_spec.rb
|