pgcli-rails 0.9.4 → 0.10.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 786daafdee2428fb2147a624a4e0ab0d6449a41449652d455a7c9cd3d575620e
4
- data.tar.gz: 892029575aed1f75fc573625d485052002a86a8a315da11ddb9233cfc94002a2
3
+ metadata.gz: 0e03c227cb3a85a2aa5ee7707cf85e6b0e058335b3435135f97a5bf828d33e4d
4
+ data.tar.gz: fb10a3b81e210b409361529a81d9af665f32c23fd8716b1f894b3b8ee3ac4681
5
5
  SHA512:
6
- metadata.gz: e80268ad75b7b6fbcc14676732b9aa46bce0cc21795fe19e43b3eea01a3bd66494dc2761936ffcf1264f59dfad8833d54d74c50ce2ae3435f20ff8a98e616102
7
- data.tar.gz: cbdffd5348f40ba792a10f36ec4f998775f6393edbe5f099dab0d8dc4d4c92269b259f62d9651d4cf25b94aad96c6c46b69dd467b1c0b3c1ca843928e0d9c6b1
6
+ metadata.gz: 61b3210790bf6d4721cdea320b32aadf992c2e7e336e948e8bb15942f3c845debb80eabbd5be015e66254bedcc0d4426d9f95ce108da1a8c93ea50ef4b470e22
7
+ data.tar.gz: 94e575c401bd6cc1584d98d900cf44666e7bf0ab613661c5cc936f564ccb50cdf36d3ade641860bdf6ab170fe1b70d05d3b4a8570152b7bbec328546b098973b
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2025 Matt Brictson
3
+ Copyright (c) 2026 Matt Brictson
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -44,7 +44,7 @@ RAILS_ENV=test bin/rake pgcli
44
44
  ## Requirements
45
45
 
46
46
  * Rails 4.2+ using PostgreSQL
47
- * Ruby 3.1+
47
+ * Ruby 3.2+
48
48
  * [pgcli][] (`brew install pgcli` to install on macOS)
49
49
 
50
50
  ## How it works
@@ -9,7 +9,9 @@ task :pgcli do
9
9
  # APP_PATH constant must be set for DBConsole to work
10
10
  APP_PATH = Rails.root.join("config", "application") unless defined?(APP_PATH)
11
11
 
12
- opt = if Rails.gem_version >= Gem::Version.new("5.1.0")
12
+ opt = if Rails.gem_version >= Gem::Version.new("7.1.0")
13
+ { include_password: true }
14
+ elsif Rails.gem_version >= Gem::Version.new("5.1.0")
13
15
  { "--include-password" => true }
14
16
  else
15
17
  ["--include-password"]
@@ -1,5 +1,5 @@
1
1
  module Pgcli
2
2
  module Rails
3
- VERSION = "0.9.4".freeze
3
+ VERSION = "0.10.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgcli-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.4
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson
@@ -52,14 +52,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: '3.1'
55
+ version: '3.2'
56
56
  required_rubygems_version: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
61
  requirements: []
62
- rubygems_version: 3.6.9
62
+ rubygems_version: 4.0.3
63
63
  specification_version: 4
64
64
  summary: Replaces the Rails PostgreSQL dbconsole with the much nicer pgcli
65
65
  test_files: []