virtus-2.0.0

https://rubygems.org

virtus

quick gemspec

.gem

.gem metadata (gemspec)

.gemspec

id: 236237

number: 2.0.0

platform: ruby

spec_sha256: 2b0bff275b505417cff3e9462ab7a87ceef62658d540df2313b8159f73a22acc

sha256: 8841dae4eb7fcc097320ba5ea516bf1839e5d056c61ee27138aa4bddd6e3d1c2

created_at: 2024-05-13 08:17:05 UTC

updated_at: 2024-06-07 03:49:20 UTC

position: 0

version_data_entries_count: 118

uploaded_at: 2021-06-07 13:34:28 UTC

indexed: true

has_extensions:

extensions:

Gem size: 49 KB

Version Data Entries

Total: 118

Unpacked size: 203 KB

Full NameModeUIDGIDMtimeLinknameSizeSHA
.gitignore10064400268 Bytes5e953d54d7577ca5d61a00d90f0a9208667eb1b29c5411f035f6e19ba4521197
.pelusa.yml1006440096 Bytes5014f1dbb34736193284345b2ad1b41aac1ced2d9fd4c6e83d7922fbc3d18000
.rspec1006440023 Bytes9559a35389ec6ddc3b21f45466d185b511f5af60bd1c2efdd6f421b4cda0b7a3
.ruby-gemset100644007 Bytese80399a093f3bee9036eb2b2ddd73379bea53b74f3b94ea7421ad92a4e2845b9
.travis.yml10064400437 Bytes5b7ea0a67018b7d1c767eae986429e1f54e93d4a57bbab591665aa88c9f819ab
.yardopts1006440031 Bytes3824ceb57c40a1e46660b8c65a957294e9ecb91482377f08751f2f8ca6052f79
CONTRIBUTING.md10064400895 Bytes94d8702d5b5c0bac2776478b9c9e656f2fd394b6be065e63ca34015e3fd6d70f
Changelog.md1006440012.1 KB460287e2216addcb883a4aecb78cdd47b278f514cf5092930d0182289775c83a
Gemfile10064400180 Bytes138549c854e09f8fe1876d6a16e71ba0e68c597ac93dce053ffb4d7686e80f3a
Guardfile10064400863 Bytes7752488ec7ba6418fec45960574a4f35e43d0a5842af7956ea21fd333b736f39
LICENSE100644001.04 KB9ddfdfce3613b5cebd667364bc833406fb5900c6655efea01aee7a0dbfac8b3f
README.md1006440013.8 KB6d3b8fa7e53f46980b2f99519f404bf48660dfd771e940616c0c7cdb450cfad6
Rakefile10064400271 Bytes27aec42c5c8485363ab73dcfb221771ccfccd7ead88af246b1a0b7237a8d5c69
TODO.md10064400239 Bytesd79427a56e4e8dbf81c23a6830c5d45010f94814159fae820e2073013becbf39
lib/virtus.rb100644006.53 KB7e540688e736f2aa3b1d77abf0401cd872da8161e9a328e3df68abcd183b0eb8
lib/virtus/attribute.rb100644005.68 KB49a2cef135b166f438884b3a78318a61bb23232340ee882d170b962513856c58
lib/virtus/attribute/accessor.rb100644002.4 KB777feb905dc14d25a123c42f409ad91d9c7e02e33ea1b39a82090e1f673eb5c5
lib/virtus/attribute/boolean.rb100644001.37 KB9226b9f2b10b7397d97a811994bd42c2877fcfe50dc53bcb784ab66da8d05c75
lib/virtus/attribute/builder.rb100644004.42 KBc53f73e656fcc885dc32b57e551e4cda05986afe5c2b51a561adcc5becb599db
lib/virtus/attribute/coercer.rb10064400938 Bytes436682caf7c20b8c1529429f31c893e5b03f683b685e5bcba081d43da52236d0
lib/virtus/attribute/coercible.rb10064400369 Bytes2b7950b11f11590349c77a21e79c1e487f49d1f988e9de30a45b65aa72122e5a
lib/virtus/attribute/collection.rb100644002.65 KB3a6705998606d3e5b80771d3f3a59162085084202db4b1ebb4408a4633ecee35
lib/virtus/attribute/default_value.rb100644001.02 KBb19b4298f12ca6c9e3ab34c7566758360bdd4295eee98d0e359b99d133a7fc50
lib/virtus/attribute/default_value/from_callable.rb10064400777 Bytes236a1cdfaefcee36fdf4096feaab2343a93630d96cd6a351b2847025ce105a79
lib/virtus/attribute/default_value/from_clonable.rb10064400869 Bytesd347b613b6bbf94bec5f44dbe5b9a91e2147d6fca39c3cb04a2c3b78080dec6b
lib/virtus/attribute/default_value/from_symbol.rb10064400876 Bytes84e9772f97996f237ccc64831de143b8a66e6d0c9f41ab0a16b1428f74f108e1
lib/virtus/attribute/embedded_value.rb100644001.64 KB79af1bcdcb372830e5606f2e86567e6a8ad74d91400752540ea80494b6827a66
lib/virtus/attribute/hash.rb100644003.32 KBa4bd6e35fa405e080cc126b83fb8f5a1045d0093e4ee36329f8c33567e3cf295
lib/virtus/attribute/lazy_default.rb10064400316 Bytes03b8987503e31ecc18946ba79178de26781e02db29b18d0272a6a2fb7730fce4
lib/virtus/attribute/nullify_blank.rb10064400430 Bytes1a8f1e256117cd1116cdb9fbe2a8dcbfea2d057ba22e9d55eab11846dfde15c9
lib/virtus/attribute/strict.rb10064400509 Bytesf22a793a8f2fb4aee239b8d89866e03da5caa17792a95363f7ddcd834df517a2
lib/virtus/attribute_set.rb100644005.43 KB4ed3c2487011600a592bf1602866fceceab4feb8a37d5e9dccea76ad82fcfd46
lib/virtus/builder.rb100644002.82 KBa81511728e87309bc147b25f0494ae3129e87d675e8924a7b9c1e53f87f6c983
lib/virtus/builder/hook_context.rb100644001.09 KBa53228bf6fd1db526a682982b2fb0d3047e5b1d1674b743f173f44d01fca0f72
lib/virtus/class_inclusions.rb100644001.05 KB9e18f79649d3a477d8e29c1b3e5e678606220c6fd909dd558f6bcb3857548ab9
lib/virtus/class_methods.rb100644002.19 KBe2ee3c1214ff0bb6cc22adbd69d4243eb3c7c6e28b4db241d012233a3205e9e1
lib/virtus/coercer.rb10064400805 Bytes466ea8411951afb74528b6de71aa829ed90f404da7dabc45c58f8baec23f3b40
lib/virtus/configuration.rb100644002 KB72a4d67743cc5112720d09c390e196383b44df0741127023aa9a121d554f0e18
lib/virtus/const_missing_extensions.rb10064400392 Bytesc830f5240f8548f7c8a38f38cff3ba1c85ac86da5fa6933534dcd98b99470d05
lib/virtus/extensions.rb100644002.69 KB859c326270e1a3ba8bc646a982a027490a8bb4196cad209398079a6923ef8741
lib/virtus/instance_methods.rb100644004.73 KB9207964d9f5eece610bff5a8b0cfb44cc994b693910f40ec61ba99fab106098b
lib/virtus/model.rb100644001.42 KB2f7ed20ee3a9ed39c26596f128c226aa5bbd2d4e81633eddb38ee0a17961a982
lib/virtus/module_extensions.rb100644002.08 KB8b409533cba359646a119f203a033a8fc16b34e9a9b911a72cf8ca7655195477
lib/virtus/support/equalizer.rb100644002.83 KB68668782368baf21cc527faaf3f44df97555f6ad03105912ff479ee4f1b18385
lib/virtus/support/options.rb100644002.92 KBe2f148a6a922d4235750068d9df5c34a348489215615e350b100e0e091996258
lib/virtus/support/type_lookup.rb100644002.58 KBe9ea6568d441198bf20d991739be0165587bd2b2d64b799418afaef6b587fc2f
lib/virtus/value_object.rb100644004.02 KBd037f673441d79ab903262af45ed0a44e909fe66f1afd57bc640c7f4e1fd0afd
lib/virtus/version.rb1006440045 Bytesea89bac716278873644cede7baad41b89b34aeb013b29620b05a7a6a965e5856
spec/integration/attributes_attribute_spec.rb10064400718 Bytesf4611801b3a826b48bb4956633bfa3ed3b6872d3c1af137aacd5453f5a023663
spec/integration/building_module_spec.rb100644002.02 KBc1574e8ccd79e73626b087ec172ceb1486cde32d6252489c609719172a93e528
spec/integration/collection_member_coercion_spec.rb100644002.22 KB1c5304500eb897a6e6ee966705af4a7484c7efee16489d9ea35f48255f9e5524
spec/integration/custom_attributes_spec.rb10064400834 Bytes76dd7efd603977f303e05c08846781a30531b0033789dbca970d1bbd6b06fd95
spec/integration/custom_collection_attributes_spec.rb100644002.24 KB9e4b9301fdf0aa8aa2bcec39145d84b79586f0ac3886bec820cf310234d6e330
spec/integration/default_values_spec.rb100644002.29 KB644e0007085bd6e61ad785c4febb53c97fcf73817234d6bdd91176cddc03c849
spec/integration/defining_attributes_spec.rb100644002.34 KBd9773affa848ce1e38fa12421339b0099ec6a4dba6575af62b350eeb413bf940
spec/integration/embedded_value_spec.rb100644001.16 KBf31f4198c4e63bcfe8eedee9df422432deb4c7ffd8b0e2e50698ebc43f424066
spec/integration/extending_objects_spec.rb10064400718 Bytes39655d55544848fc3404392b917d4626294047d5317b6de98b5f3f55eb895e05
spec/integration/hash_attributes_coercion_spec.rb100644001.27 KBe0966b4fc17b5c630991375a9220ce3bf3944ec62349904b3cb44e56f56fd403
spec/integration/inheritance_spec.rb100644001.03 KB4248c884f0dfe323663cbf606ded1298613e06c76e0c893666c934a300e70ecc
spec/integration/injectible_coercers_spec.rb100644001.08 KBec4d9df42b024953239b1e7bd67a923ec0f320465d7bc7cbda080b1691fe5827
spec/integration/mass_assignment_with_accessors_spec.rb100644001.01 KBd9e2f0be9fa4d6120ff1d7d91920baa543775654a0240c5e1c22fce63cc9f812
spec/integration/overriding_virtus_spec.rb100644001.19 KB3ddfbb1c47c9d7cabfe36c08578eb1c547c09ab8ca661bd978d605a6172b5965
spec/integration/required_attributes_spec.rb10064400698 Bytes06778b0cb30764bca567a8b868c48c8153af77dda788b5ccb449449e7eaa747e
spec/integration/struct_as_embedded_value_spec.rb10064400639 Bytesc42c2563def6fd6cad2cf25522932ace9de4816bb88c0e5f70eee2befd57794b
spec/integration/using_modules_spec.rb100644001.34 KBfb3645320be31d11681b05cec565c2cc4fe4ff922ba3c3e55dc656c40c7a1aae
spec/integration/value_object_with_custom_constructor_spec.rb10064400955 Bytesd8143840379d676d18ccb5b0465082f9bbd83653a52a55c30aef4345c3d4fa38
spec/integration/virtus/instance_level_attributes_spec.rb10064400506 Bytes2c1e41979f28036c33e0ef05e50f33f341498e5dfe8d39d1dd0b954d00ac9c5e
spec/integration/virtus/value_object_spec.rb100644003.05 KB77896da0f13af5392bb04be7890ecac3cf7a714a5b4c6baecadf57a7a38011ef
spec/shared/constants_helpers.rb10064400182 Bytes46a7792f83490e8c9338369dd3cc8a16b1fa362106361e8536d9e614f9c66c52
spec/shared/freeze_method_behavior.rb10064400978 Bytese207af09c88cf2f2e0efb6087ee05dac58dcbc1e89cb86276c027fecdf3b7d15
spec/shared/idempotent_method_behaviour.rb10064400114 Bytes5b2ec25c67b28177e23ecc756363c96d3ccd626419d56904134209636e47bd3d
spec/shared/options_class_method.rb10064400476 Bytes82e7b964f062ac817862ad2ed2c2b4ab9e4c03104695ccd96ecd60540fb911ef
spec/spec_helper.rb100644001004 Bytese1dd92d8feca7649e5939dd33e8a93373e1cd9383b7825562c0c7697136cf327
spec/unit/virtus/attribute/boolean/coerce_spec.rb10064400952 Bytesc47f33f5b25a6af5b340b11765ac74f5c849214db7ee6f66f6a1d456b75fd5b9
spec/unit/virtus/attribute/boolean/value_coerced_predicate_spec.rb10064400494 Bytes0265e80c58968b766ec40d092179df7fdea26de6375aa38dd182a395d141a964
spec/unit/virtus/attribute/class_methods/build_spec.rb100644004.42 KB2f8fd2b763d917d68f8489b996015ecc275f560be4a4014f4f0584c7cb2c8175
spec/unit/virtus/attribute/class_methods/coerce_spec.rb10064400628 Bytes19988a48e48fa87bbc2b2653feae3d5e488105aa9211db6c17148ed35582c0b6
spec/unit/virtus/attribute/coerce_spec.rb100644003.55 KB7a634cbcb1cab2553dcbfe588d73e8bbac8c5c4784d90ba4726aaf7655b15469
spec/unit/virtus/attribute/coercible_predicate_spec.rb10064400435 Bytes42f912ba28dd1d198b029c2e3c39feb7ce5a0f4e9b81e6037242e5bb1c379ea6
spec/unit/virtus/attribute/collection/class_methods/build_spec.rb100644002.58 KBc1d7db3dfedd5296f1d66bdc528ab1ba25bc04901dd2d7c6a3351a2059720a5a
spec/unit/virtus/attribute/collection/coerce_spec.rb100644002.22 KB84b76c18ca10ef873778d25f487de3b17342b5cf0037bd08aa7e599906be343d
spec/unit/virtus/attribute/collection/value_coerced_predicate_spec.rb10064400696 Bytesd82deae7cb1907848159a5a10dec2f92e96b3a2691b5d360ce06008c26375beb
spec/unit/virtus/attribute/comparison_spec.rb10064400771 Bytes50b7577968f3f5e1e6f576d9964efa0167a9d5e68d87e50520d718c0ad818c0c
spec/unit/virtus/attribute/custom_collection_spec.rb10064400777 Bytes6006d85ce87c0dde659d2d526489d545258ebef12ba7cc9327795242f3e3b43e
spec/unit/virtus/attribute/defined_spec.rb10064400527 Bytes02e6402bfd991bfd1ae11ad7bc61fedb7b7ac7bc06a08673dc64d7f84f470b73
spec/unit/virtus/attribute/embedded_value/class_methods/build_spec.rb100644001.83 KB154423e39197547294a8ce46b2b069a12ed3dc1413fe31f681bacc65cb87cb41
spec/unit/virtus/attribute/embedded_value/coerce_spec.rb100644002.01 KB9bdf1c4c5c34aed6b435f847d5543629c6c640bc528b9b33cadc44673e82caba
spec/unit/virtus/attribute/get_spec.rb10064400792 Bytes8343f8595863a2ebde56b6d557b84812679c7512242397e0f4abbb02d18c638f
spec/unit/virtus/attribute/hash/class_methods/build_spec.rb100644002.82 KB5067effec58bf779b7c5aa0bed489033a09a2cc98b2ac8fb5ecfabd7c0187562
spec/unit/virtus/attribute/hash/coerce_spec.rb100644002.86 KB642b0288ba0799698d51154e6d7a0d92ee8b73b626e500a03bc26adf01a7305c
spec/unit/virtus/attribute/lazy_predicate_spec.rb10064400413 Bytes60e9c4e4d85c872c404053a234641337d2750d1cec05d06f9fc703111a6aa8c8
spec/unit/virtus/attribute/rename_spec.rb10064400432 Bytes0dda63148b028c181634ea45d18c9ad516f4d4bafe0955037ef5a4ffb2b2e2ce
spec/unit/virtus/attribute/required_predicate_spec.rb10064400408 Bytes6606a6f10d48f864d56630c12f49b2cf9ae76a887bd1e6865e7873309ba6de70
spec/unit/virtus/attribute/set_default_value_spec.rb100644002.57 KB7183e45eb15eb74addc5befe562f6f65e58f2b1669be9bc5cc1eda21ac7f0655
spec/unit/virtus/attribute/set_spec.rb10064400675 Bytes1b03a66242031ddf63164caf820b1fd0560092f70bb6a6abb0ea32916c968217
spec/unit/virtus/attribute/value_coerced_predicate_spec.rb10064400382 Byteseaefb7592743208015fe64b90c058dc2563a4a82b96891e6f27e6c215e5b7b08
spec/unit/virtus/attribute_set/append_spec.rb100644001.41 KB62c244ad01c59a565e9bfb9ef6df52d4f0444aafa556f774409a1a80f3f0ba40
spec/unit/virtus/attribute_set/define_reader_method_spec.rb10064400945 Bytes001ffaed9077fc4472e9cf2f358848a8a296a9404d425a49b6b755a1e0978320
spec/unit/virtus/attribute_set/define_writer_method_spec.rb10064400946 Bytesad91d6c85fb7c7d62e35adc8df2e1fb4043917710d23b6e6b3bf0dc2ad09ab1f
spec/unit/virtus/attribute_set/each_spec.rb100644001.96 KBb662d999f2d199b73359fb7600f75f13bb940de5c6bd7f7be6e38b558d36cb87
spec/unit/virtus/attribute_set/element_reference_spec.rb10064400606 Bytes6f02f563bab8c89b8a4075ac0678f6591f9dc0385b3f7c8784c23d9e1a649dfc
spec/unit/virtus/attribute_set/element_set_spec.rb100644002.09 KB093fa876f11782f5a307c55d4bd5f051d89a25f3961564dbb7c90a19f26071f3
spec/unit/virtus/attribute_set/merge_spec.rb10064400996 Bytes6a5f05f1330d7dedcbfa36629c7a46c7845fe92ea421f780da7e55e415b32b0a
spec/unit/virtus/attribute_set/reset_spec.rb100644002.11 KB901561104750d0157c6034bfdf3c2e23f185edb8c667869f5af7556302005604
spec/unit/virtus/attribute_spec.rb100644005.22 KB3bd38a4cf9c6e3062d6e06855d6704fa519f0ac21d10acdc86ba8c2575ba5b2f
spec/unit/virtus/attributes_reader_spec.rb10064400867 Bytes3d510e583105fd8032958066ce41d8d8e31ed6d10459b60c40626487865b4cbc
spec/unit/virtus/attributes_writer_spec.rb100644001.08 KB2d43b7c137704dd460d30fc8a8036f5ed31db4e80aa97420bbedb75330cd12e3
spec/unit/virtus/class_methods/finalize_spec.rb100644001.97 KB885009a519e567d357656e9e6a90160a2b290df8e127d89f8d90478498c2ff0f
spec/unit/virtus/class_methods/new_spec.rb100644001012 Bytes64297d4dedd1ae73f3eadc8025eb28ff4005c52780715a0cc972de80e2dadf97
spec/unit/virtus/config_spec.rb10064400288 Bytesc11bc1728e450a2dec18f1efe04af4d9e15284c266d7c73221cb2876996afcf9
spec/unit/virtus/element_reader_spec.rb10064400284 Bytes141bed36296bf6f6aa4b354004d27ab1d0e274a12b7e98680baf20bc94a8f362
spec/unit/virtus/element_writer_spec.rb10064400304 Bytes899da72e5f1de6e6b5888937e96b429b0f07fd0a6ec08d574faa92610b86ec0b
spec/unit/virtus/freeze_spec.rb10064400883 Bytes473d47b3673762baaaa024c30a7d10bd4665cdb932fb6600b4c4c1fce0e3c55e
spec/unit/virtus/model_spec.rb100644004.68 KB05d939bdcde0f20f75f693bf55cbc20b50e8ff0b8921db3352f6b628de4e77f4
spec/unit/virtus/module_spec.rb100644004.91 KBf63f0f97f0e1adea24c1940d25e5ef1c6ffa75ed3a8b36d0ba25ec204940401e
spec/unit/virtus/set_default_attributes_spec.rb10064400600 Bytesa17371140d794ead6c002f7855892ba4da30d8c7470988880fb1f1ee87d39a48
spec/unit/virtus/value_object_spec.rb100644003.36 KBcb16c8b719f1cfa850b479bdf4596f34b66cee216da5e2841e0b713e24652089
virtus.gemspec10064400916 Bytesd357d3a28eba53d1009677d176b70ceabe2242bf819bab7deae059908963e452