* add newline to the end of files;

* small refactoring rakefile.
This commit is contained in:
Vladmir Sharhsov(warpc) 2013-09-03 11:46:08 +04:00
parent 5619ddfca1
commit 6965369084
4 changed files with 5 additions and 12 deletions

View File

@ -1 +1 @@
1.9.3
1.9.3

View File

@ -1,4 +1,4 @@
source 'https://rubygems.org'
source 'http://download.mirantis.com/fuelweb-repo/3.2/gems/'
gemspec
gemspec

View File

@ -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'

View File

@ -60,4 +60,4 @@ function ruby_checks() {
}
license_check
ruby_checks
ruby_checks