pg_objects 1.4.3 → 1.4.4
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/bundle_audit.yml +1 -1
- data/.github/workflows/ci.yml +3 -1
- data/.github/workflows/publish.yml +11 -10
- data/.rubocop.yml +1 -1
- data/Gemfile.lock +16 -16
- data/README.md +0 -1
- data/lib/pg_objects/version.rb +1 -3
- data/lib/pg_objects.rb +9 -8
- data/pg_objects.gemspec +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7dbb150d5066af4022a9fe9767c5d80b7dff7722d873223f96c3b920e6b5f8a
|
4
|
+
data.tar.gz: 2e1483a5adcb2f4ec9c235b31535ee40330c0305a66a9b58cc01541bdde0a3a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 238ec678d18e603a06c752ec7093bc99b72b6a1d5c8c4a91518aca6e060e5b875efad725d7ee427a80438c5e2d07cb710eede4e13aae6e9f911e8172f030feb4
|
7
|
+
data.tar.gz: 339c33e6d341b7cd9e3b224a7e961f0d89a9dd5f0b2d2d474b88dab575b5a4cd806005589e79206edff73168b90b0c2ebdaeba54793a1835f3e6a29c6503e9f8
|
data/.github/workflows/ci.yml
CHANGED
@@ -5,7 +5,7 @@ on:
|
|
5
5
|
types: [published]
|
6
6
|
|
7
7
|
jobs:
|
8
|
-
|
8
|
+
publish:
|
9
9
|
runs-on: ubuntu-latest
|
10
10
|
|
11
11
|
permissions:
|
@@ -13,13 +13,14 @@ jobs:
|
|
13
13
|
id-token: write
|
14
14
|
|
15
15
|
steps:
|
16
|
-
|
17
|
-
|
18
|
-
- name: Set up Ruby
|
19
|
-
uses: ruby/setup-ruby@v1
|
20
|
-
with:
|
21
|
-
bundler-cache: true
|
22
|
-
ruby-version: ruby
|
16
|
+
- name: Checkout
|
17
|
+
uses: actions/checkout@v4
|
23
18
|
|
24
|
-
|
25
|
-
|
19
|
+
- name: Set up Ruby
|
20
|
+
uses: ruby/setup-ruby@v1
|
21
|
+
with:
|
22
|
+
bundler-cache: true
|
23
|
+
ruby-version: ruby
|
24
|
+
|
25
|
+
- name: Release
|
26
|
+
uses: rubygems/release-gem@v1
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
pg_objects (1.4.
|
4
|
+
pg_objects (1.4.4)
|
5
5
|
activerecord (>= 6.1.7.0, < 9)
|
6
6
|
dry-auto_inject (~> 1)
|
7
7
|
dry-configurable (~> 1)
|
@@ -81,12 +81,12 @@ GEM
|
|
81
81
|
concurrent-ruby (~> 1.0)
|
82
82
|
logger
|
83
83
|
zeitwerk (~> 2.6)
|
84
|
-
dry-monads (1.
|
84
|
+
dry-monads (1.9.0)
|
85
85
|
concurrent-ruby (~> 1.0)
|
86
86
|
dry-core (~> 1.1)
|
87
87
|
zeitwerk (~> 2.6)
|
88
88
|
erubi (1.13.1)
|
89
|
-
faker (3.5.
|
89
|
+
faker (3.5.2)
|
90
90
|
i18n (>= 1.8.11, < 2)
|
91
91
|
google-protobuf (4.30.2)
|
92
92
|
bigdecimal
|
@@ -120,21 +120,21 @@ GEM
|
|
120
120
|
memery (1.7.0)
|
121
121
|
method_source (1.1.0)
|
122
122
|
minitest (5.25.5)
|
123
|
-
nokogiri (1.18.
|
123
|
+
nokogiri (1.18.9-aarch64-linux-gnu)
|
124
124
|
racc (~> 1.4)
|
125
|
-
nokogiri (1.18.
|
125
|
+
nokogiri (1.18.9-aarch64-linux-musl)
|
126
126
|
racc (~> 1.4)
|
127
|
-
nokogiri (1.18.
|
127
|
+
nokogiri (1.18.9-arm-linux-gnu)
|
128
128
|
racc (~> 1.4)
|
129
|
-
nokogiri (1.18.
|
129
|
+
nokogiri (1.18.9-arm-linux-musl)
|
130
130
|
racc (~> 1.4)
|
131
|
-
nokogiri (1.18.
|
131
|
+
nokogiri (1.18.9-arm64-darwin)
|
132
132
|
racc (~> 1.4)
|
133
|
-
nokogiri (1.18.
|
133
|
+
nokogiri (1.18.9-x86_64-darwin)
|
134
134
|
racc (~> 1.4)
|
135
|
-
nokogiri (1.18.
|
135
|
+
nokogiri (1.18.9-x86_64-linux-gnu)
|
136
136
|
racc (~> 1.4)
|
137
|
-
nokogiri (1.18.
|
137
|
+
nokogiri (1.18.9-x86_64-linux-musl)
|
138
138
|
racc (~> 1.4)
|
139
139
|
parallel (1.27.0)
|
140
140
|
parser (3.3.8.0)
|
@@ -218,7 +218,7 @@ GEM
|
|
218
218
|
binding_of_caller
|
219
219
|
rspec-parameterized-core (>= 2, < 3)
|
220
220
|
rspec-support (3.13.4)
|
221
|
-
rubocop (1.
|
221
|
+
rubocop (1.78.0)
|
222
222
|
json (~> 2.3)
|
223
223
|
language_server-protocol (~> 3.17.0.2)
|
224
224
|
lint_roller (~> 1.1.0)
|
@@ -226,10 +226,10 @@ GEM
|
|
226
226
|
parser (>= 3.3.0.2)
|
227
227
|
rainbow (>= 2.2.2, < 4.0)
|
228
228
|
regexp_parser (>= 2.9.3, < 3.0)
|
229
|
-
rubocop-ast (>= 1.
|
229
|
+
rubocop-ast (>= 1.45.1, < 2.0)
|
230
230
|
ruby-progressbar (~> 1.7)
|
231
231
|
unicode-display_width (>= 2.4.0, < 4.0)
|
232
|
-
rubocop-ast (1.
|
232
|
+
rubocop-ast (1.45.1)
|
233
233
|
parser (>= 3.3.7.2)
|
234
234
|
prism (~> 1.4)
|
235
235
|
rubocop-rails (2.32.0)
|
@@ -247,7 +247,7 @@ GEM
|
|
247
247
|
ruby-progressbar (1.13.0)
|
248
248
|
securerandom (0.4.1)
|
249
249
|
stringio (3.1.7)
|
250
|
-
thor (1.
|
250
|
+
thor (1.4.0)
|
251
251
|
timeout (0.4.3)
|
252
252
|
tzinfo (2.0.6)
|
253
253
|
concurrent-ruby (~> 1.0)
|
@@ -259,7 +259,7 @@ GEM
|
|
259
259
|
parser (>= 3.3.0)
|
260
260
|
uri (1.0.3)
|
261
261
|
useragent (0.16.11)
|
262
|
-
zeitwerk (2.7.
|
262
|
+
zeitwerk (2.7.3)
|
263
263
|
|
264
264
|
PLATFORMS
|
265
265
|
aarch64-linux
|
data/README.md
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
[](https://badge.fury.io/rb/pg_objects)
|
2
|
-
[](https://codeclimate.com/github/marinazzio/pg_objects/maintainability)
|
3
2
|
|
4
3
|
# PgObjects
|
5
4
|
|
data/lib/pg_objects/version.rb
CHANGED
data/lib/pg_objects.rb
CHANGED
@@ -1,4 +1,12 @@
|
|
1
|
-
|
1
|
+
require_relative 'pg_objects/version'
|
2
|
+
|
3
|
+
module PgObjects
|
4
|
+
AmbiguousDependencyError = Class.new(StandardError)
|
5
|
+
CyclicDependencyError = Class.new(StandardError)
|
6
|
+
DependencyNotExistError = Class.new(StandardError)
|
7
|
+
UnsupportedAdapterError = Class.new(StandardError)
|
8
|
+
end
|
9
|
+
|
2
10
|
require 'pg_objects/railtie' if defined?(Rails)
|
3
11
|
|
4
12
|
require 'dry-configurable'
|
@@ -15,10 +23,3 @@ require 'pg_objects/logger'
|
|
15
23
|
require 'pg_objects/manager'
|
16
24
|
require 'pg_objects/parsed_object'
|
17
25
|
require 'pg_objects/parser'
|
18
|
-
|
19
|
-
module PgObjects
|
20
|
-
AmbiguousDependencyError = Class.new(StandardError)
|
21
|
-
CyclicDependencyError = Class.new(StandardError)
|
22
|
-
DependencyNotExistError = Class.new(StandardError)
|
23
|
-
UnsupportedAdapterError = Class.new(StandardError)
|
24
|
-
end
|
data/pg_objects.gemspec
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
lib = File.expand_path('lib', __dir__)
|
2
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
|
3
|
+
|
4
|
+
require_relative 'lib/pg_objects/version'
|
4
5
|
|
5
6
|
Gem::Specification.new do |spec|
|
6
7
|
spec.name = 'pg_objects'
|
@@ -14,6 +15,7 @@ Gem::Specification.new do |spec|
|
|
14
15
|
spec.required_ruby_version = '>= 3.2.0'
|
15
16
|
|
16
17
|
spec.metadata = {
|
18
|
+
'allowed_push_host' => 'https://rubygems.org',
|
17
19
|
'bug_tracker_uri' => 'https://github.com/marinazzio/pg_objects/issues',
|
18
20
|
'documentation_uri' => 'https://github.com/marinazzio/pg_objects/blob/master/README.md',
|
19
21
|
'homepage_uri' => 'https://github.com/marinazzio/pg_objects',
|
@@ -32,8 +34,6 @@ Gem::Specification.new do |spec|
|
|
32
34
|
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
33
35
|
raise 'RubyGems 2.0 or newer is required to protect against public gem pushes.' unless spec.respond_to?(:metadata)
|
34
36
|
|
35
|
-
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
|
36
|
-
|
37
37
|
# Specify which files should be added to the gem when it is released.
|
38
38
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
39
39
|
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_objects
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Kiselyov
|
@@ -215,12 +215,12 @@ homepage: https://github.com/marinazzio/pg_objects
|
|
215
215
|
licenses:
|
216
216
|
- MIT
|
217
217
|
metadata:
|
218
|
+
allowed_push_host: https://rubygems.org
|
218
219
|
bug_tracker_uri: https://github.com/marinazzio/pg_objects/issues
|
219
220
|
documentation_uri: https://github.com/marinazzio/pg_objects/blob/master/README.md
|
220
221
|
homepage_uri: https://github.com/marinazzio/pg_objects
|
221
222
|
rubygems_mfa_required: 'true'
|
222
223
|
source_code_uri: https://github.com/marinazzio/pg_objects
|
223
|
-
allowed_push_host: https://rubygems.org
|
224
224
|
post_install_message: |2+
|
225
225
|
To create initial directories structure run:
|
226
226
|
|
@@ -240,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
240
|
- !ruby/object:Gem::Version
|
241
241
|
version: '0'
|
242
242
|
requirements: []
|
243
|
-
rubygems_version: 3.6.
|
243
|
+
rubygems_version: 3.6.9
|
244
244
|
specification_version: 4
|
245
245
|
summary: Simple manager for PostgreSQL objects like triggers and functions
|
246
246
|
test_files: []
|