real_data_tests 0.3.16 → 0.3.17

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: fbf98b8c1c4b72e614a490731c40ff4f56c36eb14b4b13cf19fc13b7c3022fe3
4
- data.tar.gz: '029a17e72f0a42f34eae153cbf4a212e185100027e438b8a9e48efb112b7e349'
3
+ metadata.gz: 52310e31cdfaa0e019824607ff10a0b06a99381ab559cbe50f5922a9f7f8cea1
4
+ data.tar.gz: 777d70960ae3d1905cff453d7b6ea96ffc581492907691bd38a9a9d205ed63cb
5
5
  SHA512:
6
- metadata.gz: 854233f093058fe510b0c37409a6a4c3445a2c65a70dc9c862d3a8eaec12a535ba435b354a5348b8e4f41bf15291caacabcb1d9b4274b506f02d1baeec97e2b0
7
- data.tar.gz: ce700cb666714010f2622307da5321fac568eb32afbaf6795121d855e6e47409047192a0c38d3b0ed1f3b8e82d109988135c7c8b6a6cfb63c6e8e274c79a686e
6
+ metadata.gz: 042425555c4a9b6d538217aefb9faa2502cbd7753ccdb68169ff4a45d08cc1af1b0258737d3c79e5c4be19f1754e8efe11764eac5d0130ab0ed6606b0823b0aa
7
+ data.tar.gz: 49c59d9646ccdafbad9ab00c18261f5fee1310059e4e10ffc2505a1fc65913c4918d6e22ef94a8fb727cf4e7bfcfba8eecd813945bf09fbda80801c723fef4e8
data/CHANGELOG.md CHANGED
@@ -1,46 +1,6 @@
1
1
  ## [Unreleased]
2
2
 
3
- ## [0.3.10] - 2025-01-14
4
- ### Fixed
5
- - Enhanced SQL statement parsing in native loader
6
- - Improved handling of complex ON CONFLICT clauses with multiple closing parentheses
7
- - Fixed spacing issues between VALUES and ON CONFLICT clauses
8
- - Enhanced regex pattern for more precise conflict clause extraction
9
- - Added proper statement reassembly for complex SQL structures
10
-
11
- ## [0.3.9] - 2025-01-14
12
- ### Fixed
13
- - Enhanced SQL statement parsing in native loader
14
- - Improved handling of complex ON CONFLICT clauses with multiple closing parentheses
15
- - Fixed spacing issues between VALUES and ON CONFLICT clauses
16
- - Enhanced regex pattern for more precise conflict clause extraction
17
- - Added proper statement reassembly for complex SQL structures
18
-
19
- ## [0.3.8] - 2025-01-14
20
- ### Fixed
21
- - Enhanced SQL statement parsing in native loader
22
- - Improved handling of complex ON CONFLICT clauses with multiple closing parentheses
23
- - Fixed spacing issues between VALUES and ON CONFLICT clauses
24
- - Enhanced regex pattern for more precise conflict clause extraction
25
- - Added proper statement reassembly for complex SQL structures
26
-
27
- ## [0.3.7] - 2025-01-14
28
- ### Fixed
29
- - Corrected SQL value handling in native loader
30
- - Fixed boolean value handling, particularly at the end of VALUES clauses
31
- - Improved handling of NULL values and numbers
32
- - Added proper whitespace cleaning for values
33
- - Enhanced value type detection for correct quoting
34
-
35
- ## [0.3.6] - 2025-01-14
36
- ### Fixed
37
- - Further enhanced SQL statement handling in native loader
38
- - Fixed handling of SQL statements with ON CONFLICT clauses
39
- - Improved quoting for company names containing spaces
40
- - Added proper handling of trailing semicolons
41
- - Enhanced detection and preservation of SQL statement structure
42
-
43
- ## [0.3.5] - 2025-01-14
3
+ ## [0.3.5 - 0.3.17] - 2025-01-14
44
4
  ### Fixed
45
5
  - Enhanced SQL statement handling in native loader
46
6
  - Added proper UUID value quoting in VALUES clauses
@@ -180,7 +180,7 @@ module RealDataTests
180
180
  end
181
181
 
182
182
  def execute_insert_block(block, index, total)
183
- puts "Executing INSERT block #{index}/#{total} for table: #{block.table_name}"
183
+ # puts "Executing INSERT block #{index}/#{total} for table: #{block.table_name}"
184
184
  # Don't modify statements that already end with semicolon
185
185
  statement = if block.content.strip.end_with?(';')
186
186
  block.content
@@ -202,12 +202,12 @@ module RealDataTests
202
202
  end
203
203
 
204
204
  def execute_copy_block(block, index, total)
205
- puts "Executing COPY block #{index}/#{total}"
205
+ # puts "Executing COPY block #{index}/#{total}"
206
206
  ActiveRecord::Base.connection.execute(block.content)
207
207
  end
208
208
 
209
209
  def execute_regular_block(block, index, total)
210
- puts "Executing block #{index}/#{total} of type: #{block.type}"
210
+ # puts "Executing block #{index}/#{total} of type: #{block.type}"
211
211
  ActiveRecord::Base.connection.execute(block.content)
212
212
  end
213
213
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RealDataTests
4
- VERSION = "0.3.16"
4
+ VERSION = "0.3.17"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: real_data_tests
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.16
4
+ version: 0.3.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Dias