jsi 0.3.0 → 0.4.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.
@@ -76,7 +76,7 @@ class SortOfHash
76
76
  def to_hash
77
77
  @hash
78
78
  end
79
- include JSI::FingerprintHash
79
+ include JSI::Util::FingerprintHash
80
80
  def jsi_fingerprint
81
81
  {class: self.class, hash: @hash}
82
82
  end
@@ -90,7 +90,7 @@ class SortOfArray
90
90
  def to_ary
91
91
  @ary
92
92
  end
93
- include JSI::FingerprintHash
93
+ include JSI::Util::FingerprintHash
94
94
  def jsi_fingerprint
95
95
  {class: self.class, ary: @ary}
96
96
  end
@@ -21,7 +21,7 @@ describe JSI::Util do
21
21
  err = assert_raises(ArgumentError) { JSI.stringify_symbol_keys(nil) }
22
22
  assert_equal("expected argument to be a hash; got NilClass: nil", err.message)
23
23
  err = assert_raises(ArgumentError) { JSI.stringify_symbol_keys(JSI::JSON::Node.new_doc(3)) }
24
- assert_equal("expected argument to be a hash; got JSI::JSON::Node: #<JSI::JSON::Node fragment=\"#\" 3>", err.message)
24
+ assert_equal("expected argument to be a hash; got JSI::JSON::Node: #<JSI::JSON::Node # 3>", err.message)
25
25
  err = assert_raises(ArgumentError) { JSI.stringify_symbol_keys(JSI::Schema.new({}).new_jsi(3)) }
26
26
  assert_equal("expected argument to be a hash; got (JSI Schema Class: #): #<JSI 3>", err.message)
27
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ethan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-19 00:00:00.000000000 Z
11
+ date: 2020-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-schema