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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b55e39791ece2d796501377ba27d0a80afeacfa68799bf0484e8dbd5ee6c0c0
4
- data.tar.gz: 6827a165e70bc218abd781e50f467116bbefdc471044826f15c9632d51745167
3
+ metadata.gz: 190e798ea014c67b432dea621f401630a829dda3dbdf358dfb9a5e5d81b61b6c
4
+ data.tar.gz: 23e7a53501a061f9a05dc37aa3c6771931294682f70bc3225ad501c926cc2f3b
5
5
  SHA512:
6
- metadata.gz: 22c5dc68cbafa7c8b6e7b9f8c37aa1fc7bdcaf77b8dccab1819d877281c74ed2eb42e0c7428c6ac9a145cd8bea602a003ffc0bc482ca25ea5cd8405eff56b161
7
- data.tar.gz: 7bdfc9eb241b33bc6565cf53908b0955a7c64594542d0c632abafae84e31cd36a9b81da2c8b9b3e026bdd5cbc94995df5ceaf445def6275ca99703f6052d0eac
6
+ metadata.gz: 7fbf395387ffc1cb0c989971f2bb803f2ced656da6653d1f0add1e3aa1e1fb866517b58adcba82fff4eeafed387b7ebe5ae64774af36a23d325165a310ee117a
7
+ data.tar.gz: 07d57a9b130eb646ef0012cf465e2da2c296a2b3efc461e89782708f3911a49c181f376f33656752ebc0fddd4e45e523fe176538177446736a4635abe01b0d87
@@ -0,0 +1,7 @@
1
+ ---
2
+ - id: sqlint
3
+ name: sqlint
4
+ entry: sqlint
5
+ language: ruby
6
+ minimum_pre_commit_version: 0.15.0
7
+ types: [sql]
@@ -2,20 +2,20 @@ GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
4
  diff-lcs (1.3)
5
- pg_query (1.1.0)
6
- rspec (3.8.0)
7
- rspec-core (~> 3.8.0)
8
- rspec-expectations (~> 3.8.0)
9
- rspec-mocks (~> 3.8.0)
10
- rspec-core (3.8.0)
11
- rspec-support (~> 3.8.0)
12
- rspec-expectations (3.8.2)
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.8.0)
15
- rspec-mocks (3.8.0)
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.8.0)
18
- rspec-support (3.8.0)
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.1
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) with the
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
 
@@ -1,3 +1,3 @@
1
1
  module SQLint
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
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.9
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: 2018-11-16 00:00:00.000000000 Z
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
- rubyforge_project:
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.