Skip to content
Open
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
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.2
4.0.6
5 changes: 1 addition & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,14 @@ source "https://rubygems.org"
gemspec

group :development, :test do
gem 'rspec' # testing framework
gem 'simplecov', require: false
gem 'rspec'
gem 'json'
gem 'simplecov_json_formatter'
gem 'builder'
gem 'rubocop', require: false
gem 'rubocop-checkstyle_formatter', require: false
gem 'rubocop-rspec', require: false
gem 'rubocop-thread_safety'
gem 'brakeman'
gem 'coveralls_reborn', '~> 0.27.0', require: false

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this gem prevents simplecov v1.0.0+, remove for now.

end

group :development do
Expand Down
20 changes: 10 additions & 10 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
require "bundler/setup"
# require "bundler/setup"

APP_RAKEFILE = File.expand_path("spec/dummy/Rakefile", __dir__)
load "rails/tasks/engine.rake"
# APP_RAKEFILE = File.expand_path("spec/dummy/Rakefile", __dir__)
# load "rails/tasks/engine.rake"

load "rails/tasks/statistics.rake"
# load "rails/tasks/statistics.rake"

require "bundler/gem_tasks"

require "rake/testtask"
# require "rake/testtask"

Rake.add_rakelib 'lib/tasks'
# Rake.add_rakelib 'lib/tasks'

# add rspec rake task
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task default: :spec
# # add rspec rake task
# require 'rspec/core/rake_task'
# RSpec::Core::RakeTask.new(:spec)
# task default: :spec
2 changes: 1 addition & 1 deletion lib/ruby_branch_coverage/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

class RubyBranchCoverage
VERSION = '0.1.7'
VERSION = '1.1.0'
end
18 changes: 9 additions & 9 deletions lib/tasks/simplecov.rake
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ namespace :simplecov do
SimpleCov.start 'rails' do
enable_coverage :branch

add_filter '/spec/'
add_filter '/config/'
add_filter '/db/'
add_filter '/vendor/'
skip '/spec/'
skip '/config/'
skip '/db/'
skip '/vendor/'

add_group 'Decorators', 'app/decorators'
add_group 'Forms', 'app/forms'
add_group 'Services', 'app/services'
add_group 'ViewObjects', 'app/view_objects'
add_group 'Batches', 'app/batches'
group 'Decorators', 'app/decorators'
group 'Forms', 'app/forms'
group 'Services', 'app/services'
group 'ViewObjects', 'app/view_objects'
group 'Batches', 'app/batches'

merge_timeout 3600
end
Expand Down
8 changes: 4 additions & 4 deletions ruby_branch_coverage.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ Gem::Specification.new do |s|
s.description = 'A program to convert json to xml test coverage format gem'
s.authors = ['Suganya']
s.email = ['kuppusamy.suganya@moneyforward.co.jp']
s.files = Dir["{config,lib}/**/*", "Rakefile"]
s.files = `git ls-files -z`.split("\x0").
reject { |f| f.match(%r{^(test|spec|features)/}) }
s.homepage =
'https://rubygems.pkg.github.com/moneyforward/ruby_branch_coverage'
'https://github.com/moneyforward/ruby_branch_coverage'

s.metadata["allowed_push_host"] = 'https://rubygems.pkg.github.com'
s.add_development_dependency "rspec-rails"
s.add_dependency "rails"
s.add_dependency 'simplecov'
s.add_dependency 'simplecov', '>= 1.0.0'
end
Loading