json_schemer 0.2.13 → 0.2.14

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: e21ec6fd7dcbc28003dfab561b6bf370703ff602abc3b31fa579f5898e5934c6
4
- data.tar.gz: 89ca6ea9b2400fcaafc3eae438077af0cc881f19bd40646c8bc74c3772bcae89
3
+ metadata.gz: 7cecb91727873d8e1a7ff2351c3405bbe888d609830f2223eb1e4d33073c0831
4
+ data.tar.gz: a363562768cac825d339c9cb188d49f60ff0dc325f4e21cc84ee5384d2b1244a
5
5
  SHA512:
6
- metadata.gz: b12e2e504bd9222f9f86a5f54d7e2c9a0cc9d323d49d9d3b3f11161fdfefb86ce1080c62bf07b0de462d28bced42276bb6faaa3943c2ce1faee1d3f61e8f3c1f
7
- data.tar.gz: f3157b1e89c4eb89cc9727cd93087b518d78ae05fc46c0fe8f6ddc81815dee55d6fa576b5b46bd112479466d134ec0b24a2f75f58e6f80073435600ce796edd9
6
+ metadata.gz: 6d0a060a13b5c2596d7c60f6c701f46d5cdb9c9e545737e76486f5228945544b2c6b5e01a47f826c9c508993df801e1314ee330c8a3cf6d7f701f7f6b2c526d6
7
+ data.tar.gz: d49827287d183c83ade04e2fc817687445c1754d60a101cec79e97c26780b513994c47ca097bcfb4b05daf2b82c706200200272e45f3f30b66f06cb19e73e00e
@@ -4,14 +4,13 @@ jobs:
4
4
  ruby:
5
5
  strategy:
6
6
  matrix:
7
- ruby: [2.5.x, 2.6.x, 2.7.x]
7
+ ruby: [2.4, 2.5, 2.6, 2.7, truffleruby-head]
8
8
  runs-on: ubuntu-latest
9
9
  steps:
10
- - uses: actions/checkout@v1
11
- - uses: actions/setup-ruby@v1
10
+ - uses: actions/checkout@v2
11
+ - uses: ruby/setup-ruby@v1
12
12
  with:
13
13
  ruby-version: ${{ matrix.ruby }}
14
14
  - run: |
15
- gem install bundler
16
15
  bundle install
17
16
  bundle exec rake test
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- json_schemer (0.2.13)
4
+ json_schemer (0.2.14)
5
5
  ecma-re-validator (~> 0.2)
6
6
  hana (~> 1.3)
7
7
  regexp_parser (~> 1.5)
@@ -15,7 +15,7 @@ GEM
15
15
  hana (1.3.6)
16
16
  minitest (5.11.3)
17
17
  rake (13.0.1)
18
- regexp_parser (1.7.1)
18
+ regexp_parser (1.8.1)
19
19
  uri_template (0.7.0)
20
20
 
21
21
  PLATFORMS
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
22
 
23
- spec.required_ruby_version = '~> 2.5'
23
+ spec.required_ruby_version = '~> 2.4'
24
24
 
25
25
  spec.add_development_dependency "bundler", "~> 2.0"
26
26
  spec.add_development_dependency "rake", "~> 13.0"
@@ -568,12 +568,10 @@ module JSONSchemer
568
568
  end
569
569
 
570
570
  def safe_strict_decode64(data)
571
- begin
572
- Base64.strict_decode64(data)
573
- rescue ArgumentError => e
574
- raise e unless e.message == 'invalid base64'
575
- nil
576
- end
571
+ Base64.strict_decode64(data)
572
+ rescue ArgumentError => e
573
+ raise e unless e.message == 'invalid base64'
574
+ nil
577
575
  end
578
576
 
579
577
  def ecma_262_regex(pattern)
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module JSONSchemer
3
- VERSION = '0.2.13'
3
+ VERSION = '0.2.14'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json_schemer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.13
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Harsha
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-08 00:00:00.000000000 Z
11
+ date: 2020-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -146,7 +146,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
146
146
  requirements:
147
147
  - - "~>"
148
148
  - !ruby/object:Gem::Version
149
- version: '2.5'
149
+ version: '2.4'
150
150
  required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  requirements:
152
152
  - - ">="