edgestitch 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01e5bf6fb9d9a79f31d499115c92f7c09c2df3528dc8431a4fb6a4befe594d3f
4
- data.tar.gz: 3f4d63741bcbfecde1b6b2232db4e1091559882372c61131395b83d65eeabade
3
+ metadata.gz: e652616f7c5a52b0eaaac4fb67a2529ae1b62512d44673d87f4770002ffe89d8
4
+ data.tar.gz: ed110218b891340f64f270d8cee9e8bda731518e86f308316ccac97b575fdec9
5
5
  SHA512:
6
- metadata.gz: 2fd180eb4d4f2a45f028708f660f2cb16387f1a04871e84c270d4d9397069e91cf0555540fe6a85a073ac7e0aa9393ee4e67131f141e73a3de387d18478e3ac8
7
- data.tar.gz: 0e1cc6cad4f9cc428236c51ddee089642237ecf8d33e4dce289fb24a4d068d4c88a49d6afa2bab92fca3b71721a7fecef01a46986ec20d24f9e5bc85e155e7a6
6
+ metadata.gz: 60d57d68cd2f3c75f25f1383f1a8759b387f624088ff87f0dc5b8a1c9f417633be1c08af6727b6b939070d954da92ee6eafd69cafde26097a512503dcab8fe69
7
+ data.tar.gz: c6db98b1240f661a96447cc1d315cf284e8e416e2585c2dccf2d9fe12311531a92165c49abba3c78aaa1fc8755150a9d372df675be60b02186e40b940458299c
data/.rubocop.yml CHANGED
@@ -1,2 +1,10 @@
1
1
  require:
2
2
  - rubocop-powerhome
3
+
4
+ Style/FrozenStringLiteralComment:
5
+ Exclude:
6
+ - 'gemfiles/*'
7
+
8
+ Bundler/OrderedGems:
9
+ Exclude:
10
+ - 'gemfiles/*'
data/Appraisals ADDED
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ appraise "rails-6-0" do
4
+ gem "rails", "6.0.6.1"
5
+ end
6
+
7
+ appraise "rails-6-1" do
8
+ gem "rails", "6.1.7.4"
9
+ end
10
+
11
+ appraise "rails-7-0" do
12
+ gem "rails", "7.0.6"
13
+ end
data/Gemfile CHANGED
@@ -4,6 +4,4 @@ source "https://rubygems.org"
4
4
 
5
5
  gemspec
6
6
 
7
- rails_version = ENV.fetch("RAILS_VERSION", ">= 6.0.6")
8
-
9
- gem "rails", rails_version
7
+ gem "rubocop-powerhome", path: "../rubocop-powerhome"
data/Gemfile.lock ADDED
@@ -0,0 +1,267 @@
1
+ PATH
2
+ remote: ../rubocop-powerhome
3
+ specs:
4
+ rubocop-powerhome (0.5.2)
5
+ rubocop (~> 1.52.0)
6
+ rubocop-performance
7
+ rubocop-rails
8
+ rubocop-rake
9
+ rubocop-rspec
10
+
11
+ PATH
12
+ remote: .
13
+ specs:
14
+ edgestitch (0.4.0)
15
+
16
+ GEM
17
+ remote: https://rubygems.org/
18
+ specs:
19
+ actioncable (7.0.8)
20
+ actionpack (= 7.0.8)
21
+ activesupport (= 7.0.8)
22
+ nio4r (~> 2.0)
23
+ websocket-driver (>= 0.6.1)
24
+ actionmailbox (7.0.8)
25
+ actionpack (= 7.0.8)
26
+ activejob (= 7.0.8)
27
+ activerecord (= 7.0.8)
28
+ activestorage (= 7.0.8)
29
+ activesupport (= 7.0.8)
30
+ mail (>= 2.7.1)
31
+ net-imap
32
+ net-pop
33
+ net-smtp
34
+ actionmailer (7.0.8)
35
+ actionpack (= 7.0.8)
36
+ actionview (= 7.0.8)
37
+ activejob (= 7.0.8)
38
+ activesupport (= 7.0.8)
39
+ mail (~> 2.5, >= 2.5.4)
40
+ net-imap
41
+ net-pop
42
+ net-smtp
43
+ rails-dom-testing (~> 2.0)
44
+ actionpack (7.0.8)
45
+ actionview (= 7.0.8)
46
+ activesupport (= 7.0.8)
47
+ rack (~> 2.0, >= 2.2.4)
48
+ rack-test (>= 0.6.3)
49
+ rails-dom-testing (~> 2.0)
50
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
51
+ actiontext (7.0.8)
52
+ actionpack (= 7.0.8)
53
+ activerecord (= 7.0.8)
54
+ activestorage (= 7.0.8)
55
+ activesupport (= 7.0.8)
56
+ globalid (>= 0.6.0)
57
+ nokogiri (>= 1.8.5)
58
+ actionview (7.0.8)
59
+ activesupport (= 7.0.8)
60
+ builder (~> 3.1)
61
+ erubi (~> 1.4)
62
+ rails-dom-testing (~> 2.0)
63
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
64
+ activejob (7.0.8)
65
+ activesupport (= 7.0.8)
66
+ globalid (>= 0.3.6)
67
+ activemodel (7.0.8)
68
+ activesupport (= 7.0.8)
69
+ activerecord (7.0.8)
70
+ activemodel (= 7.0.8)
71
+ activesupport (= 7.0.8)
72
+ activestorage (7.0.8)
73
+ actionpack (= 7.0.8)
74
+ activejob (= 7.0.8)
75
+ activerecord (= 7.0.8)
76
+ activesupport (= 7.0.8)
77
+ marcel (~> 1.0)
78
+ mini_mime (>= 1.1.0)
79
+ activesupport (7.0.8)
80
+ concurrent-ruby (~> 1.0, >= 1.0.2)
81
+ i18n (>= 1.6, < 2)
82
+ minitest (>= 5.1)
83
+ tzinfo (~> 2.0)
84
+ appraisal (2.4.1)
85
+ bundler
86
+ rake
87
+ thor (>= 0.14.0)
88
+ ast (2.4.2)
89
+ builder (3.2.4)
90
+ concurrent-ruby (1.2.2)
91
+ crass (1.0.6)
92
+ date (3.3.4)
93
+ diff-lcs (1.5.0)
94
+ docile (1.1.5)
95
+ erubi (1.12.0)
96
+ globalid (1.2.1)
97
+ activesupport (>= 6.1)
98
+ i18n (1.14.1)
99
+ concurrent-ruby (~> 1.0)
100
+ json (2.7.1)
101
+ license_finder (7.1.0)
102
+ bundler
103
+ rubyzip (>= 1, < 3)
104
+ thor (~> 1.2)
105
+ tomlrb (>= 1.3, < 2.1)
106
+ with_env (= 1.1.0)
107
+ xml-simple (~> 1.1.9)
108
+ loofah (2.22.0)
109
+ crass (~> 1.0.2)
110
+ nokogiri (>= 1.12.0)
111
+ mail (2.8.1)
112
+ mini_mime (>= 0.1.1)
113
+ net-imap
114
+ net-pop
115
+ net-smtp
116
+ marcel (1.0.2)
117
+ method_source (1.0.0)
118
+ mini_mime (1.1.5)
119
+ minitest (5.20.0)
120
+ mysql2 (0.5.5)
121
+ net-imap (0.4.9.1)
122
+ date
123
+ net-protocol
124
+ net-pop (0.1.2)
125
+ net-protocol
126
+ net-protocol (0.2.2)
127
+ timeout
128
+ net-smtp (0.4.0.1)
129
+ net-protocol
130
+ nio4r (2.7.0)
131
+ nokogiri (1.16.0-arm64-darwin)
132
+ racc (~> 1.4)
133
+ nokogiri (1.16.0-x86_64-linux)
134
+ racc (~> 1.4)
135
+ parallel (1.24.0)
136
+ parser (3.3.0.2)
137
+ ast (~> 2.4.1)
138
+ racc
139
+ racc (1.7.3)
140
+ rack (2.2.8)
141
+ rack-test (2.1.0)
142
+ rack (>= 1.3)
143
+ rails (7.0.8)
144
+ actioncable (= 7.0.8)
145
+ actionmailbox (= 7.0.8)
146
+ actionmailer (= 7.0.8)
147
+ actionpack (= 7.0.8)
148
+ actiontext (= 7.0.8)
149
+ actionview (= 7.0.8)
150
+ activejob (= 7.0.8)
151
+ activemodel (= 7.0.8)
152
+ activerecord (= 7.0.8)
153
+ activestorage (= 7.0.8)
154
+ activesupport (= 7.0.8)
155
+ bundler (>= 1.15.0)
156
+ railties (= 7.0.8)
157
+ rails-dom-testing (2.2.0)
158
+ activesupport (>= 5.0.0)
159
+ minitest
160
+ nokogiri (>= 1.6)
161
+ rails-html-sanitizer (1.6.0)
162
+ loofah (~> 2.21)
163
+ nokogiri (~> 1.14)
164
+ railties (7.0.8)
165
+ actionpack (= 7.0.8)
166
+ activesupport (= 7.0.8)
167
+ method_source
168
+ rake (>= 12.2)
169
+ thor (~> 1.0)
170
+ zeitwerk (~> 2.5)
171
+ rainbow (3.1.1)
172
+ rake (13.1.0)
173
+ regexp_parser (2.9.0)
174
+ rexml (3.2.6)
175
+ rspec (3.12.0)
176
+ rspec-core (~> 3.12.0)
177
+ rspec-expectations (~> 3.12.0)
178
+ rspec-mocks (~> 3.12.0)
179
+ rspec-core (3.12.2)
180
+ rspec-support (~> 3.12.0)
181
+ rspec-expectations (3.12.3)
182
+ diff-lcs (>= 1.2.0, < 2.0)
183
+ rspec-support (~> 3.12.0)
184
+ rspec-mocks (3.12.6)
185
+ diff-lcs (>= 1.2.0, < 2.0)
186
+ rspec-support (~> 3.12.0)
187
+ rspec-rails (5.1.2)
188
+ actionpack (>= 5.2)
189
+ activesupport (>= 5.2)
190
+ railties (>= 5.2)
191
+ rspec-core (~> 3.10)
192
+ rspec-expectations (~> 3.10)
193
+ rspec-mocks (~> 3.10)
194
+ rspec-support (~> 3.10)
195
+ rspec-support (3.12.1)
196
+ rubocop (1.52.1)
197
+ json (~> 2.3)
198
+ parallel (~> 1.10)
199
+ parser (>= 3.2.2.3)
200
+ rainbow (>= 2.2.2, < 4.0)
201
+ regexp_parser (>= 1.8, < 3.0)
202
+ rexml (>= 3.2.5, < 4.0)
203
+ rubocop-ast (>= 1.28.0, < 2.0)
204
+ ruby-progressbar (~> 1.7)
205
+ unicode-display_width (>= 2.4.0, < 3.0)
206
+ rubocop-ast (1.30.0)
207
+ parser (>= 3.2.1.0)
208
+ rubocop-capybara (2.20.0)
209
+ rubocop (~> 1.41)
210
+ rubocop-factory_bot (2.25.0)
211
+ rubocop (~> 1.33)
212
+ rubocop-performance (1.20.1)
213
+ rubocop (>= 1.48.1, < 2.0)
214
+ rubocop-ast (>= 1.30.0, < 2.0)
215
+ rubocop-rails (2.23.1)
216
+ activesupport (>= 4.2.0)
217
+ rack (>= 1.1)
218
+ rubocop (>= 1.33.0, < 2.0)
219
+ rubocop-ast (>= 1.30.0, < 2.0)
220
+ rubocop-rake (0.6.0)
221
+ rubocop (~> 1.0)
222
+ rubocop-rspec (2.26.1)
223
+ rubocop (~> 1.40)
224
+ rubocop-capybara (~> 2.17)
225
+ rubocop-factory_bot (~> 2.22)
226
+ ruby-progressbar (1.13.0)
227
+ rubyzip (2.3.2)
228
+ simplecov (0.15.1)
229
+ docile (~> 1.1.0)
230
+ json (>= 1.8, < 3)
231
+ simplecov-html (~> 0.10.0)
232
+ simplecov-html (0.10.2)
233
+ thor (1.3.0)
234
+ timeout (0.4.1)
235
+ tomlrb (2.0.3)
236
+ tzinfo (2.0.6)
237
+ concurrent-ruby (~> 1.0)
238
+ unicode-display_width (2.5.0)
239
+ websocket-driver (0.7.6)
240
+ websocket-extensions (>= 0.1.0)
241
+ websocket-extensions (0.1.5)
242
+ with_env (1.1.0)
243
+ xml-simple (1.1.9)
244
+ rexml
245
+ yard (0.9.21)
246
+ zeitwerk (2.6.12)
247
+
248
+ PLATFORMS
249
+ arm64-darwin-22
250
+ x86_64-linux
251
+
252
+ DEPENDENCIES
253
+ appraisal (~> 2.4.1)
254
+ bundler (~> 2.1)
255
+ edgestitch!
256
+ license_finder (>= 7.0)
257
+ mysql2 (= 0.5.5)
258
+ rails (>= 6.0.6.1, < 7.1)
259
+ rake (~> 13.0)
260
+ rspec (~> 3.0)
261
+ rspec-rails (~> 5.1.2)
262
+ rubocop-powerhome!
263
+ simplecov (= 0.15.1)
264
+ yard (= 0.9.21)
265
+
266
+ BUNDLED WITH
267
+ 2.3.26
@@ -1,3 +1,9 @@
1
1
  ---
2
2
  - - :inherit_from
3
3
  - https://raw.githubusercontent.com/powerhome/oss-guide/master/license_rules.yml
4
+ - - :permit
5
+ - MIT AND (BSD-2-Clause OR GPL-2.0-or-later)
6
+ - :who:
7
+ :why:
8
+ :versions: []
9
+ :when: 2024-01-03 17:19:09.467189000 Z
data/docs/CHANGELOG.md CHANGED
@@ -1,4 +1,18 @@
1
+ ## [0.4.0] - 2023-01-25
2
+
3
+ - Minimize merge conflcits on structure-self.sql [#240](https://github.com/powerhome/power-tools/pull/240)
4
+ - Let bundler manage LOAD_PATH alone [#111](https://github.com/powerhome/power-tools/pull/111)
5
+
6
+ ## [0.3.0] - 2023-01-25
7
+
8
+ - Allow disabling rails tasks enhancing by @xjunior in [#84](https://github.com/powerhome/power-tools/pull/84)
9
+ - Set GTID purged OFF to avoid table locks by @that-jill in [#85](https://github.com/powerhome/power-tools/pull/85)
10
+
11
+ ## [0.2.0] - 2023-01-25
12
+
13
+ - Set GTID purged OFF to avoid table locks by @xjunior in [#82](https://github.com/powerhome/power-tools/pull/82)
14
+
1
15
  ## [0.1.0] - 2022-12-27
2
16
 
3
17
  - First release of Edgestitch, extracted from NitroMysql.
4
- - Supports all rails >= 6.0 and all ruby >= 2.7
18
+ - Supports all rails >= 6.0 and all ruby >= 2.7
data/edgestitch.gemspec CHANGED
@@ -1,8 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- $LOAD_PATH.push File.expand_path("lib", __dir__)
4
-
5
- require "edgestitch/version"
3
+ require_relative "lib/edgestitch/version"
6
4
 
7
5
  Gem::Specification.new do |spec|
8
6
  spec.name = "edgestitch"
@@ -32,10 +30,11 @@ Gem::Specification.new do |spec|
32
30
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
33
31
  spec.require_paths = ["lib"]
34
32
 
33
+ spec.add_development_dependency "appraisal", "~> 2.4.1"
35
34
  spec.add_development_dependency "bundler", "~> 2.1"
36
35
  spec.add_development_dependency "license_finder", ">= 7.0"
37
- spec.add_development_dependency "mysql2", "0.5.3"
38
- spec.add_development_dependency "rails", ">= 5.2.8.1", "< 7.1"
36
+ spec.add_development_dependency "mysql2", "0.5.5"
37
+ spec.add_development_dependency "rails", ">= 6.0.6.1", "< 7.1"
39
38
  spec.add_development_dependency "rake", "~> 13.0"
40
39
  spec.add_development_dependency "rspec", "~> 3.0"
41
40
  spec.add_development_dependency "rspec-rails", "~> 5.1.2"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rubocop-powerhome", path: "../../rubocop-powerhome"
6
+ gem "rails", "6.0.6.1"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,265 @@
1
+ PATH
2
+ remote: ../../rubocop-powerhome
3
+ specs:
4
+ rubocop-powerhome (0.5.2)
5
+ rubocop (~> 1.52.0)
6
+ rubocop-performance
7
+ rubocop-rails
8
+ rubocop-rake
9
+ rubocop-rspec
10
+
11
+ PATH
12
+ remote: ..
13
+ specs:
14
+ edgestitch (0.4.0)
15
+
16
+ GEM
17
+ remote: https://rubygems.org/
18
+ specs:
19
+ actioncable (6.0.6.1)
20
+ actionpack (= 6.0.6.1)
21
+ nio4r (~> 2.0)
22
+ websocket-driver (>= 0.6.1)
23
+ actionmailbox (6.0.6.1)
24
+ actionpack (= 6.0.6.1)
25
+ activejob (= 6.0.6.1)
26
+ activerecord (= 6.0.6.1)
27
+ activestorage (= 6.0.6.1)
28
+ activesupport (= 6.0.6.1)
29
+ mail (>= 2.7.1)
30
+ actionmailer (6.0.6.1)
31
+ actionpack (= 6.0.6.1)
32
+ actionview (= 6.0.6.1)
33
+ activejob (= 6.0.6.1)
34
+ mail (~> 2.5, >= 2.5.4)
35
+ rails-dom-testing (~> 2.0)
36
+ actionpack (6.0.6.1)
37
+ actionview (= 6.0.6.1)
38
+ activesupport (= 6.0.6.1)
39
+ rack (~> 2.0, >= 2.0.8)
40
+ rack-test (>= 0.6.3)
41
+ rails-dom-testing (~> 2.0)
42
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
43
+ actiontext (6.0.6.1)
44
+ actionpack (= 6.0.6.1)
45
+ activerecord (= 6.0.6.1)
46
+ activestorage (= 6.0.6.1)
47
+ activesupport (= 6.0.6.1)
48
+ nokogiri (>= 1.8.5)
49
+ actionview (6.0.6.1)
50
+ activesupport (= 6.0.6.1)
51
+ builder (~> 3.1)
52
+ erubi (~> 1.4)
53
+ rails-dom-testing (~> 2.0)
54
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
55
+ activejob (6.0.6.1)
56
+ activesupport (= 6.0.6.1)
57
+ globalid (>= 0.3.6)
58
+ activemodel (6.0.6.1)
59
+ activesupport (= 6.0.6.1)
60
+ activerecord (6.0.6.1)
61
+ activemodel (= 6.0.6.1)
62
+ activesupport (= 6.0.6.1)
63
+ activestorage (6.0.6.1)
64
+ actionpack (= 6.0.6.1)
65
+ activejob (= 6.0.6.1)
66
+ activerecord (= 6.0.6.1)
67
+ marcel (~> 1.0)
68
+ activesupport (6.0.6.1)
69
+ concurrent-ruby (~> 1.0, >= 1.0.2)
70
+ i18n (>= 0.7, < 2)
71
+ minitest (~> 5.1)
72
+ tzinfo (~> 1.1)
73
+ zeitwerk (~> 2.2, >= 2.2.2)
74
+ appraisal (2.4.1)
75
+ bundler
76
+ rake
77
+ thor (>= 0.14.0)
78
+ ast (2.4.2)
79
+ builder (3.2.4)
80
+ concurrent-ruby (1.2.2)
81
+ crass (1.0.6)
82
+ date (3.3.4)
83
+ diff-lcs (1.5.0)
84
+ docile (1.1.5)
85
+ erubi (1.12.0)
86
+ globalid (1.1.0)
87
+ activesupport (>= 5.0)
88
+ i18n (1.14.1)
89
+ concurrent-ruby (~> 1.0)
90
+ json (2.7.1)
91
+ license_finder (7.1.0)
92
+ bundler
93
+ rubyzip (>= 1, < 3)
94
+ thor (~> 1.2)
95
+ tomlrb (>= 1.3, < 2.1)
96
+ with_env (= 1.1.0)
97
+ xml-simple (~> 1.1.9)
98
+ loofah (2.22.0)
99
+ crass (~> 1.0.2)
100
+ nokogiri (>= 1.12.0)
101
+ mail (2.8.1)
102
+ mini_mime (>= 0.1.1)
103
+ net-imap
104
+ net-pop
105
+ net-smtp
106
+ marcel (1.0.2)
107
+ method_source (1.0.0)
108
+ mini_mime (1.1.5)
109
+ minitest (5.20.0)
110
+ mysql2 (0.5.5)
111
+ net-imap (0.4.9)
112
+ date
113
+ net-protocol
114
+ net-pop (0.1.2)
115
+ net-protocol
116
+ net-protocol (0.2.2)
117
+ timeout
118
+ net-smtp (0.4.0)
119
+ net-protocol
120
+ nio4r (2.7.0)
121
+ nokogiri (1.15.5-arm64-darwin)
122
+ racc (~> 1.4)
123
+ nokogiri (1.15.5-x86_64-linux)
124
+ racc (~> 1.4)
125
+ parallel (1.24.0)
126
+ parser (3.2.2.4)
127
+ ast (~> 2.4.1)
128
+ racc
129
+ racc (1.7.3)
130
+ rack (2.2.8)
131
+ rack-test (2.1.0)
132
+ rack (>= 1.3)
133
+ rails (6.0.6.1)
134
+ actioncable (= 6.0.6.1)
135
+ actionmailbox (= 6.0.6.1)
136
+ actionmailer (= 6.0.6.1)
137
+ actionpack (= 6.0.6.1)
138
+ actiontext (= 6.0.6.1)
139
+ actionview (= 6.0.6.1)
140
+ activejob (= 6.0.6.1)
141
+ activemodel (= 6.0.6.1)
142
+ activerecord (= 6.0.6.1)
143
+ activestorage (= 6.0.6.1)
144
+ activesupport (= 6.0.6.1)
145
+ bundler (>= 1.3.0)
146
+ railties (= 6.0.6.1)
147
+ sprockets-rails (>= 2.0.0)
148
+ rails-dom-testing (2.2.0)
149
+ activesupport (>= 5.0.0)
150
+ minitest
151
+ nokogiri (>= 1.6)
152
+ rails-html-sanitizer (1.6.0)
153
+ loofah (~> 2.21)
154
+ nokogiri (~> 1.14)
155
+ railties (6.0.6.1)
156
+ actionpack (= 6.0.6.1)
157
+ activesupport (= 6.0.6.1)
158
+ method_source
159
+ rake (>= 0.8.7)
160
+ thor (>= 0.20.3, < 2.0)
161
+ rainbow (3.1.1)
162
+ rake (13.1.0)
163
+ regexp_parser (2.8.3)
164
+ rexml (3.2.6)
165
+ rspec (3.12.0)
166
+ rspec-core (~> 3.12.0)
167
+ rspec-expectations (~> 3.12.0)
168
+ rspec-mocks (~> 3.12.0)
169
+ rspec-core (3.12.2)
170
+ rspec-support (~> 3.12.0)
171
+ rspec-expectations (3.12.3)
172
+ diff-lcs (>= 1.2.0, < 2.0)
173
+ rspec-support (~> 3.12.0)
174
+ rspec-mocks (3.12.6)
175
+ diff-lcs (>= 1.2.0, < 2.0)
176
+ rspec-support (~> 3.12.0)
177
+ rspec-rails (5.1.2)
178
+ actionpack (>= 5.2)
179
+ activesupport (>= 5.2)
180
+ railties (>= 5.2)
181
+ rspec-core (~> 3.10)
182
+ rspec-expectations (~> 3.10)
183
+ rspec-mocks (~> 3.10)
184
+ rspec-support (~> 3.10)
185
+ rspec-support (3.12.1)
186
+ rubocop (1.52.1)
187
+ json (~> 2.3)
188
+ parallel (~> 1.10)
189
+ parser (>= 3.2.2.3)
190
+ rainbow (>= 2.2.2, < 4.0)
191
+ regexp_parser (>= 1.8, < 3.0)
192
+ rexml (>= 3.2.5, < 4.0)
193
+ rubocop-ast (>= 1.28.0, < 2.0)
194
+ ruby-progressbar (~> 1.7)
195
+ unicode-display_width (>= 2.4.0, < 3.0)
196
+ rubocop-ast (1.30.0)
197
+ parser (>= 3.2.1.0)
198
+ rubocop-capybara (2.20.0)
199
+ rubocop (~> 1.41)
200
+ rubocop-factory_bot (2.24.0)
201
+ rubocop (~> 1.33)
202
+ rubocop-performance (1.20.1)
203
+ rubocop (>= 1.48.1, < 2.0)
204
+ rubocop-ast (>= 1.30.0, < 2.0)
205
+ rubocop-rails (2.23.1)
206
+ activesupport (>= 4.2.0)
207
+ rack (>= 1.1)
208
+ rubocop (>= 1.33.0, < 2.0)
209
+ rubocop-ast (>= 1.30.0, < 2.0)
210
+ rubocop-rake (0.6.0)
211
+ rubocop (~> 1.0)
212
+ rubocop-rspec (2.25.0)
213
+ rubocop (~> 1.40)
214
+ rubocop-capybara (~> 2.17)
215
+ rubocop-factory_bot (~> 2.22)
216
+ ruby-progressbar (1.13.0)
217
+ rubyzip (2.3.2)
218
+ simplecov (0.15.1)
219
+ docile (~> 1.1.0)
220
+ json (>= 1.8, < 3)
221
+ simplecov-html (~> 0.10.0)
222
+ simplecov-html (0.10.2)
223
+ sprockets (4.2.1)
224
+ concurrent-ruby (~> 1.0)
225
+ rack (>= 2.2.4, < 4)
226
+ sprockets-rails (3.4.2)
227
+ actionpack (>= 5.2)
228
+ activesupport (>= 5.2)
229
+ sprockets (>= 3.0.0)
230
+ thor (1.3.0)
231
+ thread_safe (0.3.6)
232
+ timeout (0.4.1)
233
+ tomlrb (2.0.3)
234
+ tzinfo (1.2.11)
235
+ thread_safe (~> 0.1)
236
+ unicode-display_width (2.5.0)
237
+ websocket-driver (0.7.6)
238
+ websocket-extensions (>= 0.1.0)
239
+ websocket-extensions (0.1.5)
240
+ with_env (1.1.0)
241
+ xml-simple (1.1.9)
242
+ rexml
243
+ yard (0.9.21)
244
+ zeitwerk (2.6.12)
245
+
246
+ PLATFORMS
247
+ arm64-darwin-22
248
+ x86_64-linux
249
+
250
+ DEPENDENCIES
251
+ appraisal (~> 2.4.1)
252
+ bundler (~> 2.1)
253
+ edgestitch!
254
+ license_finder (>= 7.0)
255
+ mysql2 (= 0.5.5)
256
+ rails (= 6.0.6.1)
257
+ rake (~> 13.0)
258
+ rspec (~> 3.0)
259
+ rspec-rails (~> 5.1.2)
260
+ rubocop-powerhome!
261
+ simplecov (= 0.15.1)
262
+ yard (= 0.9.21)
263
+
264
+ BUNDLED WITH
265
+ 2.3.26
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rubocop-powerhome", path: "../../rubocop-powerhome"
6
+ gem "rails", "6.1.7.4"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,268 @@
1
+ PATH
2
+ remote: ../../rubocop-powerhome
3
+ specs:
4
+ rubocop-powerhome (0.5.2)
5
+ rubocop (~> 1.52.0)
6
+ rubocop-performance
7
+ rubocop-rails
8
+ rubocop-rake
9
+ rubocop-rspec
10
+
11
+ PATH
12
+ remote: ..
13
+ specs:
14
+ edgestitch (0.4.0)
15
+
16
+ GEM
17
+ remote: https://rubygems.org/
18
+ specs:
19
+ actioncable (6.1.7.4)
20
+ actionpack (= 6.1.7.4)
21
+ activesupport (= 6.1.7.4)
22
+ nio4r (~> 2.0)
23
+ websocket-driver (>= 0.6.1)
24
+ actionmailbox (6.1.7.4)
25
+ actionpack (= 6.1.7.4)
26
+ activejob (= 6.1.7.4)
27
+ activerecord (= 6.1.7.4)
28
+ activestorage (= 6.1.7.4)
29
+ activesupport (= 6.1.7.4)
30
+ mail (>= 2.7.1)
31
+ actionmailer (6.1.7.4)
32
+ actionpack (= 6.1.7.4)
33
+ actionview (= 6.1.7.4)
34
+ activejob (= 6.1.7.4)
35
+ activesupport (= 6.1.7.4)
36
+ mail (~> 2.5, >= 2.5.4)
37
+ rails-dom-testing (~> 2.0)
38
+ actionpack (6.1.7.4)
39
+ actionview (= 6.1.7.4)
40
+ activesupport (= 6.1.7.4)
41
+ rack (~> 2.0, >= 2.0.9)
42
+ rack-test (>= 0.6.3)
43
+ rails-dom-testing (~> 2.0)
44
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
45
+ actiontext (6.1.7.4)
46
+ actionpack (= 6.1.7.4)
47
+ activerecord (= 6.1.7.4)
48
+ activestorage (= 6.1.7.4)
49
+ activesupport (= 6.1.7.4)
50
+ nokogiri (>= 1.8.5)
51
+ actionview (6.1.7.4)
52
+ activesupport (= 6.1.7.4)
53
+ builder (~> 3.1)
54
+ erubi (~> 1.4)
55
+ rails-dom-testing (~> 2.0)
56
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
57
+ activejob (6.1.7.4)
58
+ activesupport (= 6.1.7.4)
59
+ globalid (>= 0.3.6)
60
+ activemodel (6.1.7.4)
61
+ activesupport (= 6.1.7.4)
62
+ activerecord (6.1.7.4)
63
+ activemodel (= 6.1.7.4)
64
+ activesupport (= 6.1.7.4)
65
+ activestorage (6.1.7.4)
66
+ actionpack (= 6.1.7.4)
67
+ activejob (= 6.1.7.4)
68
+ activerecord (= 6.1.7.4)
69
+ activesupport (= 6.1.7.4)
70
+ marcel (~> 1.0)
71
+ mini_mime (>= 1.1.0)
72
+ activesupport (6.1.7.4)
73
+ concurrent-ruby (~> 1.0, >= 1.0.2)
74
+ i18n (>= 1.6, < 2)
75
+ minitest (>= 5.1)
76
+ tzinfo (~> 2.0)
77
+ zeitwerk (~> 2.3)
78
+ appraisal (2.4.1)
79
+ bundler
80
+ rake
81
+ thor (>= 0.14.0)
82
+ ast (2.4.2)
83
+ builder (3.2.4)
84
+ concurrent-ruby (1.2.2)
85
+ crass (1.0.6)
86
+ date (3.3.4)
87
+ diff-lcs (1.5.0)
88
+ docile (1.1.5)
89
+ erubi (1.12.0)
90
+ globalid (1.2.1)
91
+ activesupport (>= 6.1)
92
+ i18n (1.14.1)
93
+ concurrent-ruby (~> 1.0)
94
+ json (2.7.1)
95
+ license_finder (7.1.0)
96
+ bundler
97
+ rubyzip (>= 1, < 3)
98
+ thor (~> 1.2)
99
+ tomlrb (>= 1.3, < 2.1)
100
+ with_env (= 1.1.0)
101
+ xml-simple (~> 1.1.9)
102
+ loofah (2.22.0)
103
+ crass (~> 1.0.2)
104
+ nokogiri (>= 1.12.0)
105
+ mail (2.8.1)
106
+ mini_mime (>= 0.1.1)
107
+ net-imap
108
+ net-pop
109
+ net-smtp
110
+ marcel (1.0.2)
111
+ method_source (1.0.0)
112
+ mini_mime (1.1.5)
113
+ minitest (5.20.0)
114
+ mysql2 (0.5.5)
115
+ net-imap (0.4.9)
116
+ date
117
+ net-protocol
118
+ net-pop (0.1.2)
119
+ net-protocol
120
+ net-protocol (0.2.2)
121
+ timeout
122
+ net-smtp (0.4.0)
123
+ net-protocol
124
+ nio4r (2.7.0)
125
+ nokogiri (1.15.5-arm64-darwin)
126
+ racc (~> 1.4)
127
+ nokogiri (1.15.5-x86_64-linux)
128
+ racc (~> 1.4)
129
+ parallel (1.24.0)
130
+ parser (3.2.2.4)
131
+ ast (~> 2.4.1)
132
+ racc
133
+ racc (1.7.3)
134
+ rack (2.2.8)
135
+ rack-test (2.1.0)
136
+ rack (>= 1.3)
137
+ rails (6.1.7.4)
138
+ actioncable (= 6.1.7.4)
139
+ actionmailbox (= 6.1.7.4)
140
+ actionmailer (= 6.1.7.4)
141
+ actionpack (= 6.1.7.4)
142
+ actiontext (= 6.1.7.4)
143
+ actionview (= 6.1.7.4)
144
+ activejob (= 6.1.7.4)
145
+ activemodel (= 6.1.7.4)
146
+ activerecord (= 6.1.7.4)
147
+ activestorage (= 6.1.7.4)
148
+ activesupport (= 6.1.7.4)
149
+ bundler (>= 1.15.0)
150
+ railties (= 6.1.7.4)
151
+ sprockets-rails (>= 2.0.0)
152
+ rails-dom-testing (2.2.0)
153
+ activesupport (>= 5.0.0)
154
+ minitest
155
+ nokogiri (>= 1.6)
156
+ rails-html-sanitizer (1.6.0)
157
+ loofah (~> 2.21)
158
+ nokogiri (~> 1.14)
159
+ railties (6.1.7.4)
160
+ actionpack (= 6.1.7.4)
161
+ activesupport (= 6.1.7.4)
162
+ method_source
163
+ rake (>= 12.2)
164
+ thor (~> 1.0)
165
+ rainbow (3.1.1)
166
+ rake (13.1.0)
167
+ regexp_parser (2.8.3)
168
+ rexml (3.2.6)
169
+ rspec (3.12.0)
170
+ rspec-core (~> 3.12.0)
171
+ rspec-expectations (~> 3.12.0)
172
+ rspec-mocks (~> 3.12.0)
173
+ rspec-core (3.12.2)
174
+ rspec-support (~> 3.12.0)
175
+ rspec-expectations (3.12.3)
176
+ diff-lcs (>= 1.2.0, < 2.0)
177
+ rspec-support (~> 3.12.0)
178
+ rspec-mocks (3.12.6)
179
+ diff-lcs (>= 1.2.0, < 2.0)
180
+ rspec-support (~> 3.12.0)
181
+ rspec-rails (5.1.2)
182
+ actionpack (>= 5.2)
183
+ activesupport (>= 5.2)
184
+ railties (>= 5.2)
185
+ rspec-core (~> 3.10)
186
+ rspec-expectations (~> 3.10)
187
+ rspec-mocks (~> 3.10)
188
+ rspec-support (~> 3.10)
189
+ rspec-support (3.12.1)
190
+ rubocop (1.52.1)
191
+ json (~> 2.3)
192
+ parallel (~> 1.10)
193
+ parser (>= 3.2.2.3)
194
+ rainbow (>= 2.2.2, < 4.0)
195
+ regexp_parser (>= 1.8, < 3.0)
196
+ rexml (>= 3.2.5, < 4.0)
197
+ rubocop-ast (>= 1.28.0, < 2.0)
198
+ ruby-progressbar (~> 1.7)
199
+ unicode-display_width (>= 2.4.0, < 3.0)
200
+ rubocop-ast (1.30.0)
201
+ parser (>= 3.2.1.0)
202
+ rubocop-capybara (2.20.0)
203
+ rubocop (~> 1.41)
204
+ rubocop-factory_bot (2.24.0)
205
+ rubocop (~> 1.33)
206
+ rubocop-performance (1.20.1)
207
+ rubocop (>= 1.48.1, < 2.0)
208
+ rubocop-ast (>= 1.30.0, < 2.0)
209
+ rubocop-rails (2.23.1)
210
+ activesupport (>= 4.2.0)
211
+ rack (>= 1.1)
212
+ rubocop (>= 1.33.0, < 2.0)
213
+ rubocop-ast (>= 1.30.0, < 2.0)
214
+ rubocop-rake (0.6.0)
215
+ rubocop (~> 1.0)
216
+ rubocop-rspec (2.25.0)
217
+ rubocop (~> 1.40)
218
+ rubocop-capybara (~> 2.17)
219
+ rubocop-factory_bot (~> 2.22)
220
+ ruby-progressbar (1.13.0)
221
+ rubyzip (2.3.2)
222
+ simplecov (0.15.1)
223
+ docile (~> 1.1.0)
224
+ json (>= 1.8, < 3)
225
+ simplecov-html (~> 0.10.0)
226
+ simplecov-html (0.10.2)
227
+ sprockets (4.2.1)
228
+ concurrent-ruby (~> 1.0)
229
+ rack (>= 2.2.4, < 4)
230
+ sprockets-rails (3.4.2)
231
+ actionpack (>= 5.2)
232
+ activesupport (>= 5.2)
233
+ sprockets (>= 3.0.0)
234
+ thor (1.3.0)
235
+ timeout (0.4.1)
236
+ tomlrb (2.0.3)
237
+ tzinfo (2.0.6)
238
+ concurrent-ruby (~> 1.0)
239
+ unicode-display_width (2.5.0)
240
+ websocket-driver (0.7.6)
241
+ websocket-extensions (>= 0.1.0)
242
+ websocket-extensions (0.1.5)
243
+ with_env (1.1.0)
244
+ xml-simple (1.1.9)
245
+ rexml
246
+ yard (0.9.21)
247
+ zeitwerk (2.6.12)
248
+
249
+ PLATFORMS
250
+ arm64-darwin-22
251
+ x86_64-linux
252
+
253
+ DEPENDENCIES
254
+ appraisal (~> 2.4.1)
255
+ bundler (~> 2.1)
256
+ edgestitch!
257
+ license_finder (>= 7.0)
258
+ mysql2 (= 0.5.5)
259
+ rails (= 6.1.7.4)
260
+ rake (~> 13.0)
261
+ rspec (~> 3.0)
262
+ rspec-rails (~> 5.1.2)
263
+ rubocop-powerhome!
264
+ simplecov (= 0.15.1)
265
+ yard (= 0.9.21)
266
+
267
+ BUNDLED WITH
268
+ 2.3.26
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rubocop-powerhome", path: "../../rubocop-powerhome"
6
+ gem "rails", "7.0.6"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,267 @@
1
+ PATH
2
+ remote: ../../rubocop-powerhome
3
+ specs:
4
+ rubocop-powerhome (0.5.2)
5
+ rubocop (~> 1.52.0)
6
+ rubocop-performance
7
+ rubocop-rails
8
+ rubocop-rake
9
+ rubocop-rspec
10
+
11
+ PATH
12
+ remote: ..
13
+ specs:
14
+ edgestitch (0.4.0)
15
+
16
+ GEM
17
+ remote: https://rubygems.org/
18
+ specs:
19
+ actioncable (7.0.6)
20
+ actionpack (= 7.0.6)
21
+ activesupport (= 7.0.6)
22
+ nio4r (~> 2.0)
23
+ websocket-driver (>= 0.6.1)
24
+ actionmailbox (7.0.6)
25
+ actionpack (= 7.0.6)
26
+ activejob (= 7.0.6)
27
+ activerecord (= 7.0.6)
28
+ activestorage (= 7.0.6)
29
+ activesupport (= 7.0.6)
30
+ mail (>= 2.7.1)
31
+ net-imap
32
+ net-pop
33
+ net-smtp
34
+ actionmailer (7.0.6)
35
+ actionpack (= 7.0.6)
36
+ actionview (= 7.0.6)
37
+ activejob (= 7.0.6)
38
+ activesupport (= 7.0.6)
39
+ mail (~> 2.5, >= 2.5.4)
40
+ net-imap
41
+ net-pop
42
+ net-smtp
43
+ rails-dom-testing (~> 2.0)
44
+ actionpack (7.0.6)
45
+ actionview (= 7.0.6)
46
+ activesupport (= 7.0.6)
47
+ rack (~> 2.0, >= 2.2.4)
48
+ rack-test (>= 0.6.3)
49
+ rails-dom-testing (~> 2.0)
50
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
51
+ actiontext (7.0.6)
52
+ actionpack (= 7.0.6)
53
+ activerecord (= 7.0.6)
54
+ activestorage (= 7.0.6)
55
+ activesupport (= 7.0.6)
56
+ globalid (>= 0.6.0)
57
+ nokogiri (>= 1.8.5)
58
+ actionview (7.0.6)
59
+ activesupport (= 7.0.6)
60
+ builder (~> 3.1)
61
+ erubi (~> 1.4)
62
+ rails-dom-testing (~> 2.0)
63
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
64
+ activejob (7.0.6)
65
+ activesupport (= 7.0.6)
66
+ globalid (>= 0.3.6)
67
+ activemodel (7.0.6)
68
+ activesupport (= 7.0.6)
69
+ activerecord (7.0.6)
70
+ activemodel (= 7.0.6)
71
+ activesupport (= 7.0.6)
72
+ activestorage (7.0.6)
73
+ actionpack (= 7.0.6)
74
+ activejob (= 7.0.6)
75
+ activerecord (= 7.0.6)
76
+ activesupport (= 7.0.6)
77
+ marcel (~> 1.0)
78
+ mini_mime (>= 1.1.0)
79
+ activesupport (7.0.6)
80
+ concurrent-ruby (~> 1.0, >= 1.0.2)
81
+ i18n (>= 1.6, < 2)
82
+ minitest (>= 5.1)
83
+ tzinfo (~> 2.0)
84
+ appraisal (2.4.1)
85
+ bundler
86
+ rake
87
+ thor (>= 0.14.0)
88
+ ast (2.4.2)
89
+ builder (3.2.4)
90
+ concurrent-ruby (1.2.2)
91
+ crass (1.0.6)
92
+ date (3.3.4)
93
+ diff-lcs (1.5.0)
94
+ docile (1.1.5)
95
+ erubi (1.12.0)
96
+ globalid (1.2.1)
97
+ activesupport (>= 6.1)
98
+ i18n (1.14.1)
99
+ concurrent-ruby (~> 1.0)
100
+ json (2.7.1)
101
+ license_finder (7.1.0)
102
+ bundler
103
+ rubyzip (>= 1, < 3)
104
+ thor (~> 1.2)
105
+ tomlrb (>= 1.3, < 2.1)
106
+ with_env (= 1.1.0)
107
+ xml-simple (~> 1.1.9)
108
+ loofah (2.22.0)
109
+ crass (~> 1.0.2)
110
+ nokogiri (>= 1.12.0)
111
+ mail (2.8.1)
112
+ mini_mime (>= 0.1.1)
113
+ net-imap
114
+ net-pop
115
+ net-smtp
116
+ marcel (1.0.2)
117
+ method_source (1.0.0)
118
+ mini_mime (1.1.5)
119
+ minitest (5.20.0)
120
+ mysql2 (0.5.5)
121
+ net-imap (0.4.9)
122
+ date
123
+ net-protocol
124
+ net-pop (0.1.2)
125
+ net-protocol
126
+ net-protocol (0.2.2)
127
+ timeout
128
+ net-smtp (0.4.0)
129
+ net-protocol
130
+ nio4r (2.7.0)
131
+ nokogiri (1.15.5-arm64-darwin)
132
+ racc (~> 1.4)
133
+ nokogiri (1.15.5-x86_64-linux)
134
+ racc (~> 1.4)
135
+ parallel (1.24.0)
136
+ parser (3.2.2.4)
137
+ ast (~> 2.4.1)
138
+ racc
139
+ racc (1.7.3)
140
+ rack (2.2.8)
141
+ rack-test (2.1.0)
142
+ rack (>= 1.3)
143
+ rails (7.0.6)
144
+ actioncable (= 7.0.6)
145
+ actionmailbox (= 7.0.6)
146
+ actionmailer (= 7.0.6)
147
+ actionpack (= 7.0.6)
148
+ actiontext (= 7.0.6)
149
+ actionview (= 7.0.6)
150
+ activejob (= 7.0.6)
151
+ activemodel (= 7.0.6)
152
+ activerecord (= 7.0.6)
153
+ activestorage (= 7.0.6)
154
+ activesupport (= 7.0.6)
155
+ bundler (>= 1.15.0)
156
+ railties (= 7.0.6)
157
+ rails-dom-testing (2.2.0)
158
+ activesupport (>= 5.0.0)
159
+ minitest
160
+ nokogiri (>= 1.6)
161
+ rails-html-sanitizer (1.6.0)
162
+ loofah (~> 2.21)
163
+ nokogiri (~> 1.14)
164
+ railties (7.0.6)
165
+ actionpack (= 7.0.6)
166
+ activesupport (= 7.0.6)
167
+ method_source
168
+ rake (>= 12.2)
169
+ thor (~> 1.0)
170
+ zeitwerk (~> 2.5)
171
+ rainbow (3.1.1)
172
+ rake (13.1.0)
173
+ regexp_parser (2.8.3)
174
+ rexml (3.2.6)
175
+ rspec (3.12.0)
176
+ rspec-core (~> 3.12.0)
177
+ rspec-expectations (~> 3.12.0)
178
+ rspec-mocks (~> 3.12.0)
179
+ rspec-core (3.12.2)
180
+ rspec-support (~> 3.12.0)
181
+ rspec-expectations (3.12.3)
182
+ diff-lcs (>= 1.2.0, < 2.0)
183
+ rspec-support (~> 3.12.0)
184
+ rspec-mocks (3.12.6)
185
+ diff-lcs (>= 1.2.0, < 2.0)
186
+ rspec-support (~> 3.12.0)
187
+ rspec-rails (5.1.2)
188
+ actionpack (>= 5.2)
189
+ activesupport (>= 5.2)
190
+ railties (>= 5.2)
191
+ rspec-core (~> 3.10)
192
+ rspec-expectations (~> 3.10)
193
+ rspec-mocks (~> 3.10)
194
+ rspec-support (~> 3.10)
195
+ rspec-support (3.12.1)
196
+ rubocop (1.52.1)
197
+ json (~> 2.3)
198
+ parallel (~> 1.10)
199
+ parser (>= 3.2.2.3)
200
+ rainbow (>= 2.2.2, < 4.0)
201
+ regexp_parser (>= 1.8, < 3.0)
202
+ rexml (>= 3.2.5, < 4.0)
203
+ rubocop-ast (>= 1.28.0, < 2.0)
204
+ ruby-progressbar (~> 1.7)
205
+ unicode-display_width (>= 2.4.0, < 3.0)
206
+ rubocop-ast (1.30.0)
207
+ parser (>= 3.2.1.0)
208
+ rubocop-capybara (2.20.0)
209
+ rubocop (~> 1.41)
210
+ rubocop-factory_bot (2.24.0)
211
+ rubocop (~> 1.33)
212
+ rubocop-performance (1.20.1)
213
+ rubocop (>= 1.48.1, < 2.0)
214
+ rubocop-ast (>= 1.30.0, < 2.0)
215
+ rubocop-rails (2.23.1)
216
+ activesupport (>= 4.2.0)
217
+ rack (>= 1.1)
218
+ rubocop (>= 1.33.0, < 2.0)
219
+ rubocop-ast (>= 1.30.0, < 2.0)
220
+ rubocop-rake (0.6.0)
221
+ rubocop (~> 1.0)
222
+ rubocop-rspec (2.25.0)
223
+ rubocop (~> 1.40)
224
+ rubocop-capybara (~> 2.17)
225
+ rubocop-factory_bot (~> 2.22)
226
+ ruby-progressbar (1.13.0)
227
+ rubyzip (2.3.2)
228
+ simplecov (0.15.1)
229
+ docile (~> 1.1.0)
230
+ json (>= 1.8, < 3)
231
+ simplecov-html (~> 0.10.0)
232
+ simplecov-html (0.10.2)
233
+ thor (1.3.0)
234
+ timeout (0.4.1)
235
+ tomlrb (2.0.3)
236
+ tzinfo (2.0.6)
237
+ concurrent-ruby (~> 1.0)
238
+ unicode-display_width (2.5.0)
239
+ websocket-driver (0.7.6)
240
+ websocket-extensions (>= 0.1.0)
241
+ websocket-extensions (0.1.5)
242
+ with_env (1.1.0)
243
+ xml-simple (1.1.9)
244
+ rexml
245
+ yard (0.9.21)
246
+ zeitwerk (2.6.12)
247
+
248
+ PLATFORMS
249
+ arm64-darwin-22
250
+ x86_64-linux
251
+
252
+ DEPENDENCIES
253
+ appraisal (~> 2.4.1)
254
+ bundler (~> 2.1)
255
+ edgestitch!
256
+ license_finder (>= 7.0)
257
+ mysql2 (= 0.5.5)
258
+ rails (= 7.0.6)
259
+ rake (~> 13.0)
260
+ rspec (~> 3.0)
261
+ rspec-rails (~> 5.1.2)
262
+ rubocop-powerhome!
263
+ simplecov (= 0.15.1)
264
+ yard (= 0.9.21)
265
+
266
+ BUNDLED WITH
267
+ 2.3.26
@@ -2,7 +2,7 @@
2
2
 
3
3
  require "open3"
4
4
 
5
- require_relative "./structure_constraint_order_munger"
5
+ require_relative "structure_constraint_order_munger"
6
6
 
7
7
  module Edgestitch
8
8
  module Mysql
@@ -11,6 +11,8 @@ module Edgestitch
11
11
  # Wrapper for the mysqldump tool to dump specific tables and migration data
12
12
  #
13
13
  class Dump
14
+ # @private
15
+ #
14
16
  # Sanitizes a DDL code with some opinionated preferences:
15
17
  # * Constraints starting with `_fk` will start with `fk`
16
18
  # * Clear empty lines (with empty spaces even)
@@ -18,7 +20,7 @@ module Edgestitch
18
20
  #
19
21
  # @param sql [String] the DDL code to sanitize
20
22
  # @return String the same DDL sanitized
21
- def self.sanitize_sql(sql)
23
+ def self.sanitize_create_table(sql)
22
24
  comment_instructions_regex = %r{^/\*![0-9]{5}\s+[^;]+;\s*$}
23
25
 
24
26
  cleanups = sql.gsub(/\s+AUTO_INCREMENT=\d+/, "")
@@ -29,6 +31,24 @@ module Edgestitch
29
31
  ::Edgestitch::Mysql::StructureConstraintOrderMunger.munge(cleanups)
30
32
  end
31
33
 
34
+ # @private
35
+ #
36
+ # Sanitizes a DML code to insert migration timestamps with opinionated preferences:
37
+ # * One timestamp per line
38
+ # * Except for the first line, they all start with a comma
39
+ # * Semicolomn is in a separate line from the last one
40
+ #
41
+ # The above preferences come from the idea of minimizing merge conflicts, or make
42
+ # them easily handled by git automatically
43
+ #
44
+ # @param sql [String] the DML code to sanitize
45
+ # @return String the same DML sanitized
46
+ def self.sanitize_migration_timestamps(sql)
47
+ sql.gsub("VALUES ", "VALUES\n")
48
+ .gsub(",", "\n,")
49
+ .gsub(";", "\n;")
50
+ end
51
+
32
52
  #
33
53
  # @param config [ActiveRecord::DatabaseConfigurations::DatabaseConfig] rails database configuration
34
54
  def initialize(config)
@@ -49,7 +69,7 @@ module Edgestitch
49
69
  def export_tables(tables)
50
70
  return if tables.empty?
51
71
 
52
- self.class.sanitize_sql(
72
+ self.class.sanitize_create_table(
53
73
  execute("--compact", "--skip-lock-tables", "--no-data", "--set-gtid-purged=OFF",
54
74
  "--column-statistics=0", *tables)
55
75
  )
@@ -65,13 +85,13 @@ module Edgestitch
65
85
  # @return String the INSERT statements.
66
86
  def export_migrations(migrations)
67
87
  migrations.in_groups_of(50, false).map do |versions|
68
- execute(
88
+ self.class.sanitize_migration_timestamps execute(
69
89
  "--compact", "--skip-lock-tables", "--set-gtid-purged=OFF",
70
90
  "--no-create-info", "--column-statistics=0",
71
91
  "schema_migrations",
72
92
  "-w", "version IN (#{versions.join(',')})"
73
93
  )
74
- end.join.gsub(/VALUES /, "VALUES\n").gsub(/,/, ",\n")
94
+ end.join
75
95
  end
76
96
 
77
97
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Edgestitch
4
- VERSION = "0.3.0"
4
+ VERSION = "0.4.0"
5
5
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edgestitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Palhares
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-25 00:00:00.000000000 Z
11
+ date: 2024-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: appraisal
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 2.4.1
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 2.4.1
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,21 +58,21 @@ dependencies:
44
58
  requirements:
45
59
  - - '='
46
60
  - !ruby/object:Gem::Version
47
- version: 0.5.3
61
+ version: 0.5.5
48
62
  type: :development
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
66
  - - '='
53
67
  - !ruby/object:Gem::Version
54
- version: 0.5.3
68
+ version: 0.5.5
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: rails
57
71
  requirement: !ruby/object:Gem::Requirement
58
72
  requirements:
59
73
  - - ">="
60
74
  - !ruby/object:Gem::Version
61
- version: 5.2.8.1
75
+ version: 6.0.6.1
62
76
  - - "<"
63
77
  - !ruby/object:Gem::Version
64
78
  version: '7.1'
@@ -68,7 +82,7 @@ dependencies:
68
82
  requirements:
69
83
  - - ">="
70
84
  - !ruby/object:Gem::Version
71
- version: 5.2.8.1
85
+ version: 6.0.6.1
72
86
  - - "<"
73
87
  - !ruby/object:Gem::Version
74
88
  version: '7.1'
@@ -165,12 +179,20 @@ extensions: []
165
179
  extra_rdoc_files: []
166
180
  files:
167
181
  - ".rubocop.yml"
182
+ - Appraisals
168
183
  - Gemfile
184
+ - Gemfile.lock
169
185
  - Rakefile
170
186
  - doc/dependency_decisions.yml
171
187
  - docs/CHANGELOG.md
172
188
  - docs/README.md
173
189
  - edgestitch.gemspec
190
+ - gemfiles/rails_6_0.gemfile
191
+ - gemfiles/rails_6_0.gemfile.lock
192
+ - gemfiles/rails_6_1.gemfile
193
+ - gemfiles/rails_6_1.gemfile.lock
194
+ - gemfiles/rails_7_0.gemfile
195
+ - gemfiles/rails_7_0.gemfile.lock
174
196
  - lib/edgestitch.rb
175
197
  - lib/edgestitch/exporter.rb
176
198
  - lib/edgestitch/mysql/dump.rb
@@ -189,7 +211,7 @@ metadata:
189
211
  homepage_uri: https://github.com/powerhome/power-tools
190
212
  source_code_uri: https://github.com/powerhome/power-tools
191
213
  changelog_uri: https://github.com/powerhome/power-tools/blob/main/packages/edgestitch/docs/CHANGELOG.md
192
- post_install_message:
214
+ post_install_message:
193
215
  rdoc_options: []
194
216
  require_paths:
195
217
  - lib
@@ -204,8 +226,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
226
  - !ruby/object:Gem::Version
205
227
  version: '0'
206
228
  requirements: []
207
- rubygems_version: 3.4.1
208
- signing_key:
229
+ rubygems_version: 3.5.3
230
+ signing_key:
209
231
  specification_version: 4
210
232
  summary: Edgestitch allows engines to define partial structure-self.sql files to be
211
233
  stitched into a single structure.sql file by the umbrella application.