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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7db15bf8aea875cfabce93d6e4be69933be9044
4
- data.tar.gz: be9ad2bd5b7e72e5d203f4f5bc5519deed449b9f
3
+ metadata.gz: 7d5a7cba12af941351c6f6f541d9071bbb622ddd
4
+ data.tar.gz: c95df13a1f1eee87d9fbcf9f41278433caf94af0
5
5
  SHA512:
6
- metadata.gz: 8c1a6baa8c5cf204288739a63643ca859cb2fb7e6194baf917e5c2ca84be116350b4956d8daa80d6b8ce5f10ea75836866a17f7bae922991fcb99c20ad78df7d
7
- data.tar.gz: 580a52428f7857f54195a5bb28e01b1757ff89444d36302930dc08f3fec017478c9eca712f1bce8ba5070cf913f10049519b0385461e85f0ca479b99fe19ec15
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) { h[$1.to_sym] = parse_file(f) }
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))[YAML_VERSION])).deep_symbolize_keys
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
@@ -1,4 +1,4 @@
1
1
  module OodAppkit
2
2
  # The current version of OodAppkit
3
- VERSION = "0.3.4"
3
+ VERSION = "0.3.5"
4
4
  end
File without changes
@@ -0,0 +1,285 @@
1
+  (4.3ms) begin transaction
2
+ ---------------------------
3
+ OodAppkitTest: test_files_urls
4
+ ---------------------------
5
+  (0.1ms) rollback transaction
6
+  (0.1ms) begin transaction
7
+ ---------------------------
8
+ OodAppkitTest: test_shell_urls
9
+ ---------------------------
10
+  (0.1ms) rollback transaction
11
+  (0.0ms) begin transaction
12
+ ----------------------
13
+ OodAppkitTest: test_truth
14
+ ----------------------
15
+  (0.0ms) rollback transaction
16
+  (1.9ms) begin transaction
17
+ ---------------------------
18
+ OodAppkitTest: test_files_urls
19
+ ---------------------------
20
+  (0.1ms) rollback transaction
21
+  (0.1ms) begin transaction
22
+ ---------------------------
23
+ OodAppkitTest: test_shell_urls
24
+ ---------------------------
25
+  (0.1ms) rollback transaction
26
+  (0.1ms) begin transaction
27
+ ----------------------
28
+ OodAppkitTest: test_truth
29
+ ----------------------
30
+  (0.0ms) rollback transaction
31
+  (1.9ms) begin transaction
32
+ ---------------------------
33
+ OodAppkitTest: test_files_urls
34
+ ---------------------------
35
+  (0.1ms) rollback transaction
36
+  (0.1ms) begin transaction
37
+ ---------------------------
38
+ OodAppkitTest: test_shell_urls
39
+ ---------------------------
40
+  (0.1ms) rollback transaction
41
+  (0.0ms) begin transaction
42
+ ----------------------
43
+ OodAppkitTest: test_truth
44
+ ----------------------
45
+  (0.1ms) rollback transaction
46
+  (1.1ms) begin transaction
47
+ ---------------------------
48
+ OodAppkitTest: test_files_urls
49
+ ---------------------------
50
+  (0.1ms) rollback transaction
51
+  (0.1ms) begin transaction
52
+ ---------------------------
53
+ OodAppkitTest: test_shell_urls
54
+ ---------------------------
55
+  (0.1ms) rollback transaction
56
+  (0.1ms) begin transaction
57
+ ----------------------
58
+ OodAppkitTest: test_truth
59
+ ----------------------
60
+  (0.0ms) rollback transaction
61
+  (2.5ms) begin transaction
62
+ ---------------------------
63
+ OodAppkitTest: test_files_urls
64
+ ---------------------------
65
+  (0.1ms) rollback transaction
66
+  (0.1ms) begin transaction
67
+ ---------------------------
68
+ OodAppkitTest: test_shell_urls
69
+ ---------------------------
70
+  (0.1ms) rollback transaction
71
+  (0.1ms) begin transaction
72
+ ----------------------
73
+ OodAppkitTest: test_truth
74
+ ----------------------
75
+  (0.0ms) rollback transaction
76
+  (48.7ms) begin transaction
77
+ ------------------------------------------------
78
+ OodAppkit::WikiControllerTest: test_should_get_show
79
+ ------------------------------------------------
80
+  (0.1ms) rollback transaction
81
+  (0.1ms) begin transaction
82
+ ---------------------------
83
+ OodAppkitTest: test_files_urls
84
+ ---------------------------
85
+  (0.1ms) rollback transaction
86
+  (0.1ms) begin transaction
87
+ ---------------------------
88
+ OodAppkitTest: test_shell_urls
89
+ ---------------------------
90
+  (0.1ms) rollback transaction
91
+  (0.1ms) begin transaction
92
+ ----------------------
93
+ OodAppkitTest: test_truth
94
+ ----------------------
95
+  (0.0ms) rollback transaction
96
+  (2.6ms) begin transaction
97
+ ------------------------------------------------
98
+ OodAppkit::WikiControllerTest: test_should_get_show
99
+ ------------------------------------------------
100
+  (0.1ms) rollback transaction
101
+  (0.1ms) begin transaction
102
+ ---------------------------
103
+ OodAppkitTest: test_files_urls
104
+ ---------------------------
105
+  (0.1ms) rollback transaction
106
+  (0.1ms) begin transaction
107
+ ---------------------------
108
+ OodAppkitTest: test_shell_urls
109
+ ---------------------------
110
+  (0.1ms) rollback transaction
111
+  (0.0ms) begin transaction
112
+ ----------------------
113
+ OodAppkitTest: test_truth
114
+ ----------------------
115
+  (0.0ms) rollback transaction
116
+  (1.9ms) begin transaction
117
+ ------------------------------------------------
118
+ OodAppkit::WikiControllerTest: test_should_get_show
119
+ ------------------------------------------------
120
+  (0.1ms) rollback transaction
121
+  (0.1ms) begin transaction
122
+ ---------------------------
123
+ OodAppkitTest: test_files_urls
124
+ ---------------------------
125
+  (0.1ms) rollback transaction
126
+  (0.0ms) begin transaction
127
+ ---------------------------
128
+ OodAppkitTest: test_shell_urls
129
+ ---------------------------
130
+  (0.1ms) rollback transaction
131
+  (0.0ms) begin transaction
132
+ ----------------------
133
+ OodAppkitTest: test_truth
134
+ ----------------------
135
+  (0.1ms) rollback transaction
136
+  (2.5ms) begin transaction
137
+ ------------------------------------------------
138
+ OodAppkit::WikiControllerTest: test_should_get_show
139
+ ------------------------------------------------
140
+  (0.1ms) rollback transaction
141
+  (0.1ms) begin transaction
142
+ ---------------------------
143
+ OodAppkitTest: test_files_urls
144
+ ---------------------------
145
+  (0.1ms) rollback transaction
146
+  (0.0ms) begin transaction
147
+ ---------------------------
148
+ OodAppkitTest: test_shell_urls
149
+ ---------------------------
150
+  (0.1ms) rollback transaction
151
+  (0.0ms) begin transaction
152
+ ----------------------
153
+ OodAppkitTest: test_truth
154
+ ----------------------
155
+  (0.1ms) rollback transaction
156
+  (1.9ms) begin transaction
157
+ ------------------------------------------------
158
+ OodAppkit::WikiControllerTest: test_should_get_show
159
+ ------------------------------------------------
160
+  (0.1ms) rollback transaction
161
+  (0.1ms) begin transaction
162
+ ---------------------------
163
+ OodAppkitTest: test_files_urls
164
+ ---------------------------
165
+  (0.1ms) rollback transaction
166
+  (0.1ms) begin transaction
167
+ ---------------------------
168
+ OodAppkitTest: test_shell_urls
169
+ ---------------------------
170
+  (0.1ms) rollback transaction
171
+  (0.0ms) begin transaction
172
+ ----------------------
173
+ OodAppkitTest: test_truth
174
+ ----------------------
175
+  (0.1ms) rollback transaction
176
+  (2.7ms) begin transaction
177
+ ------------------------------------------------
178
+ OodAppkit::WikiControllerTest: test_should_get_show
179
+ ------------------------------------------------
180
+  (0.1ms) rollback transaction
181
+  (0.1ms) begin transaction
182
+ ---------------------------
183
+ OodAppkitTest: test_files_urls
184
+ ---------------------------
185
+  (0.1ms) rollback transaction
186
+  (0.0ms) begin transaction
187
+ ---------------------------
188
+ OodAppkitTest: test_shell_urls
189
+ ---------------------------
190
+  (0.1ms) rollback transaction
191
+  (0.1ms) begin transaction
192
+ ----------------------
193
+ OodAppkitTest: test_truth
194
+ ----------------------
195
+  (0.1ms) rollback transaction
196
+  (4.1ms) begin transaction
197
+ ------------------------------------------------
198
+ OodAppkit::WikiControllerTest: test_should_get_show
199
+ ------------------------------------------------
200
+  (0.1ms) rollback transaction
201
+  (0.1ms) begin transaction
202
+ ---------------------------
203
+ OodAppkitTest: test_files_urls
204
+ ---------------------------
205
+  (0.1ms) rollback transaction
206
+  (0.1ms) begin transaction
207
+ ---------------------------
208
+ OodAppkitTest: test_shell_urls
209
+ ---------------------------
210
+  (0.1ms) rollback transaction
211
+  (0.1ms) begin transaction
212
+ ----------------------
213
+ OodAppkitTest: test_truth
214
+ ----------------------
215
+  (0.0ms) rollback transaction
216
+  (2.4ms) begin transaction
217
+ ------------------------------------------------
218
+ OodAppkit::WikiControllerTest: test_should_get_show
219
+ ------------------------------------------------
220
+  (0.1ms) rollback transaction
221
+  (0.1ms) begin transaction
222
+ ---------------------------
223
+ OodAppkitTest: test_files_urls
224
+ ---------------------------
225
+  (0.1ms) rollback transaction
226
+  (0.1ms) begin transaction
227
+ ---------------------------
228
+ OodAppkitTest: test_shell_urls
229
+ ---------------------------
230
+  (0.1ms) rollback transaction
231
+  (0.0ms) begin transaction
232
+ ----------------------
233
+ OodAppkitTest: test_truth
234
+ ----------------------
235
+  (0.0ms) rollback transaction
236
+  (2.5ms) begin transaction
237
+ ------------------------------------------------
238
+ OodAppkit::WikiControllerTest: test_should_get_show
239
+ ------------------------------------------------
240
+  (0.1ms) rollback transaction
241
+  (0.1ms) begin transaction
242
+ ---------------------------
243
+ OodAppkitTest: test_files_urls
244
+ ---------------------------
245
+  (0.1ms) rollback transaction
246
+  (0.1ms) begin transaction
247
+ ---------------------------
248
+ OodAppkitTest: test_shell_urls
249
+ ---------------------------
250
+  (0.1ms) rollback transaction
251
+  (0.0ms) begin transaction
252
+ ----------------------
253
+ OodAppkitTest: test_truth
254
+ ----------------------
255
+  (0.1ms) rollback transaction
256
+  (2.5ms) begin transaction
257
+ ---------------------------
258
+ OodAppkitTest: test_files_urls
259
+ ---------------------------
260
+  (0.1ms) rollback transaction
261
+  (0.1ms) begin transaction
262
+ ---------------------------
263
+ OodAppkitTest: test_shell_urls
264
+ ---------------------------
265
+  (0.1ms) rollback transaction
266
+  (0.1ms) begin transaction
267
+ ----------------------
268
+ OodAppkitTest: test_truth
269
+ ----------------------
270
+  (0.0ms) rollback transaction
271
+  (30.5ms) begin transaction
272
+ ------------------------------
273
+ OodAppkitTest: test_files_urls
274
+ ------------------------------
275
+  (0.1ms) rollback transaction
276
+  (0.1ms) begin transaction
277
+ ------------------------------
278
+ OodAppkitTest: test_shell_urls
279
+ ------------------------------
280
+  (0.1ms) rollback transaction
281
+  (0.0ms) begin transaction
282
+ -------------------------
283
+ OodAppkitTest: test_truth
284
+ -------------------------
285
+  (0.0ms) 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
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-03-02 00:00:00.000000000 Z
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/log/development.log
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/log/development.log
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