pronto 0.7.0 → 0.7.1
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 +4 -4
- data/CHANGELOG.md +8 -1
- data/README.md +3 -1
- data/lib/pronto/formatter/bitbucket_formatter.rb +1 -1
- data/lib/pronto/formatter/commit_formatter.rb +1 -1
- data/lib/pronto/formatter/git_formatter.rb +2 -2
- data/lib/pronto/formatter/github_formatter.rb +2 -2
- data/lib/pronto/formatter/github_pull_request_formatter.rb +5 -0
- data/lib/pronto/formatter/gitlab_formatter.rb +1 -1
- data/lib/pronto/formatter/pull_request_formatter.rb +1 -1
- data/lib/pronto/version.rb +1 -1
- data/pronto.gemspec +3 -3
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a27da5811cbcfa71ddffc5842dc3295214206496
|
4
|
+
data.tar.gz: 233865c5cf619728fcd26dfbf3607feb0d5fed51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9fb4cb872bca3c99d59ffe3a931dfac4911c617363a72f3307353792e514390fe5995382f11897da40694653e8029a8d181ed7a453aef27b0a79ba318a6423b
|
7
|
+
data.tar.gz: fa1ff35ec5743311ff86453f2487a14903e40c9ea00b6df04a507dc2949d696957c6067d7d4dfee9e0e6412d0fc3331394f1db247e399157d62d75fd2723c45a
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,14 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
##
|
3
|
+
## 0.7.1
|
4
4
|
|
5
|
+
### Changes
|
6
|
+
|
7
|
+
* Remove support for Ruby 1.9.3.
|
8
|
+
|
9
|
+
## Bugs fixed
|
10
|
+
|
11
|
+
* [#149](https://github.com/mmozuras/pronto/issues/149): Use patches to correctly find line position for GitHub pull request formatter.
|
5
12
|
|
6
13
|
## 0.7.0
|
7
14
|
|
data/README.md
CHANGED
@@ -211,7 +211,8 @@ Currently available:
|
|
211
211
|
* [pronto-brakeman](https://github.com/mmozuras/pronto-brakeman)
|
212
212
|
* [pronto-coffeelint](https://github.com/siebertm/pronto-coffeelint)
|
213
213
|
* [pronto-credo](https://github.com/carakan/pronto-credo)
|
214
|
-
* [pronto-eslint](https://github.com/mmozuras/pronto-eslint)
|
214
|
+
* [pronto-eslint](https://github.com/mmozuras/pronto-eslint) (uses [eslintrb](https://github.com/zendesk/eslintrb))
|
215
|
+
* [pronto-eslint_npm](https://github.com/doits/pronto-eslint_npm) (uses eslint installed from npm)
|
215
216
|
* [pronto-fasterer](https://github.com/mmozuras/pronto-fasterer)
|
216
217
|
* [pronto-flay](https://github.com/mmozuras/pronto-flay)
|
217
218
|
* [pronto-foodcritic](https://github.com/mmozuras/pronto-foodcritic)
|
@@ -226,6 +227,7 @@ Currently available:
|
|
226
227
|
* [pronto-reek](https://github.com/mmozuras/pronto-reek)
|
227
228
|
* [pronto-rubocop](https://github.com/mmozuras/pronto-rubocop)
|
228
229
|
* [pronto-scss](https://github.com/mmozuras/pronto-scss)
|
230
|
+
* [pronto-slim](https://github.com/nysthee/pronto-slim)
|
229
231
|
* [pronto-spell](https://github.com/mmozuras/pronto-spell)
|
230
232
|
* [pronto-swiftlint](https://github.com/ajanauskas/pronto-swiftlint)
|
231
233
|
* [pronto-tailor](https://github.com/ajanauskas/pronto-tailor)
|
@@ -63,10 +63,10 @@ module Pronto
|
|
63
63
|
comments.map { |comment| "- #{comment.body}" }.join("\n")
|
64
64
|
end
|
65
65
|
|
66
|
-
def new_comment(message,
|
66
|
+
def new_comment(message, patches, sha)
|
67
67
|
body = message.msg
|
68
68
|
path = message.path
|
69
|
-
lineno = line_number(message)
|
69
|
+
lineno = line_number(message, patches)
|
70
70
|
|
71
71
|
Comment.new(sha, body, path, lineno)
|
72
72
|
end
|
data/lib/pronto/version.rb
CHANGED
data/pronto.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
EOF
|
21
21
|
|
22
22
|
s.licenses = ['MIT']
|
23
|
-
s.required_ruby_version = '>=
|
23
|
+
s.required_ruby_version = '>= 2.0.0'
|
24
24
|
s.rubygems_version = '1.8.23'
|
25
25
|
|
26
26
|
s.files = `git ls-files`.split($RS).reject do |file|
|
@@ -52,6 +52,6 @@ Gem::Specification.new do |s|
|
|
52
52
|
s.add_development_dependency('rspec-expectations', '~> 3.4')
|
53
53
|
s.add_development_dependency('bundler', '~> 1.3')
|
54
54
|
s.add_development_dependency('simplecov', '~> 0.11')
|
55
|
-
s.add_development_dependency('rubocop', '~> 0.
|
56
|
-
s.add_development_dependency('pronto-rubocop', '~> 0.
|
55
|
+
s.add_development_dependency('rubocop', '~> 0.42')
|
56
|
+
s.add_development_dependency('pronto-rubocop', '~> 0.7.0')
|
57
57
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pronto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mindaugas Mozūras
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rugged
|
@@ -202,28 +202,28 @@ dependencies:
|
|
202
202
|
requirements:
|
203
203
|
- - "~>"
|
204
204
|
- !ruby/object:Gem::Version
|
205
|
-
version: 0.
|
205
|
+
version: '0.42'
|
206
206
|
type: :development
|
207
207
|
prerelease: false
|
208
208
|
version_requirements: !ruby/object:Gem::Requirement
|
209
209
|
requirements:
|
210
210
|
- - "~>"
|
211
211
|
- !ruby/object:Gem::Version
|
212
|
-
version: 0.
|
212
|
+
version: '0.42'
|
213
213
|
- !ruby/object:Gem::Dependency
|
214
214
|
name: pronto-rubocop
|
215
215
|
requirement: !ruby/object:Gem::Requirement
|
216
216
|
requirements:
|
217
217
|
- - "~>"
|
218
218
|
- !ruby/object:Gem::Version
|
219
|
-
version: 0.
|
219
|
+
version: 0.7.0
|
220
220
|
type: :development
|
221
221
|
prerelease: false
|
222
222
|
version_requirements: !ruby/object:Gem::Requirement
|
223
223
|
requirements:
|
224
224
|
- - "~>"
|
225
225
|
- !ruby/object:Gem::Version
|
226
|
-
version: 0.
|
226
|
+
version: 0.7.0
|
227
227
|
description: |2
|
228
228
|
Pronto runs analysis quickly by checking only the relevant changes. Created
|
229
229
|
to be used on pull requests, but suited for other scenarios as well. Perfect
|
@@ -295,7 +295,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
295
295
|
requirements:
|
296
296
|
- - ">="
|
297
297
|
- !ruby/object:Gem::Version
|
298
|
-
version:
|
298
|
+
version: 2.0.0
|
299
299
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
300
300
|
requirements:
|
301
301
|
- - ">="
|