pronto-luacheck 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +6 -0
- data/lib/pronto/luacheck/version.rb +1 -1
- data/lib/pronto/luacheck/wrapper.rb +3 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6786ba22861024a777ee0af5612d42ea80bbff5
|
4
|
+
data.tar.gz: 85c0a0f0df8bcbb4d5c23088d63a65c0b0eceffe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10cdb2a5403801ef0a4c2c707eb85c5f62b3d7c0ae9a82c4a0661051b1c2ec7a589e45aba4a96ed4968ffe87f746354e297944c6c7debe2f864be32a629b6ec1
|
7
|
+
data.tar.gz: 2260ae44b23c9ddcb4524f5da4a4ba9cafde2576c9c27b35423f89d8cc4b91d39cfedc391d2bde6625603eb830d414f3d81aad1884a5a487a669f2e6879b47f9
|
data/.rubocop.yml
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'open3'
|
2
2
|
require 'rexml/document'
|
3
|
+
require 'shellwords'
|
3
4
|
|
4
5
|
module Pronto
|
5
6
|
module Luacheck
|
@@ -26,8 +27,8 @@ module Pronto
|
|
26
27
|
next if testcase.elements.size != 1
|
27
28
|
|
28
29
|
failure = testcase.elements.first
|
29
|
-
md = failure.attributes['message']
|
30
|
-
match(/\A#{Regexp.escape(file)}:(?<line>\d+):(?<column>\d+):\s+(?<message>.*)\z/)
|
30
|
+
md = failure.attributes['message']
|
31
|
+
.match(/\A#{Regexp.escape(file)}:(?<line>\d+):(?<column>\d+):\s+(?<message>.*)\z/)
|
31
32
|
next unless md
|
32
33
|
|
33
34
|
result << {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pronto-luacheck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Seiichi KONDO
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pronto
|
@@ -164,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
164
|
version: '0'
|
165
165
|
requirements: []
|
166
166
|
rubyforge_project:
|
167
|
-
rubygems_version: 2.2.
|
167
|
+
rubygems_version: 2.2.2
|
168
168
|
signing_key:
|
169
169
|
specification_version: 4
|
170
170
|
summary: Pronto runner for Luacheck
|