json-canonicalization 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -6
- data/VERSION +1 -1
- data/spec/spec_helper.rb +9 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32dd1e70c30f500a37924e9f9d5aa3504b6216dd538932d29433eda89d7bba47
|
4
|
+
data.tar.gz: 61edf1fdea0e9f6cab3a1d31f6a8456c0b9aeb952a2237736d3b112c6f4cf4c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
-
|
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.
|
71
|
-
* [JSON](https://rubygems.org/gems/json) (>= 2.
|
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 <
|
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.
|
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 '
|
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
|
-
|
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.
|
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-
|
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.
|
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.
|
87
|
+
rubygems_version: 3.2.22
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: JSON Canonicalization for Ruby.
|