We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9daa4bf commit 5a663e6Copy full SHA for 5a663e6
2 files changed
Rakefile
@@ -4,7 +4,11 @@ require "fileutils"
4
include FileUtils
5
require "tmpdir"
6
require "rspec/core/rake_task"
7
-require "rubocop/rake_task"
+begin
8
+ require "rubocop/rake_task"
9
+rescue LoadError
10
+ nil
11
+end
12
require "packaging"
13
14
Packaging.configuration do |conf|
@@ -64,4 +68,4 @@ namespace :doc do
64
68
end
65
69
66
70
67
-RuboCop::RakeTask.new
71
+RuboCop::RakeTask.new if Object.const_defined? :RuboCop
package/rubygem-ruby-dbus.spec
@@ -56,7 +56,7 @@ Pure Ruby module for interaction with D-Bus IPC system.
56
57
%install
58
%gem_install \
59
- --doc-files="COPYING NEWS README.md" \
+ --doc-files="COPYING NEWS.md README.md" \
60
-f
61
62
# MANUAL
0 commit comments