pgcli-rails 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/push.yml +12 -0
- data/.rubocop.yml +4 -4
- data/.travis.yml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +1 -1
- data/Rakefile +4 -18
- data/lib/pgcli/rails/version.rb +1 -1
- data/pgcli-rails.gemspec +3 -3
- metadata +9 -9
- data/.github/main.workflow +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8a8d4f15c0db0cfc0880748b1158c51c3726d1ba7adbb4bfd96ab8179fc4cf8
|
4
|
+
data.tar.gz: 4fb0ad22bed0c113186bbcb0b6b5c83b349245dca9ec6112dc97e22e0069d691
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fdf898fdc9dbc058f41009035e1bd5aa50f19f50a224400cbd5b8bfa95e6ec212b6d665def393f6049f081fc5aa4fffe8c56a308b4cdce93f76d4075c68f982
|
7
|
+
data.tar.gz: 92fa350c15d4837e3fbca72104f6422e108fd2d1236dc11f52caa9ea951a5928660228caabc1739c737d30ce61f44a66b674adfab66b015f78de610e21f8475e
|
data/.rubocop.yml
CHANGED
@@ -1,12 +1,15 @@
|
|
1
1
|
AllCops:
|
2
2
|
DisplayCopNames: true
|
3
3
|
DisplayStyleGuide: true
|
4
|
-
TargetRubyVersion: 2.
|
4
|
+
TargetRubyVersion: 2.5
|
5
5
|
Exclude:
|
6
6
|
- "*.gemspec"
|
7
7
|
- "tmp/**/*"
|
8
8
|
- "vendor/**/*"
|
9
9
|
|
10
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
11
|
+
EnforcedStyle: no_space
|
12
|
+
|
10
13
|
Metrics/AbcSize:
|
11
14
|
Exclude:
|
12
15
|
- "test/**/*"
|
@@ -40,8 +43,5 @@ Style/FrozenStringLiteralComment:
|
|
40
43
|
Style/HashSyntax:
|
41
44
|
EnforcedStyle: ruby19
|
42
45
|
|
43
|
-
Style/SpaceAroundEqualsInParameterDefault:
|
44
|
-
EnforcedStyle: no_space
|
45
|
-
|
46
46
|
Style/StringLiterals:
|
47
47
|
EnforcedStyle: double_quotes
|
data/.travis.yml
CHANGED
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -21,7 +21,7 @@ task bump: %w[bump:bundler bump:ruby bump:year]
|
|
21
21
|
|
22
22
|
namespace :bump do
|
23
23
|
task :bundler do
|
24
|
-
version =
|
24
|
+
version = Gem.latest_version_for("bundler").to_s
|
25
25
|
replace_in_file ".travis.yml", /bundler -v (\S+)/ => version
|
26
26
|
end
|
27
27
|
|
@@ -60,20 +60,6 @@ def replace_in_file(path, replacements)
|
|
60
60
|
IO.write(path, contents) if contents != orig_contents
|
61
61
|
end
|
62
62
|
|
63
|
-
module Gemfile
|
64
|
-
class << self
|
65
|
-
def bundler_version
|
66
|
-
lock_file[/BUNDLED WITH\n (\S+)$/, 1]
|
67
|
-
end
|
68
|
-
|
69
|
-
private
|
70
|
-
|
71
|
-
def lock_file
|
72
|
-
@_lock_file ||= IO.read("Gemfile.lock")
|
73
|
-
end
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
63
|
module RubyVersions
|
78
64
|
class << self
|
79
65
|
def lowest_supported
|
@@ -95,13 +81,13 @@ module RubyVersions
|
|
95
81
|
|
96
82
|
private
|
97
83
|
|
98
|
-
# rubocop:disable Metrics/LineLength
|
99
84
|
def versions
|
100
85
|
@_versions ||= begin
|
101
|
-
yaml = open(
|
86
|
+
yaml = URI.open(
|
87
|
+
"https://raw.githubusercontent.com/ruby/www.ruby-lang.org/master/_data/downloads.yml"
|
88
|
+
)
|
102
89
|
YAML.safe_load(yaml, symbolize_names: true)
|
103
90
|
end
|
104
91
|
end
|
105
|
-
# rubocop:enable Metrics/LineLength
|
106
92
|
end
|
107
93
|
end
|
data/lib/pgcli/rails/version.rb
CHANGED
data/pgcli-rails.gemspec
CHANGED
@@ -18,13 +18,13 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.required_ruby_version = ">= 2.
|
21
|
+
spec.required_ruby_version = ">= 2.5.0"
|
22
22
|
|
23
23
|
spec.add_dependency "railties", ">= 4.2.0"
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 2.0"
|
26
|
-
spec.add_development_dependency "rake", "~>
|
26
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
27
27
|
spec.add_development_dependency "minitest", "~> 5.0"
|
28
28
|
spec.add_development_dependency "minitest-reporters", "~> 1.1"
|
29
|
-
spec.add_development_dependency "rubocop", "0.
|
29
|
+
spec.add_development_dependency "rubocop", "0.78.0"
|
30
30
|
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.5.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: 2020-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '13.0'
|
48
48
|
type: :development
|
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: '
|
54
|
+
version: '13.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: minitest
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.78.0
|
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: 0.
|
96
|
+
version: 0.78.0
|
97
97
|
description:
|
98
98
|
email:
|
99
99
|
- opensource@mattbrictson.com
|
@@ -101,8 +101,8 @@ executables: []
|
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
103
103
|
files:
|
104
|
-
- ".github/main.workflow"
|
105
104
|
- ".github/release-drafter.yml"
|
105
|
+
- ".github/workflows/push.yml"
|
106
106
|
- ".gitignore"
|
107
107
|
- ".rubocop.yml"
|
108
108
|
- ".travis.yml"
|
@@ -133,14 +133,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
133
133
|
requirements:
|
134
134
|
- - ">="
|
135
135
|
- !ruby/object:Gem::Version
|
136
|
-
version: 2.
|
136
|
+
version: 2.5.0
|
137
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
138
|
requirements:
|
139
139
|
- - ">="
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: '0'
|
142
142
|
requirements: []
|
143
|
-
rubygems_version: 3.
|
143
|
+
rubygems_version: 3.1.2
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: Replaces the Rails PostgreSQL dbconsole with the much nicer pgcli
|