Comments (7)
0.50 requires ruby >= 2.3 which breaks support
from puppet-module-gems.
Are there still supported versions with ruby < 2.3? It looks to me like there is not, based on https://puppet.com/docs/pe/latest/component_versions_in_recent_pe_releases.html
from puppet-module-gems.
current puppet uses ruby version 2.5.7
rubocop will not work with this version without disabling ruby version flags.
puppet --version
6.14.0
/opt/puppetlabs/puppet/bin/ruby -v
ruby 2.5.7p206 (2019-10-01 revision 67816) [x86_64-linux]
bundle exec rubocop --version
0.49.1
running rubocop the pdk way (gitlab ci rubocop)
bundle exec rake rubocop
Known versions: 1.9, 2.0, 2.1, 2.2, 2.3, 2.4
can we get it upgraded now?
from puppet-module-gems.
Updating rubocop will require a coordinated upgrade path to update the profiles defined in pdk-templates in all modules with minimal disturbance.
from puppet-module-gems.
I came to create this very same issue but saw that it was already open.
I had a what I thought was a very safe assumption that gem 'puppet-module-posix-dev-r2.6'
would be able to use a modern version of Rubocop:
from puppet-module-gems.
I think the only way to do this because rubocop has many changes for each version is to keep a separate template based on ruby version.
So the puppet-module-gems version would be able to pick the correct rubycop.yml template per ruby. Additionally, we can use the mry tool to easily upgrade rubocop changes.
from puppet-module-gems.
This has been addressed in #156 and will be released later today as 1.0.0, with an accompanying change to pdk-templates
from puppet-module-gems.
Related Issues (12)
- Litmus is in the wrong ruby group HOT 2
- updated gems broke ruby 2.1.9 HOT 1
- Please publish gems for Ruby 2.7 HOT 2
- Codecov yanked older versions, including the one used as a dependency HOT 1
- Missing ruby 2.1 pins HOT 2
- Fix parallel gem on ruby 2.4 by cutting a release
- v0.5.3 has a broken dependency chain in PDK docker image HOT 3
- Ruby 3 support HOT 6
- Release version 1.1.1 of Puppet Module Gems
- Dependency on specinfra HOT 2
- Could not find gem 'puppet-module-posix-default-r2.6' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-module-gems.