Skip to content

Commit

Permalink
Revert "Add metadata_json_deps + rake task"
Browse files Browse the repository at this point in the history
This reverts commit 86db8fa.

The gettext-setup gem causes some ugly errors on our side:
* puppetlabs/forge-ruby#91
* voxpupuli/puppet-mosquitto#18
* https://tickets.puppetlabs.com/browse/MODULES-6598
  • Loading branch information
bastelfreak committed Aug 26, 2021
1 parent ed10815 commit 35b707b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,3 @@ end
```

Note that this helper deals with symbols/strings for you as well.

# Identify dependencies from metadata.json that aren't up2date

This gem provides the `check:metadata_deps` rake task:

```console
$ bundle exec rake check:metadata_deps
Checking metadata.json
puppetlabs/stdlib (>= 4.25.0 < 7.0.0) doesn't match 7.1.0
```
8 changes: 0 additions & 8 deletions lib/voxpupuli/test/rake.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'puppetlabs_spec_helper/rake_tasks'
require 'metadata_json_deps'

PuppetLint.configuration.log_format = '%{path}:%{line}:%{check}:%{KIND}:%{message}'

Expand All @@ -23,10 +22,3 @@
end
end
Rake::Task[:check].enhance ['check:trailing_whitespace']


desc 'Run metadata-json-deps'
task :metadata_deps do
files = FileList['metadata.json']
MetadataJsonDeps::run(files)
end
1 change: 0 additions & 1 deletion voxpupuli-test.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'puppetlabs_spec_helper', '>= 2.16.0'
s.add_runtime_dependency 'rspec-puppet-facts', '>= 2.0.1', '< 3'
s.add_runtime_dependency 'rspec-puppet-utils', '>= 1.9.5'
s.add_runtime_dependency 'metadata_json_deps', '>= 0.3.0'

# Rubocop
s.add_runtime_dependency 'rubocop', '~> 0.49.1'
Expand Down

0 comments on commit 35b707b

Please sign in to comment.