Sha256: da53d9579d0fea80c81c39cf152572bf967e4c09b33dbc7160fb716302da084e
Contents?: true
Size: 466 Bytes
Versions: 5
Compression:
Stored size: 466 Bytes
Contents
$LOAD_PATH.unshift(File.expand_path('../../lib', __dir__)) require 'metadata_json_lint' MetadataJsonLint.options.fail_on_warnings = false desc "Test metadata_lint on multiple files. Don't fail" task :metadata_lint_multi do MetadataJsonLint.parse('metadata_license.json') do |options| options.strict_license = false end MetadataJsonLint.parse('metadata_ok.json') do |options| options.strict_license = true options.fail_on_warnings = true end end
Version data entries
5 entries across 5 versions & 1 rubygems