evt-schema 2.2.4.1 → 2.2.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 95b086cc2b68aef2c30bb2da3186ba2cf32fc6279da1b43d9019a0977cb0b125
4
- data.tar.gz: 2028e2c62a071b04c224fcec067538d8c94868320c1008f77e1e943aebdee296
3
+ metadata.gz: 2d58d59e9ba7a13ceb827d3c92a6b33bcff78220070a2dd98b0ffacfd478d829
4
+ data.tar.gz: f3eb48a36b7443db1c40aac6fc712145b7da32550a0a7bbd747a8cf57bc1189b
5
5
  SHA512:
6
- metadata.gz: 56776462be00c28a361af54721928e5c13e3034fe3beafbf3de6ad1081a8386ec0c97660660ed7703cc0303567672c2ccd35ba63eca082d6734128547a80340e
7
- data.tar.gz: f38d2da4f8289f68ebef3ed3852e94dd8b2acf7b7cc4639dec18f084ed878d2cdac6a129af8fe04a49411d6e6ac66ffdf0a1326cae40b5bc94648bb6cae23a90
6
+ metadata.gz: 61a1bba3069dd5993b66e2e457446e2fa888941a31fc58d92724f2d20b689b73fff3d79f4a42327ee506d216a327448f7643e199cd53778ac3841963fc96fec6
7
+ data.tar.gz: d4580b381a7d00591ec57fef475305e5dbe798f5667788043147b37b23d4876c8f2a43587b204cd7f5d5b8f8894f3cfbcc4316a15f4b28f2172906c89df838b9
@@ -114,6 +114,10 @@ module Schema
114
114
  end
115
115
 
116
116
  module DefaultValue
117
+ def self.example
118
+ Example.new
119
+ end
120
+
117
121
  class Example
118
122
  include ::Schema
119
123
  attribute :some_attribute, default: 'some default value'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4.1
4
+ version: 2.2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project