ood_appkit 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ood_appkit/config_parser.rb +5 -2
- data/lib/ood_appkit/version.rb +1 -1
- data/test/dummy/{log/development.log → db/test.sqlite3} +0 -0
- data/test/dummy/log/test.log +285 -0
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d5a7cba12af941351c6f6f541d9071bbb622ddd
|
4
|
+
data.tar.gz: c95df13a1f1eee87d9fbcf9f41278433caf94af0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bdbb141eb8b3a4a897d029fb1fe48cf473bcee248c78420868a83bd4df7b112ac49e565519cdff38f919b79b7fd4c1603e6c7dae3ccdeab362ee0479b46590aa
|
7
|
+
data.tar.gz: 9b89980aaf2dbca948117994bc9bffddd9c887c34674682a47392ca698f9efea52c742bb2b48232d482984d304b2de67af1f4f24a4d71b4de6f45b8ad5b10259
|
@@ -26,7 +26,10 @@ module OodAppkit
|
|
26
26
|
parse_file config
|
27
27
|
elsif config.directory?
|
28
28
|
config.children.each_with_object({}) do |f, h|
|
29
|
-
/^(.+)\.yml$/.match(f.basename.to_s)
|
29
|
+
/^(.+)\.yml$/.match(f.basename.to_s) do
|
30
|
+
hsh = parse_file(f)
|
31
|
+
h[$1.to_sym] = hsh unless hsh.empty?
|
32
|
+
end
|
30
33
|
end
|
31
34
|
else
|
32
35
|
raise InvalidConfigPath, "invalid config path: #{config}"
|
@@ -36,7 +39,7 @@ module OodAppkit
|
|
36
39
|
private
|
37
40
|
# Parse a single yaml file
|
38
41
|
def self.parse_file(file)
|
39
|
-
JSON.load(JSON.dump(YAML.load(File.read(file.to_s))
|
42
|
+
JSON.load(JSON.dump(YAML.load(File.read(file.to_s)).fetch(YAML_VERSION, {}))).deep_symbolize_keys
|
40
43
|
end
|
41
44
|
end
|
42
45
|
end
|
data/lib/ood_appkit/version.rb
CHANGED
File without changes
|
@@ -0,0 +1,285 @@
|
|
1
|
+
[1m[36m (4.3ms)[0m [1mbegin transaction[0m
|
2
|
+
---------------------------
|
3
|
+
OodAppkitTest: test_files_urls
|
4
|
+
---------------------------
|
5
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
6
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
+
---------------------------
|
8
|
+
OodAppkitTest: test_shell_urls
|
9
|
+
---------------------------
|
10
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
11
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
12
|
+
----------------------
|
13
|
+
OodAppkitTest: test_truth
|
14
|
+
----------------------
|
15
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16
|
+
[1m[36m (1.9ms)[0m [1mbegin transaction[0m
|
17
|
+
---------------------------
|
18
|
+
OodAppkitTest: test_files_urls
|
19
|
+
---------------------------
|
20
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
21
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22
|
+
---------------------------
|
23
|
+
OodAppkitTest: test_shell_urls
|
24
|
+
---------------------------
|
25
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
26
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27
|
+
----------------------
|
28
|
+
OodAppkitTest: test_truth
|
29
|
+
----------------------
|
30
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
31
|
+
[1m[36m (1.9ms)[0m [1mbegin transaction[0m
|
32
|
+
---------------------------
|
33
|
+
OodAppkitTest: test_files_urls
|
34
|
+
---------------------------
|
35
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
36
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
37
|
+
---------------------------
|
38
|
+
OodAppkitTest: test_shell_urls
|
39
|
+
---------------------------
|
40
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
41
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42
|
+
----------------------
|
43
|
+
OodAppkitTest: test_truth
|
44
|
+
----------------------
|
45
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
46
|
+
[1m[36m (1.1ms)[0m [1mbegin transaction[0m
|
47
|
+
---------------------------
|
48
|
+
OodAppkitTest: test_files_urls
|
49
|
+
---------------------------
|
50
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
51
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
52
|
+
---------------------------
|
53
|
+
OodAppkitTest: test_shell_urls
|
54
|
+
---------------------------
|
55
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
56
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
57
|
+
----------------------
|
58
|
+
OodAppkitTest: test_truth
|
59
|
+
----------------------
|
60
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
61
|
+
[1m[36m (2.5ms)[0m [1mbegin transaction[0m
|
62
|
+
---------------------------
|
63
|
+
OodAppkitTest: test_files_urls
|
64
|
+
---------------------------
|
65
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
66
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
67
|
+
---------------------------
|
68
|
+
OodAppkitTest: test_shell_urls
|
69
|
+
---------------------------
|
70
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
72
|
+
----------------------
|
73
|
+
OodAppkitTest: test_truth
|
74
|
+
----------------------
|
75
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
76
|
+
[1m[36m (48.7ms)[0m [1mbegin transaction[0m
|
77
|
+
------------------------------------------------
|
78
|
+
OodAppkit::WikiControllerTest: test_should_get_show
|
79
|
+
------------------------------------------------
|
80
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
81
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
82
|
+
---------------------------
|
83
|
+
OodAppkitTest: test_files_urls
|
84
|
+
---------------------------
|
85
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
86
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87
|
+
---------------------------
|
88
|
+
OodAppkitTest: test_shell_urls
|
89
|
+
---------------------------
|
90
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
91
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
92
|
+
----------------------
|
93
|
+
OodAppkitTest: test_truth
|
94
|
+
----------------------
|
95
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
96
|
+
[1m[36m (2.6ms)[0m [1mbegin transaction[0m
|
97
|
+
------------------------------------------------
|
98
|
+
OodAppkit::WikiControllerTest: test_should_get_show
|
99
|
+
------------------------------------------------
|
100
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
101
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
102
|
+
---------------------------
|
103
|
+
OodAppkitTest: test_files_urls
|
104
|
+
---------------------------
|
105
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
106
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
107
|
+
---------------------------
|
108
|
+
OodAppkitTest: test_shell_urls
|
109
|
+
---------------------------
|
110
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
111
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
112
|
+
----------------------
|
113
|
+
OodAppkitTest: test_truth
|
114
|
+
----------------------
|
115
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
116
|
+
[1m[36m (1.9ms)[0m [1mbegin transaction[0m
|
117
|
+
------------------------------------------------
|
118
|
+
OodAppkit::WikiControllerTest: test_should_get_show
|
119
|
+
------------------------------------------------
|
120
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
121
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
122
|
+
---------------------------
|
123
|
+
OodAppkitTest: test_files_urls
|
124
|
+
---------------------------
|
125
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
126
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
127
|
+
---------------------------
|
128
|
+
OodAppkitTest: test_shell_urls
|
129
|
+
---------------------------
|
130
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
131
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
132
|
+
----------------------
|
133
|
+
OodAppkitTest: test_truth
|
134
|
+
----------------------
|
135
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
136
|
+
[1m[36m (2.5ms)[0m [1mbegin transaction[0m
|
137
|
+
------------------------------------------------
|
138
|
+
OodAppkit::WikiControllerTest: test_should_get_show
|
139
|
+
------------------------------------------------
|
140
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
141
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
142
|
+
---------------------------
|
143
|
+
OodAppkitTest: test_files_urls
|
144
|
+
---------------------------
|
145
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
146
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
147
|
+
---------------------------
|
148
|
+
OodAppkitTest: test_shell_urls
|
149
|
+
---------------------------
|
150
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
151
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
152
|
+
----------------------
|
153
|
+
OodAppkitTest: test_truth
|
154
|
+
----------------------
|
155
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
156
|
+
[1m[36m (1.9ms)[0m [1mbegin transaction[0m
|
157
|
+
------------------------------------------------
|
158
|
+
OodAppkit::WikiControllerTest: test_should_get_show
|
159
|
+
------------------------------------------------
|
160
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
161
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
162
|
+
---------------------------
|
163
|
+
OodAppkitTest: test_files_urls
|
164
|
+
---------------------------
|
165
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
166
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
167
|
+
---------------------------
|
168
|
+
OodAppkitTest: test_shell_urls
|
169
|
+
---------------------------
|
170
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
171
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
172
|
+
----------------------
|
173
|
+
OodAppkitTest: test_truth
|
174
|
+
----------------------
|
175
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
176
|
+
[1m[36m (2.7ms)[0m [1mbegin transaction[0m
|
177
|
+
------------------------------------------------
|
178
|
+
OodAppkit::WikiControllerTest: test_should_get_show
|
179
|
+
------------------------------------------------
|
180
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
181
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
182
|
+
---------------------------
|
183
|
+
OodAppkitTest: test_files_urls
|
184
|
+
---------------------------
|
185
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
187
|
+
---------------------------
|
188
|
+
OodAppkitTest: test_shell_urls
|
189
|
+
---------------------------
|
190
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
191
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
192
|
+
----------------------
|
193
|
+
OodAppkitTest: test_truth
|
194
|
+
----------------------
|
195
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
196
|
+
[1m[36m (4.1ms)[0m [1mbegin transaction[0m
|
197
|
+
------------------------------------------------
|
198
|
+
OodAppkit::WikiControllerTest: test_should_get_show
|
199
|
+
------------------------------------------------
|
200
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
201
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
202
|
+
---------------------------
|
203
|
+
OodAppkitTest: test_files_urls
|
204
|
+
---------------------------
|
205
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
206
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
207
|
+
---------------------------
|
208
|
+
OodAppkitTest: test_shell_urls
|
209
|
+
---------------------------
|
210
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
211
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
212
|
+
----------------------
|
213
|
+
OodAppkitTest: test_truth
|
214
|
+
----------------------
|
215
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
216
|
+
[1m[36m (2.4ms)[0m [1mbegin transaction[0m
|
217
|
+
------------------------------------------------
|
218
|
+
OodAppkit::WikiControllerTest: test_should_get_show
|
219
|
+
------------------------------------------------
|
220
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
221
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
222
|
+
---------------------------
|
223
|
+
OodAppkitTest: test_files_urls
|
224
|
+
---------------------------
|
225
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
226
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
227
|
+
---------------------------
|
228
|
+
OodAppkitTest: test_shell_urls
|
229
|
+
---------------------------
|
230
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
231
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
232
|
+
----------------------
|
233
|
+
OodAppkitTest: test_truth
|
234
|
+
----------------------
|
235
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
236
|
+
[1m[36m (2.5ms)[0m [1mbegin transaction[0m
|
237
|
+
------------------------------------------------
|
238
|
+
OodAppkit::WikiControllerTest: test_should_get_show
|
239
|
+
------------------------------------------------
|
240
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
241
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
242
|
+
---------------------------
|
243
|
+
OodAppkitTest: test_files_urls
|
244
|
+
---------------------------
|
245
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
246
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
247
|
+
---------------------------
|
248
|
+
OodAppkitTest: test_shell_urls
|
249
|
+
---------------------------
|
250
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
251
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
252
|
+
----------------------
|
253
|
+
OodAppkitTest: test_truth
|
254
|
+
----------------------
|
255
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
256
|
+
[1m[36m (2.5ms)[0m [1mbegin transaction[0m
|
257
|
+
---------------------------
|
258
|
+
OodAppkitTest: test_files_urls
|
259
|
+
---------------------------
|
260
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
261
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
262
|
+
---------------------------
|
263
|
+
OodAppkitTest: test_shell_urls
|
264
|
+
---------------------------
|
265
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
266
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
267
|
+
----------------------
|
268
|
+
OodAppkitTest: test_truth
|
269
|
+
----------------------
|
270
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
271
|
+
[1m[36m (30.5ms)[0m [1mbegin transaction[0m
|
272
|
+
------------------------------
|
273
|
+
OodAppkitTest: test_files_urls
|
274
|
+
------------------------------
|
275
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
276
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
277
|
+
------------------------------
|
278
|
+
OodAppkitTest: test_shell_urls
|
279
|
+
------------------------------
|
280
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
281
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
282
|
+
-------------------------
|
283
|
+
OodAppkitTest: test_truth
|
284
|
+
-------------------------
|
285
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ood_appkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Franz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -181,7 +181,8 @@ files:
|
|
181
181
|
- test/dummy/config/initializers/wrap_parameters.rb
|
182
182
|
- test/dummy/config/locales/en.yml
|
183
183
|
- test/dummy/config/routes.rb
|
184
|
-
- test/dummy/
|
184
|
+
- test/dummy/db/test.sqlite3
|
185
|
+
- test/dummy/log/test.log
|
185
186
|
- test/dummy/public/404.html
|
186
187
|
- test/dummy/public/422.html
|
187
188
|
- test/dummy/public/500.html
|
@@ -238,7 +239,8 @@ test_files:
|
|
238
239
|
- test/dummy/config/database.yml
|
239
240
|
- test/dummy/config/environment.rb
|
240
241
|
- test/dummy/config/routes.rb
|
241
|
-
- test/dummy/
|
242
|
+
- test/dummy/db/test.sqlite3
|
243
|
+
- test/dummy/log/test.log
|
242
244
|
- test/dummy/public/404.html
|
243
245
|
- test/dummy/public/422.html
|
244
246
|
- test/dummy/public/500.html
|