rails_sql_prettifier 7.0.6 → 7.0.7

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: d88331480d01f22711f05510cce90fd841478b96e4d6b87be2b668e9270eb4de
4
- data.tar.gz: 95c8cf45f0aff20292ba9585125173f7631dfc6e4ac802f26912666637ea9c8f
3
+ metadata.gz: 43a1a762ce848cd2b1edae6bea7f922a68bb9f5f64088be34deaed83edd79ed7
4
+ data.tar.gz: e3711adfeb03c9da1a3dbeb7a3c18f765080cf28a8afb8658acf5a901759d107
5
5
  SHA512:
6
- metadata.gz: 4a11b93c213572042479c7fbd6df4d8569b99e1d35d45dd04918b2935b993c34fd1f8ecc7b63b1b1ae742814fa4960f7286c7a0e275753b85026d1126c7e16d2
7
- data.tar.gz: a846f1d875df5629781fb952f41df40c3e8f98a1eb6c3a42cbb1757f9b3a4c77de738d13ec99049a887d789492db7437ea738de456785405ff493fe859653a97
6
+ metadata.gz: dbed4e334719cacefabca892d8bb20132bc3d58d58ebf893c70fd05d0ae20d3d6885f051a7b68fe35dcd2fb26a02da315fd9a68414194cf3fc690d6191ef3b79
7
+ data.tar.gz: a8095cd8f464382126b7a94ce58f75f4e1f79e535a6f8f2a521281fd0205067f0771e92dd6f9656b269e8fc63c487f617bb204d32e91413bda391faa0307c094
@@ -9,7 +9,7 @@ jobs:
9
9
  strategy:
10
10
  fail-fast: false
11
11
  matrix:
12
- ruby: ["2.7", "3.0", "3.1", "3.2", "3.3"]
12
+ ruby: ["3.2", "3.3", "3.4"]
13
13
 
14
14
  # Service containers to run with `container-job`
15
15
  services:
data/Appraisals ADDED
@@ -0,0 +1,11 @@
1
+ appraise "rails-7" do
2
+ gem "rails", "~> 7.1"
3
+ end
4
+
5
+ appraise "rails-7.2" do
6
+ gem "rails", "~> 7.1"
7
+ end
8
+
9
+ appraise "rails-8" do
10
+ gem "rails", ">= 8"
11
+ end
data/Dockerfile_apprsl ADDED
@@ -0,0 +1,22 @@
1
+ FROM ruby:3.2-bullseye
2
+
3
+ WORKDIR /app
4
+ RUN apt-get update && apt-get -y install lsb-release
5
+ #
6
+ RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
7
+ sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' && \
8
+ apt-get update && apt-get -y install postgresql postgresql-client-14
9
+
10
+ RUN sh -c 'echo "local all all trust" > /etc/postgresql/$(ls /etc/postgresql)/main/pg_hba.conf' && \
11
+ service postgresql start && \
12
+ psql -U postgres -c 'CREATE DATABASE "niceql-test"'
13
+
14
+ RUN gem install bundler
15
+
16
+ COPY lib/rails_sql_prettifier/version.rb /app/lib/rails_sql_prettifier/version.rb
17
+ COPY rails_sql_prettifier.gemspec /app/
18
+ COPY Gemfil* /app/
19
+ COPY Appraisals /app/
20
+ #
21
+ RUN bundle install
22
+ RUN bundle exec appraisal install
data/docker-compose.yml CHANGED
@@ -25,3 +25,12 @@ services:
25
25
  command: /bin/bash -c 'service postgresql start && rake test'
26
26
  volumes:
27
27
  - '.:/app'
28
+
29
+ appraisal:
30
+ build:
31
+ context: .
32
+ dockerfile: Dockerfile_apprsl
33
+ image: niceql_appr
34
+ command: /bin/bash -c 'service postgresql start && appraisal rake test'
35
+ volumes:
36
+ - '.:/app'
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 7.1"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,273 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ rails_sql_prettifier (7.0.6)
5
+ activerecord (>= 7)
6
+ niceql (~> 0.6)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (7.2.2.1)
12
+ actionpack (= 7.2.2.1)
13
+ activesupport (= 7.2.2.1)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ zeitwerk (~> 2.6)
17
+ actionmailbox (7.2.2.1)
18
+ actionpack (= 7.2.2.1)
19
+ activejob (= 7.2.2.1)
20
+ activerecord (= 7.2.2.1)
21
+ activestorage (= 7.2.2.1)
22
+ activesupport (= 7.2.2.1)
23
+ mail (>= 2.8.0)
24
+ actionmailer (7.2.2.1)
25
+ actionpack (= 7.2.2.1)
26
+ actionview (= 7.2.2.1)
27
+ activejob (= 7.2.2.1)
28
+ activesupport (= 7.2.2.1)
29
+ mail (>= 2.8.0)
30
+ rails-dom-testing (~> 2.2)
31
+ actionpack (7.2.2.1)
32
+ actionview (= 7.2.2.1)
33
+ activesupport (= 7.2.2.1)
34
+ nokogiri (>= 1.8.5)
35
+ racc
36
+ rack (>= 2.2.4, < 3.2)
37
+ rack-session (>= 1.0.1)
38
+ rack-test (>= 0.6.3)
39
+ rails-dom-testing (~> 2.2)
40
+ rails-html-sanitizer (~> 1.6)
41
+ useragent (~> 0.16)
42
+ actiontext (7.2.2.1)
43
+ actionpack (= 7.2.2.1)
44
+ activerecord (= 7.2.2.1)
45
+ activestorage (= 7.2.2.1)
46
+ activesupport (= 7.2.2.1)
47
+ globalid (>= 0.6.0)
48
+ nokogiri (>= 1.8.5)
49
+ actionview (7.2.2.1)
50
+ activesupport (= 7.2.2.1)
51
+ builder (~> 3.1)
52
+ erubi (~> 1.11)
53
+ rails-dom-testing (~> 2.2)
54
+ rails-html-sanitizer (~> 1.6)
55
+ activejob (7.2.2.1)
56
+ activesupport (= 7.2.2.1)
57
+ globalid (>= 0.3.6)
58
+ activemodel (7.2.2.1)
59
+ activesupport (= 7.2.2.1)
60
+ activerecord (7.2.2.1)
61
+ activemodel (= 7.2.2.1)
62
+ activesupport (= 7.2.2.1)
63
+ timeout (>= 0.4.0)
64
+ activestorage (7.2.2.1)
65
+ actionpack (= 7.2.2.1)
66
+ activejob (= 7.2.2.1)
67
+ activerecord (= 7.2.2.1)
68
+ activesupport (= 7.2.2.1)
69
+ marcel (~> 1.0)
70
+ activesupport (7.2.2.1)
71
+ base64
72
+ benchmark (>= 0.3)
73
+ bigdecimal
74
+ concurrent-ruby (~> 1.0, >= 1.3.1)
75
+ connection_pool (>= 2.2.5)
76
+ drb
77
+ i18n (>= 1.6, < 2)
78
+ logger (>= 1.4.2)
79
+ minitest (>= 5.1)
80
+ securerandom (>= 0.3)
81
+ tzinfo (~> 2.0, >= 2.0.5)
82
+ appraisal (2.5.0)
83
+ bundler
84
+ rake
85
+ thor (>= 0.14.0)
86
+ ast (2.4.2)
87
+ awesome_print (1.9.2)
88
+ base64 (0.2.0)
89
+ benchmark (0.4.0)
90
+ bigdecimal (3.1.9)
91
+ builder (3.3.0)
92
+ byebug (11.1.3)
93
+ coderay (1.1.3)
94
+ concurrent-ruby (1.3.5)
95
+ connection_pool (2.5.0)
96
+ crass (1.0.6)
97
+ date (3.4.1)
98
+ differ (0.1.2)
99
+ drb (2.2.1)
100
+ erubi (1.13.1)
101
+ globalid (1.2.1)
102
+ activesupport (>= 6.1)
103
+ i18n (1.14.7)
104
+ concurrent-ruby (~> 1.0)
105
+ io-console (0.8.0)
106
+ irb (1.15.1)
107
+ pp (>= 0.6.0)
108
+ rdoc (>= 4.0.0)
109
+ reline (>= 0.4.2)
110
+ json (2.10.1)
111
+ language_server-protocol (3.17.0.4)
112
+ lint_roller (1.1.0)
113
+ logger (1.6.6)
114
+ loofah (2.24.0)
115
+ crass (~> 1.0.2)
116
+ nokogiri (>= 1.12.0)
117
+ mail (2.8.1)
118
+ mini_mime (>= 0.1.1)
119
+ net-imap
120
+ net-pop
121
+ net-smtp
122
+ marcel (1.0.4)
123
+ method_source (1.1.0)
124
+ mini_mime (1.1.5)
125
+ minitest (5.25.4)
126
+ net-imap (0.5.6)
127
+ date
128
+ net-protocol
129
+ net-pop (0.1.2)
130
+ net-protocol
131
+ net-protocol (0.2.2)
132
+ timeout
133
+ net-smtp (0.5.1)
134
+ net-protocol
135
+ niceql (0.6.1)
136
+ nio4r (2.7.4)
137
+ nokogiri (1.18.3-aarch64-linux-gnu)
138
+ racc (~> 1.4)
139
+ nokogiri (1.18.3-aarch64-linux-musl)
140
+ racc (~> 1.4)
141
+ nokogiri (1.18.3-arm-linux-gnu)
142
+ racc (~> 1.4)
143
+ nokogiri (1.18.3-arm-linux-musl)
144
+ racc (~> 1.4)
145
+ nokogiri (1.18.3-arm64-darwin)
146
+ racc (~> 1.4)
147
+ nokogiri (1.18.3-x86_64-darwin)
148
+ racc (~> 1.4)
149
+ nokogiri (1.18.3-x86_64-linux-gnu)
150
+ racc (~> 1.4)
151
+ nokogiri (1.18.3-x86_64-linux-musl)
152
+ racc (~> 1.4)
153
+ parallel (1.26.3)
154
+ parser (3.3.7.1)
155
+ ast (~> 2.4.1)
156
+ racc
157
+ pg (1.5.9)
158
+ pp (0.6.2)
159
+ prettyprint
160
+ prettyprint (0.2.0)
161
+ pry (0.14.2)
162
+ coderay (~> 1.1)
163
+ method_source (~> 1.0)
164
+ pry-byebug (3.10.1)
165
+ byebug (~> 11.0)
166
+ pry (>= 0.13, < 0.15)
167
+ psych (5.2.3)
168
+ date
169
+ stringio
170
+ racc (1.8.1)
171
+ rack (3.1.10)
172
+ rack-session (2.1.0)
173
+ base64 (>= 0.1.0)
174
+ rack (>= 3.0.0)
175
+ rack-test (2.2.0)
176
+ rack (>= 1.3)
177
+ rackup (2.2.1)
178
+ rack (>= 3)
179
+ rails (7.2.2.1)
180
+ actioncable (= 7.2.2.1)
181
+ actionmailbox (= 7.2.2.1)
182
+ actionmailer (= 7.2.2.1)
183
+ actionpack (= 7.2.2.1)
184
+ actiontext (= 7.2.2.1)
185
+ actionview (= 7.2.2.1)
186
+ activejob (= 7.2.2.1)
187
+ activemodel (= 7.2.2.1)
188
+ activerecord (= 7.2.2.1)
189
+ activestorage (= 7.2.2.1)
190
+ activesupport (= 7.2.2.1)
191
+ bundler (>= 1.15.0)
192
+ railties (= 7.2.2.1)
193
+ rails-dom-testing (2.2.0)
194
+ activesupport (>= 5.0.0)
195
+ minitest
196
+ nokogiri (>= 1.6)
197
+ rails-html-sanitizer (1.6.2)
198
+ loofah (~> 2.21)
199
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
200
+ railties (7.2.2.1)
201
+ actionpack (= 7.2.2.1)
202
+ activesupport (= 7.2.2.1)
203
+ irb (~> 1.13)
204
+ rackup (>= 1.0.0)
205
+ rake (>= 12.2)
206
+ thor (~> 1.0, >= 1.2.2)
207
+ zeitwerk (~> 2.6)
208
+ rainbow (3.1.1)
209
+ rake (13.2.1)
210
+ rdoc (6.12.0)
211
+ psych (>= 4.0.0)
212
+ regexp_parser (2.10.0)
213
+ reline (0.6.0)
214
+ io-console (~> 0.5)
215
+ rubocop (1.72.2)
216
+ json (~> 2.3)
217
+ language_server-protocol (~> 3.17.0.2)
218
+ lint_roller (~> 1.1.0)
219
+ parallel (~> 1.10)
220
+ parser (>= 3.3.0.2)
221
+ rainbow (>= 2.2.2, < 4.0)
222
+ regexp_parser (>= 2.9.3, < 3.0)
223
+ rubocop-ast (>= 1.38.0, < 2.0)
224
+ ruby-progressbar (~> 1.7)
225
+ unicode-display_width (>= 2.4.0, < 4.0)
226
+ rubocop-ast (1.38.0)
227
+ parser (>= 3.3.1.0)
228
+ rubocop-shopify (2.15.1)
229
+ rubocop (~> 1.51)
230
+ ruby-progressbar (1.13.0)
231
+ securerandom (0.4.1)
232
+ stringio (3.1.5)
233
+ stubberry (0.3.0)
234
+ thor (1.3.2)
235
+ timeout (0.4.3)
236
+ tzinfo (2.0.6)
237
+ concurrent-ruby (~> 1.0)
238
+ unicode-display_width (3.1.4)
239
+ unicode-emoji (~> 4.0, >= 4.0.4)
240
+ unicode-emoji (4.0.4)
241
+ useragent (0.16.11)
242
+ websocket-driver (0.7.7)
243
+ base64
244
+ websocket-extensions (>= 0.1.0)
245
+ websocket-extensions (0.1.5)
246
+ zeitwerk (2.7.2)
247
+
248
+ PLATFORMS
249
+ aarch64-linux-gnu
250
+ aarch64-linux-musl
251
+ arm-linux-gnu
252
+ arm-linux-musl
253
+ arm64-darwin
254
+ x86_64-darwin
255
+ x86_64-linux-gnu
256
+ x86_64-linux-musl
257
+
258
+ DEPENDENCIES
259
+ appraisal
260
+ awesome_print
261
+ bundler (>= 1)
262
+ differ (~> 0.1)
263
+ minitest (~> 5.0)
264
+ pg (~> 1)
265
+ pry-byebug (~> 3.9)
266
+ rails (~> 7.1)
267
+ rails_sql_prettifier!
268
+ rake (>= 12.3.3)
269
+ rubocop-shopify
270
+ stubberry (~> 0.2)
271
+
272
+ BUNDLED WITH
273
+ 2.6.5
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "~> 7.1"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,273 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ rails_sql_prettifier (7.0.6)
5
+ activerecord (>= 7)
6
+ niceql (~> 0.6)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (7.2.2.1)
12
+ actionpack (= 7.2.2.1)
13
+ activesupport (= 7.2.2.1)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ zeitwerk (~> 2.6)
17
+ actionmailbox (7.2.2.1)
18
+ actionpack (= 7.2.2.1)
19
+ activejob (= 7.2.2.1)
20
+ activerecord (= 7.2.2.1)
21
+ activestorage (= 7.2.2.1)
22
+ activesupport (= 7.2.2.1)
23
+ mail (>= 2.8.0)
24
+ actionmailer (7.2.2.1)
25
+ actionpack (= 7.2.2.1)
26
+ actionview (= 7.2.2.1)
27
+ activejob (= 7.2.2.1)
28
+ activesupport (= 7.2.2.1)
29
+ mail (>= 2.8.0)
30
+ rails-dom-testing (~> 2.2)
31
+ actionpack (7.2.2.1)
32
+ actionview (= 7.2.2.1)
33
+ activesupport (= 7.2.2.1)
34
+ nokogiri (>= 1.8.5)
35
+ racc
36
+ rack (>= 2.2.4, < 3.2)
37
+ rack-session (>= 1.0.1)
38
+ rack-test (>= 0.6.3)
39
+ rails-dom-testing (~> 2.2)
40
+ rails-html-sanitizer (~> 1.6)
41
+ useragent (~> 0.16)
42
+ actiontext (7.2.2.1)
43
+ actionpack (= 7.2.2.1)
44
+ activerecord (= 7.2.2.1)
45
+ activestorage (= 7.2.2.1)
46
+ activesupport (= 7.2.2.1)
47
+ globalid (>= 0.6.0)
48
+ nokogiri (>= 1.8.5)
49
+ actionview (7.2.2.1)
50
+ activesupport (= 7.2.2.1)
51
+ builder (~> 3.1)
52
+ erubi (~> 1.11)
53
+ rails-dom-testing (~> 2.2)
54
+ rails-html-sanitizer (~> 1.6)
55
+ activejob (7.2.2.1)
56
+ activesupport (= 7.2.2.1)
57
+ globalid (>= 0.3.6)
58
+ activemodel (7.2.2.1)
59
+ activesupport (= 7.2.2.1)
60
+ activerecord (7.2.2.1)
61
+ activemodel (= 7.2.2.1)
62
+ activesupport (= 7.2.2.1)
63
+ timeout (>= 0.4.0)
64
+ activestorage (7.2.2.1)
65
+ actionpack (= 7.2.2.1)
66
+ activejob (= 7.2.2.1)
67
+ activerecord (= 7.2.2.1)
68
+ activesupport (= 7.2.2.1)
69
+ marcel (~> 1.0)
70
+ activesupport (7.2.2.1)
71
+ base64
72
+ benchmark (>= 0.3)
73
+ bigdecimal
74
+ concurrent-ruby (~> 1.0, >= 1.3.1)
75
+ connection_pool (>= 2.2.5)
76
+ drb
77
+ i18n (>= 1.6, < 2)
78
+ logger (>= 1.4.2)
79
+ minitest (>= 5.1)
80
+ securerandom (>= 0.3)
81
+ tzinfo (~> 2.0, >= 2.0.5)
82
+ appraisal (2.5.0)
83
+ bundler
84
+ rake
85
+ thor (>= 0.14.0)
86
+ ast (2.4.2)
87
+ awesome_print (1.9.2)
88
+ base64 (0.2.0)
89
+ benchmark (0.4.0)
90
+ bigdecimal (3.1.9)
91
+ builder (3.3.0)
92
+ byebug (11.1.3)
93
+ coderay (1.1.3)
94
+ concurrent-ruby (1.3.5)
95
+ connection_pool (2.5.0)
96
+ crass (1.0.6)
97
+ date (3.4.1)
98
+ differ (0.1.2)
99
+ drb (2.2.1)
100
+ erubi (1.13.1)
101
+ globalid (1.2.1)
102
+ activesupport (>= 6.1)
103
+ i18n (1.14.7)
104
+ concurrent-ruby (~> 1.0)
105
+ io-console (0.8.0)
106
+ irb (1.15.1)
107
+ pp (>= 0.6.0)
108
+ rdoc (>= 4.0.0)
109
+ reline (>= 0.4.2)
110
+ json (2.10.1)
111
+ language_server-protocol (3.17.0.4)
112
+ lint_roller (1.1.0)
113
+ logger (1.6.6)
114
+ loofah (2.24.0)
115
+ crass (~> 1.0.2)
116
+ nokogiri (>= 1.12.0)
117
+ mail (2.8.1)
118
+ mini_mime (>= 0.1.1)
119
+ net-imap
120
+ net-pop
121
+ net-smtp
122
+ marcel (1.0.4)
123
+ method_source (1.1.0)
124
+ mini_mime (1.1.5)
125
+ minitest (5.25.4)
126
+ net-imap (0.5.6)
127
+ date
128
+ net-protocol
129
+ net-pop (0.1.2)
130
+ net-protocol
131
+ net-protocol (0.2.2)
132
+ timeout
133
+ net-smtp (0.5.1)
134
+ net-protocol
135
+ niceql (0.6.1)
136
+ nio4r (2.7.4)
137
+ nokogiri (1.18.3-aarch64-linux-gnu)
138
+ racc (~> 1.4)
139
+ nokogiri (1.18.3-aarch64-linux-musl)
140
+ racc (~> 1.4)
141
+ nokogiri (1.18.3-arm-linux-gnu)
142
+ racc (~> 1.4)
143
+ nokogiri (1.18.3-arm-linux-musl)
144
+ racc (~> 1.4)
145
+ nokogiri (1.18.3-arm64-darwin)
146
+ racc (~> 1.4)
147
+ nokogiri (1.18.3-x86_64-darwin)
148
+ racc (~> 1.4)
149
+ nokogiri (1.18.3-x86_64-linux-gnu)
150
+ racc (~> 1.4)
151
+ nokogiri (1.18.3-x86_64-linux-musl)
152
+ racc (~> 1.4)
153
+ parallel (1.26.3)
154
+ parser (3.3.7.1)
155
+ ast (~> 2.4.1)
156
+ racc
157
+ pg (1.5.9)
158
+ pp (0.6.2)
159
+ prettyprint
160
+ prettyprint (0.2.0)
161
+ pry (0.14.2)
162
+ coderay (~> 1.1)
163
+ method_source (~> 1.0)
164
+ pry-byebug (3.10.1)
165
+ byebug (~> 11.0)
166
+ pry (>= 0.13, < 0.15)
167
+ psych (5.2.3)
168
+ date
169
+ stringio
170
+ racc (1.8.1)
171
+ rack (3.1.10)
172
+ rack-session (2.1.0)
173
+ base64 (>= 0.1.0)
174
+ rack (>= 3.0.0)
175
+ rack-test (2.2.0)
176
+ rack (>= 1.3)
177
+ rackup (2.2.1)
178
+ rack (>= 3)
179
+ rails (7.2.2.1)
180
+ actioncable (= 7.2.2.1)
181
+ actionmailbox (= 7.2.2.1)
182
+ actionmailer (= 7.2.2.1)
183
+ actionpack (= 7.2.2.1)
184
+ actiontext (= 7.2.2.1)
185
+ actionview (= 7.2.2.1)
186
+ activejob (= 7.2.2.1)
187
+ activemodel (= 7.2.2.1)
188
+ activerecord (= 7.2.2.1)
189
+ activestorage (= 7.2.2.1)
190
+ activesupport (= 7.2.2.1)
191
+ bundler (>= 1.15.0)
192
+ railties (= 7.2.2.1)
193
+ rails-dom-testing (2.2.0)
194
+ activesupport (>= 5.0.0)
195
+ minitest
196
+ nokogiri (>= 1.6)
197
+ rails-html-sanitizer (1.6.2)
198
+ loofah (~> 2.21)
199
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
200
+ railties (7.2.2.1)
201
+ actionpack (= 7.2.2.1)
202
+ activesupport (= 7.2.2.1)
203
+ irb (~> 1.13)
204
+ rackup (>= 1.0.0)
205
+ rake (>= 12.2)
206
+ thor (~> 1.0, >= 1.2.2)
207
+ zeitwerk (~> 2.6)
208
+ rainbow (3.1.1)
209
+ rake (13.2.1)
210
+ rdoc (6.12.0)
211
+ psych (>= 4.0.0)
212
+ regexp_parser (2.10.0)
213
+ reline (0.6.0)
214
+ io-console (~> 0.5)
215
+ rubocop (1.72.2)
216
+ json (~> 2.3)
217
+ language_server-protocol (~> 3.17.0.2)
218
+ lint_roller (~> 1.1.0)
219
+ parallel (~> 1.10)
220
+ parser (>= 3.3.0.2)
221
+ rainbow (>= 2.2.2, < 4.0)
222
+ regexp_parser (>= 2.9.3, < 3.0)
223
+ rubocop-ast (>= 1.38.0, < 2.0)
224
+ ruby-progressbar (~> 1.7)
225
+ unicode-display_width (>= 2.4.0, < 4.0)
226
+ rubocop-ast (1.38.0)
227
+ parser (>= 3.3.1.0)
228
+ rubocop-shopify (2.15.1)
229
+ rubocop (~> 1.51)
230
+ ruby-progressbar (1.13.0)
231
+ securerandom (0.4.1)
232
+ stringio (3.1.5)
233
+ stubberry (0.3.0)
234
+ thor (1.3.2)
235
+ timeout (0.4.3)
236
+ tzinfo (2.0.6)
237
+ concurrent-ruby (~> 1.0)
238
+ unicode-display_width (3.1.4)
239
+ unicode-emoji (~> 4.0, >= 4.0.4)
240
+ unicode-emoji (4.0.4)
241
+ useragent (0.16.11)
242
+ websocket-driver (0.7.7)
243
+ base64
244
+ websocket-extensions (>= 0.1.0)
245
+ websocket-extensions (0.1.5)
246
+ zeitwerk (2.7.2)
247
+
248
+ PLATFORMS
249
+ aarch64-linux-gnu
250
+ aarch64-linux-musl
251
+ arm-linux-gnu
252
+ arm-linux-musl
253
+ arm64-darwin
254
+ x86_64-darwin
255
+ x86_64-linux-gnu
256
+ x86_64-linux-musl
257
+
258
+ DEPENDENCIES
259
+ appraisal
260
+ awesome_print
261
+ bundler (>= 1)
262
+ differ (~> 0.1)
263
+ minitest (~> 5.0)
264
+ pg (~> 1)
265
+ pry-byebug (~> 3.9)
266
+ rails (~> 7.1)
267
+ rails_sql_prettifier!
268
+ rake (>= 12.3.3)
269
+ rubocop-shopify
270
+ stubberry (~> 0.2)
271
+
272
+ BUNDLED WITH
273
+ 2.6.5
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", ">= 8"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,274 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ rails_sql_prettifier (7.0.6)
5
+ activerecord (>= 7)
6
+ niceql (~> 0.6)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (8.0.1)
12
+ actionpack (= 8.0.1)
13
+ activesupport (= 8.0.1)
14
+ nio4r (~> 2.0)
15
+ websocket-driver (>= 0.6.1)
16
+ zeitwerk (~> 2.6)
17
+ actionmailbox (8.0.1)
18
+ actionpack (= 8.0.1)
19
+ activejob (= 8.0.1)
20
+ activerecord (= 8.0.1)
21
+ activestorage (= 8.0.1)
22
+ activesupport (= 8.0.1)
23
+ mail (>= 2.8.0)
24
+ actionmailer (8.0.1)
25
+ actionpack (= 8.0.1)
26
+ actionview (= 8.0.1)
27
+ activejob (= 8.0.1)
28
+ activesupport (= 8.0.1)
29
+ mail (>= 2.8.0)
30
+ rails-dom-testing (~> 2.2)
31
+ actionpack (8.0.1)
32
+ actionview (= 8.0.1)
33
+ activesupport (= 8.0.1)
34
+ nokogiri (>= 1.8.5)
35
+ rack (>= 2.2.4)
36
+ rack-session (>= 1.0.1)
37
+ rack-test (>= 0.6.3)
38
+ rails-dom-testing (~> 2.2)
39
+ rails-html-sanitizer (~> 1.6)
40
+ useragent (~> 0.16)
41
+ actiontext (8.0.1)
42
+ actionpack (= 8.0.1)
43
+ activerecord (= 8.0.1)
44
+ activestorage (= 8.0.1)
45
+ activesupport (= 8.0.1)
46
+ globalid (>= 0.6.0)
47
+ nokogiri (>= 1.8.5)
48
+ actionview (8.0.1)
49
+ activesupport (= 8.0.1)
50
+ builder (~> 3.1)
51
+ erubi (~> 1.11)
52
+ rails-dom-testing (~> 2.2)
53
+ rails-html-sanitizer (~> 1.6)
54
+ activejob (8.0.1)
55
+ activesupport (= 8.0.1)
56
+ globalid (>= 0.3.6)
57
+ activemodel (8.0.1)
58
+ activesupport (= 8.0.1)
59
+ activerecord (8.0.1)
60
+ activemodel (= 8.0.1)
61
+ activesupport (= 8.0.1)
62
+ timeout (>= 0.4.0)
63
+ activestorage (8.0.1)
64
+ actionpack (= 8.0.1)
65
+ activejob (= 8.0.1)
66
+ activerecord (= 8.0.1)
67
+ activesupport (= 8.0.1)
68
+ marcel (~> 1.0)
69
+ activesupport (8.0.1)
70
+ base64
71
+ benchmark (>= 0.3)
72
+ bigdecimal
73
+ concurrent-ruby (~> 1.0, >= 1.3.1)
74
+ connection_pool (>= 2.2.5)
75
+ drb
76
+ i18n (>= 1.6, < 2)
77
+ logger (>= 1.4.2)
78
+ minitest (>= 5.1)
79
+ securerandom (>= 0.3)
80
+ tzinfo (~> 2.0, >= 2.0.5)
81
+ uri (>= 0.13.1)
82
+ appraisal (2.5.0)
83
+ bundler
84
+ rake
85
+ thor (>= 0.14.0)
86
+ ast (2.4.2)
87
+ awesome_print (1.9.2)
88
+ base64 (0.2.0)
89
+ benchmark (0.4.0)
90
+ bigdecimal (3.1.9)
91
+ builder (3.3.0)
92
+ byebug (11.1.3)
93
+ coderay (1.1.3)
94
+ concurrent-ruby (1.3.5)
95
+ connection_pool (2.5.0)
96
+ crass (1.0.6)
97
+ date (3.4.1)
98
+ differ (0.1.2)
99
+ drb (2.2.1)
100
+ erubi (1.13.1)
101
+ globalid (1.2.1)
102
+ activesupport (>= 6.1)
103
+ i18n (1.14.7)
104
+ concurrent-ruby (~> 1.0)
105
+ io-console (0.8.0)
106
+ irb (1.15.1)
107
+ pp (>= 0.6.0)
108
+ rdoc (>= 4.0.0)
109
+ reline (>= 0.4.2)
110
+ json (2.10.1)
111
+ language_server-protocol (3.17.0.4)
112
+ lint_roller (1.1.0)
113
+ logger (1.6.6)
114
+ loofah (2.24.0)
115
+ crass (~> 1.0.2)
116
+ nokogiri (>= 1.12.0)
117
+ mail (2.8.1)
118
+ mini_mime (>= 0.1.1)
119
+ net-imap
120
+ net-pop
121
+ net-smtp
122
+ marcel (1.0.4)
123
+ method_source (1.1.0)
124
+ mini_mime (1.1.5)
125
+ minitest (5.25.4)
126
+ net-imap (0.5.6)
127
+ date
128
+ net-protocol
129
+ net-pop (0.1.2)
130
+ net-protocol
131
+ net-protocol (0.2.2)
132
+ timeout
133
+ net-smtp (0.5.1)
134
+ net-protocol
135
+ niceql (0.6.1)
136
+ nio4r (2.7.4)
137
+ nokogiri (1.18.3-aarch64-linux-gnu)
138
+ racc (~> 1.4)
139
+ nokogiri (1.18.3-aarch64-linux-musl)
140
+ racc (~> 1.4)
141
+ nokogiri (1.18.3-arm-linux-gnu)
142
+ racc (~> 1.4)
143
+ nokogiri (1.18.3-arm-linux-musl)
144
+ racc (~> 1.4)
145
+ nokogiri (1.18.3-arm64-darwin)
146
+ racc (~> 1.4)
147
+ nokogiri (1.18.3-x86_64-darwin)
148
+ racc (~> 1.4)
149
+ nokogiri (1.18.3-x86_64-linux-gnu)
150
+ racc (~> 1.4)
151
+ nokogiri (1.18.3-x86_64-linux-musl)
152
+ racc (~> 1.4)
153
+ parallel (1.26.3)
154
+ parser (3.3.7.1)
155
+ ast (~> 2.4.1)
156
+ racc
157
+ pg (1.5.9)
158
+ pp (0.6.2)
159
+ prettyprint
160
+ prettyprint (0.2.0)
161
+ pry (0.14.2)
162
+ coderay (~> 1.1)
163
+ method_source (~> 1.0)
164
+ pry-byebug (3.10.1)
165
+ byebug (~> 11.0)
166
+ pry (>= 0.13, < 0.15)
167
+ psych (5.2.3)
168
+ date
169
+ stringio
170
+ racc (1.8.1)
171
+ rack (3.1.10)
172
+ rack-session (2.1.0)
173
+ base64 (>= 0.1.0)
174
+ rack (>= 3.0.0)
175
+ rack-test (2.2.0)
176
+ rack (>= 1.3)
177
+ rackup (2.2.1)
178
+ rack (>= 3)
179
+ rails (8.0.1)
180
+ actioncable (= 8.0.1)
181
+ actionmailbox (= 8.0.1)
182
+ actionmailer (= 8.0.1)
183
+ actionpack (= 8.0.1)
184
+ actiontext (= 8.0.1)
185
+ actionview (= 8.0.1)
186
+ activejob (= 8.0.1)
187
+ activemodel (= 8.0.1)
188
+ activerecord (= 8.0.1)
189
+ activestorage (= 8.0.1)
190
+ activesupport (= 8.0.1)
191
+ bundler (>= 1.15.0)
192
+ railties (= 8.0.1)
193
+ rails-dom-testing (2.2.0)
194
+ activesupport (>= 5.0.0)
195
+ minitest
196
+ nokogiri (>= 1.6)
197
+ rails-html-sanitizer (1.6.2)
198
+ loofah (~> 2.21)
199
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
200
+ railties (8.0.1)
201
+ actionpack (= 8.0.1)
202
+ activesupport (= 8.0.1)
203
+ irb (~> 1.13)
204
+ rackup (>= 1.0.0)
205
+ rake (>= 12.2)
206
+ thor (~> 1.0, >= 1.2.2)
207
+ zeitwerk (~> 2.6)
208
+ rainbow (3.1.1)
209
+ rake (13.2.1)
210
+ rdoc (6.12.0)
211
+ psych (>= 4.0.0)
212
+ regexp_parser (2.10.0)
213
+ reline (0.6.0)
214
+ io-console (~> 0.5)
215
+ rubocop (1.72.2)
216
+ json (~> 2.3)
217
+ language_server-protocol (~> 3.17.0.2)
218
+ lint_roller (~> 1.1.0)
219
+ parallel (~> 1.10)
220
+ parser (>= 3.3.0.2)
221
+ rainbow (>= 2.2.2, < 4.0)
222
+ regexp_parser (>= 2.9.3, < 3.0)
223
+ rubocop-ast (>= 1.38.0, < 2.0)
224
+ ruby-progressbar (~> 1.7)
225
+ unicode-display_width (>= 2.4.0, < 4.0)
226
+ rubocop-ast (1.38.0)
227
+ parser (>= 3.3.1.0)
228
+ rubocop-shopify (2.15.1)
229
+ rubocop (~> 1.51)
230
+ ruby-progressbar (1.13.0)
231
+ securerandom (0.4.1)
232
+ stringio (3.1.5)
233
+ stubberry (0.3.0)
234
+ thor (1.3.2)
235
+ timeout (0.4.3)
236
+ tzinfo (2.0.6)
237
+ concurrent-ruby (~> 1.0)
238
+ unicode-display_width (3.1.4)
239
+ unicode-emoji (~> 4.0, >= 4.0.4)
240
+ unicode-emoji (4.0.4)
241
+ uri (1.0.2)
242
+ useragent (0.16.11)
243
+ websocket-driver (0.7.7)
244
+ base64
245
+ websocket-extensions (>= 0.1.0)
246
+ websocket-extensions (0.1.5)
247
+ zeitwerk (2.7.2)
248
+
249
+ PLATFORMS
250
+ aarch64-linux-gnu
251
+ aarch64-linux-musl
252
+ arm-linux-gnu
253
+ arm-linux-musl
254
+ arm64-darwin
255
+ x86_64-darwin
256
+ x86_64-linux-gnu
257
+ x86_64-linux-musl
258
+
259
+ DEPENDENCIES
260
+ appraisal
261
+ awesome_print
262
+ bundler (>= 1)
263
+ differ (~> 0.1)
264
+ minitest (~> 5.0)
265
+ pg (~> 1)
266
+ pry-byebug (~> 3.9)
267
+ rails (>= 8)
268
+ rails_sql_prettifier!
269
+ rake (>= 12.3.3)
270
+ rubocop-shopify
271
+ stubberry (~> 0.2)
272
+
273
+ BUNDLED WITH
274
+ 2.6.5
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsSQLPrettifier
4
- VERSION = "7.0.6"
4
+ VERSION = "7.0.7"
5
5
  end
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
33
33
 
34
34
  # for rails 7 you cannot use ruby below 2.7
35
35
  spec.required_ruby_version = ">= 2.7"
36
- spec.add_dependency("activerecord", ">= 7", "< 8")
36
+ spec.add_dependency("activerecord", ">= 7")
37
37
  spec.add_dependency("niceql", "~> 0.6")
38
38
 
39
39
  spec.add_development_dependency("bundler", ">= 1")
@@ -45,6 +45,7 @@ Gem::Specification.new do |spec|
45
45
  spec.add_development_dependency("pg", "~> 1")
46
46
  spec.add_development_dependency("pry-byebug", "~> 3.9")
47
47
  spec.add_development_dependency("rubocop-shopify")
48
+ spec.add_development_dependency("appraisal")
48
49
 
49
50
  spec.add_development_dependency("stubberry", "~> 0.2")
50
51
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_sql_prettifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.6
4
+ version: 7.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - alekseyl
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '7'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '8'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +24,6 @@ dependencies:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '7'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '8'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: niceql
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -156,6 +150,20 @@ dependencies:
156
150
  - - ">="
157
151
  - !ruby/object:Gem::Version
158
152
  version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: appraisal
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
159
167
  - !ruby/object:Gem::Dependency
160
168
  name: stubberry
161
169
  requirement: !ruby/object:Gem::Requirement
@@ -185,10 +193,12 @@ files:
185
193
  - ".rubocop.yml"
186
194
  - ".ruby-gemset"
187
195
  - ".ruby-version"
196
+ - Appraisals
188
197
  - CHANGELOG.md
189
198
  - Dockerfile
190
199
  - Dockerfile_30
191
200
  - Dockerfile_3_1
201
+ - Dockerfile_apprsl
192
202
  - Gemfile
193
203
  - LICENSE.txt
194
204
  - README.md
@@ -198,6 +208,12 @@ files:
198
208
  - docker-compose.yml
199
209
  - err_now.png
200
210
  - err_was.png
211
+ - gemfiles/rails_7.2.gemfile
212
+ - gemfiles/rails_7.2.gemfile.lock
213
+ - gemfiles/rails_7.gemfile
214
+ - gemfiles/rails_7.gemfile.lock
215
+ - gemfiles/rails_8.gemfile
216
+ - gemfiles/rails_8.gemfile.lock
201
217
  - lib/generators/niceql/install_generator.rb
202
218
  - lib/generators/templates/niceql_initializer.rb
203
219
  - lib/rails_sql_prettifier.rb