metadata-json-lint 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,11 @@
1
+ require 'rake'
2
+ require 'rake/tasklib'
3
+ require 'metadata_json_lint'
4
+ require 'json'
5
+
6
+ desc 'Run metadata-json-lint'
7
+ task :metadata_lint do
8
+ if File.exist?('metadata.json')
9
+ MetadataJsonLint.parse('metadata.json')
10
+ end
11
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metadata-json-lint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-12-31 00:00:00.000000000 Z
13
+ date: 2015-01-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: spdx-licenses
@@ -53,6 +53,7 @@ extra_rdoc_files: []
53
53
  files:
54
54
  - bin/metadata-json-lint
55
55
  - lib/metadata_json_lint.rb
56
+ - lib/metadata-json-lint/rake_task.rb
56
57
  homepage: http://github.com/nibalizer/metadata-json-lint
57
58
  licenses:
58
59
  - Apache-2.0