json-canonicalization 0.2.1 → 0.3.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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -6
  3. data/VERSION +1 -1
  4. data/spec/spec_helper.rb +9 -2
  5. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74053bcdd29c8b37b6ccf7927b51d84b709811680c13d86024d2197717f434e5
4
- data.tar.gz: b7d28a594afb192f957e67eb68a523d5f3566c3731f818d656ea4ac916171a25
3
+ metadata.gz: 32dd1e70c30f500a37924e9f9d5aa3504b6216dd538932d29433eda89d7bba47
4
+ data.tar.gz: 61edf1fdea0e9f6cab3a1d31f6a8456c0b9aeb952a2237736d3b112c6f4cf4c3
5
5
  SHA512:
6
- metadata.gz: 987dc4159f279aaa8c645c487f4ff0212d8366711ae06e34baafd706718d33cc4d1c36a8923f67c6a76bb8bb6611346eb2ad8c266fdb51c290b05619f4ac3868
7
- data.tar.gz: cdccc503a88f77e9f46e62406a33feb7c07e1eeeec9bbe495e171da28815d12edd652e98cdd277b1ec8166db453cd0face221f93d4e34ce12499c988f64edeb4
6
+ metadata.gz: 5784359f766c10bd2067d77f2ff2f20e8cde8e33a1176c508364fce09af2c61fddc48d97152700f04bf0469d3aac6ce530fc6729a5ae9ec04a4402868a052b96
7
+ data.tar.gz: 0d91294d4df5f3531107e133682b48fe16911f7a6c2fad27ba74f8adc1bda811080b5f1724fcaed02e7714849bad8a80c8df5aeb83cc940ce1ed557df9efb122
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # json-canonicalization
2
2
  An implementation of the JSON Canonicalization Scheme for Ruby
3
3
 
4
- Implements version 5 of [draft-rundgren-json-canonicalization-scheme-05](https://tools.ietf.org/html/draft-rundgren-json-canonicalization-scheme-05#page-5).
4
+ Implements [RFC8785](https://datatracker.ietf.org/doc/html/rfc8785) (JSON Canonicalization Scheme) in Ruby.
5
5
 
6
6
  [![Gem Version](https://badge.fury.io/rb/json-canonicalization.png)](http://badge.fury.io/rb/json-canonicalization)
7
7
  [![Build Status](https://github.com/dryruby/json-canonicalization/workflows/CI/badge.svg?branch=develop)](https://github.com/dryruby/json-canonicalization/actions?query=workflow%3ACI)
@@ -19,8 +19,7 @@ primitives as defined by ECMAScript [[ES6](https://www.ecma-international.org/ec
19
19
  constraining JSON data to the<br>I-JSON [[RFC7493](https://tools.ietf.org/html//rfc7493)] subset,
20
20
  and through a platform independent property sorting scheme.
21
21
 
22
- Working document: https://cyberphone.github.io/ietf-json-canon<br>
23
- Published IETF Draft: https://tools.ietf.org/html/draft-rundgren-json-canonicalization-scheme-16
22
+ RFC: https://datatracker.ietf.org/doc/html/rfc8785
24
23
 
25
24
  The JSON Canonicalization Scheme concept in a nutshell:
26
25
  - Serialization of primitive JSON data types using methods compatible with ECMAScript's `JSON.stringify()`
@@ -67,8 +66,8 @@ Full documentation available on [RubyDoc](http://rubydoc.info/gems/json-canonica
67
66
  * {JSON::Canonicalization}
68
67
 
69
68
  ## Dependencies
70
- * [Ruby](http://ruby-lang.org/) (>= 2.4)
71
- * [JSON](https://rubygems.org/gems/json) (>= 2.3)
69
+ * [Ruby](http://ruby-lang.org/) (>= 2.6)
70
+ * [JSON](https://rubygems.org/gems/json) (>= 2.6)
72
71
 
73
72
  ## Author
74
73
  * [Gregg Kellogg](http://github.com/gkellogg) - <http://kellogg-assoc.com/>
@@ -90,7 +89,7 @@ Full documentation available on [RubyDoc](http://rubydoc.info/gems/json-canonica
90
89
  ## License
91
90
 
92
91
  This is free and unencumbered public domain software. For more information,
93
- see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
92
+ see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
94
93
 
95
94
  [YARD]: https://yardoc.org/
96
95
  [YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.3.0
data/spec/spec_helper.rb CHANGED
@@ -5,10 +5,17 @@ require 'rspec'
5
5
 
6
6
  begin
7
7
  require 'simplecov'
8
- require 'coveralls' unless ENV['NOCOVERALLS']
8
+ require 'simplecov-lcov'
9
+
10
+ SimpleCov::Formatter::LcovFormatter.config do |config|
11
+ #Coveralls is coverage by default/lcov. Send info results
12
+ config.report_with_single_file = true
13
+ config.single_report_path = 'coverage/lcov.info'
14
+ end
15
+
9
16
  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
10
17
  SimpleCov::Formatter::HTMLFormatter,
11
- (Coveralls::SimpleCov::Formatter unless ENV['NOCOVERALLS'])
18
+ SimpleCov::Formatter::LcovFormatter
12
19
  ])
13
20
  SimpleCov.start do
14
21
  add_filter "/spec/"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json-canonicalization
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg Kellogg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-13 00:00:00.000000000 Z
11
+ date: 2021-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -77,14 +77,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
77
77
  requirements:
78
78
  - - ">="
79
79
  - !ruby/object:Gem::Version
80
- version: '2.4'
80
+ version: '2.6'
81
81
  required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  requirements:
83
83
  - - ">="
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
- rubygems_version: 3.2.3
87
+ rubygems_version: 3.2.22
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: JSON Canonicalization for Ruby.