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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 942d933b2db5ec4a82451dfd89804b6d655a78545a8ac44657adcbd8d785182a
4
- data.tar.gz: 32e8be0ec438813644947256312e56298e0b612bc3166e10480ff528e4ac49e8
3
+ metadata.gz: b7dbb150d5066af4022a9fe9767c5d80b7dff7722d873223f96c3b920e6b5f8a
4
+ data.tar.gz: 2e1483a5adcb2f4ec9c235b31535ee40330c0305a66a9b58cc01541bdde0a3a0
5
5
  SHA512:
6
- metadata.gz: 50c281beec58a52bf9b10903d92fd71a3752a871b4d44768a573d3b55d4f477c9d1083eae1fd6aa1fad0da8b486809a9fa0f9cc6cc620ea41d5e0c42f1197351
7
- data.tar.gz: 9bfff8212f623f44b0a46307e1c02630058090bd394b8de69f01dc6ce75e9a228bae5921117b3ce52d24e0db163087a22b0f8178bb3de5ec237bfd1dc01a2f19
6
+ metadata.gz: 238ec678d18e603a06c752ec7093bc99b72b6a1d5c8c4a91518aca6e060e5b875efad725d7ee427a80438c5e2d07cb710eede4e13aae6e9f911e8172f030feb4
7
+ data.tar.gz: 339c33e6d341b7cd9e3b224a7e961f0d89a9dd5f0b2d2d474b88dab575b5a4cd806005589e79206edff73168b90b0c2ebdaeba54793a1835f3e6a29c6503e9f8
@@ -14,7 +14,7 @@ jobs:
14
14
 
15
15
  steps:
16
16
  - name: Checkout
17
- uses: actions/checkout@v2
17
+ uses: actions/checkout@v4
18
18
  with:
19
19
  fetch-depth: 0
20
20
 
@@ -15,7 +15,9 @@ jobs:
15
15
  ruby-version: ['3.2', '3.3', '3.4']
16
16
  steps:
17
17
  - name: Checkout
18
- uses: actions/checkout@v2
18
+ uses: actions/checkout@v4
19
+ with:
20
+ fetch-depth: 0
19
21
 
20
22
  - name: Setup Ruby
21
23
  uses: ruby/setup-ruby@v1
@@ -5,7 +5,7 @@ on:
5
5
  types: [published]
6
6
 
7
7
  jobs:
8
- build:
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
- # Set up
17
- - uses: actions/checkout@v4
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
- # Release
25
- - uses: rubygems/release-gem@v1
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
@@ -1,6 +1,6 @@
1
1
  # softened a bit with http://relaxed.ruby.style/rubocop.yml
2
2
 
3
- require:
3
+ plugins:
4
4
  - rubocop-rake
5
5
  - rubocop-rspec
6
6
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pg_objects (1.4.3)
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.8.3)
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.1)
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.8-aarch64-linux-gnu)
123
+ nokogiri (1.18.9-aarch64-linux-gnu)
124
124
  racc (~> 1.4)
125
- nokogiri (1.18.8-aarch64-linux-musl)
125
+ nokogiri (1.18.9-aarch64-linux-musl)
126
126
  racc (~> 1.4)
127
- nokogiri (1.18.8-arm-linux-gnu)
127
+ nokogiri (1.18.9-arm-linux-gnu)
128
128
  racc (~> 1.4)
129
- nokogiri (1.18.8-arm-linux-musl)
129
+ nokogiri (1.18.9-arm-linux-musl)
130
130
  racc (~> 1.4)
131
- nokogiri (1.18.8-arm64-darwin)
131
+ nokogiri (1.18.9-arm64-darwin)
132
132
  racc (~> 1.4)
133
- nokogiri (1.18.8-x86_64-darwin)
133
+ nokogiri (1.18.9-x86_64-darwin)
134
134
  racc (~> 1.4)
135
- nokogiri (1.18.8-x86_64-linux-gnu)
135
+ nokogiri (1.18.9-x86_64-linux-gnu)
136
136
  racc (~> 1.4)
137
- nokogiri (1.18.8-x86_64-linux-musl)
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.75.8)
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.44.0, < 2.0)
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.44.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.3.2)
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.2)
262
+ zeitwerk (2.7.3)
263
263
 
264
264
  PLATFORMS
265
265
  aarch64-linux
data/README.md CHANGED
@@ -1,5 +1,4 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/pg_objects.svg)](https://badge.fury.io/rb/pg_objects)
2
- [![Maintainability](https://api.codeclimate.com/v1/badges/935cd23d8f899b6d8057/maintainability)](https://codeclimate.com/github/marinazzio/pg_objects/maintainability)
3
2
 
4
3
  # PgObjects
5
4
 
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module PgObjects
4
- VERSION = '1.4.3'
2
+ VERSION = '1.4.4'.freeze
5
3
  end
data/lib/pg_objects.rb CHANGED
@@ -1,4 +1,12 @@
1
- require 'pg_objects/version'
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
- require 'pg_objects/version'
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.3
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.7
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: []