prontolabs / pronto-foodcritic Goto Github PK
View Code? Open in Web Editor NEWPronto runner for Food Critic, lint tool for chef
License: MIT License
Pronto runner for Food Critic, lint tool for chef
License: MIT License
Hi @mmozuras,
I tried to install ALL the runners just to see what would happen. I had to uninstall pronto-foodcritic because of the below conflict (also had to uninstall pronto-spell and pronto-fasterer for the same reason).
.rvm/rubies/ruby-2.1.4/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:2112:in `raise_if_conflicts': Unable to activate pronto-spell-0.4.1, because pronto-0.5.3 conflicts with pronto (~> 0.4.0) (Gem::ConflictError)
Is a fix for this as simple as updating the .gemspec file to ~>0.5.0?
Hi @mmozuras,
First off thanks for the useful gem and the bunch of integration provided.
While installing all the runners, I noticed two of them (pronto-jscs
and pronto-rails_schema
) require an older version of pronto which seems to conflict with the latest version installed 0.6.0
.
/Users/eric/.rbenv/versions/2.2.2/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:2288:in `raise_if_conflicts': Unable to activate pronto-brakeman-0.6.0, because pronto-0.5.3 conflicts with pronto (~> 0.6.0) (Gem::ConflictError)
gem dependency -R pronto
Gem pronto-jscs-0.0.5
bundler (~> 1.10, development)
pronto (~> 0.5.0)
rake (~> 10.0, development)
rspec (~> 3.3, development)
rspec-its (~> 1.2, development)
Gem pronto-rails_schema-0.5.0
bundler (~> 1.10, development)
pronto (~> 0.5.0)
rake (~> 10.0, development)
rspec (~> 3.3, development)
Right now it seems that the runner is built for chef repo's which contain multiple cookbooks (or roles) as https://github.com/mmozuras/pronto-foodcritic/blob/master/lib/pronto/foodcritic.rb#L35 expects the path to include cookbook
.
However when all your cookbooks are separated into single repositories cookbook might not always appear in the path. For example when your repository name does not include -cookbook
or when you're running it on a CI server which does not use project names internally (like GitLab CI).
I'd say to remove that check alltogether and just run foodcritic on all files. Does that sound reasonable to you?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.