[DRE-commits] [ruby-aruba] 67/98: Fixed circular warnings

Hideki Yamane henrich at moszumanska.debian.org
Tue Mar 22 12:20:41 UTC 2016


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch debian/sid
in repository ruby-aruba.

commit 4975817d984335ffcfb74bf7a3b9e2fdbe549357
Author: Dennis Günnewig <dg1 at ratiodata.de>
Date:   Thu Jan 7 08:29:26 2016 +0100

    Fixed circular warnings
---
 Rakefile                             | 2 +-
 lib/aruba/platforms/unix_which.rb    | 2 --
 lib/aruba/platforms/windows_which.rb | 2 --
 3 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/Rakefile b/Rakefile
index bb41200..dcbba00 100644
--- a/Rakefile
+++ b/Rakefile
@@ -19,7 +19,7 @@ end
 require 'rspec/core/rake_task'
 desc "Run RSpec"
 RSpec::Core::RakeTask.new do |spec|
-  spec.rspec_opts = ['--color', '--format documentation']
+  spec.rspec_opts = ['--color', '--format documentation', '--warnings']
 end
 
 namespace :travis do
diff --git a/lib/aruba/platforms/unix_which.rb b/lib/aruba/platforms/unix_which.rb
index b9899d6..71b763f 100644
--- a/lib/aruba/platforms/unix_which.rb
+++ b/lib/aruba/platforms/unix_which.rb
@@ -1,5 +1,3 @@
-require 'aruba/platform'
-
 # Aruba
 module Aruba
   # Platforms
diff --git a/lib/aruba/platforms/windows_which.rb b/lib/aruba/platforms/windows_which.rb
index 3986ecf..b196b30 100644
--- a/lib/aruba/platforms/windows_which.rb
+++ b/lib/aruba/platforms/windows_which.rb
@@ -1,5 +1,3 @@
-require 'aruba/platform'
-
 # Aruba
 module Aruba
   # Platforms

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-aruba.git



More information about the Pkg-ruby-extras-commits mailing list