ostruct-sanitizer 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21d9b00bfcb23a7e0c361f8299a563506598de0ee343200b20b30c05a4a70c32
4
- data.tar.gz: 1a154510321649d9f97e77c64919c095fe18b8d512b35e82e57321e6e714c7c6
3
+ metadata.gz: ec72d23523602ba268e7d80512e70dbf9b0009832ae82183ec543318113bad65
4
+ data.tar.gz: '049578c417a53dc08f904c186f5fd394692a9717f2e78441df7f65ef7192c763'
5
5
  SHA512:
6
- metadata.gz: 9b4fe46013b220f8242de2277a25fff91334246a38116f2723e96dc3f686139a2758167637a7408f7fd5a88ef8d5662b1cabc0e2aaee42c2d08edfb720845e79
7
- data.tar.gz: 1e498bfb88218ee6400517b79cff65ae162ad71309e328e7238e224b2f941d36d98f3fd0158f9a7a581a42e8d1f3edd3df33e33622f686a74992a3b4a4444d7f
6
+ metadata.gz: 42000f20cab9e7cf22da5138392f6c9228ed5482ecb836f99ff27053ad885ca267660d9b240fac18d93900641976ef3f33578df326c2f5eeb2169ab2cb0e0de1
7
+ data.tar.gz: 834702166f3e337f6c34b0c975649c4cf2b5e35e4645649f0ed254f1393a423b122db10eb7131f9a10cd6ba22a46bd084a9305594bd1303f4a053f1dceaafc2b
@@ -10,6 +10,8 @@ jobs:
10
10
  fail-fast: false
11
11
  matrix:
12
12
  ruby:
13
+ - "2.5"
14
+ - "2.6"
13
15
  - "2.7"
14
16
  steps:
15
17
  - uses: actions/checkout@v2
@@ -1,5 +1,5 @@
1
1
  module OStruct
2
2
  module Sanitizer
3
- VERSION = "0.6.0"
3
+ VERSION = "0.6.1"
4
4
  end
5
5
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.required_ruby_version = '>= 2.7'
24
+ spec.required_ruby_version = '>= 2.5'
25
25
 
26
26
  spec.add_development_dependency "bundler", "~> 2.2.11"
27
27
  spec.add_development_dependency "rake", "~> 10.0"
data/test_all.sh ADDED
@@ -0,0 +1,16 @@
1
+ #!/usr/bin/env bash
2
+
3
+ set -e
4
+
5
+ rubies=("ruby-2.5.9" "ruby-2.6.8" "ruby-2.7.4")
6
+ for i in "${rubies[@]}"
7
+ do
8
+ echo "====================================================="
9
+ echo "$i: Start Test"
10
+ echo "====================================================="
11
+ rvm $i exec bundle
12
+ rvm $i exec bundle exec rake
13
+ echo "====================================================="
14
+ echo "$i: End Test"
15
+ echo "====================================================="
16
+ done
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ostruct-sanitizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Borges
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-08-18 00:00:00.000000000 Z
11
+ date: 2021-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -88,6 +88,7 @@ files:
88
88
  - lib/ostruct/sanitizer.rb
89
89
  - lib/ostruct/sanitizer/version.rb
90
90
  - ostruct-sanitizer.gemspec
91
+ - test_all.sh
91
92
  homepage: https://github.com/powerhome/ostruct-sanitizer
92
93
  licenses:
93
94
  - MIT
@@ -100,14 +101,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
101
  requirements:
101
102
  - - ">="
102
103
  - !ruby/object:Gem::Version
103
- version: '2.7'
104
+ version: '2.5'
104
105
  required_rubygems_version: !ruby/object:Gem::Requirement
105
106
  requirements:
106
107
  - - ">="
107
108
  - !ruby/object:Gem::Version
108
109
  version: '0'
109
110
  requirements: []
110
- rubygems_version: 3.1.6
111
+ rubygems_version: 3.0.3
111
112
  signing_key:
112
113
  specification_version: 4
113
114
  summary: Provides Rails-like sanitization rules for OpenStruct fields.