This repository has been archived by the owner on May 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adding publisher definitions for github status reporter * adding conditional logic for master/compare coverage actions * removing rubocop pinning * first round of rubocop fixes, test fixes * fixing failures * adding .rubocop_todo.yml * pinning rubocop ruby version support * removing weird pending element * Revert "removing weird pending element" This reverts commit cdde933. * moving test back to pending
- Loading branch information
1 parent
e502c08
commit b02d75b
Showing
26 changed files
with
272 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# This configuration was generated by | ||
# `rubocop --auto-gen-config` | ||
# on 2017-12-13 09:51:35 -0500 using RuboCop version 0.52.0. | ||
# The point is for the user to remove these configuration records | ||
# one by one as the offenses are removed from the code base. | ||
# Note that changes in the inspected code, or installation of new | ||
# versions of RuboCop, may require this file to be generated again. | ||
|
||
# Offense count: 6 | ||
Lint/UriEscapeUnescape: | ||
Exclude: | ||
- 'lib/jenkins_pipeline_builder/promotion.rb' | ||
|
||
# Offense count: 1 | ||
Lint/Void: | ||
Exclude: | ||
- 'lib/jenkins_pipeline_builder.rb' | ||
|
||
# Offense count: 132 | ||
# Configuration parameters: CountComments, ExcludedMethods. | ||
Metrics/BlockLength: | ||
Max: 420 | ||
|
||
# Offense count: 5 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AutoCorrect. | ||
Performance/HashEachMethods: | ||
Exclude: | ||
- 'lib/jenkins_pipeline_builder/cli/list.rb' | ||
- 'lib/jenkins_pipeline_builder/compiler.rb' | ||
- 'lib/jenkins_pipeline_builder/extensions.rb' | ||
- 'lib/jenkins_pipeline_builder/utils.rb' | ||
|
||
# Offense count: 1 | ||
# Configuration parameters: MinBodyLength. | ||
Style/GuardClause: | ||
Exclude: | ||
- 'lib/jenkins_pipeline_builder/pull_request_generator.rb' | ||
|
||
# Offense count: 1 | ||
Style/MultipleComparison: | ||
Exclude: | ||
- 'lib/jenkins_pipeline_builder/extensions/publishers.rb' | ||
|
||
# Offense count: 3 | ||
# Cop supports --auto-correct. | ||
# Configuration parameters: AutoCorrect, EnforcedStyle. | ||
# SupportedStyles: predicate, comparison | ||
Style/NumericPredicate: | ||
Exclude: | ||
- 'spec/**/*' | ||
- 'lib/jenkins_pipeline_builder/compiler.rb' | ||
- 'lib/jenkins_pipeline_builder/module_registry.rb' | ||
- 'lib/jenkins_pipeline_builder/remote_dependencies.rb' | ||
|
||
Layout/EmptyLinesAroundArguments: | ||
Exclude: | ||
- 'lib/jenkins_pipeline_builder/extensions/triggers.rb' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,4 +45,4 @@ namespace :doc do | |
end | ||
end | ||
|
||
task default: [:spec, :rubocop] | ||
task default: %i[spec rubocop] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# coding: utf-8 | ||
|
||
lib = File.expand_path('../lib', __FILE__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
require 'jenkins_pipeline_builder/version' | ||
|
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec| | |
spec.name = 'jenkins_pipeline_builder' | ||
spec.version = JenkinsPipelineBuilder::VERSION | ||
spec.authors = ['Igor Moochnick', 'Joseph Henrich'] | ||
spec.email = %w([email protected] [email protected]) | ||
spec.email = %w[[email protected] [email protected]] | ||
spec.description = 'This is a simple and easy-to-use Jenkins Pipeline generator with features focused on | ||
automating Job & Pipeline creation from the YAML files checked-in with your application source code' | ||
spec.summary = 'This gem is will boostrap your Jenkins pipelines' | ||
|
@@ -21,27 +21,27 @@ automating Job & Pipeline creation from the YAML files checked-in with your appl | |
|
||
ENV['NOKOGIRI_USE_SYSTEM_LIBRARIES'] = 'true' | ||
|
||
spec.add_dependency 'nokogiri', '~> 1.6.0' | ||
spec.add_dependency 'activesupport', '~> 4.2.6' | ||
spec.add_dependency 'jenkins_api_client', '~> 1.0.0' | ||
spec.add_dependency 'minitar' | ||
spec.add_dependency 'mixlib-shellout', '= 2.2.7' # maintaining backwards compatibility with ruby 2.1.5 | ||
spec.add_dependency 'nokogiri', '~> 1.6.0' | ||
spec.add_dependency 'thor', '>= 0.18.0' | ||
spec.add_dependency 'activesupport', '~> 4.2.6' | ||
spec.add_dependency 'minitar' | ||
|
||
spec.add_development_dependency 'rake' | ||
spec.add_development_dependency 'rspec', '~> 3.0' | ||
spec.add_development_dependency 'bump' | ||
spec.add_development_dependency 'json' | ||
spec.add_development_dependency 'gem-release' | ||
spec.add_development_dependency 'byebug' | ||
spec.add_development_dependency 'simplecov' | ||
spec.add_development_dependency 'simplecov-rcov' | ||
spec.add_development_dependency 'kwalify' | ||
spec.add_development_dependency 'equivalent-xml' | ||
spec.add_development_dependency 'yard-thor' | ||
spec.add_development_dependency 'yard' | ||
spec.add_development_dependency 'gem-release' | ||
spec.add_development_dependency 'json' | ||
spec.add_development_dependency 'kwalify' | ||
spec.add_development_dependency 'pry' | ||
spec.add_development_dependency 'rake' | ||
spec.add_development_dependency 'rspec', '~> 3.0' | ||
spec.add_development_dependency 'rspec_junit_formatter' | ||
spec.add_development_dependency 'rubocop' | ||
spec.add_development_dependency 'simplecov' | ||
spec.add_development_dependency 'simplecov-rcov' | ||
spec.add_development_dependency 'webmock', '~> 1.0' | ||
spec.add_development_dependency 'rubocop', '= 0.40.0' | ||
spec.add_development_dependency 'yard' | ||
spec.add_development_dependency 'yard-thor' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.