sqlint 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.pre-commit-hooks.yaml +7 -0
- data/Gemfile.lock +13 -13
- data/README.md +13 -4
- data/lib/sqlint/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 190e798ea014c67b432dea621f401630a829dda3dbdf358dfb9a5e5d81b61b6c
|
4
|
+
data.tar.gz: 23e7a53501a061f9a05dc37aa3c6771931294682f70bc3225ad501c926cc2f3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fbf395387ffc1cb0c989971f2bb803f2ced656da6653d1f0add1e3aa1e1fb866517b58adcba82fff4eeafed387b7ebe5ae64774af36a23d325165a310ee117a
|
7
|
+
data.tar.gz: 07d57a9b130eb646ef0012cf465e2da2c296a2b3efc461e89782708f3911a49c181f376f33656752ebc0fddd4e45e523fe176538177446736a4635abe01b0d87
|
data/Gemfile.lock
CHANGED
@@ -2,20 +2,20 @@ GEM
|
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
4
|
diff-lcs (1.3)
|
5
|
-
pg_query (1.
|
6
|
-
rspec (3.
|
7
|
-
rspec-core (~> 3.
|
8
|
-
rspec-expectations (~> 3.
|
9
|
-
rspec-mocks (~> 3.
|
10
|
-
rspec-core (3.
|
11
|
-
rspec-support (~> 3.
|
12
|
-
rspec-expectations (3.
|
5
|
+
pg_query (1.2.0)
|
6
|
+
rspec (3.9.0)
|
7
|
+
rspec-core (~> 3.9.0)
|
8
|
+
rspec-expectations (~> 3.9.0)
|
9
|
+
rspec-mocks (~> 3.9.0)
|
10
|
+
rspec-core (3.9.1)
|
11
|
+
rspec-support (~> 3.9.1)
|
12
|
+
rspec-expectations (3.9.0)
|
13
13
|
diff-lcs (>= 1.2.0, < 2.0)
|
14
|
-
rspec-support (~> 3.
|
15
|
-
rspec-mocks (3.
|
14
|
+
rspec-support (~> 3.9.0)
|
15
|
+
rspec-mocks (3.9.1)
|
16
16
|
diff-lcs (>= 1.2.0, < 2.0)
|
17
|
-
rspec-support (~> 3.
|
18
|
-
rspec-support (3.
|
17
|
+
rspec-support (~> 3.9.0)
|
18
|
+
rspec-support (3.9.2)
|
19
19
|
|
20
20
|
PLATFORMS
|
21
21
|
ruby
|
@@ -25,4 +25,4 @@ DEPENDENCIES
|
|
25
25
|
rspec
|
26
26
|
|
27
27
|
BUNDLED WITH
|
28
|
-
1.17.
|
28
|
+
1.17.2
|
data/README.md
CHANGED
@@ -38,14 +38,23 @@ Support for `sqlint` is provided for the following editors:
|
|
38
38
|
- VIM, via [Syntastic](https://github.com/scrooloose/syntastic), [Neomake](https://github.com/neomake/neomake) or [ALE](https://github.com/w0rp/ale)
|
39
39
|
- SublimeText, via [SublimeLinter](https://github.com/SublimeLinter/SublimeLinter3/)
|
40
40
|
|
41
|
+
|
42
|
+
### Using with pre-commit
|
43
|
+
|
44
|
+
Add this to your `.pre-commit-hooks.yaml`:
|
45
|
+
|
46
|
+
```yaml
|
47
|
+
- repo: https://github.com/purcell/sqlint
|
48
|
+
rev: master
|
49
|
+
hooks:
|
50
|
+
- id: sqlint
|
51
|
+
```
|
52
|
+
|
41
53
|
### Authors
|
42
54
|
|
43
55
|
This software was written by
|
44
56
|
[Steve Purcell](https://github.com/purcell) and
|
45
|
-
[Kieran Trezona-le Comte](https://github.com/trezona-lecomte)
|
46
|
-
support of our awesome employer
|
47
|
-
[Powershop](http://www.powershop.co.nz/), who have other cool stuff
|
48
|
-
[here on Github](https://github.com/powershop).
|
57
|
+
[Kieran Trezona-le Comte](https://github.com/trezona-lecomte).
|
49
58
|
|
50
59
|
### License and copyright
|
51
60
|
|
data/lib/sqlint/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqlint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Purcell
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-02-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: pg_query
|
@@ -76,6 +76,7 @@ extra_rdoc_files:
|
|
76
76
|
- LICENSE.txt
|
77
77
|
- README.md
|
78
78
|
files:
|
79
|
+
- ".pre-commit-hooks.yaml"
|
79
80
|
- Gemfile.lock
|
80
81
|
- LICENSE.txt
|
81
82
|
- Makefile
|
@@ -105,8 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
106
|
- !ruby/object:Gem::Version
|
106
107
|
version: '0'
|
107
108
|
requirements: []
|
108
|
-
|
109
|
-
rubygems_version: 2.7.6
|
109
|
+
rubygems_version: 3.0.3
|
110
110
|
signing_key:
|
111
111
|
specification_version: 4
|
112
112
|
summary: Simple SQL linter.
|