db_schema-reader-postgres 0.2.rc2 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 990b8933a3902ce9f0887944ff69f1134741987e77f059b029d5e7642b539a0a
4
- data.tar.gz: a30df58f848726ce34b9975dad5d46de6595e697188c6443cf494f9247c85359
3
+ metadata.gz: ac61a75c190d67d10108dabc85d2a5a00d3b68d1b526bffce9289f935b4b7ae2
4
+ data.tar.gz: 16ed5a257c8616376e70a26a08e4fe4363eb52ab434fbfb54830e7f0e1c90ed5
5
5
  SHA512:
6
- metadata.gz: 997f6d45571460252be0010a4e91a807b62ed3e957682867b98f5a49a23fdff364d4204b47eba6454e4c27d442b8afbe0d0f7430a14896ad8887678c295caec0
7
- data.tar.gz: 7808d2a72bbc61df6d3a451d412bc0839147ca1255490ce81e40bca94c800dbe6153ebfb11200e89fcfe5cd0cee9ff1d301a71b1e1a75c0762cdae317eb3e573
6
+ metadata.gz: 303ecbbaeaa32280e860543a956c3484fb70839c534fbdc0d01d39b4b5d5d854d494e6f3b4cbe6c42ad1eb5cbc6d97528ffdf21bd950fb4ab21015d0e34e4e1e
7
+ data.tar.gz: f425fbd13467d54a0f98719b3339826243e1a2ead4517f5bd2d4c171b22aaba4d0c87bed68c191872303a3d1084ab2c5227dbfea25ce1d5e92d8439620ce49b2
data/Gemfile CHANGED
@@ -1,5 +1,3 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- gem 'db_schema-definitions', github: 'db-schema/definitions', branch: 'primary_keys'
4
-
5
3
  gemspec
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # DbSchema::Reader::Postgres [![Build Status](https://travis-ci.org/db-schema/reader-postgres.svg?branch=master)](https://travis-ci.org/db-schema/reader-postgres)
1
+ # DbSchema::Reader::Postgres [![Build Status](https://travis-ci.org/db-schema/reader-postgres.svg?branch=master)](https://travis-ci.org/db-schema/reader-postgres) [![Gem Version](https://badge.fury.io/rb/db_schema-reader-postgres.svg)](https://badge.fury.io/rb/db_schema-reader-postgres)
2
2
 
3
3
  DbSchema::Reader::Postgres is a library for reading the database
4
4
  structure from PostgreSQL.
@@ -44,16 +44,13 @@ reader.read_schema
44
44
  # => #<DbSchema::Definitions::Schema ...>
45
45
  ```
46
46
 
47
- Other useful methods are `#read_tables`, `#read_table`, `#read_enums` & `#read_extensions`;
47
+ Other useful methods are `#read_tables`, `#read_enums` & `#read_extensions`;
48
48
  they return definitions of respective parts of the database schema:
49
49
 
50
50
  ``` ruby
51
51
  reader.read_tables
52
52
  # => [#<DbSchema::Definitions::Table ...>, #<DbSchema::Definitions::Table ...>, ...]
53
53
 
54
- reader.read_table(:users)
55
- # => #<DbSchema::Definitions::Table name=:users ...>
56
-
57
54
  reader.read_enums
58
55
  # => [#<DbSchema::Definitions::Enum ...>, #<DbSchema::Definitions::Enum ...>, ...]
59
56
 
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ['7@7vn.ru']
10
10
 
11
11
  spec.summary = 'Database schema reader for PostgreSQL'
12
- spec.description = 'A database structure reader for PostgreSQL with support for tables, fields, indexes, foreign keys, check constraints, enum types and extensions.'
12
+ spec.description = 'A database structure reader for PostgreSQL with support for tables, fields, primary keys, indexes, foreign keys, check constraints, enum types and extensions.'
13
13
  spec.homepage = 'https://github.com/db-schema/reader-postgres'
14
14
  spec.license = 'MIT'
15
15
 
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_runtime_dependency 'sequel'
22
22
  spec.add_runtime_dependency 'pg'
23
- spec.add_runtime_dependency 'db_schema-definitions', '= 0.2.rc1'
23
+ spec.add_runtime_dependency 'db_schema-definitions', '~> 0.2.0'
24
24
 
25
25
  spec.add_development_dependency 'bundler', '~> 1.16'
26
26
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -1,7 +1,7 @@
1
1
  module DbSchema
2
2
  module Reader
3
3
  class Postgres
4
- VERSION = '0.2.rc2'
4
+ VERSION = '0.2'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: db_schema-reader-postgres
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.rc2
4
+ version: '0.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vsevolod Romashov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-24 00:00:00.000000000 Z
11
+ date: 2019-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: db_schema-definitions
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '='
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.2.rc1
47
+ version: 0.2.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '='
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.2.rc1
54
+ version: 0.2.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -165,7 +165,7 @@ dependencies:
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  description: A database structure reader for PostgreSQL with support for tables, fields,
168
- indexes, foreign keys, check constraints, enum types and extensions.
168
+ primary keys, indexes, foreign keys, check constraints, enum types and extensions.
169
169
  email:
170
170
  - 7@7vn.ru
171
171
  executables: []
@@ -202,9 +202,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
202
202
  version: '0'
203
203
  required_rubygems_version: !ruby/object:Gem::Requirement
204
204
  requirements:
205
- - - ">"
205
+ - - ">="
206
206
  - !ruby/object:Gem::Version
207
- version: 1.3.1
207
+ version: '0'
208
208
  requirements: []
209
209
  rubygems_version: 3.0.1
210
210
  signing_key: