linters 1.0.3 → 1.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34b4c8594064d51fde2c8680b527e06e2cc9ee2a7d23cd6bc09770ec9e2550c2
4
- data.tar.gz: 3f591b1404c3706b23b2010bd48a6fcd324e46d2b0889be532456ffb64a99e8d
3
+ metadata.gz: ad70ce7250bd12937bb5605599a38688c7a494a506fbf84b68608385c1a0e6c3
4
+ data.tar.gz: dbd4946b3b06497ffe5c68f14aa3ef1dc44ed35a6513e72139617c66a062d5e4
5
5
  SHA512:
6
- metadata.gz: 6d38579bad3c557f18cc7925ab7b576b3d3cd206593ea85d4e83eaa1c9b2158d3180074acaa8266234323204e9445a459319bd4465f82952eab3c78d7919a3de
7
- data.tar.gz: 1bb6b827a23fd8c09a1227a7dabf88bc1ab9736742c8687a94ad4e394d8b38c97dd6abce690a4b00d52c06794a1fd744080e419db947f133762c1d716e4e5cb5
6
+ metadata.gz: 98ef6821304298355c4b36abd5464d054be5ac0fad5349d21520760e7682e0634a13fb7363cfba67092f516e4c4cf85b75ef8864fdacb03373e790082f57b16b
7
+ data.tar.gz: 8165791ae0cd6631e89e280fde7747f6fc7376718294dcaa64c67b37ef738bfaa5048fd90003a106ac3ca4857b968842a439c1e82ab945ad1ceda4956cda3004
data/README.md CHANGED
@@ -74,7 +74,7 @@ If settings is absent that warnings_number equal zero.
74
74
  config.custom_linters = {
75
75
  name: {
76
76
  command: 'execute command',
77
- parse_output: 'parse output of the command for getting quantity of warnings'
77
+ parse_output: lambda { |output| 'parse output of the command for getting quantity of warnings' }
78
78
  }
79
79
  }
80
80
  end
@@ -86,7 +86,7 @@ If settings is absent that warnings_number equal zero.
86
86
  config.custom_linters = {
87
87
  rubocop: {
88
88
  command: 'your command',
89
- parse_output: 'your parsing output'
89
+ parse_output: lambda { |output| 'your parsing output' }
90
90
  }
91
91
  }
92
92
  end
@@ -1,3 +1,3 @@
1
1
  module Linters
2
- VERSION = '1.0.3'.freeze
2
+ VERSION = '1.1.0'.freeze
3
3
  end
@@ -2,7 +2,7 @@ require_relative '../linters'
2
2
 
3
3
  namespace :linters do
4
4
  desc 'Run linters or the linter with the specific name'
5
- task :run, [:name] => :environment do |_, args|
5
+ task :run, %i[name] do |_, args|
6
6
  raise "Please, set the linter's name" if args.name.nil?
7
7
 
8
8
  manager = Linters::Manager.new
@@ -11,7 +11,7 @@ namespace :linters do
11
11
  end
12
12
 
13
13
  desc 'Run all linters'
14
- task run_all: :environment do
14
+ task :run_all do
15
15
  manager = Linters::Manager.new
16
16
 
17
17
  manager.perform_all
data/linters.gemspec CHANGED
@@ -9,7 +9,8 @@ Gem::Specification.new do |spec|
9
9
  spec.email = ['110100reg@gmail.com']
10
10
 
11
11
  spec.summary = "Tool checks ruby applications using different code's analyzers."
12
- spec.description = 'Check of ruby applications using rubocop, reek, brakeman, fasterer, bundle_audit and the other custom linters'
12
+ spec.description = 'Check of ruby applications using rubocop, reek, brakeman, fasterer,'\
13
+ ' bundle_audit and the other custom linters'
13
14
  spec.homepage = 'https://github.com/skrinits/linters'
14
15
  spec.license = 'MIT'
15
16
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linters
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - skrinits
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-08 00:00:00.000000000 Z
11
+ date: 2021-06-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake