Skip to content

Commit

Permalink
Merge branch 'main' into extend-tests
Browse files Browse the repository at this point in the history
# Conflicts:
#	spec/spec_helper.rb
  • Loading branch information
mblumtritt committed Oct 25, 2023
2 parents 160c77b + 177fdcd commit e18f165
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.11.2 (2023-10-25)

- Add documentation generation via yard

## 0.11.1 (2023-09-08)

- Bugfix: trapped signals INT and TERM now calls correctly previous set signal handler
Expand Down
14 changes: 7 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ source 'https://rubygems.org'

gemspec

group :development, :test do
gem 'prettier'
group :test do
gem 'prettier', require: false
gem 'rake'
gem 'redcarpet'
gem 'rspec'
gem 'rubocop'
gem 'rubocop-rake'
gem 'rubocop-rspec'
gem 'yard'
gem 'rubocop', require: false
gem 'rubocop-rake', require: false
gem 'rubocop-rspec', require: false
gem 'simplecov'
gem 'yard', require: false
end
12 changes: 9 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
ears (0.11.1)
ears (0.11.2)
bunny (~> 2.22.0)
multi_json

Expand All @@ -15,6 +15,7 @@ GEM
amq-protocol (~> 2.3, >= 2.3.1)
sorted_set (~> 1, >= 1.0.2)
diff-lcs (1.5.0)
docile (1.4.0)
haml (6.1.2)
temple (>= 0.8.2)
thor
Expand All @@ -36,7 +37,6 @@ GEM
rake (13.0.6)
rbs (3.1.3)
rbtree (0.4.6)
redcarpet (3.6.0)
regexp_parser (2.8.1)
rexml (3.2.6)
rspec (3.12.0)
Expand Down Expand Up @@ -78,6 +78,12 @@ GEM
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0)
set (1.0.3)
simplecov (0.22.0)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
sorted_set (1.0.3)
rbtree
set (~> 1.0)
Expand Down Expand Up @@ -110,11 +116,11 @@ DEPENDENCIES
ears!
prettier
rake
redcarpet
rspec
rubocop
rubocop-rake
rubocop-rspec
simplecov
yard

BUNDLED WITH
Expand Down
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ require 'yard'

CLEAN << '.yardoc'
CLOBBER << 'doc'
CLOBBER << 'coverage'

RSpec::Core::RakeTask.new(:spec)
YARD::Rake::YardocTask.new { |t| t.stats_options = %w[--list-undoc] }
Expand Down
2 changes: 1 addition & 1 deletion lib/ears/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Ears
VERSION = '0.11.1'
VERSION = '0.11.2'
end
11 changes: 11 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# frozen_string_literal: true

require 'rspec/core'
require 'simplecov'
require 'ears'

SimpleCov.start do
enable_coverage :branch
primary_coverage :branch
end

RSpec.configure(&:disable_monkey_patching!)

if RSpec.configuration.files_to_run.length > 1
# Let's increase this later on
SimpleCov.minimum_coverage line: 97.5, branch: 65.7
end

0 comments on commit e18f165

Please sign in to comment.