activerecord-postgres_pub_sub 2.2.0 → 2.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 +4 -4
- data/.github/workflows/codeql.yml +71 -0
- data/Appraisals +10 -0
- data/CHANGELOG.md +3 -0
- data/README.md +0 -2
- data/activerecord-postgres_pub_sub.gemspec +2 -2
- data/lib/activerecord/postgres_pub_sub/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab5807899dcfd7a9aa7b51233366b26742bee55276024aeb92c796e1fe6ef59b
|
4
|
+
data.tar.gz: 3e7a055319a847476d2c3f32bca43245cdf1d9f633ab3142b365ce0f3a2d9a1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7b51388aaddb2ed46258e3515a0a49b6f30413701b899c2b6f725cbf2e44f18a7257c71fa7dd864493c716f49bfaed06e5080735c4e17ec4b0efca0cf5391d2
|
7
|
+
data.tar.gz: 1f87512ac9faef62475c133f288d39e2f46e7d6a465b37c19556e21976dff57be72e898b3a0ffac8000a0dc8956a119d8f6aaa3295fbbaec3eaba859d22ebd16
|
@@ -0,0 +1,71 @@
|
|
1
|
+
name: "CodeQL"
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ "main" ]
|
6
|
+
pull_request:
|
7
|
+
# The branches below must be a subset of the branches above
|
8
|
+
branches: [ "main" ]
|
9
|
+
# https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning#avoiding-unnecessary-scans-of-pull-requests
|
10
|
+
paths-ignore:
|
11
|
+
- '**/*.md'
|
12
|
+
- '**/*.txt'
|
13
|
+
schedule:
|
14
|
+
- cron: '41 22 * * 2'
|
15
|
+
|
16
|
+
jobs:
|
17
|
+
scan:
|
18
|
+
name: Scan
|
19
|
+
runs-on: [ ubuntu-latest ]
|
20
|
+
permissions:
|
21
|
+
actions: read
|
22
|
+
contents: read
|
23
|
+
security-events: write
|
24
|
+
|
25
|
+
strategy:
|
26
|
+
# Setting fail-fast to false to prevent a failed scan in
|
27
|
+
# any of the matrix.language's from stopping the other scans
|
28
|
+
# If there are multiple offenses, better to find/report them
|
29
|
+
# all at once
|
30
|
+
fail-fast: false
|
31
|
+
matrix:
|
32
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
33
|
+
# https://aka.ms/codeql-docs/language-support
|
34
|
+
language: [ 'ruby' ]
|
35
|
+
|
36
|
+
|
37
|
+
steps:
|
38
|
+
- name: Checkout repository
|
39
|
+
uses: actions/checkout@v3
|
40
|
+
|
41
|
+
# Initializes the CodeQL tools for scanning.
|
42
|
+
- name: Initialize CodeQL
|
43
|
+
uses: github/codeql-action/init@v2
|
44
|
+
with:
|
45
|
+
languages: ${{ matrix.language }}
|
46
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
47
|
+
# By default, queries listed here will override any specified in a config file.
|
48
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
49
|
+
|
50
|
+
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
51
|
+
# queries: security-extended,security-and-quality
|
52
|
+
|
53
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
|
54
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
55
|
+
- name: Autobuild
|
56
|
+
uses: github/codeql-action/autobuild@v2
|
57
|
+
|
58
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
59
|
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
60
|
+
|
61
|
+
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
62
|
+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
63
|
+
|
64
|
+
# - run: |
|
65
|
+
# echo "Run, Build Application using script"
|
66
|
+
# ./location_of_script_within_repo/buildscript.sh
|
67
|
+
|
68
|
+
- name: Perform CodeQL Analysis
|
69
|
+
uses: github/codeql-action/analyze@v2
|
70
|
+
with:
|
71
|
+
category: "/language:${{matrix.language}}"
|
data/Appraisals
CHANGED
@@ -39,3 +39,13 @@ appraise "rails-7.0_pg-1.2" do
|
|
39
39
|
gem "activerecord", ">= 7.0.0", "< 7.1"
|
40
40
|
gem "pg", "1.2.0"
|
41
41
|
end
|
42
|
+
|
43
|
+
appraise "rails-7.1_pg-1.1" do
|
44
|
+
gem "activerecord", ">= 7.1.0", "< 7.2"
|
45
|
+
gem "pg", "1.1.4"
|
46
|
+
end
|
47
|
+
|
48
|
+
appraise "rails-7.1_pg-1.2" do
|
49
|
+
gem "activerecord", ">= 7.1.0", "< 7.2"
|
50
|
+
gem "pg", "1.2.0"
|
51
|
+
end
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,5 @@
|
|
1
1
|
# activerecord-postgres_pub_sub
|
2
2
|
|
3
|
-
[](https://circleci.com/gh/ezcater/activerecord-postgres_pub_sub)
|
4
|
-
|
5
3
|
This gem contains support for PostgreSQL LISTEN and NOTIFY functionality:
|
6
4
|
[doc](https://www.postgresql.org/docs/9.6/static/libpq-notify.html).
|
7
5
|
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
22
22
|
end
|
23
23
|
|
24
|
-
excluded_files = %w(.
|
24
|
+
excluded_files = %w(.github/workflows/ci.yml
|
25
25
|
.github/PULL_REQUEST_TEMPLATE.md
|
26
26
|
.gitignore
|
27
27
|
.rspec
|
@@ -41,7 +41,7 @@ Gem::Specification.new do |spec|
|
|
41
41
|
spec.require_paths = ["lib"]
|
42
42
|
spec.required_ruby_version = ">= 2.7.0"
|
43
43
|
|
44
|
-
spec.add_runtime_dependency "activerecord", "> 5.1", "< 7.
|
44
|
+
spec.add_runtime_dependency "activerecord", "> 5.1", "< 7.2"
|
45
45
|
spec.add_runtime_dependency "pg", "~> 1.1"
|
46
46
|
spec.add_runtime_dependency "private_attr"
|
47
47
|
spec.add_runtime_dependency "with_advisory_lock"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-postgres_pub_sub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ezCater, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '5.1'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: '7.
|
22
|
+
version: '7.2'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '5.1'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: '7.
|
32
|
+
version: '7.2'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: pg
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -219,6 +219,7 @@ executables: []
|
|
219
219
|
extensions: []
|
220
220
|
extra_rdoc_files: []
|
221
221
|
files:
|
222
|
+
- ".github/workflows/codeql.yml"
|
222
223
|
- Appraisals
|
223
224
|
- CHANGELOG.md
|
224
225
|
- Gemfile
|
@@ -261,7 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
262
|
- !ruby/object:Gem::Version
|
262
263
|
version: '0'
|
263
264
|
requirements: []
|
264
|
-
rubygems_version: 3.1.
|
265
|
+
rubygems_version: 3.1.6
|
265
266
|
signing_key:
|
266
267
|
specification_version: 4
|
267
268
|
summary: Support for Postgres Notify/Listen
|