student_mvp 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/doc/App_logger.html +47 -33
- data/doc/DB_client.html +20 -10
- data/doc/created.rid +10 -44
- data/doc/index.html +2 -81
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/table_of_contents.html +9 -697
- data/lib/data_access/DB_client/DB_client.rb +20 -1
- data/lib/logger/logger.rb +36 -1
- data/lib/student_mvp/version.rb +1 -1
- metadata +55 -34
- data/doc/Binary_tree.html +0 -300
- data/doc/Binary_tree_iterator.html +0 -217
- data/doc/Contact_sort_decorator.html +0 -219
- data/doc/Data_list.html +0 -625
- data/doc/Data_list_student_short.html +0 -148
- data/doc/Data_storage_strategy.html +0 -178
- data/doc/Data_table.html +0 -264
- data/doc/Deep_dup.html +0 -152
- data/doc/Field_filter_decorator.html +0 -219
- data/doc/Filter.html +0 -148
- data/doc/Filter_decorator.html +0 -209
- data/doc/Full_name_filter_decorator.html +0 -211
- data/doc/Full_name_sort_decorator.html +0 -217
- data/doc/Gemfile.html +0 -98
- data/doc/Git_sort_decorator.html +0 -220
- data/doc/Has_not_field_filter_decorator.html +0 -209
- data/doc/JSON_storage_strategy.html +0 -183
- data/doc/Person.html +0 -511
- data/doc/README_md.html +0 -147
- data/doc/Rakefile.html +0 -94
- data/doc/Sort_decorator.html +0 -214
- data/doc/Student.html +0 -755
- data/doc/StudentMvp/Error.html +0 -105
- data/doc/StudentMvp.html +0 -111
- data/doc/Student_short.html +0 -398
- data/doc/Students_list.html +0 -341
- data/doc/Students_list_DB.html +0 -361
- data/doc/Students_list_file.html +0 -460
- data/doc/Students_list_file_adapter.html +0 -341
- data/doc/Students_list_interface.html +0 -298
- data/doc/YAML_storage_strategy.html +0 -183
- data/doc/bin/setup.html +0 -96
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e68f1835a12412e96a24f68fb3ce249cd3e7c70d76032565e63899cf78431d5a
|
4
|
+
data.tar.gz: 9d252885234b00437f4cb124229579406b16107e744cd771765312002709d9f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bccede1fbdb92ad7172afad9daa83c98bbb2452d21d16dfb4a2e3cea451796e6fa02bdf9e1877b6e1615d5a69a33ec633198ec2ab9edc18f937e8bf02b147bb2
|
7
|
+
data.tar.gz: 189c60668613f57051fb570d94d48ab5050a67af13bffe580c0704c10bb1083e73d607bc2b49a6c9e7e8ac750388899377110c66f06f285c4a53c0238e80fb4f
|
data/doc/App_logger.html
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
<meta name="keywords" content="ruby,class,App_logger">
|
11
11
|
|
12
|
-
<meta name="description" content="
|
12
|
+
<meta name="description" content="class App_logger: == App_logger Логгер приложения">
|
13
13
|
|
14
14
|
<script type="text/javascript">
|
15
15
|
var rdoc_rel_prefix = "./";
|
@@ -112,21 +112,15 @@
|
|
112
112
|
|
113
113
|
<section class="description">
|
114
114
|
|
115
|
+
<h2 id="class-App_logger-label-App_logger"><a href="App_logger.html"><code>App_logger</code></a><span><a href="#class-App_logger-label-App_logger">¶</a> <a href="#top">↑</a></span></h2>
|
116
|
+
|
117
|
+
<p>Логгер приложения</p>
|
118
|
+
|
115
119
|
</section>
|
116
120
|
|
117
121
|
<section id="5Buntitled-5D" class="documentation-section anchor-link">
|
118
122
|
|
119
123
|
|
120
|
-
<section class="constants-list">
|
121
|
-
<header>
|
122
|
-
<h3>Constants</h3>
|
123
|
-
</header>
|
124
|
-
<dl>
|
125
|
-
<dt id="LOG_FILE_PATH">LOG_FILE_PATH
|
126
|
-
<dd>
|
127
|
-
|
128
|
-
</dl>
|
129
|
-
</section>
|
130
124
|
|
131
125
|
|
132
126
|
|
@@ -140,7 +134,7 @@
|
|
140
134
|
<div class="method-heading">
|
141
135
|
<a href="#method-c-instance" title="Link to this method">
|
142
136
|
<span class="method-name">instance</span>
|
143
|
-
<span class="method-args">()</span>
|
137
|
+
<span class="method-args">(file_path = nil)</span>
|
144
138
|
</a>
|
145
139
|
</div>
|
146
140
|
</div>
|
@@ -153,12 +147,14 @@
|
|
153
147
|
|
154
148
|
<div class="method-description">
|
155
149
|
<div class="method-source-code" id="instance-source">
|
156
|
-
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line
|
157
|
-
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">instance</span>
|
158
|
-
<span class="ruby-ivar">@instance</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">new</span>
|
150
|
+
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line 31</span>
|
151
|
+
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">instance</span>(<span class="ruby-identifier">file_path</span> = <span class="ruby-keyword">nil</span>)
|
152
|
+
<span class="ruby-ivar">@instance</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">new</span>(<span class="ruby-identifier">file_path</span>)
|
159
153
|
<span class="ruby-keyword">end</span></pre>
|
160
154
|
</div>
|
161
|
-
|
155
|
+
<p>Получение или создание объекта логгера Путь задать достаточно всего один раз. Если он не задан перед первым использованием логгера, то выбрасывается исключение.</p>
|
156
|
+
|
157
|
+
<p>@param [String, nil] file_path - путь к файлу логов. @raise [Error] Не указан путь к файлу логов. @return [App_logger] - объект логгера.</p>
|
162
158
|
</div>
|
163
159
|
|
164
160
|
|
@@ -169,7 +165,7 @@
|
|
169
165
|
<div class="method-heading">
|
170
166
|
<a href="#method-c-new" title="Link to this method">
|
171
167
|
<span class="method-name">new</span>
|
172
|
-
<span class="method-args">()</span>
|
168
|
+
<span class="method-args">(file_path)</span>
|
173
169
|
</a>
|
174
170
|
</div>
|
175
171
|
</div>
|
@@ -182,17 +178,23 @@
|
|
182
178
|
|
183
179
|
<div class="method-description">
|
184
180
|
<div class="method-source-code" id="new-source">
|
185
|
-
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line
|
186
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>
|
181
|
+
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line 12</span>
|
182
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">file_path</span>)
|
183
|
+
<span class="ruby-keyword">if</span> <span class="ruby-identifier">file_path</span>.<span class="ruby-identifier">nil?</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">file_path</span>.<span class="ruby-identifier">empty?</span>
|
184
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-constant">Error</span>, <span class="ruby-string">'Не указан путь к файлу логов'</span>
|
185
|
+
<span class="ruby-keyword">end</span>
|
186
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">file_path</span> = <span class="ruby-identifier">file_path</span>
|
187
187
|
<span class="ruby-identifier">ensure_log_directory</span>
|
188
|
-
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">logger</span> = <span class="ruby-constant">Logger</span>.<span class="ruby-identifier">new</span>(<span class="ruby-
|
188
|
+
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">logger</span> = <span class="ruby-constant">Logger</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>.<span class="ruby-identifier">file_path</span>)
|
189
189
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">formatter</span> = <span class="ruby-identifier">proc</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">severity</span>, <span class="ruby-identifier">datetime</span>, <span class="ruby-identifier">progname</span>, <span class="ruby-identifier">msg</span><span class="ruby-operator">|</span>
|
190
190
|
<span class="ruby-node">"[#{datetime}] #{severity}: #{msg}\n"</span>
|
191
191
|
<span class="ruby-keyword">end</span>
|
192
192
|
<span class="ruby-identifier">setup_log_level</span>
|
193
193
|
<span class="ruby-keyword">end</span></pre>
|
194
194
|
</div>
|
195
|
-
|
195
|
+
<p>Инициализация объекта логгера.</p>
|
196
|
+
|
197
|
+
<p>@param [String] file_path - путь к файлу логов. @raise [Error] Не указан путь к файлу логов.</p>
|
196
198
|
</div>
|
197
199
|
|
198
200
|
|
@@ -223,12 +225,14 @@
|
|
223
225
|
|
224
226
|
<div class="method-description">
|
225
227
|
<div class="method-source-code" id="debug-source">
|
226
|
-
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line
|
228
|
+
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line 54</span>
|
227
229
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">debug</span>(<span class="ruby-identifier">message</span>)
|
228
230
|
<span class="ruby-identifier">log</span>(<span class="ruby-value">:debug</span>, <span class="ruby-identifier">message</span>)
|
229
231
|
<span class="ruby-keyword">end</span></pre>
|
230
232
|
</div>
|
231
|
-
|
233
|
+
<p>Запись сообщения для дебага в лог</p>
|
234
|
+
|
235
|
+
<p>@param [String] message - сообщение</p>
|
232
236
|
</div>
|
233
237
|
|
234
238
|
|
@@ -252,12 +256,14 @@
|
|
252
256
|
|
253
257
|
<div class="method-description">
|
254
258
|
<div class="method-source-code" id="error-source">
|
255
|
-
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line
|
259
|
+
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line 61</span>
|
256
260
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">error</span>(<span class="ruby-identifier">message</span>)
|
257
261
|
<span class="ruby-identifier">log</span>(<span class="ruby-value">:error</span>, <span class="ruby-identifier">message</span>)
|
258
262
|
<span class="ruby-keyword">end</span></pre>
|
259
263
|
</div>
|
260
|
-
|
264
|
+
<p>Запись сообщения ошибки в лог</p>
|
265
|
+
|
266
|
+
<p>@param [String] message - сообщение</p>
|
261
267
|
</div>
|
262
268
|
|
263
269
|
|
@@ -281,12 +287,14 @@
|
|
281
287
|
|
282
288
|
<div class="method-description">
|
283
289
|
<div class="method-source-code" id="fatal-source">
|
284
|
-
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line
|
290
|
+
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line 75</span>
|
285
291
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">fatal</span>(<span class="ruby-identifier">message</span>)
|
286
292
|
<span class="ruby-identifier">log</span>(<span class="ruby-value">:fatal</span>, <span class="ruby-identifier">message</span>)
|
287
293
|
<span class="ruby-keyword">end</span></pre>
|
288
294
|
</div>
|
289
|
-
|
295
|
+
<p>Запись сообщения фатальной ошибки в лог</p>
|
296
|
+
|
297
|
+
<p>@param [String] message - сообщение</p>
|
290
298
|
</div>
|
291
299
|
|
292
300
|
|
@@ -310,12 +318,14 @@
|
|
310
318
|
|
311
319
|
<div class="method-description">
|
312
320
|
<div class="method-source-code" id="info-source">
|
313
|
-
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line
|
321
|
+
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line 47</span>
|
314
322
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">info</span>(<span class="ruby-identifier">message</span>)
|
315
323
|
<span class="ruby-identifier">log</span>(<span class="ruby-value">:info</span>, <span class="ruby-identifier">message</span>)
|
316
324
|
<span class="ruby-keyword">end</span></pre>
|
317
325
|
</div>
|
318
|
-
|
326
|
+
<p>Запись информационного сообщения в лог</p>
|
327
|
+
|
328
|
+
<p>@param [String] message - сообщение</p>
|
319
329
|
</div>
|
320
330
|
|
321
331
|
|
@@ -339,12 +349,14 @@
|
|
339
349
|
|
340
350
|
<div class="method-description">
|
341
351
|
<div class="method-source-code" id="log-source">
|
342
|
-
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line
|
352
|
+
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line 39</span>
|
343
353
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">log</span>(<span class="ruby-identifier">severity</span>, <span class="ruby-identifier">message</span>)
|
344
354
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">logger</span>.<span class="ruby-identifier">send</span>(<span class="ruby-identifier">severity</span>, <span class="ruby-identifier">message</span>)
|
345
355
|
<span class="ruby-keyword">end</span></pre>
|
346
356
|
</div>
|
347
|
-
|
357
|
+
<p>Запись сообщения в лог</p>
|
358
|
+
|
359
|
+
<p>@param [Symbol] severity - тип сообщения @param [String] message - сообщение</p>
|
348
360
|
</div>
|
349
361
|
|
350
362
|
|
@@ -368,12 +380,14 @@
|
|
368
380
|
|
369
381
|
<div class="method-description">
|
370
382
|
<div class="method-source-code" id="warn-source">
|
371
|
-
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line
|
383
|
+
<pre><span class="ruby-comment"># File lib/logger/logger.rb, line 68</span>
|
372
384
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">warn</span>(<span class="ruby-identifier">message</span>)
|
373
385
|
<span class="ruby-identifier">log</span>(<span class="ruby-value">:warn</span>, <span class="ruby-identifier">message</span>)
|
374
386
|
<span class="ruby-keyword">end</span></pre>
|
375
387
|
</div>
|
376
|
-
|
388
|
+
<p>Запись сообщения предупреждения в лог</p>
|
389
|
+
|
390
|
+
<p>@param [String] message - сообщение</p>
|
377
391
|
</div>
|
378
392
|
|
379
393
|
|
data/doc/DB_client.html
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
<meta name="keywords" content="ruby,class,DB_client">
|
11
11
|
|
12
|
-
<meta name="description" content="
|
12
|
+
<meta name="description" content="class DB_client: == DB_client Клиент базы данных MySQL">
|
13
13
|
|
14
14
|
<script type="text/javascript">
|
15
15
|
var rdoc_rel_prefix = "./";
|
@@ -108,6 +108,10 @@
|
|
108
108
|
|
109
109
|
<section class="description">
|
110
110
|
|
111
|
+
<h2 id="class-DB_client-label-DB_client"><a href="DB_client.html"><code>DB_client</code></a><span><a href="#class-DB_client-label-DB_client">¶</a> <a href="#top">↑</a></span></h2>
|
112
|
+
|
113
|
+
<p>Клиент базы данных MySQL</p>
|
114
|
+
|
111
115
|
</section>
|
112
116
|
|
113
117
|
<section id="5Buntitled-5D" class="documentation-section anchor-link">
|
@@ -139,12 +143,14 @@
|
|
139
143
|
|
140
144
|
<div class="method-description">
|
141
145
|
<div class="method-source-code" id="instance-source">
|
142
|
-
<pre><span class="ruby-comment"># File lib/data_access/DB_client/DB_client.rb, line
|
146
|
+
<pre><span class="ruby-comment"># File lib/data_access/DB_client/DB_client.rb, line 23</span>
|
143
147
|
<span class="ruby-keyword">def</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier ruby-title">instance</span>(<span class="ruby-identifier">db_config</span> = <span class="ruby-keyword">nil</span>)
|
144
148
|
<span class="ruby-ivar">@instance</span> <span class="ruby-operator">||=</span> <span class="ruby-identifier">new</span>(<span class="ruby-identifier">db_config</span>)
|
145
149
|
<span class="ruby-keyword">end</span></pre>
|
146
150
|
</div>
|
147
|
-
|
151
|
+
<p>Получение или создание объекта клиента базы данных. Конфигурацию БД достаточно задать 1 раз.</p>
|
152
|
+
|
153
|
+
<p>@param [Hash] db_config - конфигурация базы данных. @raise [Error] Не указана конфигурация базы данных. @return [Mysql2::Client] - объект клиента базы данных.</p>
|
148
154
|
</div>
|
149
155
|
|
150
156
|
|
@@ -168,13 +174,15 @@
|
|
168
174
|
|
169
175
|
<div class="method-description">
|
170
176
|
<div class="method-source-code" id="new-source">
|
171
|
-
<pre><span class="ruby-comment"># File lib/data_access/DB_client/DB_client.rb, line
|
177
|
+
<pre><span class="ruby-comment"># File lib/data_access/DB_client/DB_client.rb, line 12</span>
|
172
178
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">db_config</span>)
|
173
|
-
<span class="ruby-identifier">raise</span> <span class="ruby-string">'
|
179
|
+
<span class="ruby-identifier">raise</span> <span class="ruby-string">'Не указана конфигурация базы данных'</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">db_config</span>
|
174
180
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">client</span> = <span class="ruby-constant">Mysql2</span><span class="ruby-operator">::</span><span class="ruby-constant">Client</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">db_config</span>)
|
175
181
|
<span class="ruby-keyword">end</span></pre>
|
176
182
|
</div>
|
177
|
-
|
183
|
+
<p>Инициализация объекта класса БД.</p>
|
184
|
+
|
185
|
+
<p>@param [Hash] db_config - конфигурация базы данных. @raise [Error] Не указана конфигурация базы данных.</p>
|
178
186
|
</div>
|
179
187
|
|
180
188
|
|
@@ -205,12 +213,12 @@
|
|
205
213
|
|
206
214
|
<div class="method-description">
|
207
215
|
<div class="method-source-code" id="close-source">
|
208
|
-
<pre><span class="ruby-comment"># File lib/data_access/DB_client/DB_client.rb, line
|
216
|
+
<pre><span class="ruby-comment"># File lib/data_access/DB_client/DB_client.rb, line 38</span>
|
209
217
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">close</span>
|
210
218
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">client</span>.<span class="ruby-identifier">close</span>
|
211
219
|
<span class="ruby-keyword">end</span></pre>
|
212
220
|
</div>
|
213
|
-
|
221
|
+
<p>Закрытие объекта клиента базы данных.</p>
|
214
222
|
</div>
|
215
223
|
|
216
224
|
|
@@ -234,12 +242,14 @@
|
|
234
242
|
|
235
243
|
<div class="method-description">
|
236
244
|
<div class="method-source-code" id="query-source">
|
237
|
-
<pre><span class="ruby-comment"># File lib/data_access/DB_client/DB_client.rb, line
|
245
|
+
<pre><span class="ruby-comment"># File lib/data_access/DB_client/DB_client.rb, line 32</span>
|
238
246
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">query</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">params</span>=[])
|
239
247
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">client</span>.<span class="ruby-identifier">prepare</span>(<span class="ruby-identifier">query</span>).<span class="ruby-identifier">execute</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">params</span>)
|
240
248
|
<span class="ruby-keyword">end</span></pre>
|
241
249
|
</div>
|
242
|
-
|
250
|
+
<p>Выполнение SQL запроса.</p>
|
251
|
+
|
252
|
+
<p>@param [String] query - SQL запрос. @param [Array] params - массив параметров для SQL запроса (необязательно) @return [Mysql2::Hash] - результат выполнения запроса.</p>
|
243
253
|
</div>
|
244
254
|
|
245
255
|
|
data/doc/created.rid
CHANGED
@@ -1,44 +1,10 @@
|
|
1
|
-
Mon, 02 Dec 2024
|
2
|
-
/
|
3
|
-
/
|
4
|
-
/
|
5
|
-
/
|
6
|
-
/
|
7
|
-
|
8
|
-
/
|
9
|
-
/
|
10
|
-
|
11
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/binary_tree/binary_tree_iterator.rb Fri, 08 Nov 2024 23:39:57 +0300
|
12
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/data_list/data_list.rb Mon, 02 Dec 2024 19:57:11 +0300
|
13
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/data_list/data_list_student_short.rb Mon, 02 Dec 2024 19:58:35 +0300
|
14
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/data_storage_strategy/JSON_storage_strategy.rb Mon, 02 Dec 2024 19:59:48 +0300
|
15
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/data_storage_strategy/YAML_storage_strategy.rb Mon, 02 Dec 2024 20:00:03 +0300
|
16
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/data_storage_strategy/data_storage_strategy.rb Fri, 08 Nov 2024 23:39:57 +0300
|
17
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/data_table/data_table.rb Mon, 02 Dec 2024 20:00:21 +0300
|
18
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/filter.rb Tue, 12 Nov 2024 23:50:59 +0300
|
19
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/filter_decorator.rb Mon, 02 Dec 2024 20:01:10 +0300
|
20
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/sort_decorator.rb Mon, 02 Dec 2024 20:00:54 +0300
|
21
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/student_filters/contact_sort_decorator.rb Mon, 02 Dec 2024 20:01:29 +0300
|
22
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/student_filters/field_filter_decorator.rb Mon, 02 Dec 2024 20:01:42 +0300
|
23
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/student_filters/full_name_filter_decorator.rb Mon, 02 Dec 2024 20:01:47 +0300
|
24
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/student_filters/full_name_sort_decorator.rb Mon, 02 Dec 2024 20:01:49 +0300
|
25
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/student_filters/git_sort_decorator.rb Mon, 02 Dec 2024 20:01:53 +0300
|
26
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/filter/student_filters/has_not_field_filter_decorator.rb Mon, 02 Dec 2024 20:01:56 +0300
|
27
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/person/person.rb Thu, 21 Nov 2024 03:48:39 +0300
|
28
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/student/student.rb Mon, 02 Dec 2024 20:02:22 +0300
|
29
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/student_short/student_short.rb Mon, 02 Dec 2024 20:02:39 +0300
|
30
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/students_list/students_list.rb Tue, 19 Nov 2024 00:48:14 +0300
|
31
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/students_list/students_list_DB.rb Mon, 02 Dec 2024 20:04:11 +0300
|
32
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/students_list/students_list_file.rb Mon, 02 Dec 2024 20:06:13 +0300
|
33
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/students_list/students_list_file_adapter.rb Mon, 02 Dec 2024 20:05:13 +0300
|
34
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/models/students_list/students_list_interface.rb Tue, 12 Nov 2024 23:33:11 +0300
|
35
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/presenters/base_presenters/base_presenter.rb Mon, 02 Dec 2024 20:07:17 +0300
|
36
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/presenters/base_presenters/student_list_presenter.rb Mon, 02 Dec 2024 20:11:38 +0300
|
37
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/presenters/edit_student/add_student_presenter.rb Mon, 02 Dec 2024 20:12:45 +0300
|
38
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/presenters/edit_student/edit_contacts_presenter.rb Mon, 02 Dec 2024 20:12:58 +0300
|
39
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/presenters/edit_student/edit_git_presenter.rb Mon, 02 Dec 2024 20:13:10 +0300
|
40
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/presenters/edit_student/edit_student_presenter.rb Mon, 02 Dec 2024 20:11:59 +0300
|
41
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/presenters/edit_student/replace_student_presenter.rb Mon, 02 Dec 2024 20:13:23 +0300
|
42
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/student_mvp/version.rb Mon, 02 Dec 2024 19:44:25 +0300
|
43
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/lib/student_mvp.rb Mon, 02 Dec 2024 19:44:25 +0300
|
44
|
-
/home/zairan/STUDY/design_patterns/student_(MVP)/student_mvp/sig/student_mvp.rbs Mon, 02 Dec 2024 19:44:25 +0300
|
1
|
+
Mon, 02 Dec 2024 22:58:47 +0300
|
2
|
+
lib/logger/logger.rb Mon, 02 Dec 2024 22:54:24 +0300
|
3
|
+
lib/data_access/DB_client/DB_client.rb Mon, 02 Dec 2024 22:57:26 +0300
|
4
|
+
lib/presenters/base_presenters/base_presenter.rb Mon, 02 Dec 2024 20:07:17 +0300
|
5
|
+
lib/presenters/base_presenters/student_list_presenter.rb Mon, 02 Dec 2024 20:11:38 +0300
|
6
|
+
lib/presenters/edit_student/add_student_presenter.rb Mon, 02 Dec 2024 20:56:41 +0300
|
7
|
+
lib/presenters/edit_student/edit_contacts_presenter.rb Mon, 02 Dec 2024 20:56:33 +0300
|
8
|
+
lib/presenters/edit_student/edit_git_presenter.rb Mon, 02 Dec 2024 20:56:46 +0300
|
9
|
+
lib/presenters/edit_student/edit_student_presenter.rb Mon, 02 Dec 2024 20:11:59 +0300
|
10
|
+
lib/presenters/edit_student/replace_student_presenter.rb Mon, 02 Dec 2024 20:56:51 +0300
|
data/doc/index.html
CHANGED
@@ -9,8 +9,7 @@
|
|
9
9
|
|
10
10
|
<meta name="keywords" content="ruby,documentation,RDoc Documentation">
|
11
11
|
|
12
|
-
|
13
|
-
<meta name="description" content="RDoc Documentation: Delete this and the text below, and describe your gem Welcome to your new gem! In this directory, you'll find the files you need to be able to packag">
|
12
|
+
<meta name="description" content="Documentation for RDoc Documentation">
|
14
13
|
|
15
14
|
<script type="text/javascript">
|
16
15
|
var rdoc_rel_prefix = "./";
|
@@ -65,16 +64,6 @@
|
|
65
64
|
</div>
|
66
65
|
|
67
66
|
|
68
|
-
<div id="fileindex-section" class="nav-section">
|
69
|
-
<h3>Pages</h3>
|
70
|
-
|
71
|
-
<ul class="link-list">
|
72
|
-
<li><a href="./Gemfile.html">Gemfile</a>
|
73
|
-
<li><a href="./README_md.html">README</a>
|
74
|
-
<li><a href="./Rakefile.html">Rakefile</a>
|
75
|
-
<li><a href="./bin/setup.html">setup</a>
|
76
|
-
</ul>
|
77
|
-
</div>
|
78
67
|
|
79
68
|
<div id="classindex-section" class="nav-section">
|
80
69
|
<h3>Class and Module Index</h3>
|
@@ -83,45 +72,12 @@
|
|
83
72
|
<li><code><a href="./Add_student_presenter.html">Add_student_presenter</a></code>
|
84
73
|
<li><code><a href="./App_logger.html">App_logger</a></code>
|
85
74
|
<li><code><a href="./Base_presenter.html">Base_presenter</a></code>
|
86
|
-
<li><details><summary><code><a href="./Binary_tree.html">Binary_tree</a></code></summary>
|
87
|
-
<ul class="link-list">
|
88
|
-
<li><code><a href="./Binary_tree/Node.html">Node</a></code>
|
89
|
-
</ul></details>
|
90
|
-
<li><code><a href="./Binary_tree_iterator.html">Binary_tree_iterator</a></code>
|
91
|
-
<li><code><a href="./Contact_sort_decorator.html">Contact_sort_decorator</a></code>
|
92
75
|
<li><code><a href="./DB_client.html">DB_client</a></code>
|
93
|
-
<li><code><a href="./Data_list.html">Data_list</a></code>
|
94
|
-
<li><code><a href="./Data_list_student_short.html">Data_list_student_short</a></code>
|
95
|
-
<li><code><a href="./Data_storage_strategy.html">Data_storage_strategy</a></code>
|
96
|
-
<li><code><a href="./Data_table.html">Data_table</a></code>
|
97
|
-
<li><code><a href="./Deep_dup.html">Deep_dup</a></code>
|
98
76
|
<li><code><a href="./Edit_contacts_presenter.html">Edit_contacts_presenter</a></code>
|
99
77
|
<li><code><a href="./Edit_git_presenter.html">Edit_git_presenter</a></code>
|
100
78
|
<li><code><a href="./Edit_student_presenter.html">Edit_student_presenter</a></code>
|
101
|
-
<li><code><a href="./Field_filter_decorator.html">Field_filter_decorator</a></code>
|
102
|
-
<li><code><a href="./Filter.html">Filter</a></code>
|
103
|
-
<li><code><a href="./Filter_decorator.html">Filter_decorator</a></code>
|
104
|
-
<li><code><a href="./Full_name_filter_decorator.html">Full_name_filter_decorator</a></code>
|
105
|
-
<li><code><a href="./Full_name_sort_decorator.html">Full_name_sort_decorator</a></code>
|
106
|
-
<li><code><a href="./Git_sort_decorator.html">Git_sort_decorator</a></code>
|
107
|
-
<li><code><a href="./Has_not_field_filter_decorator.html">Has_not_field_filter_decorator</a></code>
|
108
|
-
<li><code><a href="./JSON_storage_strategy.html">JSON_storage_strategy</a></code>
|
109
|
-
<li><code><a href="./Person.html">Person</a></code>
|
110
79
|
<li><code><a href="./Replace_student_presenter.html">Replace_student_presenter</a></code>
|
111
|
-
<li><code><a href="./Sort_decorator.html">Sort_decorator</a></code>
|
112
|
-
<li><code><a href="./Student.html">Student</a></code>
|
113
|
-
<li><details><summary><code><a href="./StudentMvp.html">StudentMvp</a></code></summary>
|
114
|
-
<ul class="link-list">
|
115
|
-
<li><code><a href="./StudentMvp/Error.html">Error</a></code>
|
116
|
-
</ul></details>
|
117
80
|
<li><code><a href="./Student_list_presenter.html">Student_list_presenter</a></code>
|
118
|
-
<li><code><a href="./Student_short.html">Student_short</a></code>
|
119
|
-
<li><code><a href="./Students_list.html">Students_list</a></code>
|
120
|
-
<li><code><a href="./Students_list_DB.html">Students_list_DB</a></code>
|
121
|
-
<li><code><a href="./Students_list_file.html">Students_list_file</a></code>
|
122
|
-
<li><code><a href="./Students_list_file_adapter.html">Students_list_file_adapter</a></code>
|
123
|
-
<li><code><a href="./Students_list_interface.html">Students_list_interface</a></code>
|
124
|
-
<li><code><a href="./YAML_storage_strategy.html">YAML_storage_strategy</a></code>
|
125
81
|
</div>
|
126
82
|
|
127
83
|
|
@@ -134,41 +90,6 @@
|
|
134
90
|
</nav>
|
135
91
|
|
136
92
|
<main role="main">
|
137
|
-
|
138
|
-
|
139
|
-
<h1 id="label-StudentMvp"><a href="StudentMvp.html"><code>StudentMvp</code></a><span><a href="#label-StudentMvp">¶</a> <a href="#top">↑</a></span></h1>
|
140
|
-
|
141
|
-
<p>TODO: Delete this and the text below, and describe your gem</p>
|
142
|
-
|
143
|
-
<p>Welcome to your new gem! In this directory, you’ll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file <code>lib/student_mvp</code>. To experiment with that code, run <code>bin/console</code> for an interactive prompt.</p>
|
144
|
-
|
145
|
-
<h2 id="label-Installation">Installation<span><a href="#label-Installation">¶</a> <a href="#top">↑</a></span></h2>
|
146
|
-
|
147
|
-
<p>TODO: Replace <code>UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG</code> with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don’t plan to release to RubyGems.org.</p>
|
148
|
-
|
149
|
-
<p>Install the gem and add to the application’s <a href="Gemfile.html">Gemfile</a> by executing:</p>
|
150
|
-
|
151
|
-
<pre class="ruby"><span class="ruby-identifier">bundle</span> <span class="ruby-identifier">add</span> <span class="ruby-constant">UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG</span>
|
152
|
-
</pre>
|
153
|
-
|
154
|
-
<p>If bundler is not being used to manage dependencies, install the gem by executing:</p>
|
155
|
-
|
156
|
-
<pre class="ruby"><span class="ruby-identifier">gem</span> <span class="ruby-identifier">install</span> <span class="ruby-constant">UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG</span>
|
157
|
-
</pre>
|
158
|
-
|
159
|
-
<h2 id="label-Usage">Usage<span><a href="#label-Usage">¶</a> <a href="#top">↑</a></span></h2>
|
160
|
-
|
161
|
-
<p>TODO: Write usage instructions here</p>
|
162
|
-
|
163
|
-
<h2 id="label-Development">Development<span><a href="#label-Development">¶</a> <a href="#top">↑</a></span></h2>
|
164
|
-
|
165
|
-
<p>After checking out the repo, run <code>bin/setup</code> to install dependencies. You can also run <code>bin/console</code> for an interactive prompt that will allow you to experiment.</p>
|
166
|
-
|
167
|
-
<p>To install this gem onto your local machine, run <code>bundle exec rake install</code>. To release a new version, update the version number in <code>version.rb</code>, and then run <code>bundle exec rake release</code>, which will create a git tag for the version, push git commits and the created tag, and push the <code>.gem</code> file to <a href="https://rubygems.org">rubygems.org</a>.</p>
|
168
|
-
|
169
|
-
<h2 id="label-Contributing">Contributing<span><a href="#label-Contributing">¶</a> <a href="#top">↑</a></span></h2>
|
170
|
-
|
171
|
-
<p>Bug reports and pull requests are welcome on GitHub at <a href="https://github.com/[USERNAME]/student_mvp">github.com/[USERNAME]/student_mvp</a>.</p>
|
172
|
-
|
93
|
+
<p>This is the API documentation for RDoc Documentation.
|
173
94
|
</main>
|
174
95
|
|