checkstyle_filter-git 1.0.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
2
  SHA1:
3
- metadata.gz: eefefc30a709cd108ff7af5fc8665bdb3e233697
4
- data.tar.gz: 86fd8708b347ac2331d691ec9974fcbbaf589984
3
+ metadata.gz: e18bdb52a8261ab9b0dbbf4aef9c8e1e2d98e26d
4
+ data.tar.gz: b45931a545437dba683f7aabb1ca4a05765f26ae
5
5
  SHA512:
6
- metadata.gz: 3b44da9604d392b41a91dd785e934ff6cc930a463309ec6ce86d4a30cd0bc51ce4709ddfd355f523ad46b7d9373d51c0f5da03656b1d4ea79df3485776cbf4f0
7
- data.tar.gz: a73d4e34ff10f4e955cce90609c9dc1af28853ae135c5e262483c0d41eebc2688d4c90e9279542e316e15b13144155dc821dea36d656ba0f2c25cdb9e2fd4be7
6
+ metadata.gz: ba59856e2db9f7a5256bdcbbfa2d02412281059546a0c2259b63f562e7780c9a9d71246cf61d5145d5f45feba2d368bc01479d632a7aec088ddf86f422d84279
7
+ data.tar.gz: 0bf2d14735b346bec69c132dde49ee328ec2f67795c449107a5178da3e0e1bdba9734a8a35aa7756323a981a8c88b6155eec3fa95db1e264f70dc7468f3ddaf3
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.require_paths = ['lib']
24
24
 
25
25
  spec.add_runtime_dependency 'thor'
26
- spec.add_runtime_dependency 'git-diff-parser'
26
+ spec.add_runtime_dependency 'git_diff_parser'
27
27
 
28
28
  spec.add_development_dependency 'bundler', '~> 1.8'
29
29
  spec.add_development_dependency 'rake', '~> 10.0'
@@ -1,9 +1,9 @@
1
1
  <?xml version='1.0'?>
2
2
  <checkstyle>
3
- <file name='/Users/sane/work/ruby-study/checkstyle_filter-git/checkstyle_filter-git.gemspec'/>
4
- <file name='/Users/sane/work/ruby-study/checkstyle_filter-git/example/invalid.rb'>
3
+ <file name='checkstyle_filter-git.gemspec'/>
4
+ <file name='example/invalid.rb'>
5
5
  <error line='3' column='100' severity='info' message='Line is too long. [188/100]' source='com.puppycrawl.tools.checkstyle.Metrics/LineLength'/>
6
6
  </file>
7
- <file name='/Users/sane/work/ruby-study/checkstyle_filter-git/exe/checkstyle_filter-git'/>
8
- <file name='/Users/sane/work/ruby-study/checkstyle_filter-git/lib/checkstyle_filter/git/cli.rb'/>
9
- </checkstyle>
7
+ <file name='exe/checkstyle_filter-git'/>
8
+ <file name='lib/checkstyle_filter/git/cli.rb'/>
9
+ </checkstyle>
@@ -1,4 +1,4 @@
1
- require 'git/diff/parser'
1
+ require 'git_diff_parser'
2
2
  require 'checkstyle_filter/git/version'
3
3
  require 'checkstyle_filter/git/filter'
4
4
 
@@ -5,7 +5,7 @@ module CheckstyleFilter
5
5
  module Git
6
6
  class Filter
7
7
  def self.filter(data, git_diff)
8
- patches = ::Git::Diff::Parser.parse(git_diff)
8
+ patches = ::GitDiffParser.parse(git_diff)
9
9
 
10
10
  document = REXML::Document.new data
11
11
  document.elements.each('/checkstyle/file') do |file_element|
@@ -1,5 +1,5 @@
1
1
  module CheckstyleFilter
2
2
  module Git
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkstyle_filter-git
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - sanemat
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-02-21 00:00:00.000000000 Z
11
+ date: 2015-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: git-diff-parser
28
+ name: git_diff_parser
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="