* add newline to the end of files;
* small refactoring rakefile.
This commit is contained in:
parent
5619ddfca1
commit
6965369084
|
@ -1 +1 @@
|
|||
1.9.3
|
||||
1.9.3
|
||||
|
|
2
Gemfile
2
Gemfile
|
@ -1,4 +1,4 @@
|
|||
source 'https://rubygems.org'
|
||||
source 'http://download.mirantis.com/fuelweb-repo/3.2/gems/'
|
||||
|
||||
gemspec
|
||||
gemspec
|
||||
|
|
11
Rakefile
11
Rakefile
|
@ -1,20 +1,13 @@
|
|||
require 'rspec/core/rake_task'
|
||||
|
||||
rspec_opts = "--color --format documentation"
|
||||
|
||||
RSpec::Core::RakeTask.new(:spec, 'spec:unit') do |t|
|
||||
#t.rspec_opts = "--color --format documentation"
|
||||
end
|
||||
|
||||
namespace :spec do
|
||||
RSpec::Core::RakeTask.new(:unit) do |t|
|
||||
t.rspec_opts = rspec_opts
|
||||
t.rspec_opts = "--color --format documentation"
|
||||
t.pattern = Dir['spec/unit/**/*_spec.rb']
|
||||
end
|
||||
RSpec::Core::RakeTask.new(:integration) do |t|
|
||||
#t.rspec_opts = rspec_opts
|
||||
t.pattern = Dir['spec/integration/**/*_spec.rb']
|
||||
end
|
||||
end
|
||||
|
||||
task :default => :spec
|
||||
task :default => 'spec:unit'
|
||||
|
|
|
@ -60,4 +60,4 @@ function ruby_checks() {
|
|||
}
|
||||
|
||||
license_check
|
||||
ruby_checks
|
||||
ruby_checks
|
||||
|
|
Loading…
Reference in New Issue