From 69653690846887cf433bd383ea78282b9d4a6524 Mon Sep 17 00:00:00 2001 From: "Vladmir Sharhsov(warpc)" Date: Tue, 3 Sep 2013 11:46:08 +0400 Subject: [PATCH] * add newline to the end of files; * small refactoring rakefile. --- .ruby-version | 2 +- Gemfile | 2 +- Rakefile | 11 ++--------- utils/jenkins/astute_rspec_check.sh | 2 +- 4 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.ruby-version b/.ruby-version index 7b0231f5..77fee73a 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -1.9.3 \ No newline at end of file +1.9.3 diff --git a/Gemfile b/Gemfile index 999df70d..4799ed1f 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,4 @@ source 'https://rubygems.org' source 'http://download.mirantis.com/fuelweb-repo/3.2/gems/' -gemspec \ No newline at end of file +gemspec diff --git a/Rakefile b/Rakefile index 24b07fb1..6b53b716 100644 --- a/Rakefile +++ b/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 \ No newline at end of file +task :default => 'spec:unit' diff --git a/utils/jenkins/astute_rspec_check.sh b/utils/jenkins/astute_rspec_check.sh index 127a0879..86ec8cd2 100755 --- a/utils/jenkins/astute_rspec_check.sh +++ b/utils/jenkins/astute_rspec_check.sh @@ -60,4 +60,4 @@ function ruby_checks() { } license_check -ruby_checks \ No newline at end of file +ruby_checks