pronto-golang 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 76519296caac98ba7adaba5317b737704d2e92c895a56629098b209f554f32ee
4
- data.tar.gz: d9501233693ea8ef3f734e937ecd79b6f2f723a9524b0bc0aa0ef645e3d59fce
3
+ metadata.gz: 621be5f253b93a11e4e6da97c4786272ef23eae1c153e70a3b76d756d2c86c25
4
+ data.tar.gz: 793b55d03f0579cd760ff0f40b2d0cecdb9c30b3bada3c111cd6a031ebb2cd7e
5
5
  SHA512:
6
- metadata.gz: a22a2998ee44aa6fc3232c0d516b880ce61fce4cbc0eac7dc51f2a89fe402d46897c527ab3bf8ceec0d92b1cdc9db72d700cc7cce79df4dd0e7a6c77888b1473
7
- data.tar.gz: 78261ce6a7bb74f0547dcaf1b77c56798b4b9517f5ce21eebcdcafe1ec76620050e81871525f83c7ee28111e05310a53b8eb74ea37c7a0f35d9b062dd68e165f
6
+ metadata.gz: '0191cd0e431ae8c3a022663408da5449e0b863b53e748bda9b87355110613c5cb665d12bb32e85d591153752468978e981ef1eeeb01a3742f5379f77371a9f50'
7
+ data.tar.gz: 15203bf5b699f9eaf87ba1214e6de579d47e2d037c677ea9c04b06dfe6717075e49406dd0c7e97aec976349974f5991a758ac8eebea4e146c32d38069670f5f2
data/README.md CHANGED
@@ -12,6 +12,7 @@ Pronto runner for [Golang](https://golang.org) tools
12
12
  | golint | go get -u golang.org/x/lint/golint |
13
13
  | gosec | See [Install instructions](https://github.com/securego/gosec#install) |
14
14
  | staticcheck | go get -u honnef.co/go/tools/cmd/staticcheck |
15
+ | golangci-lint | go get -u github.com/golangci/golangci-lint/cmd/golangci-lint |
15
16
 
16
17
  ## Configuring tools
17
18
 
@@ -8,4 +8,5 @@ require_relative './tools/base'
8
8
  require_relative './tools/golint'
9
9
  require_relative './tools/gosec'
10
10
  require_relative './tools/govet'
11
+ require_relative './tools/golangci_lint'
11
12
  require_relative './tools/staticcheck'
@@ -34,7 +34,7 @@ module Pronto
34
34
  end
35
35
 
36
36
  def parse_line(line)
37
- file_path, line_number, _, message = line.split(':')
37
+ file_path, line_number, _, message = line.split(':', 4)
38
38
 
39
39
  return file_path, line_number, :warning, message.to_s.strip
40
40
  end
@@ -0,0 +1,9 @@
1
+ module Pronto
2
+ module GolangTools
3
+ class GolangCiLint < Base
4
+ def self.base_command
5
+ 'golangci-lint'
6
+ end
7
+ end
8
+ end
9
+ end
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module GolangVersion
3
- VERSION = '0.0.8'.freeze
3
+ VERSION = '0.0.9'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-golang
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Schoknecht
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-03 00:00:00.000000000 Z
11
+ date: 2019-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pronto
@@ -67,6 +67,7 @@ files:
67
67
  - lib/pronto/golang/file_finder.rb
68
68
  - lib/pronto/golang/tools.rb
69
69
  - lib/pronto/golang/tools/base.rb
70
+ - lib/pronto/golang/tools/golangci_lint.rb
70
71
  - lib/pronto/golang/tools/golint.rb
71
72
  - lib/pronto/golang/tools/gosec.rb
72
73
  - lib/pronto/golang/tools/govet.rb