dao 7.0.0 → 8.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +4 -5
- data/coerce-0.0.8/README +28 -0
- data/coerce-0.0.8/Rakefile +392 -0
- data/coerce-0.0.8/coerce.gemspec +31 -0
- data/coerce-0.0.8/lib/coerce.rb +210 -0
- data/dao.gemspec +25 -19
- data/lib/dao.rb +8 -15
- data/lib/dao/_lib.rb +6 -10
- data/lib/dao/active_record.rb +2 -2
- data/lib/dao/api/call.rb +6 -2
- data/lib/dao/coerce.rb +211 -0
- data/lib/dao/conducer.rb +6 -10
- data/lib/dao/errors2html.rb +1 -1
- data/lib/dao/support.rb +6 -17
- data/lib/dao/wrap.rb +259 -0
- data/test/conducer_test.rb +4 -4
- data/test/form_test.rb +2 -2
- data/test/validations_test.rb +2 -2
- data/wrap-1.5.2/README +57 -0
- data/wrap-1.5.2/Rakefile +394 -0
- data/wrap-1.5.2/lib/wrap.rb +295 -0
- data/wrap-1.5.2/test/testing.rb +195 -0
- data/wrap-1.5.2/test/wrap_test.rb +397 -0
- data/wrap-1.5.2/wrap.gemspec +38 -0
- metadata +26 -72
- data/notes/ara.txt +0 -15
@@ -0,0 +1,38 @@
|
|
1
|
+
## wrap.gemspec
|
2
|
+
#
|
3
|
+
|
4
|
+
Gem::Specification::new do |spec|
|
5
|
+
spec.name = "wrap"
|
6
|
+
spec.version = "1.5.2"
|
7
|
+
spec.platform = Gem::Platform::RUBY
|
8
|
+
spec.summary = "wrap"
|
9
|
+
spec.description = "non-sucking :before and :after filters for any ruby class"
|
10
|
+
spec.license = "same as ruby's"
|
11
|
+
|
12
|
+
spec.files =
|
13
|
+
["README",
|
14
|
+
"Rakefile",
|
15
|
+
"lib",
|
16
|
+
"lib/wrap.rb",
|
17
|
+
"test",
|
18
|
+
"test/testing.rb",
|
19
|
+
"test/wrap_test.rb",
|
20
|
+
"wrap.gemspec"]
|
21
|
+
|
22
|
+
spec.executables = []
|
23
|
+
|
24
|
+
spec.require_path = "lib"
|
25
|
+
|
26
|
+
spec.test_files = nil
|
27
|
+
|
28
|
+
|
29
|
+
spec.add_dependency(*["map", " >= 4.7.1"])
|
30
|
+
|
31
|
+
|
32
|
+
spec.extensions.push(*[])
|
33
|
+
|
34
|
+
spec.rubyforge_project = "codeforpeople"
|
35
|
+
spec.author = "Ara T. Howard"
|
36
|
+
spec.email = "ara.t.howard@gmail.com"
|
37
|
+
spec.homepage = "https://github.com/ahoward/wrap"
|
38
|
+
end
|
metadata
CHANGED
@@ -1,31 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dao
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 8.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ara T. Howard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '5.2'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '5.2'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: map
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - "~>"
|
@@ -39,103 +25,61 @@ dependencies:
|
|
39
25
|
- !ruby/object:Gem::Version
|
40
26
|
version: '6.0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
28
|
+
name: map
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
33
|
+
version: '6.6'
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
40
|
+
version: '6.6'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
42
|
+
name: fattr
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
58
44
|
requirements:
|
59
45
|
- - "~>"
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
47
|
+
version: '2.4'
|
62
48
|
type: :runtime
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
52
|
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
54
|
+
version: '2.4'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: tagz
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version: '9.
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '9.9'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: multi_json
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '1.0'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '1.0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: uuidtools
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '2.1'
|
61
|
+
version: '9.10'
|
104
62
|
type: :runtime
|
105
63
|
prerelease: false
|
106
64
|
version_requirements: !ruby/object:Gem::Requirement
|
107
65
|
requirements:
|
108
66
|
- - "~>"
|
109
67
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: wrap
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '1.5'
|
118
|
-
type: :runtime
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - "~>"
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '1.5'
|
68
|
+
version: '9.10'
|
125
69
|
- !ruby/object:Gem::Dependency
|
126
70
|
name: rails_current
|
127
71
|
requirement: !ruby/object:Gem::Requirement
|
128
72
|
requirements:
|
129
73
|
- - "~>"
|
130
74
|
- !ruby/object:Gem::Version
|
131
|
-
version: '2.
|
75
|
+
version: '2.2'
|
132
76
|
type: :runtime
|
133
77
|
prerelease: false
|
134
78
|
version_requirements: !ruby/object:Gem::Requirement
|
135
79
|
requirements:
|
136
80
|
- - "~>"
|
137
81
|
- !ruby/object:Gem::Version
|
138
|
-
version: '2.
|
82
|
+
version: '2.2'
|
139
83
|
description: presenter, conductor, api, and better form objects for you rails' pleasure
|
140
84
|
email: ara.t.howard@gmail.com
|
141
85
|
executables: []
|
@@ -144,6 +88,10 @@ extra_rdoc_files: []
|
|
144
88
|
files:
|
145
89
|
- README.md
|
146
90
|
- Rakefile
|
91
|
+
- coerce-0.0.8/README
|
92
|
+
- coerce-0.0.8/Rakefile
|
93
|
+
- coerce-0.0.8/coerce.gemspec
|
94
|
+
- coerce-0.0.8/lib/coerce.rb
|
147
95
|
- dao.gemspec
|
148
96
|
- lib/dao.rb
|
149
97
|
- lib/dao/_lib.rb
|
@@ -156,6 +104,7 @@ files:
|
|
156
104
|
- lib/dao/api/modes.rb
|
157
105
|
- lib/dao/api/routes.rb
|
158
106
|
- lib/dao/blankslate.rb
|
107
|
+
- lib/dao/coerce.rb
|
159
108
|
- lib/dao/conducer.rb
|
160
109
|
- lib/dao/conducer/active_model.rb
|
161
110
|
- lib/dao/conducer/attributes.rb
|
@@ -205,7 +154,7 @@ files:
|
|
205
154
|
- lib/dao/validations/common.rb
|
206
155
|
- lib/dao/validations/instance.rb
|
207
156
|
- lib/dao/validations/validator.rb
|
208
|
-
-
|
157
|
+
- lib/dao/wrap.rb
|
209
158
|
- tasks/default.rake
|
210
159
|
- tasks/this.rb
|
211
160
|
- test/active_model_conducer_lint_test.rb
|
@@ -220,9 +169,15 @@ files:
|
|
220
169
|
- test/test_helper.rb
|
221
170
|
- test/util.rb
|
222
171
|
- test/validations_test.rb
|
172
|
+
- wrap-1.5.2/README
|
173
|
+
- wrap-1.5.2/Rakefile
|
174
|
+
- wrap-1.5.2/lib/wrap.rb
|
175
|
+
- wrap-1.5.2/test/testing.rb
|
176
|
+
- wrap-1.5.2/test/wrap_test.rb
|
177
|
+
- wrap-1.5.2/wrap.gemspec
|
223
178
|
homepage: https://github.com/ahoward/dao
|
224
179
|
licenses:
|
225
|
-
-
|
180
|
+
- Ruby
|
226
181
|
metadata: {}
|
227
182
|
post_install_message:
|
228
183
|
rdoc_options: []
|
@@ -239,8 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
194
|
- !ruby/object:Gem::Version
|
240
195
|
version: '0'
|
241
196
|
requirements: []
|
242
|
-
|
243
|
-
rubygems_version: 2.4.5.4
|
197
|
+
rubygems_version: 3.1.2
|
244
198
|
signing_key:
|
245
199
|
specification_version: 4
|
246
200
|
summary: dao
|
data/notes/ara.txt
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
todo:
|
2
|
-
|
3
|
-
- minimize deps
|
4
|
-
|
5
|
-
- inlined test/rails-app/ ?
|
6
|
-
- look at use of rails_current, etc
|
7
|
-
- exclude from gem
|
8
|
-
- wrap/callback support
|
9
|
-
- kill validations?
|
10
|
-
- kill hooks?
|
11
|
-
- simplify lifecycle/initialize
|
12
|
-
- simpler prepare cycle
|
13
|
-
- api
|
14
|
-
|
15
|
-
done:
|