pg_objects 1.3.0 → 1.3.2

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: acbea88e6ac8e0f1b6fb4c9516cee41598c05e26a7757e78f42bd6a0c716119c
4
- data.tar.gz: c55ccdec811caaeb12b8bd8ba677af9b960117fc7b3fd2710b085dbb863482fd
3
+ metadata.gz: 84a93b4e0bb0f3ce745ce1ec5759589fe564e1596a1cdd9f724326e5e3c8419a
4
+ data.tar.gz: 58be4bb6776f72168c8cf300e2c66497bebfd2659ee4139bcfd7660dbe313c37
5
5
  SHA512:
6
- metadata.gz: 43d7e312be4e15e83a4dc0abfc421a7dda13ccd9becf341e90202a8545e53e62bcbd13a66b34f42e66e321ad905cb30d8fa0f78226f6202cfe43c3ec6a159c92
7
- data.tar.gz: dfffe1ecfd90371cef2f76c080e61edaf8717fb6f2305bb8b20bb47fd414ac28ec1bebec8f576efe1a162894fa4f867071666e7b1c8af741369af58ec776a0e7
6
+ metadata.gz: a866734e27e4bbbb6f3886f01967d35e01f98d10476ad4210e0d80c0c6fa95969952b4d156f7c6bd7a1e3d32a68b67f09e9f42d3de3815a48a9b755c232200ff
7
+ data.tar.gz: 33cba9920622497fc7690a9b047d9d88a8742cb14aee1bf39fcbafc06866e13ab7f8e2f522141fef826d9a583087749ae3512c6cc1259217b12f9ce2d436e759
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pg_objects (1.3.0)
4
+ pg_objects (1.3.2)
5
5
  activerecord (>= 6.1.7.0, < 8)
6
6
  dry-auto_inject (~> 1)
7
7
  dry-configurable (~> 1)
@@ -52,7 +52,7 @@ GEM
52
52
  bigdecimal (3.1.8)
53
53
  binding_of_caller (1.0.1)
54
54
  debug_inspector (>= 1.2.0)
55
- builder (3.2.4)
55
+ builder (3.3.0)
56
56
  bundler-audit (0.9.1)
57
57
  bundler (>= 1.2.0, < 3)
58
58
  thor (~> 1.0)
@@ -79,19 +79,31 @@ GEM
79
79
  concurrent-ruby (~> 1.0)
80
80
  dry-core (~> 1.0, < 2)
81
81
  zeitwerk (~> 2.6)
82
- erubi (1.12.0)
83
- faker (3.4.1)
82
+ erubi (1.13.0)
83
+ faker (3.4.2)
84
84
  i18n (>= 1.8.11, < 2)
85
- google-protobuf (3.25.3)
86
- google-protobuf (3.25.3-aarch64-linux)
87
- google-protobuf (3.25.3-arm64-darwin)
88
- google-protobuf (3.25.3-x86-linux)
89
- google-protobuf (3.25.3-x86_64-darwin)
90
- google-protobuf (3.25.3-x86_64-linux)
85
+ google-protobuf (4.27.3)
86
+ bigdecimal
87
+ rake (>= 13)
88
+ google-protobuf (4.27.3-aarch64-linux)
89
+ bigdecimal
90
+ rake (>= 13)
91
+ google-protobuf (4.27.3-arm64-darwin)
92
+ bigdecimal
93
+ rake (>= 13)
94
+ google-protobuf (4.27.3-x86-linux)
95
+ bigdecimal
96
+ rake (>= 13)
97
+ google-protobuf (4.27.3-x86_64-darwin)
98
+ bigdecimal
99
+ rake (>= 13)
100
+ google-protobuf (4.27.3-x86_64-linux)
101
+ bigdecimal
102
+ rake (>= 13)
91
103
  i18n (1.14.5)
92
104
  concurrent-ruby (~> 1.0)
93
105
  io-console (0.7.2)
94
- irb (1.13.1)
106
+ irb (1.14.0)
95
107
  rdoc (>= 4.0.0)
96
108
  reline (>= 0.4.2)
97
109
  json (2.7.2)
@@ -101,30 +113,30 @@ GEM
101
113
  nokogiri (>= 1.12.0)
102
114
  memery (1.5.0)
103
115
  ruby2_keywords (~> 0.0.2)
104
- method_source (1.0.0)
116
+ method_source (1.1.0)
105
117
  minitest (5.24.1)
106
118
  mutex_m (0.2.0)
107
- nokogiri (1.16.5-aarch64-linux)
119
+ nokogiri (1.16.7-aarch64-linux)
108
120
  racc (~> 1.4)
109
- nokogiri (1.16.5-arm-linux)
121
+ nokogiri (1.16.7-arm-linux)
110
122
  racc (~> 1.4)
111
- nokogiri (1.16.5-arm64-darwin)
123
+ nokogiri (1.16.7-arm64-darwin)
112
124
  racc (~> 1.4)
113
- nokogiri (1.16.5-x86-linux)
125
+ nokogiri (1.16.7-x86-linux)
114
126
  racc (~> 1.4)
115
- nokogiri (1.16.5-x86_64-darwin)
127
+ nokogiri (1.16.7-x86_64-darwin)
116
128
  racc (~> 1.4)
117
- nokogiri (1.16.5-x86_64-linux)
129
+ nokogiri (1.16.7-x86_64-linux)
118
130
  racc (~> 1.4)
119
131
  parallel (1.25.1)
120
- parser (3.3.3.0)
132
+ parser (3.3.4.0)
121
133
  ast (~> 2.4.1)
122
134
  racc
123
135
  pg_query (5.1.0)
124
136
  google-protobuf (>= 3.22.3)
125
- proc_to_ast (0.1.0)
126
- coderay
137
+ proc_to_ast (0.2.0)
127
138
  parser
139
+ rouge
128
140
  unparser
129
141
  pry (0.14.2)
130
142
  coderay (~> 1.1)
@@ -134,8 +146,8 @@ GEM
134
146
  pry (>= 0.13, < 0.15)
135
147
  psych (5.1.2)
136
148
  stringio
137
- racc (1.8.0)
138
- rack (3.1.6)
149
+ racc (1.8.1)
150
+ rack (3.1.7)
139
151
  rack-session (2.0.0)
140
152
  rack (>= 3.0.0)
141
153
  rack-test (2.1.0)
@@ -162,44 +174,45 @@ GEM
162
174
  rake (13.2.1)
163
175
  rake-hooks (1.2.3)
164
176
  rake
165
- rdoc (6.6.3.1)
177
+ rdoc (6.7.0)
166
178
  psych (>= 4.0.0)
167
179
  regexp_parser (2.9.2)
168
- reline (0.5.7)
180
+ reline (0.5.9)
169
181
  io-console (~> 0.5)
170
- rexml (3.3.1)
182
+ rexml (3.3.4)
171
183
  strscan
184
+ rouge (4.3.0)
172
185
  rspec (3.13.0)
173
186
  rspec-core (~> 3.13.0)
174
187
  rspec-expectations (~> 3.13.0)
175
188
  rspec-mocks (~> 3.13.0)
176
189
  rspec-core (3.13.0)
177
190
  rspec-support (~> 3.13.0)
178
- rspec-expectations (3.13.0)
191
+ rspec-expectations (3.13.1)
179
192
  diff-lcs (>= 1.2.0, < 2.0)
180
193
  rspec-support (~> 3.13.0)
181
- rspec-mocks (3.13.0)
194
+ rspec-mocks (3.13.1)
182
195
  diff-lcs (>= 1.2.0, < 2.0)
183
196
  rspec-support (~> 3.13.0)
184
197
  rspec-parameterized (1.0.2)
185
198
  rspec-parameterized-core (< 2)
186
199
  rspec-parameterized-table_syntax (< 2)
187
- rspec-parameterized-core (1.0.0)
200
+ rspec-parameterized-core (1.0.1)
188
201
  parser
189
- proc_to_ast
202
+ proc_to_ast (>= 0.2.0)
190
203
  rspec (>= 2.13, < 4)
191
204
  unparser
192
205
  rspec-parameterized-table_syntax (1.0.1)
193
206
  binding_of_caller
194
207
  rspec-parameterized-core (< 2)
195
208
  rspec-support (3.13.1)
196
- rubocop (1.64.1)
209
+ rubocop (1.65.1)
197
210
  json (~> 2.3)
198
211
  language_server-protocol (>= 3.17.0)
199
212
  parallel (~> 1.10)
200
213
  parser (>= 3.3.0.2)
201
214
  rainbow (>= 2.2.2, < 4.0)
202
- regexp_parser (>= 1.8, < 3.0)
215
+ regexp_parser (>= 2.4, < 3.0)
203
216
  rexml (>= 3.2.5, < 4.0)
204
217
  rubocop-ast (>= 1.31.1, < 2.0)
205
218
  ruby-progressbar (~> 1.7)
@@ -213,22 +226,22 @@ GEM
213
226
  rubocop-ast (>= 1.31.1, < 2.0)
214
227
  rubocop-rake (0.6.0)
215
228
  rubocop (~> 1.0)
216
- rubocop-rspec (3.0.2)
229
+ rubocop-rspec (3.0.3)
217
230
  rubocop (~> 1.61)
218
231
  ruby-progressbar (1.13.0)
219
232
  ruby2_keywords (0.0.5)
220
- stringio (3.1.0)
233
+ stringio (3.1.1)
221
234
  strscan (3.1.0)
222
235
  thor (1.3.1)
223
236
  timeout (0.4.1)
224
237
  tzinfo (2.0.6)
225
238
  concurrent-ruby (~> 1.0)
226
239
  unicode-display_width (2.5.0)
227
- unparser (0.6.13)
240
+ unparser (0.6.15)
228
241
  diff-lcs (~> 1.3)
229
242
  parser (>= 3.3.0)
230
243
  webrick (1.8.1)
231
- zeitwerk (2.6.16)
244
+ zeitwerk (2.6.17)
232
245
 
233
246
  PLATFORMS
234
247
  aarch64-linux
@@ -253,4 +266,4 @@ DEPENDENCIES
253
266
  rubocop-rspec
254
267
 
255
268
  BUNDLED WITH
256
- 2.5.5
269
+ 2.5.3
data/README.md CHANGED
@@ -18,7 +18,7 @@ gem 'pg_objects'
18
18
  And then execute:
19
19
 
20
20
  ```shell
21
- bundle
21
+ bundle install
22
22
  ```
23
23
 
24
24
  Or install it yourself as:
@@ -35,9 +35,9 @@ bundle exec rails generate pg_objects:install
35
35
 
36
36
  ## Usage
37
37
 
38
- Put DB objects as CREATE (or CREATE OR UPDATE) queries in files to directory structure (default: *db/objects*).
38
+ Store DB objects as CREATE (or CREATE OR UPDATE) queries in files within a directory structure (default: *db/objects*).
39
39
 
40
- You can control order of creating by using directive *depends_on* in SQL comment:
40
+ You can control the order of creation by using the directive *depends_on* in an SQL comment:
41
41
 
42
42
  ```sql
43
43
  --!depends_on my_another_func
@@ -45,14 +45,14 @@ CREATE FUNCTION my_func()
45
45
  ...
46
46
  ```
47
47
 
48
- The string after directive should be a name of file with dependency without extension.
48
+ The string after the directive should be the name of the file that the dependency refers to, without the file extension.
49
49
 
50
50
  ## Configuration
51
51
 
52
- You can use either YAML or initializer file to configure the gem. The priority is:
52
+ You have the option to configure the gem using either a YAML file or a Ruby initializer. The priority order for configuration is as follows:
53
53
  1. Ruby initializer
54
- 1. YAML config
55
- 1. Default values
54
+ 2. YAML config
55
+ 3. Default values
56
56
 
57
57
  ### YAML
58
58
 
@@ -77,7 +77,7 @@ silent: false
77
77
 
78
78
  ### Initializer
79
79
 
80
- Create file in *config/initializers* with the following content:
80
+ Create file in *config/initializers* directory with the following content:
81
81
 
82
82
  ```ruby
83
83
  PgObjects.configure do |config|
@@ -88,9 +88,9 @@ PgObjects.configure do |config|
88
88
  end
89
89
  ```
90
90
 
91
- Otherwise default values will be used.
91
+ Otherwise, the default values will be used.
92
92
 
93
- Remember to ensure that the specified directories exist.
93
+ Please make sure to verify that the specified directories actually exist.
94
94
 
95
95
  ## Development
96
96
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgObjects
4
- VERSION = '1.3.0'
4
+ VERSION = '1.3.2'
5
5
  end
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.0
4
+ version: 1.3.2
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-07-14 00:00:00.000000000 Z
11
+ date: 2024-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  - !ruby/object:Gem::Version
230
230
  version: '0'
231
231
  requirements: []
232
- rubygems_version: 3.4.10
232
+ rubygems_version: 3.5.3
233
233
  signing_key:
234
234
  specification_version: 4
235
235
  summary: Simple manager for PostgreSQL objects like triggers and functions