Cap json dependency below 3.0
json 3.0.0 (released 2026-09-07) removed the JSON.create_id= writer along with the insecure create_additions option it configured [1].
jgrep, a transitive dependency of facterdb pulled in here via rspec-puppet-facts’ on_supported_os, still calls JSON.create_id = nil unconditionally, so any consuming module’s spec using on_supported_os fails to load with:
NoMethodError: undefined method `create_id=’ for JSON:Module
This gemspec’s unconstrained
jsondependency let Bundler resolve consuming modules’ bundles up to json 3.0.0 and hit that failure. Cap it below 3.0 until jgrep or facterdb drop the removed call.[1] https://github.com/ruby/json/commit/1f65fe1c2da09e0ca9458323792aa7b24b944628
Assisted-By: Claude Code Change-Id: Iccd9f30877a36fc9fc0f1d29a83d1534c884b070 Signed-off-by: Jake Yip jake.yip@ardc.edu.au
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
Team and repository tags
Puppet-OpenStack Spec Helper
This gem provides helper utilities for running rspec tests in the OpenStack Puppet Modules.
Usage
Include this gem in your Gemfile:
In your Rakefile, require the rake_tasks library:
Release notes for the project can be found at: https://docs.openstack.org/releasenotes/puppet-openstack_spec_helper
The project source code repository is located at: https://opendev.org/openstack/puppet-openstack_spec_helper
Contributors for the project can be found at: https://github.com/openstack/puppet-openstack_spec_helper/graphs/contributors
Developer documentation for the entire puppet-openstack project can be found at: https://docs.openstack.org/puppet-openstack-guide/latest/