universalid 0.0.1 → 0.1.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 +929 -188
- data/Rakefile +1 -5
- data/config/default.yml +12 -0
- data/config/example.yml +45 -0
- data/contrib/active_record/base_message_pack_type.rb +11 -0
- data/contrib/active_record/base_packer.rb +130 -0
- data/contrib/active_record/base_unpacker.rb +52 -0
- data/contrib/active_record/relation_message_pack_type.rb +16 -0
- data/contrib/active_record.rb +8 -0
- data/contrib/active_support/time_with_zone_message_pack_type.rb +14 -0
- data/contrib/active_support.rb +7 -0
- data/contrib/global_id/global_id_model.rb +24 -0
- data/contrib/global_id/global_id_uid_extension.rb +36 -0
- data/contrib/global_id/message_pack_type.rb +15 -0
- data/contrib/global_id.rb +7 -0
- data/contrib/signed_global_id/message_pack_type.rb +8 -0
- data/contrib/signed_global_id.rb +7 -0
- data/contrib/tags +75 -0
- data/lib/universal_id/contrib.rb +14 -0
- data/lib/universal_id/encoder.rb +27 -0
- data/lib/universal_id/message_pack_factory.rb +37 -0
- data/lib/universal_id/message_pack_types/ruby/composites/open_struct.rb +8 -0
- data/lib/universal_id/message_pack_types/ruby/composites/set.rb +9 -0
- data/lib/universal_id/message_pack_types/ruby/composites/struct.rb +23 -0
- data/lib/universal_id/message_pack_types/ruby/scalars/complex.rb +8 -0
- data/lib/universal_id/message_pack_types/ruby/scalars/date.rb +8 -0
- data/lib/universal_id/message_pack_types/ruby/scalars/date_time.rb +8 -0
- data/lib/universal_id/message_pack_types/ruby/scalars/range.rb +20 -0
- data/lib/universal_id/message_pack_types/ruby/scalars/rational.rb +8 -0
- data/lib/universal_id/message_pack_types/ruby/scalars/regexp.rb +15 -0
- data/lib/universal_id/message_pack_types/uri/uid/type.rb +8 -0
- data/lib/universal_id/message_pack_types.rb +26 -0
- data/lib/universal_id/prepack_database_options.rb +63 -0
- data/lib/universal_id/prepack_options.rb +74 -0
- data/lib/universal_id/prepacker.rb +28 -0
- data/lib/universal_id/refinements/array_refinement.rb +17 -0
- data/lib/universal_id/refinements/hash_refinement.rb +19 -0
- data/lib/universal_id/refinements/kernel_refinement.rb +19 -0
- data/lib/universal_id/refinements/open_struct_refinement.rb +12 -0
- data/lib/universal_id/refinements/set_refinement.rb +12 -0
- data/lib/universal_id/refinements.rb +9 -0
- data/lib/universal_id/settings.rb +82 -0
- data/lib/universal_id/version.rb +1 -1
- data/lib/universal_id.rb +23 -10
- data/lib/uri/uid.rb +95 -0
- metadata +106 -28
- data/lib/universal_id/active_model_serializer.rb +0 -53
- data/lib/universal_id/config.rb +0 -18
- data/lib/universal_id/errors.rb +0 -11
- data/lib/universal_id/portable.rb +0 -24
- data/lib/universal_id/portable_hash.rb +0 -85
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea53203a7628a0d38447dabfa1fd8a4511fd07b4a02764245c28ef3e5c8550f0
|
4
|
+
data.tar.gz: 3b72055e784386686c81302d348ad25875694e5943f9b812c19f56e09344883f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4203c29b99f7beb2cf31db1f3ca982ecd9295e25cf21ea55425dd23102eb579077513213bb44054ec628714ec17c24b13944a581f583c8e9086ce160e91fcd3b
|
7
|
+
data.tar.gz: e666af53d6431f8dc5399ad92831a9bf2d6db9cd352fd231e510328897a64fe3aa864610a7a35d438099bd9daf80ed15610e78eacb1fd8c03a2977ce8fc075bc
|