pg_objects 1.3.2 → 1.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 84a93b4e0bb0f3ce745ce1ec5759589fe564e1596a1cdd9f724326e5e3c8419a
4
- data.tar.gz: 58be4bb6776f72168c8cf300e2c66497bebfd2659ee4139bcfd7660dbe313c37
3
+ metadata.gz: 5ce4f3c66745b7565b91664378c11820db3791bde7b2743f6b9d08bc9c4bdb0f
4
+ data.tar.gz: 600189f56b87ddf85e0961d29f7b5e383fac9ee87f021c0eea9bfe7e458b206d
5
5
  SHA512:
6
- metadata.gz: a866734e27e4bbbb6f3886f01967d35e01f98d10476ad4210e0d80c0c6fa95969952b4d156f7c6bd7a1e3d32a68b67f09e9f42d3de3815a48a9b755c232200ff
7
- data.tar.gz: 33cba9920622497fc7690a9b047d9d88a8742cb14aee1bf39fcbafc06866e13ab7f8e2f522141fef826d9a583087749ae3512c6cc1259217b12f9ce2d436e759
6
+ metadata.gz: ae8a401972e5f026f1a3c5731cba17dab9053a4c6d181e99aaad60fb4407e6edfa276eb528f9c549e3f9997709d296002447941aba24fc279d6567c3aa7b2d05
7
+ data.tar.gz: 7e730254c191949455ca88189ce9d31ded3821ff72a4071bfacfe41d9295959b2cf0a7950c65274e8e8ec7702f6ef29b9948979242d1effb72c5718b89806968
@@ -15,7 +15,7 @@ jobs:
15
15
  - name: Set up Ruby
16
16
  uses: ruby/setup-ruby@v1
17
17
  with:
18
- ruby-version: '3.2.2'
18
+ ruby-version: '3.3.6'
19
19
  bundler-cache: true
20
20
 
21
21
  - name: Bundle audit
@@ -8,7 +8,7 @@ jobs:
8
8
  runs-on: ubuntu-latest
9
9
  strategy:
10
10
  matrix:
11
- ruby-version: ['3.1', '3.2', '3.3']
11
+ ruby-version: ['3.2', '3.3']
12
12
  steps:
13
13
  - name: Checkout
14
14
  uses: actions/checkout@v2
@@ -0,0 +1,25 @@
1
+ name: Build and Publish Gem
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+
11
+ permissions:
12
+ contents: write
13
+ id-token: write
14
+
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
23
+
24
+ # Release
25
+ - uses: rubygems/release-gem@v1
data/.rubocop.yml CHANGED
@@ -8,7 +8,7 @@ inherit_from: .rubocop_todo.yml
8
8
 
9
9
  AllCops:
10
10
  # EnabledByDefault: true
11
- TargetRubyVersion: 3.1
11
+ TargetRubyVersion: 3.2
12
12
  # Cop names are not d§splayed in offense messages by default. Change behavior
13
13
  # by overriding DisplayCopNames, or by giving the -D/--display-cop-names
14
14
  # option.
data/Gemfile.lock CHANGED
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pg_objects (1.3.2)
4
+ pg_objects (1.4.0)
5
5
  activerecord (>= 6.1.7.0, < 8)
6
6
  dry-auto_inject (~> 1)
7
7
  dry-configurable (~> 1)
8
8
  dry-container (= 0.11.0)
9
9
  dry-monads (~> 1.6)
10
- memery (~> 1.5.0)
10
+ memery (>= 1.5, < 1.7)
11
11
  pg_query (~> 5)
12
12
  railties (>= 4, < 8)
13
13
  rake-hooks (~> 1)
@@ -15,50 +15,54 @@ PATH
15
15
  GEM
16
16
  remote: https://rubygems.org/
17
17
  specs:
18
- actionpack (7.1.3.4)
19
- actionview (= 7.1.3.4)
20
- activesupport (= 7.1.3.4)
18
+ actionpack (7.2.2)
19
+ actionview (= 7.2.2)
20
+ activesupport (= 7.2.2)
21
21
  nokogiri (>= 1.8.5)
22
22
  racc
23
- rack (>= 2.2.4)
23
+ rack (>= 2.2.4, < 3.2)
24
24
  rack-session (>= 1.0.1)
25
25
  rack-test (>= 0.6.3)
26
26
  rails-dom-testing (~> 2.2)
27
27
  rails-html-sanitizer (~> 1.6)
28
- actionview (7.1.3.4)
29
- activesupport (= 7.1.3.4)
28
+ useragent (~> 0.16)
29
+ actionview (7.2.2)
30
+ activesupport (= 7.2.2)
30
31
  builder (~> 3.1)
31
32
  erubi (~> 1.11)
32
33
  rails-dom-testing (~> 2.2)
33
34
  rails-html-sanitizer (~> 1.6)
34
- activemodel (7.1.3.4)
35
- activesupport (= 7.1.3.4)
36
- activerecord (7.1.3.4)
37
- activemodel (= 7.1.3.4)
38
- activesupport (= 7.1.3.4)
35
+ activemodel (7.2.2)
36
+ activesupport (= 7.2.2)
37
+ activerecord (7.2.2)
38
+ activemodel (= 7.2.2)
39
+ activesupport (= 7.2.2)
39
40
  timeout (>= 0.4.0)
40
- activesupport (7.1.3.4)
41
+ activesupport (7.2.2)
41
42
  base64
43
+ benchmark (>= 0.3)
42
44
  bigdecimal
43
- concurrent-ruby (~> 1.0, >= 1.0.2)
45
+ concurrent-ruby (~> 1.0, >= 1.3.1)
44
46
  connection_pool (>= 2.2.5)
45
47
  drb
46
48
  i18n (>= 1.6, < 2)
49
+ logger (>= 1.4.2)
47
50
  minitest (>= 5.1)
48
- mutex_m
49
- tzinfo (~> 2.0)
51
+ securerandom (>= 0.3)
52
+ tzinfo (~> 2.0, >= 2.0.5)
50
53
  ast (2.4.2)
51
54
  base64 (0.2.0)
55
+ benchmark (0.3.0)
52
56
  bigdecimal (3.1.8)
53
57
  binding_of_caller (1.0.1)
54
58
  debug_inspector (>= 1.2.0)
55
59
  builder (3.3.0)
56
- bundler-audit (0.9.1)
60
+ bundler-audit (0.9.2)
57
61
  bundler (>= 1.2.0, < 3)
58
62
  thor (~> 1.0)
59
63
  byebug (11.1.3)
60
64
  coderay (1.1.3)
61
- concurrent-ruby (1.3.3)
65
+ concurrent-ruby (1.3.4)
62
66
  connection_pool (2.4.1)
63
67
  crass (1.0.6)
64
68
  debug_inspector (1.2.0)
@@ -72,50 +76,50 @@ GEM
72
76
  zeitwerk (~> 2.6)
73
77
  dry-container (0.11.0)
74
78
  concurrent-ruby (~> 1.0)
75
- dry-core (1.0.1)
79
+ dry-core (1.0.2)
76
80
  concurrent-ruby (~> 1.0)
81
+ logger
77
82
  zeitwerk (~> 2.6)
78
83
  dry-monads (1.6.0)
79
84
  concurrent-ruby (~> 1.0)
80
85
  dry-core (~> 1.0, < 2)
81
86
  zeitwerk (~> 2.6)
82
87
  erubi (1.13.0)
83
- faker (3.4.2)
88
+ faker (3.5.1)
84
89
  i18n (>= 1.8.11, < 2)
85
- google-protobuf (4.27.3)
90
+ google-protobuf (4.28.3)
86
91
  bigdecimal
87
92
  rake (>= 13)
88
- google-protobuf (4.27.3-aarch64-linux)
93
+ google-protobuf (4.28.3-aarch64-linux)
89
94
  bigdecimal
90
95
  rake (>= 13)
91
- google-protobuf (4.27.3-arm64-darwin)
96
+ google-protobuf (4.28.3-arm64-darwin)
92
97
  bigdecimal
93
98
  rake (>= 13)
94
- google-protobuf (4.27.3-x86-linux)
99
+ google-protobuf (4.28.3-x86-linux)
95
100
  bigdecimal
96
101
  rake (>= 13)
97
- google-protobuf (4.27.3-x86_64-darwin)
102
+ google-protobuf (4.28.3-x86_64-darwin)
98
103
  bigdecimal
99
104
  rake (>= 13)
100
- google-protobuf (4.27.3-x86_64-linux)
105
+ google-protobuf (4.28.3-x86_64-linux)
101
106
  bigdecimal
102
107
  rake (>= 13)
103
- i18n (1.14.5)
108
+ i18n (1.14.6)
104
109
  concurrent-ruby (~> 1.0)
105
110
  io-console (0.7.2)
106
- irb (1.14.0)
111
+ irb (1.14.1)
107
112
  rdoc (>= 4.0.0)
108
113
  reline (>= 0.4.2)
109
- json (2.7.2)
114
+ json (2.8.1)
110
115
  language_server-protocol (3.17.0.3)
111
- loofah (2.22.0)
116
+ logger (1.6.1)
117
+ loofah (2.23.1)
112
118
  crass (~> 1.0.2)
113
119
  nokogiri (>= 1.12.0)
114
- memery (1.5.0)
115
- ruby2_keywords (~> 0.0.2)
120
+ memery (1.6.0)
116
121
  method_source (1.1.0)
117
- minitest (5.24.1)
118
- mutex_m (0.2.0)
122
+ minitest (5.25.1)
119
123
  nokogiri (1.16.7-aarch64-linux)
120
124
  racc (~> 1.4)
121
125
  nokogiri (1.16.7-arm-linux)
@@ -128,8 +132,8 @@ GEM
128
132
  racc (~> 1.4)
129
133
  nokogiri (1.16.7-x86_64-linux)
130
134
  racc (~> 1.4)
131
- parallel (1.25.1)
132
- parser (3.3.4.0)
135
+ parallel (1.26.3)
136
+ parser (3.3.6.0)
133
137
  ast (~> 2.4.1)
134
138
  racc
135
139
  pg_query (5.1.0)
@@ -144,17 +148,16 @@ GEM
144
148
  pry-byebug (3.10.1)
145
149
  byebug (~> 11.0)
146
150
  pry (>= 0.13, < 0.15)
147
- psych (5.1.2)
151
+ psych (5.2.0)
148
152
  stringio
149
153
  racc (1.8.1)
150
- rack (3.1.7)
154
+ rack (3.1.8)
151
155
  rack-session (2.0.0)
152
156
  rack (>= 3.0.0)
153
157
  rack-test (2.1.0)
154
158
  rack (>= 1.3)
155
- rackup (2.1.0)
159
+ rackup (2.2.0)
156
160
  rack (>= 3)
157
- webrick (~> 1.8)
158
161
  rails-dom-testing (2.2.0)
159
162
  activesupport (>= 5.0.0)
160
163
  minitest
@@ -162,10 +165,10 @@ GEM
162
165
  rails-html-sanitizer (1.6.0)
163
166
  loofah (~> 2.21)
164
167
  nokogiri (~> 1.14)
165
- railties (7.1.3.4)
166
- actionpack (= 7.1.3.4)
167
- activesupport (= 7.1.3.4)
168
- irb
168
+ railties (7.2.2)
169
+ actionpack (= 7.2.2)
170
+ activesupport (= 7.2.2)
171
+ irb (~> 1.13)
169
172
  rackup (>= 1.0.0)
170
173
  rake (>= 12.2)
171
174
  thor (~> 1.0, >= 1.2.2)
@@ -177,21 +180,19 @@ GEM
177
180
  rdoc (6.7.0)
178
181
  psych (>= 4.0.0)
179
182
  regexp_parser (2.9.2)
180
- reline (0.5.9)
183
+ reline (0.5.10)
181
184
  io-console (~> 0.5)
182
- rexml (3.3.4)
183
- strscan
184
- rouge (4.3.0)
185
+ rouge (4.4.0)
185
186
  rspec (3.13.0)
186
187
  rspec-core (~> 3.13.0)
187
188
  rspec-expectations (~> 3.13.0)
188
189
  rspec-mocks (~> 3.13.0)
189
- rspec-core (3.13.0)
190
+ rspec-core (3.13.2)
190
191
  rspec-support (~> 3.13.0)
191
- rspec-expectations (3.13.1)
192
+ rspec-expectations (3.13.3)
192
193
  diff-lcs (>= 1.2.0, < 2.0)
193
194
  rspec-support (~> 3.13.0)
194
- rspec-mocks (3.13.1)
195
+ rspec-mocks (3.13.2)
195
196
  diff-lcs (>= 1.2.0, < 2.0)
196
197
  rspec-support (~> 3.13.0)
197
198
  rspec-parameterized (1.0.2)
@@ -206,42 +207,40 @@ GEM
206
207
  binding_of_caller
207
208
  rspec-parameterized-core (< 2)
208
209
  rspec-support (3.13.1)
209
- rubocop (1.65.1)
210
+ rubocop (1.68.0)
210
211
  json (~> 2.3)
211
212
  language_server-protocol (>= 3.17.0)
212
213
  parallel (~> 1.10)
213
214
  parser (>= 3.3.0.2)
214
215
  rainbow (>= 2.2.2, < 4.0)
215
216
  regexp_parser (>= 2.4, < 3.0)
216
- rexml (>= 3.2.5, < 4.0)
217
- rubocop-ast (>= 1.31.1, < 2.0)
217
+ rubocop-ast (>= 1.32.2, < 2.0)
218
218
  ruby-progressbar (~> 1.7)
219
219
  unicode-display_width (>= 2.4.0, < 3.0)
220
- rubocop-ast (1.31.3)
220
+ rubocop-ast (1.34.0)
221
221
  parser (>= 3.3.1.0)
222
- rubocop-rails (2.25.1)
222
+ rubocop-rails (2.27.0)
223
223
  activesupport (>= 4.2.0)
224
224
  rack (>= 1.1)
225
- rubocop (>= 1.33.0, < 2.0)
225
+ rubocop (>= 1.52.0, < 2.0)
226
226
  rubocop-ast (>= 1.31.1, < 2.0)
227
227
  rubocop-rake (0.6.0)
228
228
  rubocop (~> 1.0)
229
- rubocop-rspec (3.0.3)
229
+ rubocop-rspec (3.2.0)
230
230
  rubocop (~> 1.61)
231
231
  ruby-progressbar (1.13.0)
232
- ruby2_keywords (0.0.5)
233
- stringio (3.1.1)
234
- strscan (3.1.0)
235
- thor (1.3.1)
236
- timeout (0.4.1)
232
+ securerandom (0.3.1)
233
+ stringio (3.1.2)
234
+ thor (1.3.2)
235
+ timeout (0.4.2)
237
236
  tzinfo (2.0.6)
238
237
  concurrent-ruby (~> 1.0)
239
- unicode-display_width (2.5.0)
238
+ unicode-display_width (2.6.0)
240
239
  unparser (0.6.15)
241
240
  diff-lcs (~> 1.3)
242
241
  parser (>= 3.3.0)
243
- webrick (1.8.1)
244
- zeitwerk (2.6.17)
242
+ useragent (0.16.10)
243
+ zeitwerk (2.7.1)
245
244
 
246
245
  PLATFORMS
247
246
  aarch64-linux
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgObjects
4
- VERSION = '1.3.2'
4
+ VERSION = '1.4.0'
5
5
  end
data/pg_objects.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = %q(Simple manager for PostgreSQL objects like triggers and functions)
12
12
  spec.homepage = 'https://github.com/marinazzio/pg_objects'
13
13
 
14
- spec.required_ruby_version = '>= 3.1.0'
14
+ spec.required_ruby_version = '>= 3.2.0'
15
15
 
16
16
  spec.metadata = {
17
17
  'bug_tracker_uri' => 'https://github.com/marinazzio/pg_objects/issues',
@@ -48,7 +48,7 @@ Gem::Specification.new do |spec|
48
48
  spec.add_dependency 'dry-configurable', '~> 1'
49
49
  spec.add_dependency 'dry-container', '0.11.0'
50
50
  spec.add_dependency 'dry-monads', '~> 1.6'
51
- spec.add_dependency 'memery', '~> 1.5.0'
51
+ spec.add_dependency 'memery', '>= 1.5', '< 1.7'
52
52
  spec.add_dependency 'pg_query', '~> 5'
53
53
  spec.add_dependency 'railties', '>= 4', '< 8'
54
54
  spec.add_dependency 'rake-hooks', '~> 1'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_objects
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Kiselyov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-02 00:00:00.000000000 Z
11
+ date: 2024-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -90,16 +90,22 @@ dependencies:
90
90
  name: memery
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - "~>"
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '1.5'
96
+ - - "<"
94
97
  - !ruby/object:Gem::Version
95
- version: 1.5.0
98
+ version: '1.7'
96
99
  type: :runtime
97
100
  prerelease: false
98
101
  version_requirements: !ruby/object:Gem::Requirement
99
102
  requirements:
100
- - - "~>"
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: '1.5'
106
+ - - "<"
101
107
  - !ruby/object:Gem::Version
102
- version: 1.5.0
108
+ version: '1.7'
103
109
  - !ruby/object:Gem::Dependency
104
110
  name: pg_query
105
111
  requirement: !ruby/object:Gem::Requirement
@@ -158,6 +164,7 @@ files:
158
164
  - ".github/dependabot.yml"
159
165
  - ".github/workflows/bundle_audit.yml"
160
166
  - ".github/workflows/ci.yml"
167
+ - ".github/workflows/publish.yml"
161
168
  - ".gitignore"
162
169
  - ".rspec"
163
170
  - ".rubocop.yml"
@@ -222,14 +229,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
222
229
  requirements:
223
230
  - - ">="
224
231
  - !ruby/object:Gem::Version
225
- version: 3.1.0
232
+ version: 3.2.0
226
233
  required_rubygems_version: !ruby/object:Gem::Requirement
227
234
  requirements:
228
235
  - - ">="
229
236
  - !ruby/object:Gem::Version
230
237
  version: '0'
231
238
  requirements: []
232
- rubygems_version: 3.5.3
239
+ rubygems_version: 3.5.22
233
240
  signing_key:
234
241
  specification_version: 4
235
242
  summary: Simple manager for PostgreSQL objects like triggers and functions