motion_virtus 1.0.0.beta0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/README.md +445 -0
- data/lib/motion_virtus.rb +13 -0
- data/lib/project/attribute/accessor/builder.rb +69 -0
- data/lib/project/attribute/accessor/lazy_accessor.rb +39 -0
- data/lib/project/attribute/accessor.rb +100 -0
- data/lib/project/attribute/accessor_method.rb +73 -0
- data/lib/project/attribute/array.rb +24 -0
- data/lib/project/attribute/boolean.rb +52 -0
- data/lib/project/attribute/class.rb +23 -0
- data/lib/project/attribute/coercer.rb +43 -0
- data/lib/project/attribute/collection/coercible_writer.rb +83 -0
- data/lib/project/attribute/collection.rb +56 -0
- data/lib/project/attribute/date.rb +36 -0
- data/lib/project/attribute/date_time.rb +38 -0
- data/lib/project/attribute/decimal.rb +23 -0
- data/lib/project/attribute/default_value/from_callable.rb +37 -0
- data/lib/project/attribute/default_value/from_clonable.rb +37 -0
- data/lib/project/attribute/default_value/from_symbol.rb +37 -0
- data/lib/project/attribute/default_value.rb +49 -0
- data/lib/project/attribute/embedded_value/open_struct_coercer.rb +43 -0
- data/lib/project/attribute/embedded_value/struct_coercer.rb +42 -0
- data/lib/project/attribute/embedded_value.rb +69 -0
- data/lib/project/attribute/float.rb +30 -0
- data/lib/project/attribute/hash/coercible_writer.rb +78 -0
- data/lib/project/attribute/hash.rb +66 -0
- data/lib/project/attribute/integer.rb +27 -0
- data/lib/project/attribute/numeric.rb +25 -0
- data/lib/project/attribute/object.rb +13 -0
- data/lib/project/attribute/reader.rb +39 -0
- data/lib/project/attribute/set.rb +22 -0
- data/lib/project/attribute/string.rb +24 -0
- data/lib/project/attribute/symbol.rb +23 -0
- data/lib/project/attribute/time.rb +36 -0
- data/lib/project/attribute/writer/coercible.rb +45 -0
- data/lib/project/attribute/writer.rb +73 -0
- data/lib/project/attribute.rb +292 -0
- data/lib/project/attribute_set.rb +260 -0
- data/lib/project/class_inclusions.rb +41 -0
- data/lib/project/class_methods.rb +102 -0
- data/lib/project/configuration.rb +65 -0
- data/lib/project/const_missing_extensions.rb +16 -0
- data/lib/project/extensions.rb +101 -0
- data/lib/project/instance_methods.rb +165 -0
- data/lib/project/module_builder.rb +92 -0
- data/lib/project/module_extensions.rb +72 -0
- data/lib/project/stubs/date.rb +2 -0
- data/lib/project/stubs/date_time.rb +2 -0
- data/lib/project/stubs/decimal.rb +2 -0
- data/lib/project/stubs/ostruct.rb +149 -0
- data/lib/project/stubs/set.rb +767 -0
- data/lib/project/stubs.rb +5 -0
- data/lib/project/support/equalizer.rb +147 -0
- data/lib/project/support/options.rb +114 -0
- data/lib/project/support/type_lookup.rb +109 -0
- data/lib/project/value_object.rb +139 -0
- data/lib/project/version.rb +3 -0
- data/lib/project/virtus.rb +128 -0
- metadata +158 -0
metadata
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: motion_virtus
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0.beta0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ryan Closner
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-08-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: motion-require
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ! '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: motion_coercible
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: motion_descendants_tracker
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rake
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: A RubyMotion port of virtus
|
70
|
+
email:
|
71
|
+
- ryan@ryanclosner.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- README.md
|
77
|
+
- lib/motion_virtus.rb
|
78
|
+
- lib/project/attribute/accessor/builder.rb
|
79
|
+
- lib/project/attribute/accessor/lazy_accessor.rb
|
80
|
+
- lib/project/attribute/accessor.rb
|
81
|
+
- lib/project/attribute/accessor_method.rb
|
82
|
+
- lib/project/attribute/array.rb
|
83
|
+
- lib/project/attribute/boolean.rb
|
84
|
+
- lib/project/attribute/class.rb
|
85
|
+
- lib/project/attribute/coercer.rb
|
86
|
+
- lib/project/attribute/collection/coercible_writer.rb
|
87
|
+
- lib/project/attribute/collection.rb
|
88
|
+
- lib/project/attribute/date.rb
|
89
|
+
- lib/project/attribute/date_time.rb
|
90
|
+
- lib/project/attribute/decimal.rb
|
91
|
+
- lib/project/attribute/default_value/from_callable.rb
|
92
|
+
- lib/project/attribute/default_value/from_clonable.rb
|
93
|
+
- lib/project/attribute/default_value/from_symbol.rb
|
94
|
+
- lib/project/attribute/default_value.rb
|
95
|
+
- lib/project/attribute/embedded_value/open_struct_coercer.rb
|
96
|
+
- lib/project/attribute/embedded_value/struct_coercer.rb
|
97
|
+
- lib/project/attribute/embedded_value.rb
|
98
|
+
- lib/project/attribute/float.rb
|
99
|
+
- lib/project/attribute/hash/coercible_writer.rb
|
100
|
+
- lib/project/attribute/hash.rb
|
101
|
+
- lib/project/attribute/integer.rb
|
102
|
+
- lib/project/attribute/numeric.rb
|
103
|
+
- lib/project/attribute/object.rb
|
104
|
+
- lib/project/attribute/reader.rb
|
105
|
+
- lib/project/attribute/set.rb
|
106
|
+
- lib/project/attribute/string.rb
|
107
|
+
- lib/project/attribute/symbol.rb
|
108
|
+
- lib/project/attribute/time.rb
|
109
|
+
- lib/project/attribute/writer/coercible.rb
|
110
|
+
- lib/project/attribute/writer.rb
|
111
|
+
- lib/project/attribute.rb
|
112
|
+
- lib/project/attribute_set.rb
|
113
|
+
- lib/project/class_inclusions.rb
|
114
|
+
- lib/project/class_methods.rb
|
115
|
+
- lib/project/configuration.rb
|
116
|
+
- lib/project/const_missing_extensions.rb
|
117
|
+
- lib/project/extensions.rb
|
118
|
+
- lib/project/instance_methods.rb
|
119
|
+
- lib/project/module_builder.rb
|
120
|
+
- lib/project/module_extensions.rb
|
121
|
+
- lib/project/stubs/date.rb
|
122
|
+
- lib/project/stubs/date_time.rb
|
123
|
+
- lib/project/stubs/decimal.rb
|
124
|
+
- lib/project/stubs/ostruct.rb
|
125
|
+
- lib/project/stubs/set.rb
|
126
|
+
- lib/project/stubs.rb
|
127
|
+
- lib/project/support/equalizer.rb
|
128
|
+
- lib/project/support/options.rb
|
129
|
+
- lib/project/support/type_lookup.rb
|
130
|
+
- lib/project/value_object.rb
|
131
|
+
- lib/project/version.rb
|
132
|
+
- lib/project/virtus.rb
|
133
|
+
homepage: http://github.com/rclosner/motion_virtus
|
134
|
+
licenses:
|
135
|
+
- ''
|
136
|
+
metadata: {}
|
137
|
+
post_install_message:
|
138
|
+
rdoc_options: []
|
139
|
+
require_paths:
|
140
|
+
- lib
|
141
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ! '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
|
+
requirements:
|
148
|
+
- - ! '>'
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: 1.3.1
|
151
|
+
requirements: []
|
152
|
+
rubyforge_project:
|
153
|
+
rubygems_version: 2.0.6
|
154
|
+
signing_key:
|
155
|
+
specification_version: 4
|
156
|
+
summary: A RubyMotion port of virtus
|
157
|
+
test_files: []
|
158
|
+
has_rdoc:
|