├── .gitignore ├── .rspec ├── .ruby-version ├── .travis.yml ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── console └── setup ├── docs └── assets │ └── linterbot-comment-pull-request.png ├── exe └── linterbot ├── lib ├── linterbot.rb └── linterbot │ ├── comment.rb │ ├── comment_generator.rb │ ├── commit_approver.rb │ ├── description.rb │ ├── github_pull_request_commenter.rb │ ├── linter_report.rb │ ├── patch.rb │ ├── pull_request.rb │ ├── pull_request_analysis_result.rb │ ├── pull_request_analyzer.rb │ ├── result_handler.rb │ ├── runner.rb │ ├── runner_configuration.rb │ ├── tty_approver.rb │ ├── tty_pull_request_commenter.rb │ └── version.rb ├── linterbot.gemspec └── spec ├── fixtures └── swiftlint-report.json ├── linterbot_spec.rb └── spec_helper.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format documentation 2 | --color 3 | -------------------------------------------------------------------------------- /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.3.1 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/bin/setup -------------------------------------------------------------------------------- /docs/assets/linterbot-comment-pull-request.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/docs/assets/linterbot-comment-pull-request.png -------------------------------------------------------------------------------- /exe/linterbot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/exe/linterbot -------------------------------------------------------------------------------- /lib/linterbot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot.rb -------------------------------------------------------------------------------- /lib/linterbot/comment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot/comment.rb -------------------------------------------------------------------------------- /lib/linterbot/comment_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot/comment_generator.rb -------------------------------------------------------------------------------- /lib/linterbot/commit_approver.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot/commit_approver.rb -------------------------------------------------------------------------------- /lib/linterbot/description.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot/description.rb -------------------------------------------------------------------------------- /lib/linterbot/github_pull_request_commenter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot/github_pull_request_commenter.rb -------------------------------------------------------------------------------- /lib/linterbot/linter_report.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot/linter_report.rb -------------------------------------------------------------------------------- /lib/linterbot/patch.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot/patch.rb -------------------------------------------------------------------------------- /lib/linterbot/pull_request.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot/pull_request.rb -------------------------------------------------------------------------------- /lib/linterbot/pull_request_analysis_result.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot/pull_request_analysis_result.rb -------------------------------------------------------------------------------- /lib/linterbot/pull_request_analyzer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot/pull_request_analyzer.rb -------------------------------------------------------------------------------- /lib/linterbot/result_handler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot/result_handler.rb -------------------------------------------------------------------------------- /lib/linterbot/runner.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot/runner.rb -------------------------------------------------------------------------------- /lib/linterbot/runner_configuration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot/runner_configuration.rb -------------------------------------------------------------------------------- /lib/linterbot/tty_approver.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot/tty_approver.rb -------------------------------------------------------------------------------- /lib/linterbot/tty_pull_request_commenter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/lib/linterbot/tty_pull_request_commenter.rb -------------------------------------------------------------------------------- /lib/linterbot/version.rb: -------------------------------------------------------------------------------- 1 | module Linterbot 2 | VERSION = "0.2.7" 3 | end 4 | -------------------------------------------------------------------------------- /linterbot.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/linterbot.gemspec -------------------------------------------------------------------------------- /spec/fixtures/swiftlint-report.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/spec/fixtures/swiftlint-report.json -------------------------------------------------------------------------------- /spec/linterbot_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guidomb/linterbot/HEAD/spec/linterbot_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- 1 | $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) 2 | require 'linterbot' 3 | --------------------------------------------------------------------------------