Rakefile in fidor_schema-0.5.1 vs Rakefile in fidor_schema-0.6.0
- old
+ new
@@ -6,23 +6,23 @@
desc 'Run specs'
RSpec::Core::RakeTask.new
task :default => :spec
-require 'validate/validate'
+require 'validator'
task :validate_dash do
- Fidor::SchemaValidation.main :dash
+ Validator.run :dash
end
task :validate_underscore do
- Fidor::SchemaValidation.main :underscore
+ Validator.run :underscore
end
task :validate_jschema do
- Fidor::SchemaValidation.main :jschema
+ Validator.run :jschema
end
task :validate_schema => [:validate_dash, :validate_underscore, :validate_jschema] do
-
+
end