pgcli-rails 0.2.1 → 0.3.0
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.
- checksums.yaml +5 -5
- data/CHANGELOG.md +6 -1
- data/LICENSE.txt +1 -1
- data/lib/pgcli/rails/dbconsole.rb +5 -1
- data/lib/pgcli/rails/tasks.rake +7 -1
- data/lib/pgcli/rails/version.rb +1 -1
- data/pgcli-rails.gemspec +3 -3
- metadata +13 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 9adf28e48e74b46c0180fce0474ba4ec6ead1ccd24cb4090d625d8ff0e4f3687
|
|
4
|
+
data.tar.gz: 6cd89a8c30bfe9f764fc7969041a8e4048ee56b42592fa608678acea9922b99d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0e83f585e64c84b881f0d442c80ad47926a1afde0528e61c2ab3f2f29ce8ccbfa5f54045aca1c4461511d57d8741e3c15e4ae2cb26941298b220f800298faff
|
|
7
|
+
data.tar.gz: f5fda20cea7b71ce706a06ff5a59b40f92633a7673004d109a427872984ac9a4230ff933b835e09c325ec6280e1c1d22d95cb91369a0202fe00e10610a22121e
|
data/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,10 @@ pgcli-rails is in a pre-1.0 state. This means that its APIs and behavior are sub
|
|
|
8
8
|
|
|
9
9
|
* Your contribution here!
|
|
10
10
|
|
|
11
|
+
## [0.3.0][] (2018-02-24)
|
|
12
|
+
|
|
13
|
+
* [#3](https://github.com/mattbrictson/pgcli-rails/pull/3): Add Rails 5.1 support - [@nachokb](https://github.com/nachokb)
|
|
14
|
+
|
|
11
15
|
## [0.2.1][] (2016-07-18)
|
|
12
16
|
|
|
13
17
|
* Minor change to gemspec summary
|
|
@@ -22,6 +26,7 @@ pgcli-rails is in a pre-1.0 state. This means that its APIs and behavior are sub
|
|
|
22
26
|
* Initial release
|
|
23
27
|
|
|
24
28
|
[Semver]: http://semver.org
|
|
25
|
-
[Unreleased]: https://github.com/mattbrictson/pgcli-rails/compare/v0.
|
|
29
|
+
[Unreleased]: https://github.com/mattbrictson/pgcli-rails/compare/v0.3.0...HEAD
|
|
30
|
+
[0.3.0]: https://github.com/mattbrictson/pgcli-rails/compare/v0.2.1...v0.3.0
|
|
26
31
|
[0.2.1]: https://github.com/mattbrictson/pgcli-rails/compare/v0.2.0...v0.2.1
|
|
27
32
|
[0.2.0]: https://github.com/mattbrictson/pgcli-rails/compare/v0.1.0...v0.2.0
|
data/LICENSE.txt
CHANGED
data/lib/pgcli/rails/tasks.rake
CHANGED
|
@@ -5,6 +5,12 @@ 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
|
-
|
|
8
|
+
opt = if ::Rails.version >= "5.1"
|
|
9
|
+
{ "--include-password" => true }
|
|
10
|
+
else
|
|
11
|
+
["--include-password"]
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
console = Pgcli::Rails::DBConsole.new(opt)
|
|
9
15
|
console.start
|
|
10
16
|
end
|
data/lib/pgcli/rails/version.rb
CHANGED
data/pgcli-rails.gemspec
CHANGED
|
@@ -22,8 +22,8 @@ Gem::Specification.new do |spec|
|
|
|
22
22
|
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.12"
|
|
24
24
|
spec.add_development_dependency "chandler"
|
|
25
|
-
spec.add_development_dependency "rake", "~>
|
|
25
|
+
spec.add_development_dependency "rake", "~> 12.0"
|
|
26
26
|
spec.add_development_dependency "minitest", "~> 5.0"
|
|
27
|
-
spec.add_development_dependency "minitest-reporters"
|
|
28
|
-
spec.add_development_dependency "rubocop", "
|
|
27
|
+
spec.add_development_dependency "minitest-reporters", "~> 1.1"
|
|
28
|
+
spec.add_development_dependency "rubocop", "0.48.1"
|
|
29
29
|
end
|
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.3.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: 2018-02-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|
|
@@ -58,14 +58,14 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '
|
|
61
|
+
version: '12.0'
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '
|
|
68
|
+
version: '12.0'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: minitest
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -84,30 +84,30 @@ dependencies:
|
|
|
84
84
|
name: minitest-reporters
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- - "
|
|
87
|
+
- - "~>"
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '
|
|
89
|
+
version: '1.1'
|
|
90
90
|
type: :development
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- - "
|
|
94
|
+
- - "~>"
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '
|
|
96
|
+
version: '1.1'
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: rubocop
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
|
101
|
-
- -
|
|
101
|
+
- - '='
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: 0.
|
|
103
|
+
version: 0.48.1
|
|
104
104
|
type: :development
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
|
-
- -
|
|
108
|
+
- - '='
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: 0.
|
|
110
|
+
version: 0.48.1
|
|
111
111
|
description:
|
|
112
112
|
email:
|
|
113
113
|
- opensource@mattbrictson.com
|
|
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
153
153
|
version: '0'
|
|
154
154
|
requirements: []
|
|
155
155
|
rubyforge_project:
|
|
156
|
-
rubygems_version: 2.
|
|
156
|
+
rubygems_version: 2.7.6
|
|
157
157
|
signing_key:
|
|
158
158
|
specification_version: 4
|
|
159
159
|
summary: Replaces the Rails PostgreSQL dbconsole with the much nicer pgcli
|