Skip to content

Commit

Permalink
Merge pull request #7 from sealink/PLAT-183-update-coveralls
Browse files Browse the repository at this point in the history
Plat 183 update coveralls
  • Loading branch information
jmortlock committed Jan 14, 2022
2 parents 5cc5de5 + 1d873f9 commit 1b39e38
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ["2.6", "2.7", "3.0"]
ruby: ["2.6", "2.7", "3.0", "3.1"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -14,3 +14,8 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage/lcov.info
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.0
3.1.0
3 changes: 1 addition & 2 deletions humanized_id.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@ Gem::Specification.new do |spec|
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 2.6'
spec.add_runtime_dependency 'securerandom'

spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'coverage-kit'
spec.add_development_dependency 'simplecov-rcov'
spec.add_development_dependency 'coveralls'
spec.add_development_dependency 'rubocop'
spec.add_development_dependency 'pry'
end
2 changes: 2 additions & 0 deletions lib/humanized_id.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# frozen_string_literal: true
require 'securerandom'

module HumanizedId
DEFAULT_GENERATION_LENGTH = 24
SIMILAR_NUMBERS_LETTERS = %w(0 O 1 I L 5 S 8 B).freeze
Expand Down
3 changes: 1 addition & 2 deletions spec/support/coverage_loader.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
require 'simplecov-rcov'
require 'coveralls'
require 'coverage/kit'

Coverage::Kit.setup(minimum_coverage: 100)

0 comments on commit 1b39e38

Please sign in to comment.