Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions linux_admin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ registration, updates, etc.
spec.homepage = "http://github.com/ManageIQ/linux_admin"
spec.license = "MIT"

spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.files = `git ls-files -- lib/*`.split("\n")
spec.files += %w[README.md LICENSE.txt]
spec.executables = `git ls-files -- bin/*`.split("\n")
spec.test_files = `git ls-files -- spec/*`.split("\n")
spec.require_paths = ["lib"]

spec.add_development_dependency "bundler", "~> 1.3"
Expand Down
13 changes: 9 additions & 4 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
require 'coveralls'
Coveralls.wear!

require 'linux_admin'
# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper"` to ensure that it is only
Expand All @@ -28,6 +24,15 @@
end
end

begin
require 'coveralls'
Coveralls.wear!
rescue LoadError
end

require 'linux_admin'


def data_file_path(to)
File.expand_path(to, File.join(File.dirname(__FILE__), "data"))
end
Expand Down