standard_procedure_global_id_serialiser 0.1.0 → 0.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 926a4620a2c0a65850e0336d7c1d4b091dca7d34875d50ec430a727400fbbfe0
4
- data.tar.gz: 63d7bf39b362993fc8b8ea3a8a2cc41a00bf91a88d52bad685e313ac8b828714
3
+ metadata.gz: 9eff9d8c190f3ca46f9cb3fefe13872986a83cce360f8997e3d915cb37950cf5
4
+ data.tar.gz: '0943652b089c5c1a4258f4f58eda5ff1c3aaf13cee3fd1d9e0d6337f3f72a14a'
5
5
  SHA512:
6
- metadata.gz: d08224788e5e0926ca86bc36f3f53c511ca6dbf8669b1186f2c82b5ef9da8fbbcf8f6817c06cf0925c941d0c4759a97d56094b2de32cb117a8daaf1fe08845cb
7
- data.tar.gz: fad31f1aa1a1ce5eb2c559d15f64a6569ff00183b285ec604d11c4966f79b43f67adef22c613fbe1830ea2c2df7ec4fc7f3dfaa903aec412000e0362f0312268
6
+ metadata.gz: aa440b80823fa8029a5052763b36e3d8b13ba5f73c428d5e480f6d95534d8fc2d6d4dd9e53709380baab989463556d0c02c1473c3abf0cf4325576de62e9cee9
7
+ data.tar.gz: 7ea366f74494b5afcd80c29a8ebd3633090d0fbc70414b2a4e571063b9286b936e9f657ba82bc53087fa3b3db41a16aa2ef452754ea6cf27250d2ac52d46ea9a
@@ -0,0 +1 @@
1
+ 7bfecfd5566860821971ce9eefc37d3e5524333991d7ba1346b91d893e7b5c08ededda00c144beea7700b1ac1ff55f1a00f0b821032c6bdadaa5bcde900c7f7f
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class GlobalIdSerialiser
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
@@ -36,7 +36,7 @@ class GlobalIdSerialiser
36
36
 
37
37
  private_class_method def self.unpack_array(arguments) = arguments.map { |a| unpack a }
38
38
 
39
- private_class_method def self.unpack_hash(arguments) = arguments.to_h { |key, value| [key, unpack(value)] }
39
+ private_class_method def self.unpack_hash(arguments) = arguments.to_h { |key, value| [key.to_sym, unpack(value)] }
40
40
 
41
41
  private_class_method def self.unpack_string(argument) = argument.start_with?("gid://") ? unpack_global_id(argument) : argument
42
42
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard_procedure_global_id_serialiser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rahoul Baruah
@@ -51,6 +51,7 @@ files:
51
51
  - README.md
52
52
  - Rakefile
53
53
  - checksums/standard_procedure_global_id_serialiser-0.1.0.gem.sha512
54
+ - checksums/standard_procedure_global_id_serialiser-0.1.1.gem.sha512
54
55
  - lib/global_id_serialiser.rb
55
56
  - lib/global_id_serialiser/version.rb
56
57
  - lib/standard_procedure_global_id_serialiser.rb