Skip to content

Commit

Permalink
Merge e41190b into 96f2a29
Browse files Browse the repository at this point in the history
  • Loading branch information
jmortlock committed Jan 11, 2022
2 parents 96f2a29 + e41190b commit 80b40b9
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 18 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
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
This changelog adheres to [Keep a CHANGELOG](http://keepachangelog.com/).

## Unreleased

- [PLAT-183] Ruby 3.1 and publish coverage with github action

## 0.6.0

- [TT-8626] Update to build with github actions / ruby 3.0 / rails 6.1
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[![Gem Version](https://badge.fury.io/rb/sensitive_data_filter.svg)](http://badge.fury.io/rb/sensitive_data_filter)
[![Build Status](https://github.com/sealink/sensitive_data_filter/workflows/Build%20and%20Test/badge.svg?branch=master)](https://github.com/sealink/sensitive_data_filter/actions)
[![Coverage Status](https://coveralls.io/repos/sealink/sensitive_data_filter/badge.svg)](https://coveralls.io/r/sealink/sensitive_data_filter)
[![Code Climate](https://codeclimate.com/github/sealink/sensitive_data_filter/badges/gpa.svg)](https://codeclimate.com/github/sealink/sensitive_data_filter)

A Rack Middleware filter for sensitive data

Expand Down
2 changes: 0 additions & 2 deletions sensitive_data_filter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ Gem::Specification.new do |spec|
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
3 changes: 2 additions & 1 deletion spec/sensitive_data_filter/types/credit_card_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
'American Express Corporate' => ['3787 344936 71000'],
'Australian BankCard' => ['5610 5910 8101 8250'],
'Diners Club' => ['3056 930902 5904', '3852 000002 3237'],
'Discover' => ['6011 1111 1111 1117', '6011 0009 9013 9424'],
# https://github.com/didww/credit_card_validations/issues/110
'Discover' => [CreditCardValidations::Factory.random(:discover), '6011 0009 9013 9424'],
'JCB' => ['3530 1113 3330 0000', '3566 0020 2036 0505'],
'MasterCard' => ['5555 5555 5555 4444', '5105 1051 0510 5100'],
'Visa' => ['4111 1111 1111 1111', '4012 8888 8888 1881',
Expand Down
3 changes: 1 addition & 2 deletions spec/support/coverage_loader.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# frozen_string_literal: true
require 'simplecov-rcov'
require 'coveralls'
require 'coverage/kit'

Coverage::Kit.setup(minimum_coverage: 100.0)

0 comments on commit 80b40b9

Please sign in to comment.