foodcritic-junit 0.2.2 → 0.2.4

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: f083c412583bf8626f534c4c8a690dd87b994ba8
4
- data.tar.gz: 9266323d2bac360733467dfb6d5f0d70fbfc5ec2
3
+ metadata.gz: 34027281d3a24a8a62a64e0ea8d615e21b5eedd3
4
+ data.tar.gz: 5818dbaa4485e5bddc8abe0cde6743fd6d4c2fac
5
5
  SHA512:
6
- metadata.gz: 233ba0d9cf1026c2a85a5201e3b0ab51f567da541235c8ff637d9ededf4e9c2e1103c38fcf7a445b4993e6956cec83256d4d7282f60ed9d89a5fe91f231e1a59
7
- data.tar.gz: efc608dc4fee9ef80326855ad1432c1f267195edbf3e27a74b7cc6bfb64987dbbd2cdf8c95baecbcb2b1262068ade495add211017462cba564e1c1d9258c1b6c
6
+ metadata.gz: e44059afe255282b492baa099ce3ce7708432ce6afdefe9c5d9e77f28796243437c2fe6b66310996a5208c2305aa790a31f627e8e6f7e00e9168d653cdbbe8cc
7
+ data.tar.gz: ad42a08480f2b5b88a88387938192442ff92840e8394321b7c7a916ed8509c640052564604384bfe98158e0f54a0d20d380d9541fb42b18b2ef92fe6bd360924
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.3.1
data/Gemfile CHANGED
@@ -1,4 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem 'rake'
4
+
3
5
  # Specify your gem's dependencies in foodcritic-junit.gemspec
4
6
  gemspec
data/README.md CHANGED
@@ -1,5 +1,4 @@
1
- # Foodcritic::Junit
2
-
1
+ # Foodcritic::Junit ![Build Status](https://travis-ci.org/weblinc/foodcritic-junit.svg?branch=master)
3
2
  Parses foodcritic output (with context) into a JUnit XML file.
4
3
 
5
4
  ## Usage
data/Rakefile CHANGED
@@ -4,8 +4,8 @@ require 'bundler/gem_tasks'
4
4
 
5
5
  begin
6
6
  require 'rspec/core/rake_task'
7
- RSpec::Core::RakeTask.new(:spec)
7
+ RSpec::Core::RakeTask.new(:test)
8
8
  rescue LoadError
9
9
  end
10
10
 
11
-
11
+ task default: [:test]
@@ -38,7 +38,7 @@ module Foodcritic
38
38
  input.each_line do |line|
39
39
  line.chomp!
40
40
 
41
- if File.exist?(line)
41
+ if File.exist?(line) || %w(README.md LICENSE).include?(line)
42
42
  store_violation
43
43
  @current_violation = nil
44
44
  @current_violation_lines = []
@@ -1,5 +1,5 @@
1
1
  module Foodcritic
2
2
  module Junit
3
- VERSION = "0.2.2"
3
+ VERSION = '0.2.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foodcritic-junit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Vendetta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-07 00:00:00.000000000 Z
11
+ date: 2017-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foodcritic
@@ -90,6 +90,7 @@ extra_rdoc_files: []
90
90
  files:
91
91
  - ".gitignore"
92
92
  - ".rspec"
93
+ - ".ruby-version"
93
94
  - ".travis.yml"
94
95
  - Gemfile
95
96
  - LICENSE