pronto-textlint 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: d0df249cc1483e57cea5601c53cc31a67a434f6c
4
- data.tar.gz: 570e5a8ec29c90e085d1ac0e61beef405bd8963e
3
+ metadata.gz: 680a354a0cbb535a8c43f39927122e208a3adece
4
+ data.tar.gz: 536437004c47792d4ac18f50a4400da1df48fb2b
5
5
  SHA512:
6
- metadata.gz: 9fa7340eb92ffdb281c6b2ee09431ba6115db5cf95c79c8ea78a39594397ce0c462d74416a70d30b5f9397a59804f109d6fe69755f4ae0a1e5d48054f2030c38
7
- data.tar.gz: a84ad5243ba11dcea764ce45cffebbaea9debbd1c50ade71af69c1e595392655c9c3b04995ae760ac5520839a56dd3c8e3325db758f604dc2646247257ddd1e4
6
+ metadata.gz: 680e4d4e54207c230c1eb9f6a9630f9efd6926f08d377d96c2fc0629ca2f240b75ccc1863dfea297b67a9474be22b81880de3d914875039164ef99ea2a040d07
7
+ data.tar.gz: 48b1d392d48b92c195dac4acd69d6144f74f8bb46c87ab5b963720815ce9912e74ea217f76fd0b69209a95f23c24bcc9fb1a52123b13ba28c0e41e84048ad6c2
@@ -52,7 +52,8 @@ module Pronto
52
52
  end
53
53
 
54
54
  def new_message(offence, line)
55
- Message.new(offence['path'], line, :warning, offence['message'], nil, self.class)
55
+ path = line.patch.delta.new_file[:path]
56
+ Message.new(path, line, :warning, offence['message'], nil, self.class)
56
57
  end
57
58
 
58
59
  def clean_up_textlint_output(output)
@@ -1,5 +1,5 @@
1
1
  module Pronto
2
2
  module Textlint
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto-textlint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
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-10-13 00:00:00.000000000 Z
11
+ date: 2016-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pronto
@@ -165,7 +165,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
165
165
  version: '0'
166
166
  requirements: []
167
167
  rubyforge_project:
168
- rubygems_version: 2.5.1
168
+ rubygems_version: 2.2.2
169
169
  signing_key:
170
170
  specification_version: 4
171
171
  summary: Pronto runner for textlint.