forked from roo-rb/roo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send test coverage to coveralls. Allow fail jruby on travis
- Loading branch information
Showing
13 changed files
with
107 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ rvm: | |
matrix: | ||
allow_failures: | ||
- rvm: ruby-head | ||
- rvm: jruby-19mode | ||
bundler_args: --without local_development |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
require "bundler/gem_tasks" | ||
|
||
require 'rake/testtask' | ||
require 'rspec/core/rake_task' | ||
require 'coveralls/rake/task' | ||
|
||
# Test unit | ||
Rake::TestTask.new do |t| | ||
t.libs << 'test' | ||
t.test_files = FileList['test/test*.rb'] | ||
t.verbose = true | ||
end | ||
|
||
# RSpec | ||
RSpec::Core::RakeTask.new(:spec) | ||
|
||
# Coveralls | ||
Coveralls::RakeTask.new | ||
|
||
task test_with_coveralls: [:test, :spec, 'coveralls:push'] | ||
|
||
task default: [:test, :spec] | ||
require 'bundler/gem_tasks' | ||
|
||
require 'rake/testtask' | ||
require 'rspec/core/rake_task' | ||
require 'coveralls/rake/task' | ||
|
||
# Test unit | ||
Rake::TestTask.new do |t| | ||
t.libs << 'test' | ||
t.test_files = FileList['test/test*.rb'] | ||
t.verbose = true | ||
end | ||
|
||
# RSpec | ||
RSpec::Core::RakeTask.new(:spec) | ||
|
||
# Coveralls | ||
Coveralls::RakeTask.new | ||
|
||
default_task = [:test, :spec] | ||
default_task << 'coveralls:push' if ENV['TRAVIS'] | ||
|
||
task default: default_task |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,24 +4,24 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | |
require 'roo/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "roo" | ||
spec.name = 'roo' | ||
spec.version = Roo::VERSION | ||
spec.authors = ["Thomas Preymesser", "Hugh McGowan", "Ben Woosley"] | ||
spec.email = ["[email protected]"] | ||
spec.summary = "Roo can access the contents of various spreadsheet files." | ||
spec.authors = ['Thomas Preymesser', 'Hugh McGowan', 'Ben Woosley'] | ||
spec.email = ['[email protected]'] | ||
spec.summary = 'Roo can access the contents of various spreadsheet files.' | ||
spec.description = "Roo can access the contents of various spreadsheet files. It can handle\n* OpenOffice\n* Excel\n* Google spreadsheets\n* Excelx\n* LibreOffice\n* CSV" | ||
spec.homepage = "http://github.com/Empact/roo" | ||
spec.license = "MIT" | ||
spec.homepage = 'http://github.com/Empact/roo' | ||
spec.license = 'MIT' | ||
|
||
spec.files = `git ls-files -z`.split("\x0") | ||
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } | ||
spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) | ||
spec.require_paths = ["lib"] | ||
spec.require_paths = ['lib'] | ||
|
||
spec.add_dependency "nokogiri" | ||
spec.add_dependency "rubyzip" | ||
spec.add_dependency 'nokogiri' | ||
spec.add_dependency 'rubyzip' | ||
|
||
spec.add_development_dependency "bundler", ">= 1.7" | ||
spec.add_development_dependency "rake", ">= 10.0" | ||
spec.add_development_dependency 'bundler', '>= 1.7' | ||
spec.add_development_dependency 'rake', '>= 10.0' | ||
spec.add_development_dependency 'minitest', '>= 5.4.3' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.