Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
tycooon committed Feb 26, 2021
1 parent 83f0c6d commit 164e686
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 33 deletions.
32 changes: 2 additions & 30 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -79,26 +79,15 @@ GEM
amq-protocol (~> 2.3, >= 2.3.1)
coderay (1.1.3)
concurrent-ruby (1.1.8)
coveralls (0.7.1)
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
term-ansicolor
thor
crass (1.0.6)
diff-lcs (1.4.4)
docile (1.3.5)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
erubi (1.10.0)
exception_notification (4.4.3)
actionmailer (>= 4.0, < 7)
activesupport (>= 4.0, < 7)
globalid (0.4.2)
activesupport (>= 4.2.0)
http-accept (1.7.0)
http-cookie (1.0.3)
domain_name (~> 0.5)
i18n (1.8.9)
concurrent-ruby (~> 1.0)
lamian (1.2.0)
Expand All @@ -113,15 +102,10 @@ GEM
memery (1.3.0)
ruby2_keywords (~> 0.0.2)
method_source (1.0.0)
mime-types (3.3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2021.0225)
mimemagic (0.3.5)
mini_mime (1.0.2)
mini_portile2 (2.5.0)
minitest (5.14.4)
multi_json (1.15.0)
netrc (0.11.0)
nio4r (2.5.5)
nokogiri (1.11.1)
mini_portile2 (~> 2.5.0)
Expand Down Expand Up @@ -173,11 +157,6 @@ GEM
rainbow (3.0.0)
rake (13.0.3)
regexp_parser (2.1.1)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rexml (3.2.4)
rspec (3.10.0)
rspec-core (~> 3.10.0)
Expand Down Expand Up @@ -228,6 +207,7 @@ GEM
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov-lcov (0.8.0)
simplecov_json_formatter (0.1.2)
sneakers (2.11.0)
bunny (~> 2.12)
Expand All @@ -242,20 +222,12 @@ GEM
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sync (0.5.0)
tainbox (2.1.2)
activesupport
term-ansicolor (1.7.1)
tins (~> 1.0)
thor (1.1.0)
timecop (0.9.4)
tins (1.28.0)
sync
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.7)
unicode-display_width (1.7.0)
websocket-driver (0.7.3)
websocket-extensions (>= 0.1.0)
Expand All @@ -270,14 +242,14 @@ DEPENDENCIES
activerecord
bundler
bundler-audit
coveralls
pg
pry
rake
rspec
rubocop-config-umbrellio
sequel
simplecov
simplecov-lcov
table_sync!
timecop

Expand Down
9 changes: 7 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# frozen_string_literal: true

require "simplecov"
require "coveralls"
require "simplecov-lcov"

SimpleCov::Formatter::LcovFormatter.config do |config|
config.report_with_single_file = true
config.single_report_path = "coverage/lcov.info"
end

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter,
SimpleCov::Formatter::LcovFormatter,
])

SimpleCov.start { add_filter "spec" }
Expand Down
2 changes: 1 addition & 1 deletion table_sync.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency "rails"
spec.add_runtime_dependency "self_data"

spec.add_development_dependency "coveralls"
spec.add_development_dependency "rspec"
spec.add_development_dependency "rubocop-config-umbrellio"
spec.add_development_dependency "simplecov"
spec.add_development_dependency "simplecov-lcov"

spec.add_development_dependency "activejob"
spec.add_development_dependency "activerecord"
Expand Down

0 comments on commit 164e686

Please sign in to comment.