Add pronto for easier local code linting [ci skip]
Run with bin/pronto run --commit=develop inside your feature branch
This commit is contained in:
parent
397845161f
commit
c538cc22d7
3 changed files with 48 additions and 2 deletions
7
Gemfile
7
Gemfile
|
|
@ -234,8 +234,11 @@ group :development do
|
||||||
gem "rb-inotify", "0.9.5", require: false
|
gem "rb-inotify", "0.9.5", require: false
|
||||||
|
|
||||||
# Linters
|
# Linters
|
||||||
gem "jshintrb", "0.3.0"
|
gem "jshintrb", "0.3.0"
|
||||||
gem "rubocop", "0.32.0"
|
gem "rubocop", "0.32.0"
|
||||||
|
gem "pronto", "0.4.2"
|
||||||
|
gem "pronto-jshint", "0.4.2"
|
||||||
|
gem "pronto-rubocop", "0.4.4"
|
||||||
|
|
||||||
# Preloading environment
|
# Preloading environment
|
||||||
|
|
||||||
|
|
|
||||||
27
Gemfile.lock
27
Gemfile.lock
|
|
@ -307,6 +307,9 @@ GEM
|
||||||
ruby-progressbar (~> 1.4)
|
ruby-progressbar (~> 1.4)
|
||||||
gherkin (2.12.2)
|
gherkin (2.12.2)
|
||||||
multi_json (~> 1.3)
|
multi_json (~> 1.3)
|
||||||
|
gitlab (3.4.0)
|
||||||
|
httparty
|
||||||
|
terminal-table
|
||||||
globalid (0.3.5)
|
globalid (0.3.5)
|
||||||
activesupport (>= 4.1.0)
|
activesupport (>= 4.1.0)
|
||||||
gon (5.2.3)
|
gon (5.2.3)
|
||||||
|
|
@ -355,6 +358,9 @@ GEM
|
||||||
domain_name (~> 0.5)
|
domain_name (~> 0.5)
|
||||||
http_accept_language (2.0.5)
|
http_accept_language (2.0.5)
|
||||||
http_parser.rb (0.6.0)
|
http_parser.rb (0.6.0)
|
||||||
|
httparty (0.13.5)
|
||||||
|
json (~> 1.8)
|
||||||
|
multi_xml (>= 0.5.2)
|
||||||
i18n (0.7.0)
|
i18n (0.7.0)
|
||||||
i18n-inflector (2.6.7)
|
i18n-inflector (2.6.7)
|
||||||
i18n (>= 0.4.1)
|
i18n (>= 0.4.1)
|
||||||
|
|
@ -447,6 +453,8 @@ GEM
|
||||||
multi_json (~> 1.3)
|
multi_json (~> 1.3)
|
||||||
multi_xml (~> 0.5)
|
multi_xml (~> 0.5)
|
||||||
rack (~> 1.2)
|
rack (~> 1.2)
|
||||||
|
octokit (3.8.0)
|
||||||
|
sawyer (~> 0.6.0, >= 0.5.3)
|
||||||
omniauth (1.2.2)
|
omniauth (1.2.2)
|
||||||
hashie (>= 1.2, < 4)
|
hashie (>= 1.2, < 4)
|
||||||
rack (~> 1.0)
|
rack (~> 1.0)
|
||||||
|
|
@ -474,6 +482,17 @@ GEM
|
||||||
pg (0.18.1)
|
pg (0.18.1)
|
||||||
phantomjs (1.9.8.0)
|
phantomjs (1.9.8.0)
|
||||||
powerpack (0.1.1)
|
powerpack (0.1.1)
|
||||||
|
pronto (0.4.2)
|
||||||
|
gitlab (~> 3.4.0)
|
||||||
|
octokit (~> 3.8.0)
|
||||||
|
rugged (~> 0.22.0)
|
||||||
|
thor (~> 0.19.0)
|
||||||
|
pronto-jshint (0.4.2)
|
||||||
|
jshintrb (~> 0.3.0)
|
||||||
|
pronto (~> 0.4.0)
|
||||||
|
pronto-rubocop (0.4.4)
|
||||||
|
pronto (~> 0.4.0)
|
||||||
|
rubocop (~> 0.32.0)
|
||||||
pry (0.10.1)
|
pry (0.10.1)
|
||||||
coderay (~> 1.1.0)
|
coderay (~> 1.1.0)
|
||||||
method_source (~> 0.8.1)
|
method_source (~> 0.8.1)
|
||||||
|
|
@ -632,6 +651,7 @@ GEM
|
||||||
ruby-oembed (0.8.14)
|
ruby-oembed (0.8.14)
|
||||||
ruby-progressbar (1.7.5)
|
ruby-progressbar (1.7.5)
|
||||||
rubyzip (1.1.7)
|
rubyzip (1.1.7)
|
||||||
|
rugged (0.22.2)
|
||||||
safe_yaml (1.0.4)
|
safe_yaml (1.0.4)
|
||||||
sass (3.4.14)
|
sass (3.4.14)
|
||||||
sass-rails (5.0.1)
|
sass-rails (5.0.1)
|
||||||
|
|
@ -640,6 +660,9 @@ GEM
|
||||||
sprockets (>= 2.8, < 4.0)
|
sprockets (>= 2.8, < 4.0)
|
||||||
sprockets-rails (>= 2.0, < 4.0)
|
sprockets-rails (>= 2.0, < 4.0)
|
||||||
tilt (~> 1.1)
|
tilt (~> 1.1)
|
||||||
|
sawyer (0.6.0)
|
||||||
|
addressable (~> 2.3.5)
|
||||||
|
faraday (~> 0.8, < 0.10)
|
||||||
selenium-webdriver (2.45.0)
|
selenium-webdriver (2.45.0)
|
||||||
childprocess (~> 0.5)
|
childprocess (~> 0.5)
|
||||||
multi_json (~> 1.0)
|
multi_json (~> 1.0)
|
||||||
|
|
@ -690,6 +713,7 @@ GEM
|
||||||
sprockets (>= 2.8, < 4.0)
|
sprockets (>= 2.8, < 4.0)
|
||||||
state_machine (1.2.0)
|
state_machine (1.2.0)
|
||||||
systemu (2.6.5)
|
systemu (2.6.5)
|
||||||
|
terminal-table (1.5.2)
|
||||||
test_after_commit (0.4.1)
|
test_after_commit (0.4.1)
|
||||||
activerecord (>= 3.2)
|
activerecord (>= 3.2)
|
||||||
thor (0.19.1)
|
thor (0.19.1)
|
||||||
|
|
@ -805,6 +829,9 @@ DEPENDENCIES
|
||||||
omniauth-wordpress (= 0.2.2)
|
omniauth-wordpress (= 0.2.2)
|
||||||
open_graph_reader (= 0.6.1)
|
open_graph_reader (= 0.6.1)
|
||||||
pg (= 0.18.1)
|
pg (= 0.18.1)
|
||||||
|
pronto (= 0.4.2)
|
||||||
|
pronto-jshint (= 0.4.2)
|
||||||
|
pronto-rubocop (= 0.4.4)
|
||||||
pry
|
pry
|
||||||
pry-byebug
|
pry-byebug
|
||||||
pry-debundle
|
pry-debundle
|
||||||
|
|
|
||||||
16
bin/pronto
Executable file
16
bin/pronto
Executable file
|
|
@ -0,0 +1,16 @@
|
||||||
|
#!/usr/bin/env ruby
|
||||||
|
#
|
||||||
|
# This file was generated by Bundler.
|
||||||
|
#
|
||||||
|
# The application 'pronto' is installed as part of a gem, and
|
||||||
|
# this file is here to facilitate running it.
|
||||||
|
#
|
||||||
|
|
||||||
|
require 'pathname'
|
||||||
|
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
|
||||||
|
Pathname.new(__FILE__).realpath)
|
||||||
|
|
||||||
|
require 'rubygems'
|
||||||
|
require 'bundler/setup'
|
||||||
|
|
||||||
|
load Gem.bin_path('pronto', 'pronto')
|
||||||
Loading…
Reference in a new issue