pronto-luacheck 0.1.0 → 1.0.1

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
- SHA1:
3
- metadata.gz: f557b842b04ee546cda9616268baa85ae162477d
4
- data.tar.gz: f59e7e134448ed7f1aaa8b7ba8844044feabcfaa
2
+ SHA256:
3
+ metadata.gz: 704e67fb4e71cf34c3022ae36cf290c51f96430e1fc286cd32a1ed7bf1c6b6c5
4
+ data.tar.gz: 71ea5e6b267de16e0be18ed625c1c6959addd35e2091feb5f5ae87c6a43dae04
5
5
  SHA512:
6
- metadata.gz: 9f87c41dc6e54b1ea2588fd9ef8b9d293811c586d83f627ace51d6fc881724bd5e61556ef7ff500c88b2843b63996ba8a8ddad27e34d28b853198862c0baaeb4
7
- data.tar.gz: 6707bc5e670317684f06029947fb538bbf9cb13a1122f8d54e3033f24f374daca2e031d033f23f246dd49e3a0a52b1eb093c489053818c59a739c7636572ccf9
6
+ metadata.gz: 44831112e519fd9685174199c7acdca2bd0a216d3b5620b01eac459036a556721d77819ef218e560d1ec7ff028f97e3da4d396fdd2f904c8230ce6426ccfc642
7
+ data.tar.gz: 1f4ab775205cf527f47f5871e4abe5a10730001c11ecbe7091a022e6b8dfb918d72387c973a0d035d7571efc98673fd258c6a0c571ae0601a54ff4953cf0f0ba
data/.rubocop.yml CHANGED
@@ -3,3 +3,9 @@ Style/Documentation:
3
3
 
4
4
  Metrics/LineLength:
5
5
  Max: 120
6
+
7
+ Metrics/MethodLength:
8
+ Max: 20
9
+
10
+ Metrics/AbcSize:
11
+ Max: 25
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module Luacheck
3
- VERSION = '0.1.0'.freeze
3
+ VERSION = '1.0.1'.freeze
4
4
  end
5
5
  end
@@ -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 << {
@@ -25,11 +25,11 @@ Gem::Specification.new do |spec|
25
25
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
26
  spec.require_paths = ['lib']
27
27
 
28
- spec.add_runtime_dependency('pronto', '~> 0.6.0')
29
- spec.add_development_dependency 'bundler', '~> 1.11'
28
+ spec.add_runtime_dependency('pronto', '~> 0.11.1')
29
+ spec.add_development_dependency 'bundler', '~> 2.0'
30
30
  spec.add_development_dependency 'coveralls'
31
- spec.add_development_dependency 'rake', '~> 10.0'
32
- spec.add_development_dependency 'rubocop', '~> 0.40'
31
+ spec.add_development_dependency 'rake', '>= 12.3.3'
32
+ spec.add_development_dependency 'rubocop', '>= 0.49.0'
33
33
  spec.add_development_dependency 'simplecov', '~> 0.10.0'
34
34
  spec.add_development_dependency 'test-unit', '~> 3.0'
35
35
  spec.add_development_dependency 'test-unit-rr', '~> 1.0'
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: 0.1.0
4
+ version: 1.0.1
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-15 00:00:00.000000000 Z
11
+ date: 2023-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pronto
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.6.0
19
+ version: 0.11.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.6.0
26
+ version: 0.11.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.11'
33
+ version: '2.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.11'
40
+ version: '2.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: coveralls
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -56,30 +56,30 @@ dependencies:
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '10.0'
61
+ version: 12.3.3
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '10.0'
68
+ version: 12.3.3
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: '0.40'
75
+ version: 0.49.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: '0.40'
82
+ version: 0.49.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: simplecov
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -163,8 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
163
163
  - !ruby/object:Gem::Version
164
164
  version: '0'
165
165
  requirements: []
166
- rubyforge_project:
167
- rubygems_version: 2.2.5
166
+ rubygems_version: 3.1.2
168
167
  signing_key:
169
168
  specification_version: 4
170
169
  summary: Pronto runner for Luacheck