Skip to content

Commit

Permalink
Merge pull request #46 from sul-dlss/coveralls
Browse files Browse the repository at this point in the history
Install coveralls
  • Loading branch information
peetucket committed Apr 13, 2018
2 parents e0431e3 + aa71d2c commit 0da033e
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ pkg/*
tags
tmp
/workflow_service.log*
coverage
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ group :test do
gem 'yard'
gem 'solr_wrapper'
gem 'jettywrapper'
gem 'coveralls', require: false
end

group :deployment do
Expand Down
17 changes: 17 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ GEM
connection_pool (2.2.1)
countries (0.9.2)
currencies (>= 0.4.0)
coveralls (0.7.1)
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
term-ansicolor
thor
crass (1.0.4)
csv-mapper (0.5.1)
fastercsv
Expand All @@ -108,6 +114,7 @@ GEM
capistrano-bundle_audit (>= 0.1.0)
capistrano-one_time_key
capistrano-shared_configs
docile (1.3.0)
docopt (0.5.0)
domain_name (0.5.20170404)
unf (>= 0.0.5, < 1.0.0)
Expand Down Expand Up @@ -216,6 +223,7 @@ GEM
equivalent-xml (>= 0.6.0)
nokogiri
roo (= 2.5.1)
multi_json (1.13.1)
multipart-post (2.0.0)
net-http-persistent (3.0.0)
connection_pool (~> 2.2)
Expand Down Expand Up @@ -314,6 +322,11 @@ GEM
nokogiri
rest-client
rubyzip (1.2.1)
simplecov (0.16.1)
docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.2)
solr_wrapper (1.2.0)
faraday
retriable
Expand All @@ -333,9 +346,12 @@ GEM
mods (~> 2.2)
stomp (1.4.4)
systemu (2.6.5)
term-ansicolor (1.6.0)
tins (~> 1.0)
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.8)
tins (1.16.3)
tzinfo (1.2.5)
thread_safe (~> 0.1)
uber (0.0.15)
Expand All @@ -361,6 +377,7 @@ DEPENDENCIES
capistrano (~> 3)
capistrano-bundler
capistrano-rvm
coveralls
csv-mapper
dir_validator
dlss-capistrano (~> 3.1)
Expand Down
3 changes: 3 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
=Pre-assembly

{<img src="https://coveralls.io/repos/github/sul-dlss/pre-assembly/badge.svg" alt="Coverage Status" />}[https://coveralls.io/github/sul-dlss/pre-assembly]


This is a Ruby implementation of services needed to prepare objects to be assembled and then accessioned into the SUL digital library.

Uses ruby 2.2.0
Expand Down
9 changes: 8 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
require 'tmpdir'
require 'equivalent-xml/rspec_matchers'
require 'byebug'
require 'simplecov'
require 'coveralls'

SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
track_files "bin/**/*"
end

puts "running in #{ENV['ROBOT_ENVIRONMENT']} mode"
bootfile = File.expand_path(File.dirname(__FILE__) + '/../config/boot')
Expand All @@ -11,4 +18,4 @@

def noko_doc(x)
Nokogiri.XML(x) { |conf| conf.default_xml.noblanks }
end
end

0 comments on commit 0da033e

Please sign in to comment.