pgcli-rails 0.6.4 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +2 -2
- data/lib/pgcli/rails/tasks.rake +1 -1
- data/lib/pgcli/rails/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3cbab19637a46e7a7f097af1d3b312411469c330d717be8d3f025c7558d55692
|
4
|
+
data.tar.gz: 82eb2f746f696b4e16fa63ec227594bf53aadb88220af6c1325100a14162122f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 351bbf4f0f7b209c488dc698d364d05ad786991fc78b13de8f8aaddfadfc947f2bb1605f42bdabbf0d6968209f0bba91a22793c31eb0abc15230dd002fcb2960
|
7
|
+
data.tar.gz: 72373571948af3606f6ffcb08aff0d9466c0e3a5979c4ab2e1e92f2a611aab35e905227c3046627b3ec7078e904602b9e2a329e896c1c270760b3a0d400b74a2
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# pgcli-rails
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/pgcli-rails.svg)](http://badge.fury.io/rb/pgcli-rails)
|
4
|
-
[![Build Status](https://
|
4
|
+
[![Build Status](https://mattbrictson.semaphoreci.com/badges/pgcli-rails/branches/main.svg?style=shields)](https://mattbrictson.semaphoreci.com/projects/pgcli-rails)
|
5
5
|
|
6
6
|
[pgcli][] is a command-line interface for PostgreSQL that offers many improvements over `psql`, like auto-completion and syntax highlighting. Wouldn't it be nice to have a convenient way to use `pgcli` with your Rails app?
|
7
7
|
|
@@ -43,7 +43,7 @@ RAILS_ENV=test bin/rake pgcli
|
|
43
43
|
## Requirements
|
44
44
|
|
45
45
|
* Rails 4.2+ using PostgreSQL
|
46
|
-
* Ruby
|
46
|
+
* Ruby 3.0+
|
47
47
|
* [pgcli][] (`brew install pgcli` to install on macOS)
|
48
48
|
|
49
49
|
## How it works
|
data/lib/pgcli/rails/tasks.rake
CHANGED
@@ -5,7 +5,7 @@ task :pgcli do
|
|
5
5
|
# APP_PATH constant must be set for DBConsole to work
|
6
6
|
APP_PATH = Rails.root.join("config", "application") unless defined?(APP_PATH)
|
7
7
|
|
8
|
-
opt = if
|
8
|
+
opt = if Rails.version >= "5.1"
|
9
9
|
{ "--include-password" => true }
|
10
10
|
else
|
11
11
|
["--include-password"]
|
data/lib/pgcli/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pgcli-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brictson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -55,14 +55,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
55
55
|
requirements:
|
56
56
|
- - ">="
|
57
57
|
- !ruby/object:Gem::Version
|
58
|
-
version: '
|
58
|
+
version: '3.0'
|
59
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '0'
|
64
64
|
requirements: []
|
65
|
-
rubygems_version: 3.
|
65
|
+
rubygems_version: 3.4.12
|
66
66
|
signing_key:
|
67
67
|
specification_version: 4
|
68
68
|
summary: Replaces the Rails PostgreSQL dbconsole with the much nicer pgcli
|