input_sanitizer 0.4.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f2a20c5da1c65b87f1e817d27093de8f9353a6c06b542780d27e3462b64a855
4
- data.tar.gz: d48d86aac58840dfc42932c1240635552bc3229d297d8f717615088582e6b31c
3
+ metadata.gz: b17187da279365f142d7fe151cde0475bc79bd906eaa517a394d0345dfa959da
4
+ data.tar.gz: ae5b758685cba665827b5616e7bd2af11e9e20199fb38162355876c64df26e7f
5
5
  SHA512:
6
- metadata.gz: 3dcfbf917beba6d666b964658b8ef569152d74beca656f14640fec37a9bc413273da22988e4eeebfe4aa399841086673519bb3a1eb8c6533d0ada93ac474021b
7
- data.tar.gz: 56cb28724e2cfbd5eb1755615463e26226cca48ba287d3ee94448da1f5918261d4a8aa430a4b14e82b9bbc6d2fa96888799ecc144ccf6ee585fece7709eee5e1
6
+ metadata.gz: dac569cd500bf5f3c25be2aba2d863b74083d47704aa737fe2670dc8051fbc59e4bcc81de2468d2899dbe1b0d3700d8b6e2446dad0910a0d554aa3fec3f7f888
7
+ data.tar.gz: eb1bae9cfa2759748ac63af0f5e582d74e06fc70ebd2e4ffc979b7c62fa36bca0d17780e01ca177be33dc3e7d61511f5926e8581cc977dbfdc926b21ae35af70
@@ -1,26 +1,26 @@
1
1
  name: CI
2
2
 
3
- on:
4
- push:
5
- branches:
6
- - master
7
- pull_request:
8
- branches:
9
- - master
3
+ on: push
10
4
 
11
5
  jobs:
12
6
  build:
13
- runs-on: ubuntu-18.04
7
+ runs-on: ubuntu-latest
14
8
  strategy:
15
9
  matrix:
16
- rvm: [2.1.9,2.2.10,2.5.8,jruby-head]
10
+ ruby-version:
11
+ - 2.3.8
12
+ - 2.5.8
13
+ - 2.6.8
14
+ - 2.7.6
15
+ - 3.0.4
16
+ - 3.1.2
17
17
  steps:
18
18
  - uses: zendesk/checkout@v2
19
19
  - name: Set up Ruby
20
20
  uses: zendesk/setup-ruby@v1
21
21
  with:
22
- ruby-version: ${{ matrix.rvm }}
23
- - name: Test ${{ matrix.rvm }}
22
+ ruby-version: ${{ matrix.ruby-version }}
23
+ - name: Test ${{ matrix.ruby-version }}
24
24
  run: |
25
25
  bundle install
26
26
  bundle exec rspec spec
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ 0.5.0
2
+ * Added support for Ruby 3
3
+
1
4
  0.4.1
2
5
  * Added `strip_4byte_chars` option to String V2 sanitizer
3
6
 
@@ -1,4 +1,5 @@
1
1
  require 'active_support/core_ext/object/blank'
2
+ require 'uri'
2
3
 
3
4
  module InputSanitizer::V2::Types
4
5
  class IntegerCheck
@@ -1,3 +1,3 @@
1
1
  module InputSanitizer
2
- VERSION = "0.4.1"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: input_sanitizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zendesk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-17 00:00:00.000000000 Z
11
+ date: 2022-09-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: method_struct