table_saw 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -0
- data/Appraisals +5 -0
- data/Gemfile.lock +96 -56
- data/gemfiles/activerecord_6.1.0.gemfile.lock +53 -46
- data/gemfiles/activerecord_7.0.0.gemfile.lock +53 -46
- data/gemfiles/activerecord_7.1.0.gemfile +17 -0
- data/gemfiles/activerecord_7.1.0.gemfile.lock +204 -0
- data/lib/table_saw/formats/copy.rb +1 -5
- data/lib/table_saw/queries/execute_insert_statement.rb +4 -4
- data/lib/table_saw/queries/prepared_insert_statement.rb +1 -1
- data/lib/table_saw/version.rb +1 -1
- data/table_saw.gemspec +1 -1
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c486b7b157b263797373c6fcd9346e99e1e8d3d0d42bfd993b309b5f4a96032d
|
4
|
+
data.tar.gz: f6b3ee4493ce2c5b740410db3b5c18e847ab2d7bd663eb0094a5420fd2d83c9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e86bc39752b2ca0a7bd7b7bf7b162a1c90583ac8e43d6c0299fff36bdd106a446b35a45c1e0a08dc7ec4fc730387de569ef830596e59744920e66224c820835
|
7
|
+
data.tar.gz: 2350f1710a38280d71ac8587784dbef023685c40dc5d3c87af840bae94761127c23d0efba7da3efbe57ade1ebd1ea9827ba8d94fea6a8c0d4a08e1ca360d6955
|
data/.github/workflows/ruby.yml
CHANGED
data/Appraisals
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,42 +1,53 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
table_saw (3.
|
5
|
-
activerecord (>=
|
4
|
+
table_saw (3.1.0)
|
5
|
+
activerecord (>= 6.0)
|
6
6
|
pg
|
7
7
|
thor
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actionpack (7.
|
13
|
-
actionview (= 7.
|
14
|
-
activesupport (= 7.
|
15
|
-
|
12
|
+
actionpack (7.1.2)
|
13
|
+
actionview (= 7.1.2)
|
14
|
+
activesupport (= 7.1.2)
|
15
|
+
nokogiri (>= 1.8.5)
|
16
|
+
racc
|
17
|
+
rack (>= 2.2.4)
|
18
|
+
rack-session (>= 1.0.1)
|
16
19
|
rack-test (>= 0.6.3)
|
17
|
-
rails-dom-testing (~> 2.
|
18
|
-
rails-html-sanitizer (~> 1.
|
19
|
-
actionview (7.
|
20
|
-
activesupport (= 7.
|
20
|
+
rails-dom-testing (~> 2.2)
|
21
|
+
rails-html-sanitizer (~> 1.6)
|
22
|
+
actionview (7.1.2)
|
23
|
+
activesupport (= 7.1.2)
|
21
24
|
builder (~> 3.1)
|
22
|
-
erubi (~> 1.
|
23
|
-
rails-dom-testing (~> 2.
|
24
|
-
rails-html-sanitizer (~> 1.
|
25
|
-
activemodel (7.
|
26
|
-
activesupport (= 7.
|
27
|
-
activerecord (7.
|
28
|
-
activemodel (= 7.
|
29
|
-
activesupport (= 7.
|
30
|
-
|
25
|
+
erubi (~> 1.11)
|
26
|
+
rails-dom-testing (~> 2.2)
|
27
|
+
rails-html-sanitizer (~> 1.6)
|
28
|
+
activemodel (7.1.2)
|
29
|
+
activesupport (= 7.1.2)
|
30
|
+
activerecord (7.1.2)
|
31
|
+
activemodel (= 7.1.2)
|
32
|
+
activesupport (= 7.1.2)
|
33
|
+
timeout (>= 0.4.0)
|
34
|
+
activesupport (7.1.2)
|
35
|
+
base64
|
36
|
+
bigdecimal
|
31
37
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
38
|
+
connection_pool (>= 2.2.5)
|
39
|
+
drb
|
32
40
|
i18n (>= 1.6, < 2)
|
33
41
|
minitest (>= 5.1)
|
42
|
+
mutex_m
|
34
43
|
tzinfo (~> 2.0)
|
35
|
-
appraisal (2.
|
44
|
+
appraisal (2.5.0)
|
36
45
|
bundler
|
37
46
|
rake
|
38
47
|
thor (>= 0.14.0)
|
39
48
|
ast (2.4.2)
|
49
|
+
base64 (0.2.0)
|
50
|
+
bigdecimal (3.1.5)
|
40
51
|
builder (3.2.4)
|
41
52
|
coderay (1.1.3)
|
42
53
|
combustion (1.3.7)
|
@@ -44,6 +55,7 @@ GEM
|
|
44
55
|
railties (>= 3.0.0)
|
45
56
|
thor (>= 0.14.6)
|
46
57
|
concurrent-ruby (1.2.2)
|
58
|
+
connection_pool (2.4.1)
|
47
59
|
crass (1.0.6)
|
48
60
|
database_cleaner (2.0.2)
|
49
61
|
database_cleaner-active_record (>= 2, < 3)
|
@@ -53,46 +65,69 @@ GEM
|
|
53
65
|
database_cleaner-core (2.0.1)
|
54
66
|
diff-lcs (1.5.0)
|
55
67
|
docile (1.4.0)
|
68
|
+
drb (2.2.0)
|
69
|
+
ruby2_keywords
|
56
70
|
erubi (1.12.0)
|
57
|
-
i18n (1.
|
71
|
+
i18n (1.14.1)
|
58
72
|
concurrent-ruby (~> 1.0)
|
59
|
-
|
60
|
-
|
73
|
+
io-console (0.7.1)
|
74
|
+
irb (1.11.0)
|
75
|
+
rdoc
|
76
|
+
reline (>= 0.3.8)
|
77
|
+
json (2.7.1)
|
78
|
+
language_server-protocol (3.17.0.3)
|
79
|
+
loofah (2.22.0)
|
61
80
|
crass (~> 1.0.2)
|
62
81
|
nokogiri (>= 1.12.0)
|
63
82
|
method_source (1.0.0)
|
64
|
-
mini_portile2 (2.8.
|
65
|
-
minitest (5.
|
66
|
-
|
83
|
+
mini_portile2 (2.8.5)
|
84
|
+
minitest (5.20.0)
|
85
|
+
mutex_m (0.2.0)
|
86
|
+
nokogiri (1.15.5)
|
67
87
|
mini_portile2 (~> 2.8.2)
|
68
88
|
racc (~> 1.4)
|
69
|
-
parallel (1.
|
70
|
-
parser (3.2.2.
|
89
|
+
parallel (1.24.0)
|
90
|
+
parser (3.2.2.4)
|
71
91
|
ast (~> 2.4.1)
|
72
|
-
|
92
|
+
racc
|
93
|
+
pg (1.5.4)
|
73
94
|
pry (0.14.2)
|
74
95
|
coderay (~> 1.1)
|
75
96
|
method_source (~> 1.0)
|
76
|
-
|
77
|
-
|
97
|
+
psych (5.1.2)
|
98
|
+
stringio
|
99
|
+
racc (1.7.3)
|
100
|
+
rack (3.0.8)
|
101
|
+
rack-session (2.0.0)
|
102
|
+
rack (>= 3.0.0)
|
78
103
|
rack-test (2.1.0)
|
79
104
|
rack (>= 1.3)
|
80
|
-
|
81
|
-
|
105
|
+
rackup (2.1.0)
|
106
|
+
rack (>= 3)
|
107
|
+
webrick (~> 1.8)
|
108
|
+
rails-dom-testing (2.2.0)
|
109
|
+
activesupport (>= 5.0.0)
|
110
|
+
minitest
|
82
111
|
nokogiri (>= 1.6)
|
83
|
-
rails-html-sanitizer (1.
|
84
|
-
loofah (~> 2.
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
112
|
+
rails-html-sanitizer (1.6.0)
|
113
|
+
loofah (~> 2.21)
|
114
|
+
nokogiri (~> 1.14)
|
115
|
+
railties (7.1.2)
|
116
|
+
actionpack (= 7.1.2)
|
117
|
+
activesupport (= 7.1.2)
|
118
|
+
irb
|
119
|
+
rackup (>= 1.0.0)
|
89
120
|
rake (>= 12.2)
|
90
|
-
thor (~> 1.0)
|
91
|
-
zeitwerk (~> 2.
|
121
|
+
thor (~> 1.0, >= 1.2.2)
|
122
|
+
zeitwerk (~> 2.6)
|
92
123
|
rainbow (3.1.1)
|
93
124
|
rake (13.0.3)
|
94
|
-
|
95
|
-
|
125
|
+
rdoc (6.6.2)
|
126
|
+
psych (>= 4.0.0)
|
127
|
+
regexp_parser (2.8.3)
|
128
|
+
reline (0.4.1)
|
129
|
+
io-console (~> 0.5)
|
130
|
+
rexml (3.2.6)
|
96
131
|
rspec (3.12.0)
|
97
132
|
rspec-core (~> 3.12.0)
|
98
133
|
rspec-expectations (~> 3.12.0)
|
@@ -102,31 +137,33 @@ GEM
|
|
102
137
|
rspec-expectations (3.12.3)
|
103
138
|
diff-lcs (>= 1.2.0, < 2.0)
|
104
139
|
rspec-support (~> 3.12.0)
|
105
|
-
rspec-mocks (3.12.
|
140
|
+
rspec-mocks (3.12.6)
|
106
141
|
diff-lcs (>= 1.2.0, < 2.0)
|
107
142
|
rspec-support (~> 3.12.0)
|
108
|
-
rspec-support (3.12.
|
109
|
-
rubocop (1.
|
143
|
+
rspec-support (3.12.1)
|
144
|
+
rubocop (1.59.0)
|
110
145
|
json (~> 2.3)
|
146
|
+
language_server-protocol (>= 3.17.0)
|
111
147
|
parallel (~> 1.10)
|
112
|
-
parser (>= 3.2.
|
148
|
+
parser (>= 3.2.2.4)
|
113
149
|
rainbow (>= 2.2.2, < 4.0)
|
114
150
|
regexp_parser (>= 1.8, < 3.0)
|
115
151
|
rexml (>= 3.2.5, < 4.0)
|
116
|
-
rubocop-ast (>= 1.
|
152
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
117
153
|
ruby-progressbar (~> 1.7)
|
118
154
|
unicode-display_width (>= 2.4.0, < 3.0)
|
119
|
-
rubocop-ast (1.
|
155
|
+
rubocop-ast (1.30.0)
|
120
156
|
parser (>= 3.2.1.0)
|
121
|
-
rubocop-capybara (2.
|
157
|
+
rubocop-capybara (2.19.0)
|
122
158
|
rubocop (~> 1.41)
|
123
|
-
rubocop-factory_bot (2.
|
124
|
-
rubocop (~> 1.33)
|
125
|
-
rubocop-rspec (2.22.0)
|
159
|
+
rubocop-factory_bot (2.24.0)
|
126
160
|
rubocop (~> 1.33)
|
161
|
+
rubocop-rspec (2.25.0)
|
162
|
+
rubocop (~> 1.40)
|
127
163
|
rubocop-capybara (~> 2.17)
|
128
164
|
rubocop-factory_bot (~> 2.22)
|
129
165
|
ruby-progressbar (1.13.0)
|
166
|
+
ruby2_keywords (0.0.5)
|
130
167
|
scenic (1.7.0)
|
131
168
|
activerecord (>= 4.0.0)
|
132
169
|
railties (>= 4.0.0)
|
@@ -136,11 +173,14 @@ GEM
|
|
136
173
|
simplecov_json_formatter (~> 0.1)
|
137
174
|
simplecov-html (0.12.3)
|
138
175
|
simplecov_json_formatter (0.1.4)
|
139
|
-
|
176
|
+
stringio (3.1.0)
|
177
|
+
thor (1.3.0)
|
178
|
+
timeout (0.4.1)
|
140
179
|
tzinfo (2.0.6)
|
141
180
|
concurrent-ruby (~> 1.0)
|
142
|
-
unicode-display_width (2.
|
143
|
-
|
181
|
+
unicode-display_width (2.5.0)
|
182
|
+
webrick (1.8.1)
|
183
|
+
zeitwerk (2.6.12)
|
144
184
|
|
145
185
|
PLATFORMS
|
146
186
|
ruby
|
@@ -1,39 +1,39 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
table_saw (3.
|
5
|
-
activerecord (>=
|
4
|
+
table_saw (3.1.0)
|
5
|
+
activerecord (>= 6.0)
|
6
6
|
pg
|
7
7
|
thor
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actionpack (6.1.7.
|
13
|
-
actionview (= 6.1.7.
|
14
|
-
activesupport (= 6.1.7.
|
12
|
+
actionpack (6.1.7.6)
|
13
|
+
actionview (= 6.1.7.6)
|
14
|
+
activesupport (= 6.1.7.6)
|
15
15
|
rack (~> 2.0, >= 2.0.9)
|
16
16
|
rack-test (>= 0.6.3)
|
17
17
|
rails-dom-testing (~> 2.0)
|
18
18
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
19
|
-
actionview (6.1.7.
|
20
|
-
activesupport (= 6.1.7.
|
19
|
+
actionview (6.1.7.6)
|
20
|
+
activesupport (= 6.1.7.6)
|
21
21
|
builder (~> 3.1)
|
22
22
|
erubi (~> 1.4)
|
23
23
|
rails-dom-testing (~> 2.0)
|
24
24
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
25
|
-
activemodel (6.1.7.
|
26
|
-
activesupport (= 6.1.7.
|
27
|
-
activerecord (6.1.7.
|
28
|
-
activemodel (= 6.1.7.
|
29
|
-
activesupport (= 6.1.7.
|
30
|
-
activesupport (6.1.7.
|
25
|
+
activemodel (6.1.7.6)
|
26
|
+
activesupport (= 6.1.7.6)
|
27
|
+
activerecord (6.1.7.6)
|
28
|
+
activemodel (= 6.1.7.6)
|
29
|
+
activesupport (= 6.1.7.6)
|
30
|
+
activesupport (6.1.7.6)
|
31
31
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
32
32
|
i18n (>= 1.6, < 2)
|
33
33
|
minitest (>= 5.1)
|
34
34
|
tzinfo (~> 2.0)
|
35
35
|
zeitwerk (~> 2.3)
|
36
|
-
appraisal (2.
|
36
|
+
appraisal (2.5.0)
|
37
37
|
bundler
|
38
38
|
rake
|
39
39
|
thor (>= 0.14.0)
|
@@ -55,42 +55,48 @@ GEM
|
|
55
55
|
diff-lcs (1.5.0)
|
56
56
|
docile (1.4.0)
|
57
57
|
erubi (1.12.0)
|
58
|
-
i18n (1.
|
58
|
+
i18n (1.14.1)
|
59
59
|
concurrent-ruby (~> 1.0)
|
60
|
-
json (2.
|
61
|
-
|
60
|
+
json (2.7.1)
|
61
|
+
language_server-protocol (3.17.0.3)
|
62
|
+
loofah (2.22.0)
|
62
63
|
crass (~> 1.0.2)
|
63
64
|
nokogiri (>= 1.12.0)
|
64
65
|
method_source (1.0.0)
|
65
|
-
minitest (5.
|
66
|
-
nokogiri (1.15.
|
66
|
+
minitest (5.20.0)
|
67
|
+
nokogiri (1.15.5-x86_64-darwin)
|
67
68
|
racc (~> 1.4)
|
68
|
-
|
69
|
-
|
69
|
+
nokogiri (1.15.5-x86_64-linux)
|
70
|
+
racc (~> 1.4)
|
71
|
+
parallel (1.24.0)
|
72
|
+
parser (3.2.2.4)
|
70
73
|
ast (~> 2.4.1)
|
71
|
-
|
74
|
+
racc
|
75
|
+
pg (1.5.4)
|
72
76
|
pry (0.14.2)
|
73
77
|
coderay (~> 1.1)
|
74
78
|
method_source (~> 1.0)
|
75
|
-
racc (1.
|
76
|
-
rack (2.2.
|
79
|
+
racc (1.7.3)
|
80
|
+
rack (2.2.8)
|
77
81
|
rack-test (2.1.0)
|
78
82
|
rack (>= 1.3)
|
79
|
-
rails-dom-testing (2.0
|
80
|
-
activesupport (>=
|
83
|
+
rails-dom-testing (2.2.0)
|
84
|
+
activesupport (>= 5.0.0)
|
85
|
+
minitest
|
81
86
|
nokogiri (>= 1.6)
|
82
|
-
rails-html-sanitizer (1.
|
83
|
-
loofah (~> 2.
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
+
rails-html-sanitizer (1.6.0)
|
88
|
+
loofah (~> 2.21)
|
89
|
+
nokogiri (~> 1.14)
|
90
|
+
railties (6.1.7.6)
|
91
|
+
actionpack (= 6.1.7.6)
|
92
|
+
activesupport (= 6.1.7.6)
|
87
93
|
method_source
|
88
94
|
rake (>= 12.2)
|
89
95
|
thor (~> 1.0)
|
90
96
|
rainbow (3.1.1)
|
91
97
|
rake (13.0.3)
|
92
|
-
regexp_parser (2.8.
|
93
|
-
rexml (3.2.
|
98
|
+
regexp_parser (2.8.3)
|
99
|
+
rexml (3.2.6)
|
94
100
|
rspec (3.12.0)
|
95
101
|
rspec-core (~> 3.12.0)
|
96
102
|
rspec-expectations (~> 3.12.0)
|
@@ -100,28 +106,29 @@ GEM
|
|
100
106
|
rspec-expectations (3.12.3)
|
101
107
|
diff-lcs (>= 1.2.0, < 2.0)
|
102
108
|
rspec-support (~> 3.12.0)
|
103
|
-
rspec-mocks (3.12.
|
109
|
+
rspec-mocks (3.12.6)
|
104
110
|
diff-lcs (>= 1.2.0, < 2.0)
|
105
111
|
rspec-support (~> 3.12.0)
|
106
|
-
rspec-support (3.12.
|
107
|
-
rubocop (1.
|
112
|
+
rspec-support (3.12.1)
|
113
|
+
rubocop (1.59.0)
|
108
114
|
json (~> 2.3)
|
115
|
+
language_server-protocol (>= 3.17.0)
|
109
116
|
parallel (~> 1.10)
|
110
|
-
parser (>= 3.2.
|
117
|
+
parser (>= 3.2.2.4)
|
111
118
|
rainbow (>= 2.2.2, < 4.0)
|
112
119
|
regexp_parser (>= 1.8, < 3.0)
|
113
120
|
rexml (>= 3.2.5, < 4.0)
|
114
|
-
rubocop-ast (>= 1.
|
121
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
115
122
|
ruby-progressbar (~> 1.7)
|
116
123
|
unicode-display_width (>= 2.4.0, < 3.0)
|
117
|
-
rubocop-ast (1.
|
124
|
+
rubocop-ast (1.30.0)
|
118
125
|
parser (>= 3.2.1.0)
|
119
|
-
rubocop-capybara (2.
|
126
|
+
rubocop-capybara (2.19.0)
|
120
127
|
rubocop (~> 1.41)
|
121
|
-
rubocop-factory_bot (2.
|
122
|
-
rubocop (~> 1.33)
|
123
|
-
rubocop-rspec (2.22.0)
|
128
|
+
rubocop-factory_bot (2.24.0)
|
124
129
|
rubocop (~> 1.33)
|
130
|
+
rubocop-rspec (2.25.0)
|
131
|
+
rubocop (~> 1.40)
|
125
132
|
rubocop-capybara (~> 2.17)
|
126
133
|
rubocop-factory_bot (~> 2.22)
|
127
134
|
ruby-progressbar (1.13.0)
|
@@ -134,11 +141,11 @@ GEM
|
|
134
141
|
simplecov_json_formatter (~> 0.1)
|
135
142
|
simplecov-html (0.12.3)
|
136
143
|
simplecov_json_formatter (0.1.4)
|
137
|
-
thor (1.
|
144
|
+
thor (1.3.0)
|
138
145
|
tzinfo (2.0.6)
|
139
146
|
concurrent-ruby (~> 1.0)
|
140
|
-
unicode-display_width (2.
|
141
|
-
zeitwerk (2.6.
|
147
|
+
unicode-display_width (2.5.0)
|
148
|
+
zeitwerk (2.6.12)
|
142
149
|
|
143
150
|
PLATFORMS
|
144
151
|
x86_64-darwin-22
|
@@ -1,38 +1,38 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
table_saw (3.
|
5
|
-
activerecord (>=
|
4
|
+
table_saw (3.1.0)
|
5
|
+
activerecord (>= 6.0)
|
6
6
|
pg
|
7
7
|
thor
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actionpack (7.0.
|
13
|
-
actionview (= 7.0.
|
14
|
-
activesupport (= 7.0.
|
12
|
+
actionpack (7.0.8)
|
13
|
+
actionview (= 7.0.8)
|
14
|
+
activesupport (= 7.0.8)
|
15
15
|
rack (~> 2.0, >= 2.2.4)
|
16
16
|
rack-test (>= 0.6.3)
|
17
17
|
rails-dom-testing (~> 2.0)
|
18
18
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
19
|
-
actionview (7.0.
|
20
|
-
activesupport (= 7.0.
|
19
|
+
actionview (7.0.8)
|
20
|
+
activesupport (= 7.0.8)
|
21
21
|
builder (~> 3.1)
|
22
22
|
erubi (~> 1.4)
|
23
23
|
rails-dom-testing (~> 2.0)
|
24
24
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
25
|
-
activemodel (7.0.
|
26
|
-
activesupport (= 7.0.
|
27
|
-
activerecord (7.0.
|
28
|
-
activemodel (= 7.0.
|
29
|
-
activesupport (= 7.0.
|
30
|
-
activesupport (7.0.
|
25
|
+
activemodel (7.0.8)
|
26
|
+
activesupport (= 7.0.8)
|
27
|
+
activerecord (7.0.8)
|
28
|
+
activemodel (= 7.0.8)
|
29
|
+
activesupport (= 7.0.8)
|
30
|
+
activesupport (7.0.8)
|
31
31
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
32
32
|
i18n (>= 1.6, < 2)
|
33
33
|
minitest (>= 5.1)
|
34
34
|
tzinfo (~> 2.0)
|
35
|
-
appraisal (2.
|
35
|
+
appraisal (2.5.0)
|
36
36
|
bundler
|
37
37
|
rake
|
38
38
|
thor (>= 0.14.0)
|
@@ -54,43 +54,49 @@ GEM
|
|
54
54
|
diff-lcs (1.5.0)
|
55
55
|
docile (1.4.0)
|
56
56
|
erubi (1.12.0)
|
57
|
-
i18n (1.
|
57
|
+
i18n (1.14.1)
|
58
58
|
concurrent-ruby (~> 1.0)
|
59
|
-
json (2.
|
60
|
-
|
59
|
+
json (2.7.1)
|
60
|
+
language_server-protocol (3.17.0.3)
|
61
|
+
loofah (2.22.0)
|
61
62
|
crass (~> 1.0.2)
|
62
63
|
nokogiri (>= 1.12.0)
|
63
64
|
method_source (1.0.0)
|
64
|
-
minitest (5.
|
65
|
-
nokogiri (1.15.
|
65
|
+
minitest (5.20.0)
|
66
|
+
nokogiri (1.15.5-x86_64-darwin)
|
66
67
|
racc (~> 1.4)
|
67
|
-
|
68
|
-
|
68
|
+
nokogiri (1.15.5-x86_64-linux)
|
69
|
+
racc (~> 1.4)
|
70
|
+
parallel (1.24.0)
|
71
|
+
parser (3.2.2.4)
|
69
72
|
ast (~> 2.4.1)
|
70
|
-
|
73
|
+
racc
|
74
|
+
pg (1.5.4)
|
71
75
|
pry (0.14.2)
|
72
76
|
coderay (~> 1.1)
|
73
77
|
method_source (~> 1.0)
|
74
|
-
racc (1.
|
75
|
-
rack (2.2.
|
78
|
+
racc (1.7.3)
|
79
|
+
rack (2.2.8)
|
76
80
|
rack-test (2.1.0)
|
77
81
|
rack (>= 1.3)
|
78
|
-
rails-dom-testing (2.0
|
79
|
-
activesupport (>=
|
82
|
+
rails-dom-testing (2.2.0)
|
83
|
+
activesupport (>= 5.0.0)
|
84
|
+
minitest
|
80
85
|
nokogiri (>= 1.6)
|
81
|
-
rails-html-sanitizer (1.
|
82
|
-
loofah (~> 2.
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
+
rails-html-sanitizer (1.6.0)
|
87
|
+
loofah (~> 2.21)
|
88
|
+
nokogiri (~> 1.14)
|
89
|
+
railties (7.0.8)
|
90
|
+
actionpack (= 7.0.8)
|
91
|
+
activesupport (= 7.0.8)
|
86
92
|
method_source
|
87
93
|
rake (>= 12.2)
|
88
94
|
thor (~> 1.0)
|
89
95
|
zeitwerk (~> 2.5)
|
90
96
|
rainbow (3.1.1)
|
91
97
|
rake (13.0.3)
|
92
|
-
regexp_parser (2.8.
|
93
|
-
rexml (3.2.
|
98
|
+
regexp_parser (2.8.3)
|
99
|
+
rexml (3.2.6)
|
94
100
|
rspec (3.12.0)
|
95
101
|
rspec-core (~> 3.12.0)
|
96
102
|
rspec-expectations (~> 3.12.0)
|
@@ -100,28 +106,29 @@ GEM
|
|
100
106
|
rspec-expectations (3.12.3)
|
101
107
|
diff-lcs (>= 1.2.0, < 2.0)
|
102
108
|
rspec-support (~> 3.12.0)
|
103
|
-
rspec-mocks (3.12.
|
109
|
+
rspec-mocks (3.12.6)
|
104
110
|
diff-lcs (>= 1.2.0, < 2.0)
|
105
111
|
rspec-support (~> 3.12.0)
|
106
|
-
rspec-support (3.12.
|
107
|
-
rubocop (1.
|
112
|
+
rspec-support (3.12.1)
|
113
|
+
rubocop (1.59.0)
|
108
114
|
json (~> 2.3)
|
115
|
+
language_server-protocol (>= 3.17.0)
|
109
116
|
parallel (~> 1.10)
|
110
|
-
parser (>= 3.2.
|
117
|
+
parser (>= 3.2.2.4)
|
111
118
|
rainbow (>= 2.2.2, < 4.0)
|
112
119
|
regexp_parser (>= 1.8, < 3.0)
|
113
120
|
rexml (>= 3.2.5, < 4.0)
|
114
|
-
rubocop-ast (>= 1.
|
121
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
115
122
|
ruby-progressbar (~> 1.7)
|
116
123
|
unicode-display_width (>= 2.4.0, < 3.0)
|
117
|
-
rubocop-ast (1.
|
124
|
+
rubocop-ast (1.30.0)
|
118
125
|
parser (>= 3.2.1.0)
|
119
|
-
rubocop-capybara (2.
|
126
|
+
rubocop-capybara (2.19.0)
|
120
127
|
rubocop (~> 1.41)
|
121
|
-
rubocop-factory_bot (2.
|
122
|
-
rubocop (~> 1.33)
|
123
|
-
rubocop-rspec (2.22.0)
|
128
|
+
rubocop-factory_bot (2.24.0)
|
124
129
|
rubocop (~> 1.33)
|
130
|
+
rubocop-rspec (2.25.0)
|
131
|
+
rubocop (~> 1.40)
|
125
132
|
rubocop-capybara (~> 2.17)
|
126
133
|
rubocop-factory_bot (~> 2.22)
|
127
134
|
ruby-progressbar (1.13.0)
|
@@ -134,11 +141,11 @@ GEM
|
|
134
141
|
simplecov_json_formatter (~> 0.1)
|
135
142
|
simplecov-html (0.12.3)
|
136
143
|
simplecov_json_formatter (0.1.4)
|
137
|
-
thor (1.
|
144
|
+
thor (1.3.0)
|
138
145
|
tzinfo (2.0.6)
|
139
146
|
concurrent-ruby (~> 1.0)
|
140
|
-
unicode-display_width (2.
|
141
|
-
zeitwerk (2.6.
|
147
|
+
unicode-display_width (2.5.0)
|
148
|
+
zeitwerk (2.6.12)
|
142
149
|
|
143
150
|
PLATFORMS
|
144
151
|
x86_64-darwin-22
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "appraisal"
|
6
|
+
gem "bundler", "~> 2.0"
|
7
|
+
gem "combustion", "~> 1.3"
|
8
|
+
gem "database_cleaner", "~> 2"
|
9
|
+
gem "pry"
|
10
|
+
gem "rake", "13.0.3"
|
11
|
+
gem "rspec", "~> 3.0"
|
12
|
+
gem "rubocop-rspec", "~> 2.3"
|
13
|
+
gem "scenic", "~> 1.5"
|
14
|
+
gem "simplecov", "~> 0.16"
|
15
|
+
gem "activerecord", "~> 7.1", "< 7.2"
|
16
|
+
|
17
|
+
gemspec path: "../"
|
@@ -0,0 +1,204 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
table_saw (3.1.0)
|
5
|
+
activerecord (>= 6.0)
|
6
|
+
pg
|
7
|
+
thor
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
actionpack (7.1.2)
|
13
|
+
actionview (= 7.1.2)
|
14
|
+
activesupport (= 7.1.2)
|
15
|
+
nokogiri (>= 1.8.5)
|
16
|
+
racc
|
17
|
+
rack (>= 2.2.4)
|
18
|
+
rack-session (>= 1.0.1)
|
19
|
+
rack-test (>= 0.6.3)
|
20
|
+
rails-dom-testing (~> 2.2)
|
21
|
+
rails-html-sanitizer (~> 1.6)
|
22
|
+
actionview (7.1.2)
|
23
|
+
activesupport (= 7.1.2)
|
24
|
+
builder (~> 3.1)
|
25
|
+
erubi (~> 1.11)
|
26
|
+
rails-dom-testing (~> 2.2)
|
27
|
+
rails-html-sanitizer (~> 1.6)
|
28
|
+
activemodel (7.1.2)
|
29
|
+
activesupport (= 7.1.2)
|
30
|
+
activerecord (7.1.2)
|
31
|
+
activemodel (= 7.1.2)
|
32
|
+
activesupport (= 7.1.2)
|
33
|
+
timeout (>= 0.4.0)
|
34
|
+
activesupport (7.1.2)
|
35
|
+
base64
|
36
|
+
bigdecimal
|
37
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
38
|
+
connection_pool (>= 2.2.5)
|
39
|
+
drb
|
40
|
+
i18n (>= 1.6, < 2)
|
41
|
+
minitest (>= 5.1)
|
42
|
+
mutex_m
|
43
|
+
tzinfo (~> 2.0)
|
44
|
+
appraisal (2.5.0)
|
45
|
+
bundler
|
46
|
+
rake
|
47
|
+
thor (>= 0.14.0)
|
48
|
+
ast (2.4.2)
|
49
|
+
base64 (0.2.0)
|
50
|
+
bigdecimal (3.1.5)
|
51
|
+
builder (3.2.4)
|
52
|
+
coderay (1.1.3)
|
53
|
+
combustion (1.3.7)
|
54
|
+
activesupport (>= 3.0.0)
|
55
|
+
railties (>= 3.0.0)
|
56
|
+
thor (>= 0.14.6)
|
57
|
+
concurrent-ruby (1.2.2)
|
58
|
+
connection_pool (2.4.1)
|
59
|
+
crass (1.0.6)
|
60
|
+
database_cleaner (2.0.2)
|
61
|
+
database_cleaner-active_record (>= 2, < 3)
|
62
|
+
database_cleaner-active_record (2.1.0)
|
63
|
+
activerecord (>= 5.a)
|
64
|
+
database_cleaner-core (~> 2.0.0)
|
65
|
+
database_cleaner-core (2.0.1)
|
66
|
+
diff-lcs (1.5.0)
|
67
|
+
docile (1.4.0)
|
68
|
+
drb (2.2.0)
|
69
|
+
ruby2_keywords
|
70
|
+
erubi (1.12.0)
|
71
|
+
i18n (1.14.1)
|
72
|
+
concurrent-ruby (~> 1.0)
|
73
|
+
io-console (0.7.1)
|
74
|
+
irb (1.11.0)
|
75
|
+
rdoc
|
76
|
+
reline (>= 0.3.8)
|
77
|
+
json (2.7.1)
|
78
|
+
language_server-protocol (3.17.0.3)
|
79
|
+
loofah (2.22.0)
|
80
|
+
crass (~> 1.0.2)
|
81
|
+
nokogiri (>= 1.12.0)
|
82
|
+
method_source (1.0.0)
|
83
|
+
minitest (5.20.0)
|
84
|
+
mutex_m (0.2.0)
|
85
|
+
nokogiri (1.15.5-x86_64-darwin)
|
86
|
+
racc (~> 1.4)
|
87
|
+
nokogiri (1.15.5-x86_64-linux)
|
88
|
+
racc (~> 1.4)
|
89
|
+
parallel (1.24.0)
|
90
|
+
parser (3.2.2.4)
|
91
|
+
ast (~> 2.4.1)
|
92
|
+
racc
|
93
|
+
pg (1.5.4)
|
94
|
+
pry (0.14.2)
|
95
|
+
coderay (~> 1.1)
|
96
|
+
method_source (~> 1.0)
|
97
|
+
psych (5.1.2)
|
98
|
+
stringio
|
99
|
+
racc (1.7.3)
|
100
|
+
rack (3.0.8)
|
101
|
+
rack-session (2.0.0)
|
102
|
+
rack (>= 3.0.0)
|
103
|
+
rack-test (2.1.0)
|
104
|
+
rack (>= 1.3)
|
105
|
+
rackup (2.1.0)
|
106
|
+
rack (>= 3)
|
107
|
+
webrick (~> 1.8)
|
108
|
+
rails-dom-testing (2.2.0)
|
109
|
+
activesupport (>= 5.0.0)
|
110
|
+
minitest
|
111
|
+
nokogiri (>= 1.6)
|
112
|
+
rails-html-sanitizer (1.6.0)
|
113
|
+
loofah (~> 2.21)
|
114
|
+
nokogiri (~> 1.14)
|
115
|
+
railties (7.1.2)
|
116
|
+
actionpack (= 7.1.2)
|
117
|
+
activesupport (= 7.1.2)
|
118
|
+
irb
|
119
|
+
rackup (>= 1.0.0)
|
120
|
+
rake (>= 12.2)
|
121
|
+
thor (~> 1.0, >= 1.2.2)
|
122
|
+
zeitwerk (~> 2.6)
|
123
|
+
rainbow (3.1.1)
|
124
|
+
rake (13.0.3)
|
125
|
+
rdoc (6.6.2)
|
126
|
+
psych (>= 4.0.0)
|
127
|
+
regexp_parser (2.8.3)
|
128
|
+
reline (0.4.1)
|
129
|
+
io-console (~> 0.5)
|
130
|
+
rexml (3.2.6)
|
131
|
+
rspec (3.12.0)
|
132
|
+
rspec-core (~> 3.12.0)
|
133
|
+
rspec-expectations (~> 3.12.0)
|
134
|
+
rspec-mocks (~> 3.12.0)
|
135
|
+
rspec-core (3.12.2)
|
136
|
+
rspec-support (~> 3.12.0)
|
137
|
+
rspec-expectations (3.12.3)
|
138
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
139
|
+
rspec-support (~> 3.12.0)
|
140
|
+
rspec-mocks (3.12.6)
|
141
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
142
|
+
rspec-support (~> 3.12.0)
|
143
|
+
rspec-support (3.12.1)
|
144
|
+
rubocop (1.59.0)
|
145
|
+
json (~> 2.3)
|
146
|
+
language_server-protocol (>= 3.17.0)
|
147
|
+
parallel (~> 1.10)
|
148
|
+
parser (>= 3.2.2.4)
|
149
|
+
rainbow (>= 2.2.2, < 4.0)
|
150
|
+
regexp_parser (>= 1.8, < 3.0)
|
151
|
+
rexml (>= 3.2.5, < 4.0)
|
152
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
153
|
+
ruby-progressbar (~> 1.7)
|
154
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
155
|
+
rubocop-ast (1.30.0)
|
156
|
+
parser (>= 3.2.1.0)
|
157
|
+
rubocop-capybara (2.19.0)
|
158
|
+
rubocop (~> 1.41)
|
159
|
+
rubocop-factory_bot (2.24.0)
|
160
|
+
rubocop (~> 1.33)
|
161
|
+
rubocop-rspec (2.25.0)
|
162
|
+
rubocop (~> 1.40)
|
163
|
+
rubocop-capybara (~> 2.17)
|
164
|
+
rubocop-factory_bot (~> 2.22)
|
165
|
+
ruby-progressbar (1.13.0)
|
166
|
+
ruby2_keywords (0.0.5)
|
167
|
+
scenic (1.7.0)
|
168
|
+
activerecord (>= 4.0.0)
|
169
|
+
railties (>= 4.0.0)
|
170
|
+
simplecov (0.22.0)
|
171
|
+
docile (~> 1.1)
|
172
|
+
simplecov-html (~> 0.11)
|
173
|
+
simplecov_json_formatter (~> 0.1)
|
174
|
+
simplecov-html (0.12.3)
|
175
|
+
simplecov_json_formatter (0.1.4)
|
176
|
+
stringio (3.1.0)
|
177
|
+
thor (1.3.0)
|
178
|
+
timeout (0.4.1)
|
179
|
+
tzinfo (2.0.6)
|
180
|
+
concurrent-ruby (~> 1.0)
|
181
|
+
unicode-display_width (2.5.0)
|
182
|
+
webrick (1.8.1)
|
183
|
+
zeitwerk (2.6.12)
|
184
|
+
|
185
|
+
PLATFORMS
|
186
|
+
x86_64-darwin-22
|
187
|
+
x86_64-linux
|
188
|
+
|
189
|
+
DEPENDENCIES
|
190
|
+
activerecord (~> 7.1, < 7.2)
|
191
|
+
appraisal
|
192
|
+
bundler (~> 2.0)
|
193
|
+
combustion (~> 1.3)
|
194
|
+
database_cleaner (~> 2)
|
195
|
+
pry
|
196
|
+
rake (= 13.0.3)
|
197
|
+
rspec (~> 3.0)
|
198
|
+
rubocop-rspec (~> 2.3)
|
199
|
+
scenic (~> 1.5)
|
200
|
+
simplecov (~> 0.16)
|
201
|
+
table_saw!
|
202
|
+
|
203
|
+
BUNDLED WITH
|
204
|
+
2.4.13
|
@@ -20,13 +20,9 @@ module TableSaw
|
|
20
20
|
def quoted_columns
|
21
21
|
TableSaw.schema_cache.columns_hash(table_name)
|
22
22
|
.each_key
|
23
|
-
.map { |name|
|
23
|
+
.map { |name| TableSaw::Connection.adapter.quote_column_name(name) }
|
24
24
|
.join(', ')
|
25
25
|
end
|
26
|
-
|
27
|
-
def connection
|
28
|
-
TableSaw.schema_cache.connection
|
29
|
-
end
|
30
26
|
end
|
31
27
|
end
|
32
28
|
end
|
@@ -22,13 +22,13 @@ module TableSaw
|
|
22
22
|
.join(', ')
|
23
23
|
end
|
24
24
|
|
25
|
-
def
|
26
|
-
TableSaw.
|
25
|
+
def adapter
|
26
|
+
TableSaw::Connection.adapter
|
27
27
|
end
|
28
28
|
|
29
29
|
def quote_value(column, value)
|
30
|
-
type =
|
31
|
-
|
30
|
+
type = adapter.lookup_cast_type_from_column(column)
|
31
|
+
adapter.quote(type.serialize(type.deserialize(value)))
|
32
32
|
end
|
33
33
|
end
|
34
34
|
end
|
@@ -32,7 +32,7 @@ module TableSaw
|
|
32
32
|
|
33
33
|
def column_names
|
34
34
|
TableSaw.schema_cache.columns(table_name)
|
35
|
-
.map { |column| TableSaw.
|
35
|
+
.map { |column| TableSaw::Connection.adapter.quote_column_name(column.name) }
|
36
36
|
.join(', ')
|
37
37
|
end
|
38
38
|
|
data/lib/table_saw/version.rb
CHANGED
data/table_saw.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.required_ruby_version = '>= 3.0'
|
27
27
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
28
28
|
|
29
|
-
spec.add_dependency 'activerecord', '>=
|
29
|
+
spec.add_dependency 'activerecord', '>= 6.0'
|
30
30
|
spec.add_dependency 'pg'
|
31
31
|
spec.add_dependency 'thor'
|
32
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: table_saw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hamed Asghari
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '6.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '6.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pg
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,6 +79,8 @@ files:
|
|
79
79
|
- gemfiles/activerecord_6.1.0.gemfile.lock
|
80
80
|
- gemfiles/activerecord_7.0.0.gemfile
|
81
81
|
- gemfiles/activerecord_7.0.0.gemfile.lock
|
82
|
+
- gemfiles/activerecord_7.1.0.gemfile
|
83
|
+
- gemfiles/activerecord_7.1.0.gemfile.lock
|
82
84
|
- lib/table_saw.rb
|
83
85
|
- lib/table_saw/associations.rb
|
84
86
|
- lib/table_saw/configuration.rb
|
@@ -128,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
130
|
- !ruby/object:Gem::Version
|
129
131
|
version: '0'
|
130
132
|
requirements: []
|
131
|
-
rubygems_version: 3.4.
|
133
|
+
rubygems_version: 3.4.17
|
132
134
|
signing_key:
|
133
135
|
specification_version: 4
|
134
136
|
summary: Create a postgres dump file from a subset of tables
|