anbt-sql-formatter 0.0.7 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/CHANGELOG.md +38 -1
- data/{readme.ja.txt → README.ja.rdoc} +2 -2
- data/{readme.txt → README.rdoc} +2 -2
- data/anbt-sql-formatter.gemspec +2 -0
- data/lib/anbt-sql-formatter/coarse-tokenizer.rb +28 -27
- data/lib/anbt-sql-formatter/constants.rb +1 -1
- data/lib/anbt-sql-formatter/parser.rb +1 -1
- data/lib/anbt-sql-formatter/rule.rb +1 -1
- data/lib/anbt-sql-formatter/token.rb +2 -2
- data/lib/anbt-sql-formatter/version.rb +1 -1
- data/misc/anbt-sql-formatter-customize-example +4 -4
- data/sample.sql +4 -0
- data/test/test_coarse-tokenizer.rb +5 -5
- data/test/test_formatter.rb +506 -529
- data/test/test_in_values.rb +6 -6
- data/test/test_parser.rb +435 -411
- data/test.sh +10 -0
- metadata +21 -10
data/test.sh
ADDED
metadata
CHANGED
@@ -1,15 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anbt-sql-formatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sonota88
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
10
|
+
date: 2025-01-12 00:00:00.000000000 Z
|
11
|
+
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: test-unit
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - "~>"
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: 3.6.2
|
19
|
+
type: :development
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - "~>"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: 3.6.2
|
13
26
|
description: A tool for SQL formatting written in Ruby. Ruby port of Blanco SQL Formatter.
|
14
27
|
email:
|
15
28
|
- yosiot8753@gmail.com
|
@@ -21,6 +34,8 @@ files:
|
|
21
34
|
- ".gitignore"
|
22
35
|
- CHANGELOG.md
|
23
36
|
- Gemfile
|
37
|
+
- README.ja.rdoc
|
38
|
+
- README.rdoc
|
24
39
|
- Rakefile
|
25
40
|
- anbt-sql-formatter.gemspec
|
26
41
|
- bin/anbt-sql-formatter
|
@@ -37,10 +52,9 @@ files:
|
|
37
52
|
- lib/anbt-sql-formatter/version.rb
|
38
53
|
- misc/anbt-sql-formatter-customize-example
|
39
54
|
- misc/anbt-sql-formatter-for-sakura-editor.js
|
40
|
-
- readme.ja.txt
|
41
|
-
- readme.txt
|
42
55
|
- sample.sql
|
43
56
|
- setup.rb
|
57
|
+
- test.sh
|
44
58
|
- test/helper.rb
|
45
59
|
- test/test_coarse-tokenizer.rb
|
46
60
|
- test/test_formatter.rb
|
@@ -52,7 +66,6 @@ files:
|
|
52
66
|
homepage: https://github.com/sonota88/anbt-sql-formatter
|
53
67
|
licenses: []
|
54
68
|
metadata: {}
|
55
|
-
post_install_message:
|
56
69
|
rdoc_options: []
|
57
70
|
require_paths:
|
58
71
|
- lib
|
@@ -67,9 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
80
|
- !ruby/object:Gem::Version
|
68
81
|
version: '0'
|
69
82
|
requirements: []
|
70
|
-
|
71
|
-
rubygems_version: 2.7.6
|
72
|
-
signing_key:
|
83
|
+
rubygems_version: 3.6.2
|
73
84
|
specification_version: 4
|
74
85
|
summary: A tool for SQL formatting written in Ruby.
|
75
86
|
test_files: []
|